mircokroon / minecraft-world-downloader

Download Minecraft worlds, extend server's render distance. 1.12.2 - 1.21
GNU General Public License v3.0
1.25k stars 81 forks source link

Cannot download world data on servers with lobbies #474

Open DanGamingTV opened 1 year ago

DanGamingTV commented 1 year ago

Describe the bug Cannot download world data on servers with lobbies The app can get the player's position, and register new chunks sent by the server, but no actual region data is shown or stored (No region folder created, no map is shown in the app - all chunks are black)

Steps to reproduce Open and set up the app Put in a server that has a lobby (I tried using play.loverfella.com) Pause chunk saving Log onto the localhost server In the lobby, join the warp/subserver you want to join (I joined the megasurvival world) Re-enable chunk saving Try walking around

Log output

 java.io.EOFException: Unexpected end of ZLIB input stream
    at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:244)
    at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
    at java.base/java.io.FilterInputStream.read(FilterInputStream.java:106)
    at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1309)
    at org.apache.commons.io.IOUtils.copy(IOUtils.java:978)
    at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1282)
    at org.apache.commons.io.IOUtils.copy(IOUtils.java:953)
    at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:2405)
    at proxy.CompressionManager.zlibDecompress(CompressionManager.java:44)
    at proxy.CompressionManager.decompressPacket(CompressionManager.java:122)
    at packets.DataProvider.withSize(DataProvider.java:43)
    at packets.handler.PacketHandler.handle(PacketHandler.java:43)
    at packets.DataReader.readPackets(DataReader.java:163)
    at packets.DataReader.pushData(DataReader.java:118)
    at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106)
    at util.ExceptionHandling.attempt(ExceptionHandling.java:12)
    at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103)
    at util.ExceptionHandling.attempt(ExceptionHandling.java:12)
    at proxy.ProxyServer.run(ProxyServer.java:62)
java.lang.RuntimeException: Invalid VarInt found! Packet structure may have changed.
    at packets.DataReader.readVarInt(DataReader.java:70)
    at packets.DataTypeProvider.readVarInt(DataTypeProvider.java:111)
    at packets.handler.PacketHandler.handle(PacketHandler.java:49)
    at packets.DataReader.readPackets(DataReader.java:163)
    at packets.DataReader.pushData(DataReader.java:118)
    at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106)
    at util.ExceptionHandling.attempt(ExceptionHandling.java:12)
    at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103)
    at util.ExceptionHandling.attempt(ExceptionHandling.java:12)
    at proxy.ProxyServer.run(ProxyServer.java:62) 

Full log: https://pastebin.com/Gkm47iww Screenshots If applicable, add screenshots to help explain your problem. Screenshot 2023-01-05 015939

Version

davelny commented 1 year ago

Yeah same thing happened with me no idea how to fix it