World corruption (skeleton in wrong location) Help please

Discussion in 'Bukkit Help' started by FuRiouSOne, Feb 25, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    FuRiouSOne

    I have one stupid skeleton in a wrong location which is crashing my server. I know the location
    Wrong location for EntitySkeleton['Skeleton'/24067, l='world', x=-265.50, y=12.00, z=10.50] in world 'world'

    I have tried running chunkster with --remove-mobs
    Doesnt fix it

    I have tried minecraft region fixer with --delete-entities --entity-limit=1
    Doesnt fix it and wont scan more then 4 region files when i have over 300+

    I have tried running butcher in the console and even killall but without the chunk being loaded it will not butcher any mobs in said chunk. If i try to get close enough to the chunk to /butcher in game the server crashes as soon as the chunk is called to load.

    Please help, if anyone has any ideas how to get rid of this one stinking zombie from my world please post below.

    Thanks
     
  2. Offline

    UltiFix

    wait is a skeleton the problem or a zombie........ also are you sure you used chunkster correctly?
     
  3. Offline

    FuRiouSOne

    Yes i used chunkster correctly and it said it removed entities but when i log back in the chunk is still corrupt with that same skeleton.

    Code:
    2013-02-25 16:50:39 [INFO] beawesome2[/71.89.115.19:4550] logged in with entity id 24026 at ([world] -223.30000001192093, 26.0, 38.006803892606925)
    2013-02-25 16:50:39 [INFO] Chunk file at -17,1 is in the wrong location; relocating. (Expected -17, 1, got -17, 0)
    2013-02-25 16:50:39 [INFO] Chunk file at -11,3 is in the wrong location; relocating. (Expected -11, 3, got -20, 3)
    2013-02-25 16:50:39 [INFO] Chunk file at -17,0 is in the wrong location; relocating. (Expected -17, 0, got -20, 2)
    2013-02-25 16:50:39 [INFO] Chunk file at -12,6 is in the wrong location; relocating. (Expected -12, 6, got -20, 4)
    2013-02-25 16:50:39 [INFO] Chunk file at -20,2 is in the wrong location; relocating. (Expected -20, 2, got -11, 5)
    2013-02-25 16:50:39 [WARNING] Wrong location for EntitySkeleton['Skeleton'/24067, l='world', x=-265.50, y=12.00, z=10.50] in world 'world'!
    2013-02-25 16:50:39 [WARNING] Entity is at -265.5,10.5 (chunk -17,0) but was stored in chunk -17,1
    2013-02-25 16:50:39 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: -219
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.ChunkSection.a(ChunkSection.java:41)
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.Chunk.getTypeId(Chunk.java:350)
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.Chunk.a(Chunk.java:637)
    2013-02-25 16:50:39 [INFO] Chunk file at -20,4 is in the wrong location; relocating. (Expected -20, 4, got -11, 2)
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.Chunk.a(Chunk.java:624)
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.ChunkRegionLoader.loadEntities(ChunkRegionLoader.java:367)
    2013-02-25 16:50:39 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:47)
    2013-02-25 16:50:39 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:13)
    2013-02-25 16:50:39 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:179)
    2013-02-25 16:50:39 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.util.AsynchronousExecutor.finishActive(AsynchronousExecutor.java:287)
    2013-02-25 16:50:39 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:30)
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:528)
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:485)
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:420)
    2013-02-25 16:50:39 [SEVERE]    at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
    2013-02-25 16:50:39 [SEVERE] Encountered an unexpected exception ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException: -219
        at net.minecraft.server.v1_4_R1.ChunkSection.a(ChunkSection.java:41)
        at net.minecraft.server.v1_4_R1.Chunk.getTypeId(Chunk.java:350)
        at net.minecraft.server.v1_4_R1.Chunk.a(Chunk.java:637)
        at net.minecraft.server.v1_4_R1.Chunk.a(Chunk.java:624)
        at net.minecraft.server.v1_4_R1.ChunkRegionLoader.loadEntities(ChunkRegionLoader.java:367)
        at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:47)
        at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:13)
        at org.bukkit.craftbukkit.v1_4_R1.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:179)
        at org.bukkit.craftbukkit.v1_4_R1.util.AsynchronousExecutor.finishActive(AsynchronousExecutor.java:287)
        at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:30)
        at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:528)
        at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
        at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:485)
        at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:420)
        at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
    Here is my chunkster run bat

    Code:
    @echo off
     
    FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment" /v CurrentVersion') DO set CurVer=%%B
     
    FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment\%CurVer%" /v JavaHome') DO set JAVA_HOME=%%B
     
    if "%JAVA_HOME%".==. (
        [USER=90771833]Echo[/USER] java.exe not found
        pause
        exit
    ) else (
        [USER=90771833]Echo[/USER] Java found! %JAVA_HOME%\bin\java.exe
    )
     
    "%JAVA_HOME%\bin\java.exe" -jar Chunkster.jar --remove-mobs
     
    pause
    Here is the chunkster output after running.

    Code:
    Java found! C:\Program Files\Java\jre7\bin\java.exe
    Chunkster Region Map Repair Utility v0.2 (now with electrolytes!)
    Author: Xeon Productions
    Usage: java -jar Chunkster.jar [options ..] <world directory>
    Options:
      --remove-mobs: removes mobs, monsters, creepers, skeletons, spiders, etc.
      --remove-projectiles: removes arrows, snowballs, eggs, etc.
      --remove-dropped-items: removes dropped items.
      --remove-experience-orbs: removes experience orbs.
      --remove-vehicles: removes boats and minecarts
     
    [Chunkster] You forgot to provide a path, would you like to Chunkster to search
    the current directory? (Y/N)
    y
    [Chunkster] World found! D:\PVE Server\Minecraft\arena\level.dat
    [Chunkster] Would you like to use repair this one? (Y/N)
    n
    [Chunkster] World found! D:\PVE Server\Minecraft\bigc\level.dat
    [Chunkster] Would you like to use repair this one? (Y/N)
    n
    [Chunkster] World found! D:\PVE Server\Minecraft\crt\level.dat
    [Chunkster] Would you like to use repair this one? (Y/N)
    n
    [Chunkster] World found! D:\PVE Server\Minecraft\diggy\level.dat
    [Chunkster] Would you like to use repair this one? (Y/N)
    n
    [Chunkster] World found! D:\PVE Server\Minecraft\dragon\level.dat
    [Chunkster] Would you like to use repair this one? (Y/N)
    n
    [Chunkster] World found! D:\PVE Server\Minecraft\pkr\level.dat
    [Chunkster] Would you like to use repair this one? (Y/N)
    n
    [Chunkster] World found! D:\PVE Server\Minecraft\world\level.dat
    [Chunkster] Would you like to use repair this one? (Y/N)
    y
    [Chunkster] Starting scan...
    [Chunkster] LOADING REGION FILE D:\PVE Server\Minecraft\world\region\r.0.-1.mcr
    [Chunkster] Pre-build file length: 372736
    [Chunkster] CREATING REGION FILE D:\PVE Server\Minecraft\world\region\r.0.-1.mcr
    .rebuild
    [Chunkster] Rebuilding region file x=0 z=-1 file=r.0.-1.mcr
    [Chunkster] Removed 0 entities from region.
    [Chunkster] Rebuilt file length: 372736
    [Chunkster] Deleted original region file.
    [Chunkster] Renamed rebuilt region file to original.
    [Chunkster] LOADING REGION FILE D:\PVE Server\Minecraft\world\region\r.0.0.mcr
    [Chunkster] Pre-build file length: 933888
    [Chunkster] CREATING REGION FILE D:\PVE Server\Minecraft\world\region\r.0.0.mcr.
    rebuild
    [Chunkster] Rebuilding region file x=0 z=0 file=r.0.0.mcr
    [Chunkster] Removed 0 entities from region.
    [Chunkster] Rebuilt file length: 933888
    [Chunkster] Deleted original region file.
    [Chunkster] Renamed rebuilt region file to original.
    [Chunkster] LOADING REGION FILE D:\PVE Server\Minecraft\world\region\r.1.-1.mcr
    [Chunkster] Pre-build file length: 495616
    [Chunkster] CREATING REGION FILE D:\PVE Server\Minecraft\world\region\r.1.-1.mcr
    .rebuild
    [Chunkster] Rebuilding region file x=1 z=-1 file=r.1.-1.mcr
    [Chunkster] Removed 0 entities from region.
    [Chunkster] Rebuilt file length: 495616
    [Chunkster] Deleted original region file.
    [Chunkster] Renamed rebuilt region file to original.
    [Chunkster] LOADING REGION FILE D:\PVE Server\Minecraft\world\region\r.1.0.mcr
    [Chunkster] Pre-build file length: 1097728
    [Chunkster] CREATING REGION FILE D:\PVE Server\Minecraft\world\region\r.1.0.mcr.
    rebuild
    [Chunkster] Rebuilding region file x=1 z=0 file=r.1.0.mcr
    [Chunkster] Removed 0 entities from region.
    [Chunkster] Rebuilt file length: 1097728
    [Chunkster] Deleted original region file.
    [Chunkster] Renamed rebuilt region file to original.
    Press any key to continue . . .
    Why is it only scanning/checking 4 region files? Shouldnt it check all .mcr files?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  4. Not sure if this would help... Due to the fact I know nothing about world corruption....

    Attempt to kill the skeleton?
    -Wise words from a freshman.
     
  5. Offline

    FuRiouSOne

    Thing is you cant NOT get anywhere near the chunk the skeleton is in as it will crash the server. The server will halt when it attempts to load the chunk the skeleton is in...
     
  6. FuRiouSOne How about using the map on single player and editing it around there?
     
  7. Offline

    FuRiouSOne

    After looking at what i posted i realized the tools were scanning and creating mcr files which minecraft doesnt use anymore. That being said chunkster will not work for me and i have found an updated minecraft region fixer and am running it now and it is now removing all entities from all my mca region files.

    Will report back if this doesnt fix my issue.
     
  8. Offline

    UltiFix

    what is the advanced region fixer I would love to have these tools on hand for my server :)
     
  9. Offline

    FuRiouSOne

    Fixed my issue, Use minecraft region fixer 0.1.0 and found 6 chunks in wrong location on 1 region file. Used a backup region file and replaced it now my world is once again playable.

    Would have been nice if MCRF would have just deleted the entities or fixed the wrong location chunks but its all good, why we have backups :).

    You can find MCRF latest version at <Edit by Moderator: Redacted mediafire url>

    Someone should update this thread with the latest MCRF version.
    http://forums.bukkit.org/threads/how-to-fix-your-world-errors-corrupt-chunks.54254/
     
    Last edited by a moderator: Nov 7, 2016
Thread Status:
Not open for further replies.

Share This Page