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

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

  1. Offline

    desmin88

  2. Offline

    blinghung

    Bump!
     
    iPeace, CoolOppo and Bjourk like this.
  3. Offline

    desmin88

    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]
     
  4. Offline

    blinghung

    Forked?
     
  5. Offline

    IIGoldII

  6. Offline

    desmin88

    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.
  7. Offline

    blinghung

    Well then I'm sorry for being a jerk.
     
  8. Offline

    desmin88

    Its fine, no harm taken.
     
  9. Offline

    NoFear13

    Great thing, after I have big problems with AutoSave this plugin is great. Thank you.
     
  10. Offline

    desmin88

    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.
     
  11. Offline

    Fob_Upset

    Its not Generating the SimpleSave folder.

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

    desmin88

    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.?
     
  13. Offline

    Fob_Upset

    It generated the world eventually, but this happened on my first save.

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

    desmin88

    My data saves sucessfully.
    Mind telling me craftbukkit build, other plugins?
     
  15. Offline

    Fob_Upset

    my Craftbukkit version came out 12 March 2011, 19:46
    Plugins all of Essentials, WorldEdit, WorldGuard.
     
  16. Offline

    desmin88

    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.
     
  17. Offline

    Fob_Upset

    Its the latest build (i have a autoupdate script which downloads latest version)

    Update: 550
     
  18. Offline

    desmin88

    I changed my post above, please read it again.
     
  19. Offline

    Fob_Upset

    I don't get any more nullpointerexceptions does it show in the console or in-game when it saves?
     
  20. Offline

    desmin88

    It shows in both.
     
  21. Offline

    Fob_Upset

    Example?
     
  22. Offline

    desmin88

    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
     
  23. Offline

    Fob_Upset

    Im going to restart server and post everything the console says about SimpleSave

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

    desmin88

    That is what it shows upon server start up. This means the plugin has loaded its data and is operating correctly.
     
  25. Offline

    Fob_Upset

    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
     
  26. Offline

    desmin88

    Did you try what I said about plugins
     
  27. @desmin88 , I'm getting the same error as others. I am running CB 531.
    Code (Text):
    1. 2011-03-14 06:57:36 [INFO] SimpleSave: Beginning save
    2. 2011-03-14 06:57:36 [SEVERE] Exception in thread "Thread-15"
    3. 2011-03-14 06:57:36 [SEVERE] java.lang.NullPointerException
    4. 2011-03-14 06:57:36 [SEVERE]     at org.desmin88.simplesave.SimpleSave$SaveThread.run(SimpleSave.java:85)
     
  28. Offline

    Zaflis

    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 (Text):
    1. 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.
     
  29. Offline

    Xon

    This version is not threadsafe and will likely have significant issues as it calls functions which are explicitly marked as not-threadsafe.
     
  30. Offline

    desmin88

    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