Discussion in 'Inactive/Unsupported Plugins' started by desmin88, Mar 12, 2011.
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
No need to be so hard on him.
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.
Well then I'm sorry for being a jerk.
Its fine, no harm taken.
Great thing, after I have big problems with AutoSave this plugin is great. Thank you.
Glad you like it!
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.
Expect a new version which is more optimized, and uses new methods for saving instead of creating threads.
General code cleanup, minor bug fixes and more precise.
Would love to hear some feedback from you guys.
Its not Generating the SimpleSave folder.
Update: took a couple of server restarts.
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.?
It generated the world eventually, but this happened on my first save.
>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)
My data saves sucessfully.
Mind telling me craftbukkit build, other plugins?
my Craftbukkit version came out 12 March 2011, 19:46
Plugins all of Essentials, WorldEdit, WorldGuard.
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.
Its the latest build (i have a autoupdate script which downloads latest version)
I changed my post above, please read it again.
I don't get any more nullpointerexceptions does it show in the console or in-game when it saves?
It shows in both.
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
Im going to restart server and post everything the console says about SimpleSave
00:40:26 [INFO] SimpleSave: 1.1.1 Initialized
That is what it shows upon server start up. This means the plugin has loaded its data and is operating correctly.
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)
Did you try what I said about plugins
@desmin88 , I'm getting the same error as others. I am running CB 531.
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)
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:
Should i assume that server thinks game folder is named "world"? This doesn't seem to have multiworld support if that is the case.
This version is not threadsafe and will likely have significant issues as it calls functions which are explicitly marked as not-threadsafe.
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.
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.
Multiworld, fixed null pointer exceptions.
1.2 out soon with new ways of saving. Should work for the time being.[MERGETIME="1300147419"][/MERGETIME]
Bug fix, with addition of multiworld support I forgot to save player data.
Separate names with a comma.