I recently set up a private server for my friends and me to play together. Over time we noticed more and more "corrupted" chunks and so I now try to fix the problem. To the day I managed to narrow the error down to possibly being a wrongly saved seed, so the seed that is saved in the world is not the one that was used when the terrain where we build in was generated.
So is there a way to restore the seed from anything besides the level.dat?
I would really appreciate your reply, Thanks!
Rollback Post to RevisionRollBack
I'd recommend MCStacker, Tellraw Generator and every other well made site for commands to everyone, no matter whether newbie or experienced commandblock-er.
Depending on the version you created the world in you may have a "level.dat_mcr" file within the root directory of the save (same place as level.dat); this file does not appear to be created in newer versions (e.g. 1.11.2) but was present up to 1.6.4 or so (it is a backup made when you convert a MCRegion world (pre-1.2) to Anvil but was also created when you made a new world and is never modified thereafter. Even a bad crash that corrupts both level.dat and level.dat_old (a backup from the last time the game saved, so renaming this to level.dat will not be of any help in your case) will not affect it).
Of course, if you did create the world in an older version, prior to 1.7, that could also be the cause - world generation changed a lot in 1.7 so the same seed will not generate anything close to the same world, nor can any other seed replicate it. The only way to avoid this is not to upgrade or use a mod that enables you to replicate older world generation.
Also, it is possible you are experiencing a bug, MC-315, caused by reusing the same world name as a previously deleted world, although this is more of a singleplayer issue (caused by a conflict between the client and server threads). You could try taking the level.dat file and opening it in singleplayer (create a new folder within saves and place the file inside it, the game will recognize a level.dat file by itself as a world) and see what world it generates and confirm whether it is a changed seed that is the cause.
Otherwise, it is nearly impossible to find the correct seed for a world that lost its original seed; it is possible if you know the locations of enough structures and have a good (GPU-based computing) program that can brute-force search seeds for matching structures (people have actually done this to find the seed for a server in a reasonable amount of time. I do not know of the program that they used, obviously one they wrote themselves, nor have they released it as far as I know).
Thank you very much for your reply, I really appreciate it!
Sadly I do not have a "level.dat_mcr" file because I generated it in 1.11 (I think, I'm sure it wasn't prior to 1.10). Which would also suggest it is most likely is not caused by world generation changed. Also, I would say it most likely is not a bug because it was generated on a server and I think that I've figured out that it was me causing the corruption (Me idiot changing the seed in the properties after the generation).
I'll now try to brute-force the seed out of the world like you suggested.
Anyway, I thank you really much for your reply.
Rollback Post to RevisionRollBack
I'd recommend MCStacker, Tellraw Generator and every other well made site for commands to everyone, no matter whether newbie or experienced commandblock-er.
Hey,
I recently set up a private server for my friends and me to play together. Over time we noticed more and more "corrupted" chunks and so I now try to fix the problem. To the day I managed to narrow the error down to possibly being a wrongly saved seed, so the seed that is saved in the world is not the one that was used when the terrain where we build in was generated.
So is there a way to restore the seed from anything besides the level.dat?
I would really appreciate your reply, Thanks!
I'd recommend MCStacker, Tellraw Generator and every other well made site for commands to everyone, no matter whether newbie or experienced commandblock-er.
Depending on the version you created the world in you may have a "level.dat_mcr" file within the root directory of the save (same place as level.dat); this file does not appear to be created in newer versions (e.g. 1.11.2) but was present up to 1.6.4 or so (it is a backup made when you convert a MCRegion world (pre-1.2) to Anvil but was also created when you made a new world and is never modified thereafter. Even a bad crash that corrupts both level.dat and level.dat_old (a backup from the last time the game saved, so renaming this to level.dat will not be of any help in your case) will not affect it).
Of course, if you did create the world in an older version, prior to 1.7, that could also be the cause - world generation changed a lot in 1.7 so the same seed will not generate anything close to the same world, nor can any other seed replicate it. The only way to avoid this is not to upgrade or use a mod that enables you to replicate older world generation.
Also, it is possible you are experiencing a bug, MC-315, caused by reusing the same world name as a previously deleted world, although this is more of a singleplayer issue (caused by a conflict between the client and server threads). You could try taking the level.dat file and opening it in singleplayer (create a new folder within saves and place the file inside it, the game will recognize a level.dat file by itself as a world) and see what world it generates and confirm whether it is a changed seed that is the cause.
Otherwise, it is nearly impossible to find the correct seed for a world that lost its original seed; it is possible if you know the locations of enough structures and have a good (GPU-based computing) program that can brute-force search seeds for matching structures (people have actually done this to find the seed for a server in a reasonable amount of time. I do not know of the program that they used, obviously one they wrote themselves, nor have they released it as far as I know).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Thank you very much for your reply, I really appreciate it!
Sadly I do not have a "level.dat_mcr" file because I generated it in 1.11 (I think, I'm sure it wasn't prior to 1.10). Which would also suggest it is most likely is not caused by world generation changed. Also, I would say it most likely is not a bug because it was generated on a server and I think that I've figured out that it was me causing the corruption (Me idiot changing the seed in the properties after the generation).
I'll now try to brute-force the seed out of the world like you suggested.
Anyway, I thank you really much for your reply.
I'd recommend MCStacker, Tellraw Generator and every other well made site for commands to everyone, no matter whether newbie or experienced commandblock-er.