tgxn / Backup

A Backup plugin for the Bukkit Server API.
http://bukkitbackup.com
GNU General Public License v3.0
23 stars 14 forks source link

PLAYER_QUIT error and (Is it up to date?) error (PLAYER_KICK error as well) #59

Closed thefowles1 closed 12 years ago

thefowles1 commented 12 years ago

I'm using CB 1597 and Backup 1.8.5. Ever since updating from 1.8.4, I sometimes get two error messages.

The first is a "Could not pass event PLAYER_QUIT to Backup" message when someone quits: http://pastebin.com/f5fLaf77 The second occurs when starting the server: http://pastebin.com/yep5bdND (EDIT: I noticed the config file still has "1.8.4" as the version under the big "DO NOT EDIT" section.)

Both started happening when and only when I updated Backup from 1.8.4 to 1.8.5. Neither happened when using 1.8.4.

Neither seem to have any adverse effect on the server, as I am still able to /backup (successfully) and I have auto-backup disabled.

EDIT: New error appeared a few moments ago. One of the players jumped into an End portal and the console started spewing out a zillion "Could not pass event PLAYER_KICK to Backup" messages rapid-fire. I have a feeling the problem with this particular error deals with the speedhacking kick in the server software, since End portals seem to cause that kind of kick a lot.

Log: http://pastebin.com/JFmEefbB (and that's only a very small portion. Those errors kept spitting out non-stop for many seconds.)

tgxn commented 12 years ago

Addressed in: https://github.com/gamerx/Backup/issues/57

Closing this.

thefowles1 commented 12 years ago

All three issues are addressed in that? Also, is the solution to use JRE 1.7? Because I am using it... EDIT: I see Hoot215's post. Got it.

thefowles1 commented 12 years ago

Setting -1 as backup interval to disable it still throws up the "String index out of range: -1" error on startup, despite the fact the config file instructs "(Note: -1 Will disable automatic backups.)".

tgxn commented 12 years ago

Try this: http://ci.tgxn.net/job/Backup/4/

thefowles1 commented 12 years ago

Will do ASAP. I know to replace the .jar file, but what do I do with the .zip file? EDIT: Replacing the .jar and the Backup folder doesn't remedy it; when I change the interval to -1, it still says it's "out of range".

tgxn commented 12 years ago

You dont' need the ZIP, it is just there as it contains license and readme information.

Delete your "Backup.jar" and the folder "Backup" from your plugins directory and replace it with this one: http://ci.tgxn.net/job/Backup/4/artifact/target/Backup.jar Advise me how it goes.

thefowles1 commented 12 years ago

Deleting those and replacing the .jar, letting the config file regenerate, makes it work fine. It works fine for all occasions except when I set the backup interval to "-1", which doing with the .jar you gave me still throws out the "out of range" error when starting the server.