Raised This Month: $32 Target: $400
 8% 

Item/ Entity Saving / Restore Tool (Furniture for example)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
wmchris
Senior Member
Join Date: Sep 2008
Plugin ID:
656
Plugin Version:
1.6
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Makes it possible to save entities to let em respawn after map reset. Perfect for roleplay servers.
    Unapprover:
    Reason for Unapproving:
    No source code, inactive author.
    Old 12-02-2008 , 18:40   Item/ Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #1

    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 ;)
    Blocked Attachments
    File Type: zip Furniture.zip

    Last edited by wmchris; 09-16-2010 at 17:48. Reason: corrected the commands (sorry)
    wmchris is offline
    BenSib
    Senior Member
    Join Date: Aug 2008
    Old 12-03-2008 , 17:10   Re: Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #2

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

    Last edited by BenSib; 12-04-2008 at 05:24.
    BenSib is offline
    cupra_andy
    Member
    Join Date: Sep 2008
    Old 12-04-2008 , 17:20   Re: Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #3

    this plugin works great ive been wanting this for agaes well done its perfect for my server happy scripting
    cupra_andy is offline
    wmchris
    Senior Member
    Join Date: Sep 2008
    Old 12-06-2008 , 22:12   Re: Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #4

    Quote:
    Originally Posted by BenSib View Post
    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?
    wmchris is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 12-06-2008 , 22:27   Re: Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #5

    That error normally occurs when a plugin doesn't return a value on OnClientConnect.
    bl4nk is offline
    wmchris
    Senior Member
    Join Date: Sep 2008
    Old 12-08-2008 , 18:34   Re: Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #6

    Quote:
    Originally Posted by bl4nk View Post
    That error normally occurs when a plugin doesn't return a value on OnClientConnect.
    but the script does... so it must be an incompatibility.
    wmchris is offline
    BenSib
    Senior Member
    Join Date: Aug 2008
    Old 12-11-2008 , 05:40   Re: Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #7

    SM 1.1

    hmm, seems that I dont get connection problems anymore. But entities are still not restored at mapchange.
    BenSib is offline
    britney901
    Junior Member
    Join Date: Oct 2008
    Location: Toronto, Canada
    Old 12-11-2008 , 19:18   Re: Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #8

    Nice plugin chris. Works pretty well. I just changed the commands from german to english.
    sm_saveit
    sm_removeit
    the plugin works better then the item freezer that you made long time ago.
    britney901 is offline
    cupra_andy
    Member
    Join Date: Sep 2008
    Old 12-14-2008 , 04:54   Re: Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #9

    yeah but the item freezer was a diffarent plugin as it was never meant to save items to a file
    cupra_andy is offline
    cupra_andy
    Member
    Join Date: Sep 2008
    Old 12-14-2008 , 04:55   Re: Entity Saving / Restore Tool (Furniture for example)
    Reply With Quote #10

    oh and ive also changed to english
    cupra_andy is offline
    Reply



    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

    Forum Jump


    All times are GMT -4. The time now is 02:14.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode