[FilterScript] Dynamic Object Edit-Save-Load-Delete system.
#1

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.
Reply
#2

video??
Reply
#3

video or dowland? plz..
Reply
#4

Download Link is there
Reply
#5

Nice job MidnightSAMP
Reply
#6

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.
Reply
#7

Could you upload it on Pastebin, please?
Reply
#8

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

Nice
Reply
#10

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

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

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

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

download link broken
Reply
#15

Link is down.
Reply
#16

Please post new link
Reply
#17

Link updated.
Reply
#18

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

How to open menu that in video back you opened?
Reply
#20

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)