Chunk Problem :(

Discussion in 'Bukkit Help' started by jules103, Mar 1, 2011.

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

    XeonProductions

    My patch won't fix one major problem, which I believe is two or more chunk pointers point to the same chunk in the region file. You might also notice that some chunks have been copied to the wrong location. I haven't had the time to write a utility that will make sure that there are no duplicate pointers in the region file.
     
  2. Offline

    Scyfi

    I would still recommend going in with MCedit and exporting the bad chunk then deleting it and importing again. While Xeon's fix will solve the error spam the error is still there and needs to be fixed. I think it would be better in the long run to just go in and fix the underlying problem. And with xeon's fix you should be able to use Worldedit to find the bad chunk without spamming yout console to death with errors.
     
  3. Offline

    cppchriscpp

    Thank you all for the details about this -- I only used teleporting to get around, and this may well have been part of the problem. I'll go back and try again at some point. The detail is much appreciated.
     
  4. Offline

    TnT

    @XeonProduction
    At this point, it looks like you're pretty close to having a full out World checking utility. You may want to write something like that and submit it to the Bukkit tools section. Having a utility to verify your world - and fix any problems - would be a pretty good thing for people to have.
     
  5. Offline

    cppchriscpp

    I would *love* that.

    You could also just make a plugin that does it in real time like the bukkit patch. Just do something in onChunkLoad that does your magic, perhaps.

    Granted, it is currently limited use, so I wouldn't blame you for just saying no. At the same time though, I really want that tool. :p
     
  6. Offline

    GameFAQsRolo

    Any news on this getting fixed on the newer builds. I've read the notes up to the 531 build, but I don't know exactly what to look for in the fixes to know something has been implemented.
     
  7. Offline

    nidefawl

    Would be nice to have the source code until this gets comitted to CraftBukkit
     
  8. Offline

    trivials

    Would be nice to have an plugin to fix this chunk problem :)

    I have the same error sometimes :(
     
  9. Offline

    XeonProductions

    I am working on a utility to fix the problem, here is sample output. My suspicions have been confirmed, duplicated pointers.

    Code:
    REGION LOAD world\region\r.-2.1.mcr
    scanning region file x=-2 z=1 file=r.-2.1.mcr
    duplicate pointer found: chunkX=-56 chunkZ=32 offset=67329
    -> bad location! expected chunk at [x=-56 z=32] got [x=-61 z=34]
    duplicate pointer found: chunkX=-55 chunkZ=34 offset=123393
    -> bad location! expected chunk at [x=-55 z=34] got [x=-58 z=55]
    duplicate pointer found: chunkX=-42 chunkZ=62 offset=44289
    -> good location (this is the real pointer ^_^)!
    duplicate pointer found: chunkX=-35 chunkZ=33 offset=31489
    -> bad location! expected chunk at [x=-35 z=33] got [x=-38 z=60]
    [MERGETIME="1299939887"][/MERGETIME]
    I've released a very early version of the utility

    http://forums.bukkit.org/threads/admin-chunkster.8186/
     
  10. Offline

    GameFAQsRolo

    I just want to pop in here one last time with my complete results from the past week.

    Yes, Xeon's fix on #493 worked well enough for me to keep my server way more stable than without the fix.

    No. The fix was not perfect. There were some oddities in the chunks that had errors and then repaired with the fix. I don't know if it was the duplication that Xeon is talking about, but some chunks were just completely out of place compared to the terrain around them (and I was too lazy to load up a backup to compare).

    Another reason it wasn't perfect, I still got errors two more times after I stopped using the fix. My guess is that they were chunks I had not flown over and repaired before removing the fix. So this isn't really the fix's fault, but I felt I should mention it.

    Currently, I am running CB #531 with no errors. I don't know if I managed to repair all the bad files earlier in the week with just the fix or if there was something in one of the new builds that fixed the problem. Just to be safe, I'll probably check out your utility @XeonProductions . I usually do my maintenance on Thursdays so I probably won't test it until then UNLESS I find a new error before maintenance.
     
  11. Offline

    Anoniempje

    Bump because this happens to me aswell. Testing the fixes proposed in this thread.
     
  12. Offline

    Puck7845

    ok, so I'm getting this error:
    Code:
    2011-03-23 20:24:53 [INFO] Chunk file at 2,26 is in the wrong location; relocating. (Expected 2, 26, got 17, 4)
    2011-03-23 20:24:53 [INFO] Chunk (17, 4) stored at  (2, 26)
    2011-03-23 20:24:53 [SEVERE] java.lang.Throwable
    2011-03-23 20:24:53 [SEVERE]     at org.bukkit.craftbukkit.util.LongHashtable.put(LongHashtable.java:21)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.ChunkProviderServer.d(ChunkProviderServer.java:69)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:33)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.PlayerManager.a(PlayerManager.java:37)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.PlayerManager.a(PlayerManager.java:76)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:100)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-23 20:24:53 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    I was going to try the MCEdit export/import trick, but I have no idea which chunk to go after, does (17, 4) mean its lower left corner has the in-game coordinateness (272, 64)? Should I be looking at (2, 26) instead!?
    /le sigh/

    Any advice?
     
  13. Offline

    TnT

  14. Offline

    Puck7845

    oh, right, forgot to mention the download location was giving me trouble, still is, the whole xeonproductions.com seems to be down, anyone have a mirror?
     
  15. Offline

    woodzy

    find ur coord right it down in-game go to MCedit and just well count the blocks one by one
     
  16. Offline

    Anoniempje

    Chunkster fixed it for me, I recommend it.
     
  17. Offline

    Mendo

    Chunkster worked for me as well [cake]
     
  18. its corrupted chunks...
    lets say you get this message.:
    2011-03-01 20:28:18 [INFO] Chunk (1, -4) stored at (0, -4)

    EA chunk is 16x16...
    and are showed in x z chords

    so to find thoes chunks use mc edit.
    in this case "stored at(0,-4)"

    pos 0;-64 (4*16)

    and delete that chunk in MCedit.

    OR
    you coud use a fix.
     
  19. Offline

    Vezorock

    I tried your fix and it resulted in this
    18:54:17 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: net.minecraft.server.NBTTagCompound.b(Ljava/lang/St
    ring;)Z
    at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:23)
    at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServe
    r.java:136)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServ
    er.java:65)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:255)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  20. Offline

    ryo0640

    I use XenoProduction fix but I get this error

    D:\server>ECHO OFF
    161 recipes
    17 achievements
    11:19:29 [INFO] Starting minecraft server version Beta 1.8.1
    11:19:29 [INFO] Loading properties
    11:19:29 [INFO] Starting Minecraft server on 5.92.19.145:25565
    11:19:29 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    11:19:29 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    11:19:29 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    11:19:29 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    11:19:29 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067
    -g6301507-b1185jnks (MC: 1.8.1)
    11:19:29 [INFO] MLog clients using java 1.4+ standard logging.
    11:19:29 [INFO] Preparing level "MGR2"
    11:19:29 [INFO] Default game type: 0
    11:19:29 [INFO] Preparing start region for level 0 (Seed: 5491801968085857275)
    11:19:29 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.NBTTagCompou
    nd.b(Ljava/lang/String;)Z
    11:19:29 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionL
    oader.java:23)
    11:19:29 [SEVERE] at net.minecraft.server.ChunkProviderServer.loadChunk(Ch
    unkProviderServer.java:124)
    11:19:29 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:67)
    11:19:29 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:268)
    11:19:29 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:152)
    11:19:29 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:348)
    11:19:29 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    11:19:29 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: net.minecraft.server.NBTTagCompound.b(Ljava/lang/St
    ring;)Z
    at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:23)
    at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServe
    r.java:124)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServ
    er.java:67)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:268)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    This is when I use original craftbukkit.snapshot.jar

    D:\server>ECHO OFF
    161 recipes
    17 achievements
    11:27:52 [INFO] Starting minecraft server version Beta 1.8.1
    11:27:52 [INFO] Loading properties
    11:27:52 [INFO] Starting Minecraft server on 5.92.19.145:25565
    11:27:52 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    11:27:52 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    11:27:52 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    11:27:52 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    11:27:52 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1126
    -g35eac7a-b1317jnks (MC: 1.8.1)
    11:27:52 [INFO] MLog clients using java 1.4+ standard logging.
    11:27:52 [INFO] Preparing level "MGR2"
    11:27:52 [INFO] Default game type: 0
    11:27:52 [INFO] Preparing start region for level 0 (Seed: 5491801968085857275)
    11:27:53 [INFO] Chunk file at 11,19 is in the wrong location; relocating. (Expec
    ted 11, 19, got 31, 25)
    11:27:53 [INFO] Chunk (31, 25) stored at (11, 19)
    11:27:53 [SEVERE] java.lang.Throwable
    11:27:53 [SEVERE] at org.bukkit.craftbukkit.util.LongHashtable.put(LongHas
    htable.java:19)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:77)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:268)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:152)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:348)
    11:27:53 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    11:27:53 [INFO] Chunk (31, 25) stored at (11, 19)
    11:27:53 [SEVERE] java.lang.Throwable
    11:27:53 [SEVERE] at org.bukkit.craftbukkit.util.LongHashtable.get(LongHas
    htable.java:32)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getOrCreateC
    hunk(ChunkProviderServer.java:104)
    11:27:53 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:829)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:96)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:268)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:152)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:348)
    11:27:53 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    11:27:53 [SEVERE] Chunk (31, 25) stored at (11, 19) in world 'MGR2'
    11:27:53 [SEVERE] net.minecraft.server.Chunk
    11:27:53 [SEVERE] java.lang.Throwable
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getOrCreateC
    hunk(ChunkProviderServer.java:112)
    11:27:53 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:829)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:96)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:268)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:152)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:348)
    11:27:53 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    11:27:53 [INFO] Chunk (31, 25) stored at (11, 19)
    11:27:53 [SEVERE] java.lang.Throwable
    11:27:53 [SEVERE] at org.bukkit.craftbukkit.util.LongHashtable.get(LongHas
    htable.java:32)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getOrCreateC
    hunk(ChunkProviderServer.java:104)
    11:27:53 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:825)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:96)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:268)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:152)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:348)
    11:27:53 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    11:27:53 [SEVERE] Chunk (31, 25) stored at (11, 19) in world 'MGR2'
    11:27:53 [SEVERE] net.minecraft.server.Chunk
    11:27:53 [SEVERE] java.lang.Throwable
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getOrCreateC
    hunk(ChunkProviderServer.java:112)
    11:27:53 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:825)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:96)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:268)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:152)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:348)
    11:27:53 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    11:27:53 [INFO] Chunk (31, 25) stored at (11, 19)
    11:27:53 [SEVERE] java.lang.Throwable
    11:27:53 [SEVERE] at org.bukkit.craftbukkit.util.LongHashtable.get(LongHas
    htable.java:32)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getOrCreateC
    hunk(ChunkProviderServer.java:104)
    11:27:53 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:833)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:96)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:268)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:152)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:348)
    11:27:53 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    11:27:53 [SEVERE] Chunk (31, 25) stored at (11, 19) in world 'MGR2'
    11:27:53 [SEVERE] net.minecraft.server.Chunk
    11:27:53 [SEVERE] java.lang.Throwable
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getOrCreateC
    hunk(ChunkProviderServer.java:112)
    11:27:53 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:833)
    11:27:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:96)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:268)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:152)
    11:27:53 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:348)
    11:27:53 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    11:28:00 [INFO] Done (0.824s)! For help, type "help" or "?"

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
Thread Status:
Not open for further replies.

Share This Page