<div><span style="font-size:9pt;line-height:1.5;">worldedit이나 mcedit이 잘 못 동작하면 가끔 블럭 정보는 수정 되었는데 제거 되었어야할 타일 엔티티 정보가 홀로 남아있게 되어서 </span><span style="font-size:9pt;line-height:1.5;">아래와 같은 에러가 납니다.</span></div> <div><br></div> <div> <div></div></div><blockquote style="border:1px dashed rgb(102,102,102);padding:5px 10px;background-color:#ffffff;"> <div> <div>타일엔티티 정보에는 (<span style="font-size:9pt;line-height:1.5;">-45,14,-56) 좌표에 </span><span style="font-size:9pt;line-height:1.5;">몹스포너라는데</span></div> <div><span style="font-size:9pt;line-height:1.5;">(</span><span style="font-size:9pt;line-height:1.5;">-45,14,-56) 좌표에 실제로는 몹 스포너 블럭이 아니라 돌 블럭이 있는 경우</span></div> <div>[20:22:38] [Server thread/INFO]: Attempted to place a tile entity (net.minecraft.server.v1_8_R3.TileEntityMobSpawner@587720d) at -45,14,-56 (STONE) where there was no entity tile!</div> <div>[20:22:38] [Server thread/INFO]: Chunk coordinates: -48,-64</div> <div>[20:22:38] [Server thread/WARN]: java.lang.Exception</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at net.minecraft.server.v1_8_R3.Chunk.a(Chunk.java:791)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at net.minecraft.server.v1_8_R3.Chunk.a(Chunk.java:769)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at net.minecraft.server.v1_8_R3.ChunkRegionLoader.loadEntities(ChunkRegionLoader.java:420)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at org.bukkit.craftbukkit.v1_8_R3.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:46)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at org.bukkit.craftbukkit.v1_8_R3.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:1)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at org.bukkit.craftbukkit.v1_8_R3.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:337)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at org.bukkit.craftbukkit.v1_8_R3.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:295)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at org.bukkit.craftbukkit.v1_8_R3.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:16)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at net.minecraft.server.v1_8_R3.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:115)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at net.minecraft.server.v1_8_R3.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:97)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:373)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:337)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:256)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528)</div> <div>[20:22:38] [Server thread/WARN]: <span class="Apple-tab-span" style="white-space:pre;"> </span>at java.lang.Thread.run(Unknown Source)</div></div> <div></div></blockquote> <div><br></div> <div>이런 지점이 상당히 많게 되면 유저가 해당 지역 진입시 에러 로그가 어마하게 쌓일 수도 있고, (8GB까지 봤습니다)</div> <div>한번에 에러가 심하게 많이 올라오면 서버가 다운됩니다.</div> <div><br></div> <div>그래서 수정을 위해 코드를 짰습니다.</div> <div><a target="_blank" href="https://gist.github.com/blankplanet/bc41d931a36be87df7ff" target="_blank">https://gist.github.com/blankplanet/bc41d931a36be87df7ff</a></div> <div><br></div> <div>GlowStone++을 수정 해서 <span style="font-size:9pt;line-height:1.5;">청크 로드 중에 로드에 실패한 타일 엔티티만 버리고 다시 청크를 저장합니다.</span></div> <div><a target="_blank" href="https://glowstoneplusplus.github.io/" target="_blank">https://glowstoneplusplus.github.io/</a></div> <div><br></div> <div>FixAnvil.java는 메인 실행 부분이고 </div> <div>AnvilChunkIoService.java는 GlowStone++ 소스파일 패치 입니다.</div> <div><br></div> <div><br></div> <div>사용하실려면 GlowStone++ 소스에 넣고 컴파일 하시면 되겠습니다.</div> <div><br></div> <div><br></div> <div>--주의사항--</div> <div>보관용 맵이거나, 정말 에러가 심해서 수정이 꼭 필요한 맵에만 쓰세요.</div> <div>맵의 손상은 제가 책임지지 않습니다.</div> <div><br></div>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.