AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Item/ Entity Saving / Restore Tool (Furniture for example) (https://forums.alliedmods.net/showthread.php?t=81337)

wmchris 12-02-2008 18:40

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 ;)

BenSib 12-03-2008 17:10

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 ;-)

cupra_andy 12-04-2008 17:20

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

wmchris 12-06-2008 22:12

Re: Entity Saving / Restore Tool (Furniture for example)
 
Quote:

Originally Posted by BenSib (Post 722285)
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 ;-)

Disconnect: 0 -> i only know this bug from a sourcemod incompatibility. Which SM version do you use?

bl4nk 12-06-2008 22:27

Re: Entity Saving / Restore Tool (Furniture for example)
 
That error normally occurs when a plugin doesn't return a value on OnClientConnect.

wmchris 12-08-2008 18:34

Re: Entity Saving / Restore Tool (Furniture for example)
 
Quote:

Originally Posted by bl4nk (Post 723584)
That error normally occurs when a plugin doesn't return a value on OnClientConnect.

but the script does... so it must be an incompatibility.

BenSib 12-11-2008 05:40

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.

britney901 12-11-2008 19:18

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.

cupra_andy 12-14-2008 04:54

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

cupra_andy 12-14-2008 04:55

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.