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

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

  1. Offline

    desmin88

  2. Offline

    PhantomGamers

    Check what?
    The logs do not report that it is ending saving before backing up.
     
  3. Offline

    desmin88

    @PhantomGamers
    If it is sending save-off, it will send a message in-game to OP's when doing so.
     
  4. Offline

    PhantomGamers

    Ah okay, yes in-game it says it's disabling saving.
     
  5. Offline

    BigRenegade

    3.01 loads and runs fine under 766, so they must have changed something in bukkit between 766 and 798.

    EDIT:I have no idea why it kicked out that error above, it's now loading and running fine under 798.

    Will let you know if there is anything else that might occur. However, I would say that at this time you could update the RB from 766 to 798 :)

    Keep up the good work, dude!

    Announcement is Starting world backup
    Starting world save
    Ending world save
    Ending world backup.

    ConsoleCommander is being disabled right before Backup starts and then re-enabled after.
     
  6. Offline

    desmin88

    @PhantomGamers
    EUREKA! I've solved it!
    If a backup takes place, and player leaves and is the last player, it automatically saves and backup's depending on configuration. This causes the world folder to be copied at the same time, causing these errors I presume.
    EDIT: Actually, no. I still can't figure it out.
     
  7. Offline

    PhantomGamers

    Genius!
     
  8. Offline

    desmin88

    @PhantomGamers
    This idea I had was impossible. Before the backup and saves are performed while a player leaves, it cancels all tasks, so their can't be any confliction. 3.02 was just released, can you fresh download and reproduce the errors your having, and tell me how you did so? Thanks

    3.02 released! Removes deprecated config file settings, so regeneration needed. Fixes datestamp error.
     
  9. Offline

    PhantomGamers

    Hm, I can't seem to reproduce it... maybe it was just a fluke of sorts.
    If I run into it again I'll note exactly what I did when it happened.
     
  10. Offline

    desmin88

  11. Offline

    ssechaud

    I try changing the new config to a folder called backups instead of backup, but every restart erases my config:

    19:10:08 [INFO] SimpleSave: Config file is malformed, regenerating with defaults.
    19:10:08 [INFO] SimpleSave: Config file is malformed, regenerating with defaults.
    19:10:08 [INFO] SimpleSave: 3.02 Initialized
     
  12. Offline

    kaasinees

     
  13. Offline

    desmin88

  14. Offline

    kaasinees

    i updated to 3.03 and it still says 30.2 and still failed to load.
     
  15. Offline

    desmin88

    @kaasinees
    Redownload, I just fresh downloaded and it says 3.03 and loads.
     
  16. Offline

    JacKlink01

    Thanks for fixing the timestamp :) But... for some reason the plugin backs up every time someone logs out.. its really weird and slightly annoying. Any idea whats going on there?
     
  17. Offline

    kaasinees

    nvm... my stupid mistake
     
  18. Offline

    desmin88

    @JacKlink01
    It will only backup if the the last player logs out, and then the server is empty. This is so the last players work it saves and backups. You can disable this by setting plugin.ignore.noplayers to true
     
  19. Offline

    BigRenegade

    @desmin88

    Just installed 3.03 and it loaded fine. Config was changed to reflect new set-up and no trouble with changing the save directory. Running bukkit RB 798.

    As stated above it does a back-up every time someone logs out. Doesn't really create a problem, at least not for me as I have a small server (10 people), but could present a small problem for a larger server with more people leaving at one time.
     
  20. Offline

    maystorm

    Would it be possible to have the timestamp HH-MM-SS in military format (24h instead of 12h) so that a backup taken at 13:05 does not appear to be older than a backup taken at 11:05?
     
  21. Offline

    JacKlink01

    Yes, but it is doing it every single time someone logs out, even if they aren't last. But i will just turn it off for now.
     
  22. Offline

    desmin88

    @JacKlink01
    I'm testing this right now and i dont get that error.
     
  23. Offline

    hnrch02

    Everytime a user disconnects and/or connects the plugin creates a backup...
     
  24. Offline

    desmin88

    @hnrch02
    It's impossible for it to even make a backup when a person joins.
    Paste me your console.
     
  25. Offline

    PhantomGamers

    Issue, it seems to be backing up every 2 minutes on v3.03. :confused:

    Code:
    2011-05-21 17:46:07 [INFO] [SimpleSave] Beginning world backup
    2011-05-21 17:46:07 [INFO] [SimpleSave] Beginning world save
    2011-05-21 17:46:07 [INFO] java.io.FileNotFoundException: world\players\_tmp_.dat (The system cannot find the file specified)
    2011-05-21 17:46:07 [INFO] 	at java.io.FileInputStream.open(Native Method)
    2011-05-21 17:46:07 [INFO] 	at java.io.FileInputStream.<init>(Unknown Source)
    2011-05-21 17:46:07 [INFO] 	at org.desmin88.simplesave.FileUtils.doCopyFile(FileUtils.java:290)
    2011-05-21 17:46:07 [INFO] 	at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:265)
    2011-05-21 17:46:07 [INFO] 	at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:263)
    2011-05-21 17:46:07 [INFO] 	at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:230)
    2011-05-21 17:46:07 [INFO] 	at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:156)
    2011-05-21 17:46:07 [INFO] 	at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:125)
    2011-05-21 17:46:07 [INFO] 	at org.desmin88.simplesave.Backup.backup(Backup.java:41)
    2011-05-21 17:46:07 [INFO] 	at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:132)
    2011-05-21 17:46:07 [INFO] 	at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-05-21 17:46:07 [INFO] 	at java.lang.Thread.run(Unknown Source)
    2011-05-21 17:46:07 [INFO] [SimpleSave] Ending world backup
    2011-05-21 17:46:07 [INFO] [SimpleSave] Ending world save
    
    Code:
    2011-05-21 17:48:30 [INFO] [SimpleSave] Beginning world backup
    2011-05-21 17:48:30 [INFO] java.io.FileNotFoundException: world\players\_tmp_.dat (The system cannot find the file specified)
    2011-05-21 17:48:30 [INFO] 	at java.io.FileInputStream.open(Native Method)
    2011-05-21 17:48:30 [INFO] 	at java.io.FileInputStream.<init>(Unknown Source)
    2011-05-21 17:48:30 [INFO] 	at org.desmin88.simplesave.FileUtils.doCopyFile(FileUtils.java:290)
    2011-05-21 17:48:30 [INFO] 	at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:265)
    2011-05-21 17:48:30 [INFO] 	at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:263)
    2011-05-21 17:48:30 [INFO] 	at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:230)
    2011-05-21 17:48:30 [INFO] 	at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:156)
    2011-05-21 17:48:30 [INFO] 	at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:125)
    2011-05-21 17:48:30 [INFO] 	at org.desmin88.simplesave.Backup.backup(Backup.java:41)
    2011-05-21 17:48:30 [INFO] 	at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:132)
    2011-05-21 17:48:30 [INFO] 	at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-05-21 17:48:30 [INFO] 	at java.lang.Thread.run(Unknown Source)
    2011-05-21 17:48:30 [INFO] [SimpleSave] Ending world backup
    2011-05-21 17:48:30 [INFO] [SimpleSave] Beginning world save
    2011-05-21 17:48:31 [INFO] [SimpleSave] Ending world save
     
  26. Offline

    desmin88

    @PhantomGamers
    This makes no sense.
    What is your config file. There is NOTHING in my code that would do this.
    What happens before the 2 minute backing up starts.
     
  27. Offline

    PhantomGamers

    Code:
    #SimpleSave Config File
    #Sat May 21 15:24:18 EDT 2011
    save.interval=17
    save.use=true
    backup.message.ending=[SimpleSave] Ending world backup
    backup.message.starting=[SimpleSave] Beginning world backup
    backup.directory=backup
    backup.history.length=5
    save.message.send=true
    backup.use=true
    plugin.send.saveoff-on=false
    backup.interval=60
    plugin.ignore.noplayers=false
    backup.world.filter=
    save.message.color=RED
    backup.message.color=RED
    plugin.version=3.03
    backup.message.send=true
    save.message.starting=[SimpleSave] Beginning world save
    save.message.ending=[SimpleSave] Ending world save
    backup.date.format=yyyy-MM-dd hh-mm-ss
    
    Nothing happens, it just backs up as usual.
    3.02 worked fine.
     
  28. Offline

    desmin88

    @PhantomGamers
    There was no change of code from 3.02 to 3.03 virtually.
    Try redownloading is all i can suggest, other than that, I have no idea. I added two lines of code from 3.02 to 3.0.3 and it only made two strings not null.
     
  29. Offline

    PhantomGamers

    Just wanted to say that redownloading did seem to work.
    I have no idea why it did that in the first place, quite puzzling.
     
  30. Offline

    microapple

    Exact same thing happening to me. Here's my config:
    Code:
    #SimpleSave Config File
    #Sun May 22 01:48:34 UTC 2011
    save.interval=60
    save.use=true
    backup.message.ending=[SimpleSave] Ending world backup
    backup.message.starting=[SimpleSave] Beginning world backup
    backup.directory=backup
    backup.history.length=12
    save.message.send=true
    backup.use=true
    plugin.send.saveoff-on=true
    backup.interval=120
    plugin.ignore.noplayers=false
    backup.world.filter=
    save.message.color=RED
    backup.message.color=RED
    plugin.version=3.03
    backup.message.send=true
    save.message.starting=[SimpleSave] Beginning world save
    save.message.ending=[SimpleSave] Ending world save
    backup.date.format=yyyy-MM-dd hh-mm-ss
    EDIT: Tried re-downloading. Getting the same results.
     
  31. Offline

    PhantomGamers

    @microapple
    Delete SimpleSave.jar and the SimpleSave folder and redownload the plugin.
     

Share This Page