bedrock-tool / bedrocktool

a mostly working minecraft bedrock tool for downloading server worlds, skins and others
GNU General Public License v3.0
188 stars 22 forks source link

World downloader crash #98

Open Fleecks opened 1 year ago

Fleecks commented 1 year ago

DEBU[0145] received remote pack infos
DEBU[0145] waiting for remote stack
DEBU[0145] received remote resourcepack stack, starting game INFO[0147] Using Custom Blocks
INFO[0147] couldnt determine game version, assuming > 1.18 DEBU[0148] Connected to server.
ERRO[0193] hujson: line 1, column 1: parsing value: unexpected EOF ERRO[0193] hujson: line 1, column 1: parsing value: unexpected EOF panic: runtime error: index out of range [35176] with length 16674

goroutine 182 [running]: github.com/df-mc/dragonfly/server/world/chunk.(Chunk).HighestBlockLayer(0xc0002bc100, 0x0?, 0x0?, 0x0, 0x0) github.com/df-mc/dragonfly/server/world/chunk/chunk.go:208 +0x169 github.com/df-mc/dragonfly/server/world/chunk.(Chunk).HeightMapWithWater(0xc0002bc100) github.com/df-mc/dragonfly/server/world/chunk/chunk.go:240 +0x77 github.com/bedrock-tool/bedrocktool/utils.Chunk2Img(0xc000bef950?) github.com/bedrock-tool/bedrocktool/utils/chunk_render.go:140 +0x38 github.com/bedrock-tool/bedrocktool/handlers/worlds.(MapUI).processQueue(0xc000c65e30) github.com/bedrock-tool/bedrocktool/handlers/worlds/map_item.go:205 +0xee github.com/bedrock-tool/bedrocktool/handlers/worlds.(MapUI).Redraw(0xc000c65e30) github.com/bedrock-tool/bedrocktool/handlers/worlds/map_item.go:229 +0x2a github.com/bedrock-tool/bedrocktool/handlers/worlds.(MapUI).Start.func2() github.com/bedrock-tool/bedrocktool/handlers/worlds/map_item.go:133 +0x12f created by github.com/bedrock-tool/bedrocktool/handlers/worlds.(MapUI).Start in goroutine 1 github.com/bedrock-tool/bedrocktool/handlers/worlds/map_item.go:122 +0x1e5

Fleecks commented 1 year ago

The problem occurs only with a specific server (I tried with LifeBoat and there were no problems)

olebeck commented 1 year ago

what server

Fleecks commented 1 year ago

what server

bandomas.pro, but this is a private server

olebeck commented 1 year ago

run with -extra-debug and upload the packets.log

Fleecks commented 1 year ago

run with -extra-debug and upload the packets.log

packets.log