I just realized it is looking for .mca files. My other region files are .mcr files. Are those servers just too old to work on the latest version?? When did that change?
Nevermind, I found a converter that resolved my issue and luckily none of my region files are corrupt either!
Link to convert region files (.mcr) to the anvil format (.mca) below:
Just arrived from holidays... If you used a converter to convert your world and then scanned it, you are probably fixing the problems in the world while converting. The converter is probably ignoring any problems with chunks while converting your world. The last version of region-fixer with mcregion support is v0.0.6, you can find it in the github download page. Good luck!
Also, I've got a big update for region-fixer but it's taking much longer than expected.
I started having "Array Index Out of Bounds Exception" errors on 3 worlds when I updated to craftbukkit Dev build 2453 and above. These worlds run fine with CB Dev build 2452 and below. I down loaded Minecraft Region Fixer for Windows V0.0.8 and ran .exe dated 3/11/12 on each world and it found no errors . I get the above error from the "net.Minecraft.server.WorldChunkmanager". All 3 worlds are rejected and will not load. I backed up to CB #2452 and am running OK. Any ideas on what is happening with the CB 2453 and above release that the Fixer can't see in the worlds?
Thanks
I started having "Array Index Out of Bounds Exception" errors on 3 worlds when I updated to craftbukkit Dev build 2453 and above. These worlds run fine with CB Dev build 2452 and below. I down loaded Minecraft Region Fixer for Windows V0.0.8 and ran .exe dated 3/11/12 on each world and it found no errors . I get the above error from the "net.Minecraft.server.WorldChunkmanager". All 3 worlds are rejected and will not load. I backed up to CB #2452 and am running OK. Any ideas on what is happening with the CB 2453 and above release that the Fixer can't see in the worlds?
Thanks
I'm afraid I've got no idea.
That error sounds to me as a problem inside the chunk, and region fixer checks the worlds more at region file level. So, for example, you could have a strange chunk, with a non usable size for minecraft or CB, and region fixer won't complain unless decompressing it gives problems or has too many entities inside or is wrong located or the chunk NBT structure is really wrong.
Any mods? Check for mods doing strange things to your chunks.
Thanks, That gives me some things to think about. It threw me off a bit because I have 10 other worlds that didn't have errors when I brought up the 2453 CB release. I have about 14 plugins with about 22 .jar's running but haven't changed them from #2452 update Looking at the changes in #2452 I would have believed that could cause a problem (fix compile wtih chunk generator) but it work ok. I know I have a problem in "World" with something so big if I get close it locks up the server but it booted fine and fixer found nothing there. I'll have to take my smallest one and do a bit of searching. Where can I get info on how the r0.0.mca 's etc are layed out and why they are named the way they are with the (-) signs in the number string etc, etc. I was wondering if a small file or conversly a large file there would indicate something. Not knowing much about how this is set up I am scratching around to learn. None of the plugins were changed for update to #2453 and if I go back to #2452 all is fine again. Thanks for the ideas. I will bounce this off the craftbukit team as well. Clearly I need to fix something I am doing!
Thanks, That gives me some things to think about. It threw me off a bit because I have 10 other worlds that didn't have errors when I brought up the 2453 CB release. I have about 14 plugins with about 22 .jar's running but haven't changed them from #2452 update Looking at the changes in #2452 I would have believed that could cause a problem (fix compile wtih chunk generator) but it work ok. I know I have a problem in "World" with something so big if I get close it locks up the server but it booted fine and fixer found nothing there. I'll have to take my smallest one and do a bit of searching. Where can I get info on how the r0.0.mca 's etc are layed out and why they are named the way they are with the (-) signs in the number string etc, etc. I was wondering if a small file or conversly a large file there would indicate something. Not knowing much about how this is set up I am scratching around to learn. None of the plugins were changed for update to #2453 and if I go back to #2452 all is fine again. Thanks for the ideas. I will bounce this off the craftbukit team as well. Clearly I need to fix something I am doing!
Just in case you can try to turn --entity-limit to a lower number (100 for example) and scan the world again but make sure you really know what are you messing with.
For info in the Minecraft world format use the Minecraft wiki:
This version makes possible to scan a single region file and it has an interactive mode that let's you store the results of the scan in memory and choose what to do with the world.
This looks extremely useful. As someone who runs a custom forge server, and can't access the bukkit fixes for these issues such as World Edit, and even MCEdit can cause me to lose important data, this will be useful. I regularly get "wrong location" entity errors and normally have to manually delete region files one at a time to fine the corrupt area, so that I can manually replace the one file with another one from a backed up file.... this sounds like it will be much faster than doing it that way, as there are a ton of region files to go through.
I am sure you'll see a happy post from me the next time I have to deal with a corrupt chunk, lol.
This looks extremely useful. As someone who runs a custom forge server, and can't access the bukkit fixes for these issues such as World Edit, and even MCEdit can cause me to lose important data, this will be useful. I regularly get "wrong location" entity errors and normally have to manually delete region files one at a time to fine the corrupt area, so that I can manually replace the one file with another one from a backed up file.... this sounds like it will be much faster than doing it that way, as there are a ton of region files to go through.
I am sure you'll see a happy post from me the next time I have to deal with a corrupt chunk, lol.
I'm glad it seems useful!
If you find a problem in your world that region-fixer can't fix or can't detect, please, send me the region file (or the world) if you can. I'll try to update region-fixer. You seem to encounter a lot of strange problems.
This is sort of off topic, because I don't have any data to show for it, but this one server I ran ended up having problems with players not dropping items. No matter the settings of plugins or the like. By not dropping items I mean on death. This problem ultimately hurt the PVP server for the week it was happening, but it started after i messed around with the map files (playing around with custom maps). Not sure if its a detectable bug, but maybe you can also scan the maps folder for corruptions. I fixed my problem, by deleting all the maps in that folder.
This is sort of off topic, because I don't have any data to show for it, but this one server I ran ended up having problems with players not dropping items. No matter the settings of plugins or the like. By not dropping items I mean on death. This problem ultimately hurt the PVP server for the week it was happening, but it started after i messed around with the map files (playing around with custom maps). Not sure if its a detectable bug, but maybe you can also scan the maps folder for corruptions. I fixed my problem, by deleting all the maps in that folder.
This is the very first time that I hear of this problem! Items are stored as entities in chunks, maybe the entity part in the chunks were wacky. Without data it's impossible to tell what's going on and what to scan for.
When you say "map files" are you speaking about the files that store the maps that are items in the game or the map files as *.mca files? I don't really know what folder you are referring.
I hope this isn't a question that has already been answered , but I can't run the program. I downloaded the Windows executable. I extracted it to a folder and ran region-fixer.exe. All it does it pops up a command prompt screen for half a second before disappearing. I have Windows 7. I would really like to use this program because I have many corrupted chunks in my world. Thank you!
I hope this isn't a question that has already been answered , but I can't run the program. I downloaded the Windows executable. I extracted it to a folder and ran region-fixer.exe. All it does it pops up a command prompt screen for half a second before disappearing. I have Windows 7. I would really like to use this program because I have many corrupted chunks in my world. Thank you!
Hello!
Yep, this is answered in the second paragraph of the first post, quoting:
This is a command line application. You have to use it in a terminal in GNU/Linux or a command line (typical MS-DOS view) in Windows. To open the command line in windows run the plication "cmd". You can find usage examples in the readme.
Does that help? If not, don't hesitate to ask again. If you have problems using MS-DOS there are very good tutorials in the internets search in youtube or google.
And don't worry, it isn't a problem to answer a polite question.
Yep, this is answered in the second paragraph of the first post, quoting:
Does that help? If not, don't hesitate to ask again. If you have problems using MS-DOS there are very good tutorials in the internets search in youtube or google.
And don't worry, it isn't a problem to answer a polite question.
Good luck!
I opened up cmd on windows by using the start menu and tried 3 of the examples in the README, but all of them say that "Example" is not recognized as an internal or external command, operable program or batch file whenever I put it in the command prompt. One of them I used was: $ python region-fixer.py ~/.minecraft/saves/World1/region/r.0.0.mca
I can not run any .exe files in the region-fixer folder. Do I need to open a command prompt inside the region-fixer folder? If so, how could I do that?
I have already read through the README several times, but I could not find anything that can start the region-fixer. Thanks for replying.
I opened up cmd on windows by using the start menu and tried 3 of the examples in the README, but all of them say that "Example" is not recognized as an internal or external command, operable program or batch file whenever I put it in the command prompt. One of them I used was: $ python region-fixer.py ~/.minecraft/saves/World1/region/r.0.0.mca
I can not run any .exe files in the region-fixer folder. Do I need to open a command prompt inside the region-fixer folder? If so, how could I do that?
I have already read through the README several times, but I could not find anything that can start the region-fixer. Thanks for replying.
Those commands you have tried are for linux terminals and they don't work in your windows prompt. As the readme says in the usage section:
(NOTE: if you downloaded the .exe version for windows, use "region-fixer.exe" instead of "python region-fixer.py")
But the first thing you have to do make it work is to change the working directory where region fixer is stored. Once you have a cmd windows open use the "cd" command until you get there. For example, if region-fixer is in the desktop you could do:
cd Desktop
cd Region-Fixer-Folder
I encourage you to search a tutorial on how to use a windows MS-DOS, learning the cd command is pretty simple! (and you only need to know that, I think)
Once you are in that directory you can run the region-fixer.exe file. For example, if your world is stored in "c:\minecraft-servers\corrupted-world\" you could for example do something like this:
Hope that helps. Don't hesitate to ask anything else about region-fixer (but, if you want to learn to use a MS-DOS windows I'd suggest you to search in youtube or google ). Please, tell me if that helped you.
Those commands you have tried are for linux terminals and they don't work in your windows prompt. As the readme says in the usage section:
(NOTE: if you downloaded the .exe version for windows, use "region-fixer.exe" instead of "python region-fixer.py")
But the first thing you have to do make it work is to change the working directory where region fixer is stored. Once you have a cmd windows open use the "cd" command until you get there. For example, if region-fixer is in the desktop you could do:
cd Desktop
cd Region-Fixer-Folder
I encourage you to search a tutorial on how to use a windows MS-DOS, learning the cd command is pretty simple! (and you only need to know that, I think)
Once you are in that directory you can run the region-fixer.exe file. For example, if your world is stored in "c:\minecraft-servers\corrupted-world\" you could for example do something like this:
Hope that helps. Don't hesitate to ask anything else about region-fixer (but, if you want to learn to use a MS-DOS windows I'd suggest you to search in youtube or google ). Please, tell me if that helped you.
I successfully ran the program and tried the command region-fixer.exe --dc ,but it found 0 corrupted chunks. I have more than 5 chunks that when I step into, my minecraft lags to death with an fps of about 0.05. Then crashes afterwards. I'm pretty sure the chunks I'm in are corrupted because I drop from 240fps to 0.05fps. Yes your instructions helped get me to run the program, but the program could not find any corrupted chunks. Any solution to that? Thanks. The corrupted chunks are at my spawn, and other major places.
I successfully ran the program and tried the command region-fixer.exe --dc ,but it found 0 corrupted chunks. I have more than 5 chunks that when I step into, my minecraft lags to death with an fps of about 0.05. Then crashes afterwards. I'm pretty sure the chunks I'm in are corrupted because I drop from 240fps to 0.05fps. Yes your instructions helped get me to run the program, but the program could not find any corrupted chunks. Any solution to that? Thanks. The corrupted chunks are at my spawn, and other major places.
Although I can't know from here what is happening I think those chunks are nor corrupted. A corrupted chunk can't be decompressed at all and it usually won't even show in game (Minecraft usually removes them from the world without telling). Those symptoms sound to me like too many entities problem. Could you try to run region fixer using the option "--el 50"? does region-fixer detects anything with this option? You can try lowering the number a little bit more, 30 maybe if it doesn't detect anything with 50.
If region-fixer doesn't detect any problems in your world, and you want to, you could send it to me. I'm always searching for worlds with problems to think about new thinks to implement to region-fixer. I can't promise I will fix or that I will update anything but if I fix it I will let you know.
Although I can't know from here what is happening I think those chunks are nor corrupted. A corrupted chunk can't be decompressed at all and it usually won't even show in game (Minecraft usually removes them from the world without telling). Those symptoms sound to me like too many entities problem. Could you try to run region fixer using the option "--el 50"? does region-fixer detects anything with this option? You can try lowering the number a little bit more, 30 maybe if it doesn't detect anything with 50.
If region-fixer doesn't detect any problems in your world, and you want to, you could send it to me. I'm always searching for worlds with problems to think about new thinks to implement to region-fixer. I can't promise I will fix or that I will update anything but if I fix it I will let you know.
Yeah you are right about the too many entities problem. It scanned and found 9 chunks with 37695 entities total (or somewhere around 37000) it deleted about 100 entities in the 9 chunks. After that, I closed region-fixer and dragged in the world into my minecraft. I started it, but I still have the 0.05 fps that I had before when I entered the chunk. I would be really grateful if you can fix my world here:
Yeah you are right about the too many entities problem. It scanned and found 9 chunks with 37695 entities total (or somewhere around 37000) it deleted about 100 entities in the 9 chunks. After that, I closed region-fixer and dragged in the world into my minecraft. I started it, but I still have the 0.05 fps that I had before when I entered the chunk. I would be really grateful if you can fix my world here:
Hey, you world is not corrupted or anything strange. You have too many redstone contraptions working at the same time and you have some building that make game ticks lager.
In my case the fps drop wasn't so big (I had around 15 fps), I wandered a little bit around, I broke a few moving redstone contraptions and my fps went up to 40. Since the new updates anything related to redstone+lighting is REALLY slow, so moving neon sings, permanent clocks and other stuff will make your world pretty slow.
I think that is the only problem your world have. Try to do that and tell me if that worked.
Hey, you world is not corrupted or anything strange. You have too many redstone contraptions working at the same time and you have some building that make game ticks lager.
In my case the fps drop wasn't so big (I had around 15 fps), I wandered a little bit around, I broke a few moving redstone contraptions and my fps went up to 40. Since the new updates anything related to redstone+lighting is REALLY slow, so moving neon sings, permanent clocks and other stuff will make your world pretty slow.
I think that is the only problem your world have. Try to do that and tell me if that worked.
Thanks for taking time to explore my world and for the redstone breaking tip. It worked for those areas with redstone. My giant prison is no longer laggy, but I still have one problem. The spawn is laggy and I don't have any redstone circuits pulsing near the spawn. There are a lot of buildings, but I don't think that is causing the lag at spawn? It's like around 5-10 fps at spawn.
Hello!
Just arrived from holidays... If you used a converter to convert your world and then scanned it, you are probably fixing the problems in the world while converting. The converter is probably ignoring any problems with chunks while converting your world. The last version of region-fixer with mcregion support is v0.0.6, you can find it in the github download page. Good luck!
Also, I've got a big update for region-fixer but it's taking much longer than expected.
I'm glad it helped!
You can find the paypal donate link in the first post http://www.minecraftforum.net/topic/275730-tool-minecraft-region-fixer/ is just after "Introduction" and just before "Usage", is a very small link.
If you donate you would be my second donor... maybe I should write a donor list in the first post, would you like to be in there?
Thanks a lot!
Thanks
I'm afraid I've got no idea.
That error sounds to me as a problem inside the chunk, and region fixer checks the worlds more at region file level. So, for example, you could have a strange chunk, with a non usable size for minecraft or CB, and region fixer won't complain unless decompressing it gives problems or has too many entities inside or is wrong located or the chunk NBT structure is really wrong.
Any mods? Check for mods doing strange things to your chunks.
Good luck!
Just in case you can try to turn --entity-limit to a lower number (100 for example) and scan the world again but make sure you really know what are you messing with.
For info in the Minecraft world format use the Minecraft wiki:
http://www.minecraftwiki.net/
Everything is in there, some examples:
http://www.minecraftwiki.net/wiki/Level_Format
http://www.minecraftwiki.net/wiki/Anvil_file_format
This version makes possible to scan a single region file and it has an interactive mode that let's you store the results of the scan in memory and choose what to do with the world.
I am sure you'll see a happy post from me the next time I have to deal with a corrupt chunk, lol.
I'm glad it seems useful!
If you find a problem in your world that region-fixer can't fix or can't detect, please, send me the region file (or the world) if you can. I'll try to update region-fixer. You seem to encounter a lot of strange problems.
This is the very first time that I hear of this problem! Items are stored as entities in chunks, maybe the entity part in the chunks were wacky. Without data it's impossible to tell what's going on and what to scan for.
When you say "map files" are you speaking about the files that store the maps that are items in the game or the map files as *.mca files? I don't really know what folder you are referring.
Hello!
Yep, this is answered in the second paragraph of the first post, quoting:
Does that help? If not, don't hesitate to ask again. If you have problems using MS-DOS there are very good tutorials in the internets search in youtube or google.
And don't worry, it isn't a problem to answer a polite question.
Good luck!
I opened up cmd on windows by using the start menu and tried 3 of the examples in the README, but all of them say that "Example" is not recognized as an internal or external command, operable program or batch file whenever I put it in the command prompt. One of them I used was: $ python region-fixer.py ~/.minecraft/saves/World1/region/r.0.0.mca
I can not run any .exe files in the region-fixer folder. Do I need to open a command prompt inside the region-fixer folder? If so, how could I do that?
I have already read through the README several times, but I could not find anything that can start the region-fixer. Thanks for replying.
Those commands you have tried are for linux terminals and they don't work in your windows prompt. As the readme says in the usage section:
(NOTE: if you downloaded the .exe version for windows, use
"region-fixer.exe" instead of "python region-fixer.py")
But the first thing you have to do make it work is to change the working directory where region fixer is stored. Once you have a cmd windows open use the "cd" command until you get there. For example, if region-fixer is in the desktop you could do:
I encourage you to search a tutorial on how to use a windows MS-DOS, learning the cd command is pretty simple! (and you only need to know that, I think)
Once you are in that directory you can run the region-fixer.exe file. For example, if your world is stored in "c:\minecraft-servers\corrupted-world\" you could for example do something like this:
or something like:
to see a list of all the options.
Hope that helps. Don't hesitate to ask anything else about region-fixer (but, if you want to learn to use a MS-DOS windows I'd suggest you to search in youtube or google ). Please, tell me if that helped you.
I successfully ran the program and tried the command region-fixer.exe --dc ,but it found 0 corrupted chunks. I have more than 5 chunks that when I step into, my minecraft lags to death with an fps of about 0.05. Then crashes afterwards. I'm pretty sure the chunks I'm in are corrupted because I drop from 240fps to 0.05fps. Yes your instructions helped get me to run the program, but the program could not find any corrupted chunks. Any solution to that? Thanks. The corrupted chunks are at my spawn, and other major places.
Although I can't know from here what is happening I think those chunks are nor corrupted. A corrupted chunk can't be decompressed at all and it usually won't even show in game (Minecraft usually removes them from the world without telling). Those symptoms sound to me like too many entities problem. Could you try to run region fixer using the option "--el 50"? does region-fixer detects anything with this option? You can try lowering the number a little bit more, 30 maybe if it doesn't detect anything with 50.
If region-fixer doesn't detect any problems in your world, and you want to, you could send it to me. I'm always searching for worlds with problems to think about new thinks to implement to region-fixer. I can't promise I will fix or that I will update anything but if I fix it I will let you know.
Yeah you are right about the too many entities problem. It scanned and found 9 chunks with 37695 entities total (or somewhere around 37000) it deleted about 100 entities in the 9 chunks. After that, I closed region-fixer and dragged in the world into my minecraft. I started it, but I still have the 0.05 fps that I had before when I entered the chunk. I would be really grateful if you can fix my world here:
http://www.mediafire.com/?hoazcwcic05dtb5
Thank you for offering to help fix my world!
Hey, you world is not corrupted or anything strange. You have too many redstone contraptions working at the same time and you have some building that make game ticks lager.
In my case the fps drop wasn't so big (I had around 15 fps), I wandered a little bit around, I broke a few moving redstone contraptions and my fps went up to 40. Since the new updates anything related to redstone+lighting is REALLY slow, so moving neon sings, permanent clocks and other stuff will make your world pretty slow.
I think that is the only problem your world have. Try to do that and tell me if that worked.
Thanks for taking time to explore my world and for the redstone breaking tip. It worked for those areas with redstone. My giant prison is no longer laggy, but I still have one problem. The spawn is laggy and I don't have any redstone circuits pulsing near the spawn. There are a lot of buildings, but I don't think that is causing the lag at spawn? It's like around 5-10 fps at spawn.