[INACTIVE][ADMN] SimpleSave v3.25 Simple automatic saving! [000] - Backups!

Discussion in 'Inactive/Unsupported Plugins' started by desmin88, Mar 12, 2011.

     
  1. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME


    This post has been edited 1 time. It was last edited by desmin88 Sep 5, 2011.
    Dimochka, Pirate43, kahlilnc and 7 others like this.
  2.  
  3. Offline

    blinghung

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Bump!
    iPeace, CoolOppo and Bjourk like this.
    Infraction has been given for this message by EvilSeph. Details | Mar 16, 2011
  4. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Autosave's users reported it not to be working with the latest version, so I decided to create my own to fill the void because it seemed he was not going to be updating it.

    Thanks for understanding [IMG]
  5. Offline

    blinghung

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  6. Offline

    IIGoldII

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  7. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    blinghung, Do you have a vendetta against me? I mean, theres a dozen general plugins, all doing the same thing really.

    You could say its a fork.
    Christopher Ortiz likes this.
  8. Offline

    blinghung

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well then I'm sorry for being a jerk.
  9. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Its fine, no harm taken.
  10. Offline

    NoFear13

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great thing, after I have big problems with AutoSave this plugin is great. Thank you.
  11. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Glad you like it!
    [MERGETIME="1299963164"][/MERGETIME]
    [UPDATE]
    Changelog:
    Version 1.1

    • Added time in minutes, however must remove previous SimpleSave folder
    Time interval is now in minutes, however when upgrading delete your simple save folder and let SimpleSave remake it.

    PS:
    Expect a new version which is more optimized, and uses new methods for saving instead of creating threads.
    [MERGETIME="1300042712"][/MERGETIME]
    Changelog:
    Version 1.1.1

    • General code cleanup, minor bug fixes and more precise.
    Would love to hear some feedback from you guys.
  12. Offline

    Fob_Upset

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Its not Generating the SimpleSave folder.

    Update: took a couple of server restarts.
  13. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    With a brand new test server and a fresh DL from my github, it generates the folder and config file.
    Has to be on your end. Can you give me some more info such as CB Build etc.?
  14. Offline

    Fob_Upset

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It generated the world eventually, but this happened on my first save.

    Code:
    >00:01:17 [INFO] SimpleSave: Beginning save
    >00:01:17 [SEVERE] Exception in thread "Thread-6"
    >00:01:17 [SEVERE] java.lang.NullPointerException
    >00:01:17 [SEVERE]       at org.desmin88.simplesave.SimpleSave$SaveThread.run(SimpleSave.java:85)
    
  15. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    My data saves sucessfully.
    Mind telling me craftbukkit build, other plugins?
  16. Offline

    Fob_Upset

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    my Craftbukkit version came out 12 March 2011, 19:46
    Plugins all of Essentials, WorldEdit, WorldGuard.
  17. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Running your CB Build, 548(?), the folder and config file generate the first try and I don't have any nullpointerexceptions.

    I suggest removing your plugins one at a time to see if one of them might be causing the problem.
  18. Offline

    Fob_Upset

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Its the latest build (i have a autoupdate script which downloads latest version)

    Update: 550
  19. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I changed my post above, please read it again.
  20. Offline

    Fob_Upset

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I don't get any more nullpointerexceptions does it show in the console or in-game when it saves?
  21. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It shows in both.
  22. Offline

    Fob_Upset

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Example?
  23. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    In game it would say this [SimpleSave]Beginning world save,[SimpleSave]World save complete
    In console it would say this SimpleSave: Beginning save,SimpleSave: Data saved successfully
  24. Offline

    Fob_Upset

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Im going to restart server and post everything the console says about SimpleSave

    00:40:26 [INFO] SimpleSave: 1.1.1 Initialized
  25. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That is what it shows upon server start up. This means the plugin has loaded its data and is operating correctly.
  26. Offline

    Fob_Upset

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    00:50:26[INFO] SimpleSave: Beginning save
    00:50:26 [SEVERE] Exception in thread "Thread-6"
    00:50:26 [SEVERE] java.lang.NullPointerException
    00:50:26 [SEVERE] at org.desmin88.simplesave.SimpleSave$SaveThread.run(SimpleSave.java:85)

    Same error
  27. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Did you try what I said about plugins
  28. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @desmin88 , I'm getting the same error as others. I am running CB 531.
    Code:
    2011-03-14 06:57:36 [INFO] SimpleSave: Beginning save
    2011-03-14 06:57:36 [SEVERE] Exception in thread "Thread-15"
    2011-03-14 06:57:36 [SEVERE] java.lang.NullPointerException
    2011-03-14 06:57:36 [SEVERE]     at org.desmin88.simplesave.SimpleSave$SaveThread.run(SimpleSave.java:85)
  29. Offline

    Zaflis

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yet another method based saving. I'll try if it works better than buggy AutoSave but still... Is it not possible for a plugin to call /save-all ?? Just call it via the console or something, that's all i need. Let the server threads handle it the way they were built, has never thrown a error so far.

    edit: Went through source code...
    By this line:
    Code:
    getServer().getWorld("world").save();
    Should i assume that server thinks game folder is named "world"? This doesn't seem to have multiworld support if that is the case.
  30. Offline

    Xon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This version is not threadsafe and will likely have significant issues as it calls functions which are explicitly marked as not-threadsafe.
  31. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Identified the error as according to Zaflis, thanks. Will be fixing soon, if you still wish to use this for the time being, the world must be renamed as "world", no quotes.

    @Xon

    I've identified this issue previously. I'm trying to develop a version that is thread safe.

    EDIT: Safer version with world detection instead of default "world" available soon.
    Sorry for any delays.
    [MERGETIME="1300138850"][/MERGETIME]
    Changelog:
    Version 1.1.2
    • Multiworld, fixed null pointer exceptions.
    1.2 out soon with new ways of saving. Should work for the time being.[MERGETIME="1300147419"][/MERGETIME]
    Changelog:
    Version 1.1.3
    • Bug fix, with addition of multiworld support I forgot to save player data. :p

Share This Page