SA-MP Forums Archive
[FilterScript] Dynamic Object Edit-Save-Load-Delete system. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Dynamic Object Edit-Save-Load-Delete system. (/showthread.php?tid=384195)

Pages: 1 2


Dynamic Object Edit-Save-Load-Delete system. - Roel - 10.10.2012

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 (https://sampforum.blast.hk/showthread.php?tid=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.


Re: Dynamic Object Edit-Save-Load-Delete system. - gilpenner - 10.10.2012

video??


Re: Dynamic Object Edit-Save-Load-Delete system. - $uRн - 10.10.2012

video or dowland? plz..


Re: Dynamic Object Edit-Save-Load-Delete system. - Ghost_Boii - 10.10.2012

Download Link is there


Re : Dynamic Object Edit-Save-Load-Delete system. - BigBaws - 10.10.2012

Nice job MidnightSAMP


Re: Re : Dynamic Object Edit-Save-Load-Delete system. - Roel - 10.10.2012

Quote:
Originally Posted by BigBaws
Посмотреть сообщение
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.


Re: Dynamic Object Edit-Save-Load-Delete system. - BlackBank - 10.10.2012

Could you upload it on Pastebin, please?


Re: Dynamic Object Edit-Save-Load-Delete system. - Roel - 10.10.2012

no because it will never work, you need different files to let it run.


Re: Dynamic Object Edit-Save-Load-Delete system. - Ghost_Boii - 10.10.2012

Nice


Re : Dynamic Object Edit-Save-Load-Delete system. - DexX39 - 27.10.2012

How to get the position of the object that has been added?


Re: Dynamic Object Edit-Save-Load-Delete system. - shaniyal - 27.10.2012

what does this mean, i save object n got this
Код:
2,5,10,2012,16,17



Re : Dynamic Object Edit-Save-Load-Delete system. - DexX39 - 27.10.2012

? I would like to get the postion of the object that I created. It is save object.db but how to get this position?


Re: Dynamic Object Edit-Save-Load-Delete system. - Anak - 27.10.2012

this video is not working :S between seems to be great


Re: Dynamic Object Edit-Save-Load-Delete system. - benel1 - 30.11.2012

download link broken


Re: Dynamic Object Edit-Save-Load-Delete system. - Auri - 06.12.2012

Link is down.


Re: Dynamic Object Edit-Save-Load-Delete system. - sasho_976 - 07.12.2012

Please post new link


Re: Dynamic Object Edit-Save-Load-Delete system. - Roel - 07.12.2012

Link updated.


Re: Dynamic Object Edit-Save-Load-Delete system. - BleverCastard - 07.12.2012

Suggestion: Add a feature for the pos and it saves it in a file or sends it to Console.


Re: Dynamic Object Edit-Save-Load-Delete system. - r0mas - 09.12.2012

How to open menu that in video back you opened?


Re: Dynamic Object Edit-Save-Load-Delete system. - Roel - 10.12.2012

Well this script is made for allowing server admins to load or unload small maps. But you can use a SQLite editor to get the object position.