d07RiV / diabloweb

Diablo 1 for web browsers
2.75k stars 224 forks source link

Crash when taking stairs back to town #98

Open arctouch-kristofberge opened 5 years ago

arctouch-kristofberge commented 5 years ago

Description: I took the stairs back to town from level 1. The loading screen appeared for about a second and then the game crashed.

App version: DiabloWeb 1.0.39 (Retail)

Error message:

Error: Unable to open save file
    at Error (api/game.worker.js:86:10)
    at exit_error (api/Diablo.jscc:1645:135)
    at __Z14api_exit_errorPKc (wasm-function[190]:3)
    at __Z9app_fatalPKcz (wasm-function[192]:43)
    at __Z10pfile_readPKcPm (wasm-function[1023]:226)
    at __Z9LoadLevelv (wasm-function[241]:37)
    at __Z13LoadGameLevelii (wasm-function[1063]:1596)
    at __Z12ShowProgressj (wasm-function[956]:862)
    at __ZN9MainState8onRenderEj (wasm-function[1316]:85)
    at dynCall_vii (wasm-function[2190]:15)

User agent:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36

Save file: [Please attach the save file, if applicable. The error box should have a link to download the current save you were playing; alternatively, you can open dev console on the game page (F12) and type in DownloadSaves()]

ziadstriker commented 4 years ago

Same here

AJenbo commented 4 years ago

Can you attach a savegame or give the seed id.

nexces commented 3 years ago

Bit late to the party, but here you go :) single_0.sv.zip

AJenbo commented 3 years ago

Thanks, I'll try and look in to what is wrong with the save game. In case it is help full to you I have reset town so that you can continue you game for now:

single_0.zip

AJenbo commented 3 years ago

The town save data is 0 bytes, I would guess that this is caused by a write error in the browser. We would need to know a reliable way to replicate the issue before there can be made any progress on the issue. I noticed that you are on a Mac so maybe try using DeivlutionX which has a native Mac version as well as some bug fixes.