Raised This Month: $12 Target: $400
 3% 

[TF2] SandBox - SaveSystem (v1.0)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr.Doctor
AlliedModders Donor
Join Date: Feb 2017
Location: Hong Kong
Plugin ID:
5885
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Save the props that you built!!
    Old 10-30-2017 , 03:32   [TF2] SandBox - SaveSystem (v1.0)
    Reply With Quote #1

    Video Demonstration:

    Description:
    SaveSystem for TF2Sandbox servers!
    The data will be saved under /addons/sourcemod/data/TF2SaveSystem/
    Example Data file (trade_sandbox_city1&[email protected]):
    PHP Code:
    ;--- Saved Maptrade_sandbox_city1
    ;--- SteamID6476561198097317941
    ;--- Data Slot2
    ;--- Saved on 2017/10/30
    ent1 prop_dynamic models
    /props_manor/painting_03.mdl -2044.821533 -2275.947265 -10055.384765 0.000000 0.000000 0.000000
    ent2 prop_dynamic models
    /props_manor/painting_05.mdl -2029.485473 -2199.377685 -9209.115234 0.000000 0.000000 0.000000
    ent3 prop_dynamic models
    /props_manor/painting_05.mdl -2035.046386 -1940.346313 -9206.613281 0.000000 0.000000 0.000000
    ent4 prop_dynamic models
    /props_manor/painting_06.mdl -2047.968750 -2174.826904 -9452.376953 0.000000 0.000000 0.000000
    ent5 prop_dynamic models
    /props_manor/painting_06.mdl -2047.968750 -1922.312500 -9452.877929 0.000000 0.000000 0.000000
    ent6 prop_dynamic models
    /props_manor/painting_03.mdl -2047.968750 -1866.540161 -9299.416015 0.000000 0.000000 0.000000
    ent7 prop_dynamic models
    /props_manor/painting_03.mdl -2047.968750 -2255.670898 -9872.235351 0.000000 0.000000 0.000000
    ent8 prop_dynamic models
    /props_manor/painting_02.mdl -2047.968750 -2251.187500 -9674.476562 0.000000 0.000000 0.000000
    ent9 prop_dynamic models
    /props_manor/painting_05.mdl -2042.831542 -1975.937622 -9646.766601 0.000000 0.000000 0.000000
    ent10 prop_dynamic models
    /props_manor/painting_02.mdl -2047.968750 -2249.950683 -9365.385742 0.000000 0.000000 0.000000
    ent11 prop_dynamic models
    /props_manor/painting_06.mdl -2023.652465 -1978.194213 -9870.434570 0.000000 0.000000 0.000000
    ent12 prop_dynamic models
    /props_manor/painting_03.mdl -2039.004882 -1979.160766 -10158.162109 0.000000 0.000000 0.000000
    ent13 prop_dynamic models
    /props_manor/painting_03.mdl -2043.629760 -1976.085205 -9933.588867 0.000000 0.000000 0.000000
    ent14 prop_dynamic models
    /props_manor/painting_04.mdl -2047.968750 -1886.490966 -9762.456054 0.000000 0.000000 0.000000
    ent15 prop_dynamic models
    /props_manor/painting_04.mdl -2047.968750 -2071.597900 -9747.175781 0.000000 0.000000 0.000000
    ent16 prop_dynamic models
    /props_manor/painting_03.mdl -2047.968750 -2275.208984 -10279.649414 0.000000 0.000000 0.000000
    ent17 prop_dynamic models
    /props_manor/painting_04.mdl -2031.012329 -1803.661132 -10188.668945 0.000000 0.000000 0.000000
    ent18 prop_dynamic models
    /props_manor/painting_04.mdl -2045.538574 -2114.842285 -10193.837890 0.000000 0.000000 0.000000
    ent19 prop_dynamic models
    /props_manor/painting_06.mdl -2018.099853 -1891.462158 -10050.978515 0.000000 0.000000 0.000000
    ent20 prop_dynamic models
    /props_manor/painting_07.mdl -2028.517333 -2018.469970 -10054.922851 0.000000 0.000000 0.000000
    ent21 prop_dynamic models
    /props_manor/painting_02.mdl -2047.968750 -1977.926025 -10299.258789 0.000000 0.000000 0.000000
    ;--- Data File End 21 Props Saved
    ;--- File Generated By TF2SB-SaveSystem.smx 
    Requirement:
    TF2Sandbox Plugin
    Link: https://github.com/Danct12/TF2SB

    Commands:
    Code:
    sm_ss //Open SaveSystem menu
    sm_ssload //(ADMFLAG_GENERIC) Usage: sm_ssload <targetname|steamid64> <slot>
    Example:
    • Load myself slot1
    • sm_ssload @me 1
    • Load Steamid76561198097317941 slot5
    • sm_ssload 76561198097317941 5


    Convars:
    Code:
    sm_tf2sb_ss_cooldownsec "2" //Set CoolDown seconds to prevent flooding. (Min= 0, Max= 50)
    sm_tf2sb_ss_storeslots "4" //How many slots for client to save(Min= 1, Max= 100)

    Credits:
    LaZy cAt (Orginal Buildmod: Save plugin)

    Github:
    https://github.com/BattlefieldDuck/TF2SB-SaveSystem
    Attached Files
    File Type: sp Get Plugin or Get Source (TF2Sandbox-SaveSystem.sp - 442 views - 23.7 KB)
    File Type: smx TF2Sandbox-SaveSystem.smx (14.4 KB, 400 views)
    __________________
    Dr.Doctor is offline
    Stropy
    Senior Member
    Join Date: Feb 2016
    Old 03-03-2018 , 13:47   Re: [TF2] SandBox - SaveSystem (v1.0)
    Reply With Quote #2

    Hey,
    I have a problem, I can't save or load the props, error log:
    PHP Code:
    L 03/03/2018 19:40:00: [SMException reportedInvalid edict (2049 2049)
    L 03/03/2018 19:40:00: [SMBlamingTF2Sandbox-SaveSystem.smx
    L 03
    /03/2018 19:40:00: [SMCall stack trace:
    L 03/03/2018 19:40:00: [SM]   [0GetEdictClassname
    L 03
    /03/2018 19:40:00: [SM]   [1Line 626C:\Users\thoma\Documents\TF2Sandbox-SaveSystem.sp::SaveData
    L 03
    /03/2018 19:40:00: [SM]   [2Line 362C:\Users\thoma\Documents\TF2Sandbox-SaveSystem.sp::Handler_SaveMenu 
    Stropy is offline
    Reply


    Thread Tools
    Display Modes

    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 11:10.


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