SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 10/10/2012, 09:08 PM   #1
Roel
Gangsta
 
Join Date: Mar 2012
Location: Netherlands, Limburg
Posts: 940
Reputation: 229
Default Dynamic Object Edit-Save-Load-Delete system.

Hello,

First of all lets begin at the part you will need as hardst,

Install:
- Copy all the files inside this rar to the correct folders. (Basicly you can just copy the folders, 'filterscripts','pawno','plugins','scriptfiles' to your server root folder).
- Next thing you do is open your server.cfg and add or edit the line 'plugins' to 'plugins streamer'. If your server is running on a linux system usage 'plugins streamer.so'.
- Also at the filterscript to your server.cfg if you always wan't to use it and load the objects your created automaticly when you start the server. Add or edit 'filterscripts editor' inside your server.cfg.
- Inside the editor.pwn you can modifly the DEF_MAX_OBJECTS to your own number. Default is 5000.

Good luck with it.

Features:
- /createobject
- /editobject - edit the object you last created
- /selectobject - edit any object you created with this system by selecting it.
After editing an object it will get saved into the database directly, so if your server crashes it got everything like it was.


About:

- The streamer is created by Incognito (http://forum.sa-mp.com/showthread.php?t=102865) so I don't take any credits on this include&plugin (not sure if I'm allowed to include the files inside the .rar but I think it doesn't harm anyone) .
- If you like the system be nice and comment at this thread.
- Do not release this system without asking me permission, if you do, I don't care lol.

Warning:
This is a beta version, so there will be bugs I can call a few of them already.
- If you are already loading objects by Incognito streamer it isn't a problem untill you reach the max amount of objects defined in editor.pwn (default 5000).
- You can insert any numbers at the object model dialog, so an invalid model may harm your server process and the system process.
- When you create ungrabbable(if this is a word) objects you can't edit or remove those anymore (only in the objects.db file).
- If you put objects in virtualworlds or interiors, and you reload the filterscript, you have to be in the correct interior or virtualworld to edit this object again.

- I'm thinking how i can create a list with objects, without overloading your screen, because 5000 objects in one dialog doesn't end up good.

There will come newers version soon as possible.

In my next version (coming this week):
I will add:
- groups with max 100 objects (creategroup - loadgroup - unloadgroup - deletegroup) (this is easy if you want to use some objects sometimes for events or things.
- feature for displaying a list with all objects inside a group, so you can also delete objects inside other virtualworlds or ungrabbable objects.

Video:
[ame]http://www.youtube.com/watch?v=5ysrbE8_IVM[/ame]

Download:
Link
Link 2

This filterscript is not for people with a very low level of pawn knowelge, be aware.

Last edited by Roel; 07/12/2012 at 10:48 AM.
Roel is offline   Reply With Quote
Old 10/10/2012, 09:27 PM   #2
gilpenner
Little Clucker
 
Join Date: Sep 2012
Posts: 43
Reputation: 8
Default Re: Dynamic Object Edit-Save-Load-Delete system.

video??
gilpenner is offline   Reply With Quote
Old 10/10/2012, 09:29 PM   #3
$uRí
Little Clucker
 
Join Date: Apr 2012
Posts: 24
Reputation: 1
Default Re: Dynamic Object Edit-Save-Load-Delete system.

video or dowland? plz..
$uRí is offline   Reply With Quote
Old 10/10/2012, 09:42 PM   #4
Ghost_Boii
Huge Clucker
 
Ghost_Boii's Avatar
 
Join Date: Sep 2012
Location: Don of Dubai :)
Posts: 309
Reputation: 42
Default Re: Dynamic Object Edit-Save-Load-Delete system.

Download Link is there
__________________
My Works

Ghost_Boii is offline   Reply With Quote
Old 10/10/2012, 10:22 PM   #5
BigBaws
Huge Clucker
 
Join Date: Dec 2011
Posts: 224
Reputation: 9
Default Re : Dynamic Object Edit-Save-Load-Delete system.

Nice job MidnightSAMP
__________________
BigBaws is offline   Reply With Quote
Old 10/10/2012, 10:22 PM   #6
Roel
Gangsta
 
Join Date: Mar 2012
Location: Netherlands, Limburg
Posts: 940
Reputation: 229
Default Re: Re : Dynamic Object Edit-Save-Load-Delete system.

Quote:
Originally Posted by BigBaws View Post
Nice job MidnightSAMP
Lawl thanks, yea midnightSAMP old name haha
working on a much better version, so don't create to big maps, because at the new version they will be lost.
Roel is offline   Reply With Quote
Old 10/10/2012, 10:50 PM   #7
BlackBank
High-roller
 
BlackBank's Avatar
 
Join Date: Dec 2010
Location: The Netherlands
Posts: 1,159
Reputation: 432
Default Re: Dynamic Object Edit-Save-Load-Delete system.

Could you upload it on Pastebin, please?
BlackBank is offline   Reply With Quote
Old 10/10/2012, 11:08 PM   #8
Roel
Gangsta
 
Join Date: Mar 2012
Location: Netherlands, Limburg
Posts: 940
Reputation: 229
Default Re: Dynamic Object Edit-Save-Load-Delete system.

no because it will never work, you need different files to let it run.
Roel is offline   Reply With Quote
Old 10/10/2012, 11:26 PM   #9
Ghost_Boii
Huge Clucker
 
Ghost_Boii's Avatar
 
Join Date: Sep 2012
Location: Don of Dubai :)
Posts: 309
Reputation: 42
Default Re: Dynamic Object Edit-Save-Load-Delete system.

Nice
__________________
My Works

Ghost_Boii is offline   Reply With Quote
Old 27/10/2012, 02:22 PM   #10
DexX39
Banned
 
Join Date: Dec 2010
Location: France
Posts: 759
Reputation: 35
Default Re : Dynamic Object Edit-Save-Load-Delete system.

How to get the position of the object that has been added?
DexX39 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System save/load weapons [BR]Michael Scripting Help 5 14/09/2012 01:22 AM
In-Game Object Editor? (Add, Edit, Delete) +REP! TheMightyEddy Scripting Help 4 06/04/2012 02:28 AM
[HELP]:Vehicle System, Load And Save eDz0r Help Archive 3 06/04/2011 11:48 AM
Needing help with save/load system noahg Help Archive 2 08/10/2009 02:18 PM
Help with Save&Load of a Car System.... Castle Help Archive 3 10/08/2009 12:42 AM


All times are GMT. The time now is 09:34 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.