Coder Social home page Coder Social logo

Comments (16)

gravestench avatar gravestench commented on May 21, 2024

Can you try compiling latest golang from source? I remember having issues when i used the package manager to install golang on my rpi4

from opendiablo2.

Michas0206 avatar Michas0206 commented on May 21, 2024

Build from source??
I am a complete noob! I could try, already found a how-to - but I assume I produce more problems when setting paths etc manually - I am currently using these steps - to me it looks as if Go works fine,
is there any way to proof if my Go-install is fine before trying to compile this 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.

from opendiablo2.

gucio321 avatar gucio321 commented on May 21, 2024

@michas0602 do you still have this problem?

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.

could you post e.g. first 15 lines?

from opendiablo2.

kermitdafrog8 avatar kermitdafrog8 commented on May 21, 2024

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

from opendiablo2.

gucio321 avatar gucio321 commented on May 21, 2024

@kermitdafrog8 package io/fs was introduced in go 1.16, so you need to update your golang version

from opendiablo2.

kermitdafrog8 avatar kermitdafrog8 commented on May 21, 2024

@kermitdafrog8 package io/fs was introduced in go 1.16, so you need to update your golang version

After upgrading Go it builds. When I run it I try to start a game and it crashes.

from opendiablo2.

gucio321 avatar gucio321 commented on May 21, 2024

@kermitdafrog8 what does this crashes look like ;-)

from opendiablo2.

kermitdafrog8 avatar kermitdafrog8 commented on May 21, 2024

@kermitdafrog8 what does this crashes look like ;-)

Panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x98c947]

If you need more let me know.

from opendiablo2.

gucio321 avatar gucio321 commented on May 21, 2024

@kermitdafrog8 could you paste more pls,
I cant identity this exactly, but I suppose, that it could be caused by Diablo 2 patch. What Diablo II patch do you use? (1.14d needed)

from opendiablo2.

kermitdafrog8 avatar kermitdafrog8 commented on May 21, 2024

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?

from opendiablo2.

gucio321 avatar gucio321 commented on May 21, 2024

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.

from opendiablo2.

kermitdafrog8 avatar kermitdafrog8 commented on May 21, 2024

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

from opendiablo2.

gucio321 avatar gucio321 commented on May 21, 2024

@kermitdafrog8 it doesn't seem like behavior by a wrong version ...
I can reproduce it, when character save file has "permission denied" e.g. when it is owned by another user
pleas check, who is owner of your save files
default location of saves is in a config directory in OpenDiablo2 subfolder
for linux /home/user/.config/OpenDiablo2/Save

from opendiablo2.

kermitdafrog8 avatar kermitdafrog8 commented on May 21, 2024

It shows the right user:group. If I wanted to delete the save and start over should I delete folder or just file?

from opendiablo2.

kermitdafrog8 avatar kermitdafrog8 commented on May 21, 2024

Deleted save. Recreated character. Game loaded but no mobs. How playable is this?

from opendiablo2.

gucio321 avatar gucio321 commented on May 21, 2024

@kermitdafrog8 See our status page, read milestones and visit here

from opendiablo2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.