Git Product home page Git Product logo

Comments (29)

refractionpcsx2 avatar refractionpcsx2 commented on July 29, 2024 1

Although i haven't tried it since this morning, I didn't manually save (it may have saved automatically, I didn't check) but going down to the second level of the dungeon caused a white screen for me. I tend to clear out whole levels before going down to the next one, so an auto save is highly possible

Is there such thing as autosave in D1 after you change levels? Not sure, just asking?

I don't know personally, the last time I played D1 before this, I was about 15, I'm now 37 xD

from diabloweb.

tomekk01 avatar tomekk01 commented on July 29, 2024 1

Although i haven't tried it since this morning, I didn't manually save (it may have saved automatically, I didn't check) but going down to the second level of the dungeon caused a white screen for me. I tend to clear out whole levels before going down to the next one, so an auto save is highly possible

Is there such thing as autosave in D1 after you change levels? Not sure, just asking?

I don't know personally, the last time I played D1 before this, I was about 15, I'm now 37 xD

yes, same thing for me - that was actually first game I bought more than 20 years ago as teenager :D - and now it's playable in the browser :)

from diabloweb.

 avatar commented on July 29, 2024 1

@d07RiV could this be because the save game container memory pointers?

from diabloweb.

d07RiV avatar d07RiV commented on July 29, 2024 1

Okay I did some further digging, and it seems the fix I made 2 days ago should have solved this problem (saves made before that might still be affected).

Reproducing on the old version is really easy - create a new character, enter church without saving, then save. Now you can't leave the church.

I'm going to close this on assumption that the problem is gone.

from diabloweb.

techi602 avatar techi602 commented on July 29, 2024

yep same error here

from diabloweb.

nikopp avatar nikopp commented on July 29, 2024

I get the white screen when I go down to level 2.

Browser is latest chrome.

from diabloweb.

outpost34 avatar outpost34 commented on July 29, 2024

Same here. Chrome, turns white trying to return to town from dungeon. Sound stays on.

from diabloweb.

gwmccull avatar gwmccull commented on July 29, 2024

Same error when trying to go to level 2 of the dungeon. Chrome 75 on a mac

from diabloweb.

d07RiV avatar d07RiV commented on July 29, 2024

Please include a save file, it's really hard to read an error log from production build.

You can get the savefiles by typing DownloadFiles() in devtools console (F12).

from diabloweb.

d07RiV avatar d07RiV commented on July 29, 2024

Seems the game was trying to report an error but something went wrong. I'm fixing the error reporting, but the root cause is still unknown.

from diabloweb.

Foricoso avatar Foricoso commented on July 29, 2024

I've downloaded the save file when the prompt asked (just after entering a town portal and getting the error), I'll try to send it to you.

from diabloweb.

Steviadition avatar Steviadition commented on July 29, 2024

Got same error, going down to level 1. white screen, just sound. Chrome, Windows 10.

Is there a solution yet?

from diabloweb.

Foricoso avatar Foricoso commented on July 29, 2024

I'd just like to add that, after starting a new character today, I haven't been able to reproduce the same problem, everything works fine.

from diabloweb.

gwmccull avatar gwmccull commented on July 29, 2024

Right after I posted my error above, I created a new character using MacOS Safari and I did not get the error. Played through both levels of the dungeon w/ no problem. The only difference (other than browser) is that I didn't save at all before I went to the 2nd level

from diabloweb.

tomekk01 avatar tomekk01 commented on July 29, 2024

Right after I posted my error above, I created a new character using MacOS Safari and I did not get the error. Played through both levels of the dungeon w/ no problem. The only difference (other than browser) is that I didn't save at all before I went to the 2nd level

I got the error on Chrome and for me the very first save was on 2nd level before taking Butcher. Before making the save I was able to go back and forth to the town several times. It seems that something was\is wrong with information about the town (?) as I was able to move between levels 2>3 (after killing the butcher) >2>1 but when tried to go to the town (via stairs in the cathedral) the game crashed. I did not had any town scrolls yet so I'm not sure if that would also crash the game.

from diabloweb.

refractionpcsx2 avatar refractionpcsx2 commented on July 29, 2024

Although i haven't tried it since this morning, I didn't manually save (it may have saved automatically, I didn't check) but going down to the second level of the dungeon caused a white screen for me. I tend to clear out whole levels before going down to the next one, so an auto save is highly possible

from diabloweb.

tomekk01 avatar tomekk01 commented on July 29, 2024

Although i haven't tried it since this morning, I didn't manually save (it may have saved automatically, I didn't check) but going down to the second level of the dungeon caused a white screen for me. I tend to clear out whole levels before going down to the next one, so an auto save is highly possible

Is there such thing as autosave in D1 after you change levels? Not sure, just asking?

from diabloweb.

sskras avatar sskras commented on July 29, 2024

Is there such thing as autosave in D1 after you change levels? Not sure, just asking?

@tomekk01, there was no such thing IIRC. Every save needed to be player initiated, manual.

from diabloweb.

refractionpcsx2 avatar refractionpcsx2 commented on July 29, 2024

Is there such thing as autosave in D1 after you change levels? Not sure, just asking?

@tomekk01, there was no such thing IIRC. Every save needed to be player initiated, manual.

In that case, the white screen happens regardless of saving. (apologies if I've misunderstood where people were going with this)

from diabloweb.

d07RiV avatar d07RiV commented on July 29, 2024

There's two different errors. One was in shareware version when going down to level 2 - the game sometimes crashed because it was trying to load the Butcher, which does not exist in shareware files (there aren't supposed to be any quests). I fixed that error yesterday, so that part should be working normally.

The other error is that I'm seeing a lot of save files with corrupted town data. When you play the game, it saves every level you visit in your save file as a "temporary" level (so when you go back, everything is the same). When you actually save the game, it replaces all "permanent" levels with temporary ones. I'm not sure at which point the town level breaks, as I've never been able to reproduce the problem. It seems to only result in the town being broken, not other levels - at least in the saves I've looked at so far.

If anyone runs into this, try to describe the steps you took before - creating different characters, switching between them etc might all be relevant.

from diabloweb.

d07RiV avatar d07RiV commented on July 29, 2024

Somehow another file is overlapping the town data, this seems like a lead.

from diabloweb.

d07RiV avatar d07RiV commented on July 29, 2024

I made a small fix that removes some inconsistencies in save file handling, but I doubt it is related to the issue.

from diabloweb.

outpost34 avatar outpost34 commented on July 29, 2024

Thanks for the fixes! Last I played the white screen error disappeared. I made a new character though lol.

from diabloweb.

d07RiV avatar d07RiV commented on July 29, 2024

Well yes, the error is with particular save files and I really have no idea how that could happen, I've read through the saving code 50 times over and can't spot any problems (and most of it is still identical to the original code).

If anyone manages to reproduce it in a reliable manner, that would be great.

from diabloweb.

sskras avatar sskras commented on July 29, 2024

As I know nothing about WASM and haven't followed diabloweb history, I would like to add: if pointer concept is used here, what is its width – 32 or 64 bit?

Eg. devilution is 32-bit only app while devilutionX may be compiled as 64-bit. And the latter had a lot of bugs in 64-bit mode (since the original code wasn't machine portable) during a time, esp. in regard with save files.

EDIT: it needed quite a lot of patches to cope with this.

from diabloweb.

athalas88 avatar athalas88 commented on July 29, 2024

I have this issue too. First I tried a shareware version, made a character. After that i played the full version and on that I made the same character. Anytime I try to go back to town, it crashes, even with town portal or on foot from the level 1. Now I will try a new character, hope it will help.

from diabloweb.

d07RiV avatar d07RiV commented on July 29, 2024

@OrangBuangan I doubt it, there are a few pointers in player struct but those are overwritten during load. What's happening is the MPQ block table breaks somehow, and the files end up overlapping. I'm also seeing some archives with way more files than they're supposed to have, no names though so can't tell what they are.

This is 32 bit, WASM does not support 64 bit currently (max memory is hard capped at 2GB so there's no point).

@athalas88 can you remember what you did on the new character before it started crashing? I'm fairly sure spawn and full versions shouldn't interfere with each other as they use different files.

from diabloweb.

thk12 avatar thk12 commented on July 29, 2024

ty! and keep up the good work

from diabloweb.

athalas88 avatar athalas88 commented on July 29, 2024

from diabloweb.

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.