build errors / go version #1072
Comments
Can you try compiling latest golang from source? I remember having issues when i used the package manager to install golang on my rpi4 |
Build from source?? Not sure whats wrong here - the game starts with "go run .", the menu shows up, map test works as far as I can see, but when trying to start singleplayer, game crashes with an error. I cant attach the message here in code format or quote format, so if necessary I could just add it as plain text, very long and starting with SIGSEV error. |
@michas0602 do you still have this problem?
could you post e.g. first 15 lines? |
When I try to build the latest from Github I get D2common/d2fileformats/d2mpq/mpq.go:7:2: package io/fs is not in GOROOT |
@kermitdafrog8 package |
After upgrading Go it builds. When I run it I try to start a game and it crashes. |
@kermitdafrog8 what does this |
Panic: runtime error: invalid memory address or nil pointer dereference If you need more let me know. |
@kermitdafrog8 could you paste more pls, |
Would probably be which ever is the latest. Recently purchased the LOD expansion so I could use this. Is there any way to downgrade if needed? |
kermitdafrog8 you can reinstall game at any time, if you want to back to an older version, but please post your panic message, because I'm not sure if the bug is caused by Diablo 2 version. |
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x98c947] goroutine 24 [running]: github.com/OpenDiablo2/OpenDiablo2/d2game/d2gamescreen.(*CharacterSelect).updateCharacterBoxes(0xc002223200) /opt/OpenDiablo2/d2game/d2gamescreen/character_select.go:332 +0xe7 github.com/OpenDiablo2/OpenDiablo2/d2game/d2gamescreen.(*CharacterSelect).refreshGameStates(0xc002223200) /opt/OpenDiablo2/d2game/d2gamescreen/character_select.go:521 +0x5c github.com/OpenDiablo2/OpenDiablo2/d2game/d2gamescreen.(*CharacterSelect).OnLoad(0xc002223200, 0xc001576f00) /opt/OpenDiablo2/d2game/d2gamescreen/character_select.go:211 +0x5e5 github.com/OpenDiablo2/OpenDiablo2/d2core/d2screen.(*ScreenManager).Advance.func1(0x7f3583e687a0, 0xc002223200, 0xc001526dc0) /opt/OpenDiablo2/d2core/d2screen/screen_manager.go:86 +0x43 created by github.com/OpenDiablo2/OpenDiablo2/d2core/d2screen.(*ScreenManager).Advance /opt/OpenDiablo2/d2core/d2screen/screen_manager.go:85 +0x345 |
@kermitdafrog8 it doesn't seem like behavior by a wrong version ... |
It shows the right user:group. If I wanted to delete the save and start over should I delete folder or just file? |
Deleted save. Recreated character. Game loaded but no mobs. How playable is this? |
@kermitdafrog8 See our status page, read milestones and visit here |
Describe the bug
go build
producing the following output:To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clean build of OpenDiablo 2
Desktop (please complete the following information):
Additional context
Is really "go" the problem? I tried it with version 1.11 and 1.15. Or is it arm-architecture related somehow?
The text was updated successfully, but these errors were encountered: