Comments (16)
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.
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.
@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.
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.
@kermitdafrog8 package io/fs
was introduced in go 1.16, so you need to update your golang
version
from opendiablo2.
@kermitdafrog8 package
io/fs
was introduced in go 1.16, so you need to update yourgolang
version
After upgrading Go it builds. When I run it I try to start a game and it crashes.
from opendiablo2.
@kermitdafrog8 what does this crashes
look like ;-)
from opendiablo2.
@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.
@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.
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.
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 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.
@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.
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.
Deleted save. Recreated character. Game loaded but no mobs. How playable is this?
from opendiablo2.
@kermitdafrog8 See our status page, read milestones and visit here
from opendiablo2.
Related Issues (20)
- remove panics from `d2mpq.decompressMulti` HOT 2
- checksum calculating in .tbl text dictionaries
- Refactor `d2common/d2fileformats/d2ds1` HOT 3
- Write unit tests for all methods of `StreamReader` and `StreamWriter` HOT 1
- Windows - Detect Diablo 2 install directory if not installed in default directory HOT 2
- editing string tables
- add methods `GetFPS`, `GetFrameDuration`, and `GetDuration` to `d2cof.COF`
- Joystick Input HOT 4
- fire on ground stops animating HOT 2
- index out of range [1024] with length 1024 HOT 2
- config.MpqLoadOrder is different for MacOS
- ConfigPath is not initialized if MPQ error occurs
- Running on Pi4/Retropie HOT 14
- Segmentation fault on Arch Linux HOT 2
- Usage of not yet loaded resources or some skills in general causes lag
- Copying by value instead of iterating (d2dcc)
- can only walk in game - no mobs - no interactions HOT 2
- Reddit github link is wrong HOT 1
- Windows 10 PC run this game, extremely slow HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opendiablo2.