DrasticDemise / Simply-Magic

Bug reporting and development repository for Simply Magic.
9 stars 11 forks source link

midgame unknown cause error - EDIT: CATCHED #81

Open zortag opened 7 years ago

zortag commented 7 years ago

when i'm in midgame, like half tc, bm lvl4 few botania and am2 i get a recurrent error. i just reloaded a backup, did again what i lost and saved my game before closing the game. when i loaded my world (all was closed whitout issues) i get a "java.lang.ArrayIndexOutOfBoundsException: -611".

i posted here the full log:

https://pastebin.com/iHRVta6G

you can find the error beginning at line 1190 and the "java.lang.ArrayIndexOutOfBoundsException: -611" at line 1197

i'm not able to understand what generate the error

EDIT: the error is back in the same savegame after a backup restore. since the game is on the game work good, but the save is broken. i set the backup interval to 30 minutes and going back through backups give me only corrupted savegames up to the one i first restored. starting a new world or loading another one (i have one more world in creative for testing purposes) works as expected

zortag commented 7 years ago

After some hours of testing i found what the hell caused the error: it's that damn Blood Magic tanks. Since they stay in an inventory they are not a problem but when placed in the world they broke the savegame. if you want to use it don't keep it in the world. just place them do what you need and remove the tank.