On my other thread, I said that the maps on my server have corrupted periodically to where we have to start new. Has anybody else had this problem? If so, how have you fixed it?
Rollback Post to RevisionRollBack
Currently admin of the Wildwood Dedicated Minecraft Server.
If your map doesn't load because of an erroneous shutdown or other error, your best bet is to restore from a backup. If you don't have a backup, you're mostly out of luck.
I have heard of some people using map editors like MCEdit but I have no idea how or what they did to fix it.
It's possible that the harddrive corrupted the files, perhaps it didn't write everything fully when the server did a save or a plethora of other things.
The problem I'm having is that this has been going on for quite a while now. Every two to three months, we've had to reset the map, and it gets really annoying. We're just curious as to why it seems to happen so regularly. Is it just because it's in Beta has is bound to have loads of bugs anyway? Or could it be hard drive related?
Hard to say really, there are so many files Minecraft writes to record everything in the map that if even just one is messed up the whole thing will be screwy. It could've had an improper shutdown, a file could have been written incorrectly or incompletely or a handful of other things. Your harddrive may be having issues storing the files also, but I can't really say for sure.
Your best bet is to do regular (daily at minimum) backups, that way if something does happen you can roll back just one or two days instead of losing months of work.
It's possible that the harddrive corrupted the files, perhaps it didn't write everything fully when the server did a save or a plethora of other things.
checkworld.py will check every chunk for corrupt data, very useful... I will run it about once every other week, but I have yet to see a corrupt message.
Every instance of a world being corrupt in Minecraft has been solved for me by replacing the level.dat, level_old.dat, and session.lock files in the world directory with ones from a backup. Something happens when Minecraft crashes and those normally 126 byte files become 0 bytes. Then Minecraft can't load the world.
What do the the level.dat, level_old.dat, and session.lock files do? Are they important to the map? Or can I delete them, and the map will still be in tact?
They are absolutely required for the map to work. From my understanding, they are the seed to the random generator that builds and loads your map. If you lose that seed, Minecraft doesn't know what to do with all your world data.
I have heard of some people using map editors like MCEdit but I have no idea how or what they did to fix it.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
Your best bet is to do regular (daily at minimum) backups, that way if something does happen you can roll back just one or two days instead of losing months of work.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
checkworld.py will check every chunk for corrupt data, very useful... I will run it about once every other week, but I have yet to see a corrupt message.
viewtopic.php?f=1022&t=127216
Lulz
Try that.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
Super important!