Item/ Entity Saving / Restore Tool (Furniture for example)
2 Attachment(s)
Furniture Restore Script by Krim
NOTE: THIS SCRIPT IS PART OF THE HL2 Deathmatch RolePlay V3 http://www.wmchris.de/rp.html (rp_furni.sp). This is just an extraction of it for other usages. It's now multi-map based. Makes it possible to save entities and let them respawn after a mapchange. Commands: rp_saveit -> The entity youre pointing at will be saved in the DB rp_unsaveit -> The saved entity youre looking at will be removed from the DB rp_freezeit -> The entity will be freezed rp_unfreezeit -> The entity will be free'd rp_walkthru -> makes it possible to walk through a saved entity (will not be saved) Implemented by Benni (Original Code) rp_color -> Changes the Color of an entity rp_del -> destroys the target (use it wisely! no checks!) Use it wisely - if you save too much your clients will get a "connection timeout" because every item you save must be sent to the player while joining the server. Hardlimit are 2000 entities - but you should stop after 500 ;) WARNING: The items will spawn EVERYTIME. Additional Tools: http://forums.alliedmods.net/showthread.php?t=82267 - Create Items to freeze them with this script ;) |
Re: Entity Saving / Restore Tool (Furniture for example)
Nice, i am just working at a similar plugin. I tested yours with dod:source.
When loaded clients cant always connect. Getting "Connected to 123.123.123.123:27015 Disconnect: 0." Unloading plugin crashes server. Entities are written to furni.txt but arent restored on map when map changes or round restartet. I'll continue testing and try some way out ;-) |
Re: Entity Saving / Restore Tool (Furniture for example)
this plugin works great ive been wanting this for agaes well done its perfect for my server :D happy scripting
|
Re: Entity Saving / Restore Tool (Furniture for example)
Quote:
|
Re: Entity Saving / Restore Tool (Furniture for example)
That error normally occurs when a plugin doesn't return a value on OnClientConnect.
|
Re: Entity Saving / Restore Tool (Furniture for example)
Quote:
|
Re: Entity Saving / Restore Tool (Furniture for example)
SM 1.1
hmm, seems that I dont get connection problems anymore. But entities are still not restored at mapchange. |
Re: Entity Saving / Restore Tool (Furniture for example)
Nice plugin chris. Works pretty well. I just changed the commands from german to english.
sm_saveit sm_removeit :D the plugin works better then the item freezer that you made long time ago. |
Re: Entity Saving / Restore Tool (Furniture for example)
yeah but the item freezer was a diffarent plugin as it was never meant to save items to a file
|
Re: Entity Saving / Restore Tool (Furniture for example)
oh and ive also changed to english :D
|
All times are GMT -4. The time now is 10:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.