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

Crashes when I click List Realms #188

Closed TheToasttMan closed 5 months ago

TheToasttMan commented 5 months ago

When I open the tool, with admin or not. I navigate over to the worlds tab and click "list realms." It will act like its trying to load and then close/crash the application. This happens regardless if minecraft is open or not.

Here is what I assume to be the log file:

time="2024-06-24T10:42:38-04:00" level=info msg="Bedrocktool Version 1.38.0-7" panic: assignment to entry in nil map

goroutine 13 [running]: github.com/bedrock-tool/bedrocktool/ui/gui/popups.(RealmsList).Load(0xc0003ac808) /home/runner/work/bedrocktool/bedrocktool/ui/gui/popups/realmsinput.go:50 +0x12a created by github.com/bedrock-tool/bedrocktool/ui/gui/popups.(RealmsList).Layout.func1.1 in goroutine 1 /home/runner/work/bedrocktool/bedrocktool/ui/gui/popups/realmsinput.go:94 +0xc5

olebeck commented 5 months ago

thanks for adding the crash log, should be fixed now

TheToasttMan commented 5 months ago

thanks! if its easier I can make a new ticket but currently its stuck at the "listening" screen. This is with the bedrock client open and I even joined the realm. I suppose this could be something on my end but im not sure what would cause this. Here's the log file again:

time="2024-06-24T11:06:13-04:00" level=info msg="Bedrocktool Version 1.38.0-8" time="2024-06-24T11:07:11-04:00" level=info msg="Listening on [::]:19132" time="2024-06-24T11:07:11-04:00" level=info msg="Open Minecraft and connect to this computers local ip address to continue"

TheToasttMan commented 5 months ago

fixed it. but cant figure out if its actually downloading anything

olebeck commented 5 months ago

once you leave the game it will save and create an mcworld file in the world's folder next to where the exe is, you can open that in Minecraft and it will import