Giter Club home page Giter Club logo

Comments (15)

JNechaevsky avatar JNechaevsky commented on June 8, 2024

Figured out, more or less. Looks likes, "Last save" is always using 1st save slot, matters no in which slot save was made. This leads to one of two possible problems:

  • Save slot was wade with different PWAD: Corrupt save game
  • Save slot is empty: Could not load savegame

from international-doom.

JNechaevsky avatar JNechaevsky commented on June 8, 2024

Total kaboom 🤯, but should work fine now. Don't ask anything, save system in Hexen is a nightmare, like saving into temporal slot first and moving to normal one second. So, "on death action" should work properly with any save slot, not just first one.

Following case should also be fixed:

  • Game started normally
  • Go to MAP02 (via noclip, not idclev)
  • Suicide and try to reload - because of incorrect save name, game was trying to load incorrect slot.

from international-doom.

kitchen-ace avatar kitchen-ace commented on June 8, 2024

Total kaboom 🤯, but should work fine now.

Unfortunately still happening. You're right that it doesn't affect the first slot though.

Following case should also be fixed

That does work fine.

from international-doom.

JNechaevsky avatar JNechaevsky commented on June 8, 2024

This is getting too annoying. After couple of attempts, I don't proceed any farther than either game is always trying to load first slot, or ignoring any slot at all. I'll try a bit more, but if nothing will changes, probably better to just remove this feature entirely as not working properly.

from international-doom.

kitchen-ace avatar kitchen-ace commented on June 8, 2024

What's different about starting a new game right after you start the program and then loading it, vs. loading a game when no game is playing? Because if you do it the 2nd way, the load slot is changed:

  • start the program
  • start a new game
  • save
  • end your game from the options menu/F7
  • load that game you just saved
  • save a new game
  • die
  • you come back to life from whatever slot you loaded from

I couldn't find a proper fix either. As a hack adding G_LoadGame(6); to the end of G_DoSaveGame here kind of works, though this makes it so "Default Action" still loads your last save too.

Anyhow if you can't figure it out no problem, though maybe just comment out the existing on-death action code so someone can try it again later.

from international-doom.

kitchen-ace avatar kitchen-ace commented on June 8, 2024

What about adding GameLoadSlot = slot; to the end of G_SaveGame? Is that too much of a hack?

from international-doom.

JNechaevsky avatar JNechaevsky commented on June 8, 2024

This seems to do the trick, thank you! ❤️
I was thinking to make a copy of saved slot to another one (8th), but this is silly. My only extra though is - what to do, if this slot will be deleted? But shouldn't be a problem though.

Any ways, should I add it now, or you have some extra plans for farther investigation? Will do as you say.

from international-doom.

kitchen-ace avatar kitchen-ace commented on June 8, 2024

Any ways, should I add it now, or you have some extra plans for farther investigation? Will do as you say.

Go ahead and add it if you're happy with that as a solution. Figuring out that one line took me way longer than it should have, I don't wanna touch it again if I don't have to!

My only extra though is - what to do, if this slot will be deleted? But shouldn't be a problem though.

There is probably a way to check if the save file exists before loading it here right? I'll take a look at this another time.

from international-doom.

JNechaevsky avatar JNechaevsky commented on June 8, 2024

Figuring out that one line took me way longer than it should have, I don't wanna touch it again if I don't have to!

To be honest - me neither. Burned couple of nerves trying to understand why "destination" (actual) slot was always returning 1st slot.

from international-doom.

kitchen-ace avatar kitchen-ace commented on June 8, 2024

Hah! Add it now then and we'll deal with the case where the save game is deleted another time.

from international-doom.

JNechaevsky avatar JNechaevsky commented on June 8, 2024

Sure thing! It's not that how-swappable like in Doom or Heretic, but it's working. No need to rush, it's a straight finish release line. I would like to release everything on 8th March, mostly because of nice joke and nice date... 😀

from international-doom.

kitchen-ace avatar kitchen-ace commented on June 8, 2024

8th March

https://en.wikipedia.org/wiki/International_Women%27s_Day ?

from international-doom.

JNechaevsky avatar JNechaevsky commented on June 8, 2024

Yep, it is.

from international-doom.

kitchen-ace avatar kitchen-ace commented on June 8, 2024

Heh, I love it! OK, no new feature discussion until then, and hopefully no bugs either.

from international-doom.

JNechaevsky avatar JNechaevsky commented on June 8, 2024

Yeah, though it's not the real "point of attention", I'll briefly mention it in the last line of DoomWorld post. Guess I'm... Ahem, too old and too adult for turning my personal fads into eye-catchers.

Thanks again for your correction. This gave me extra small boost of motivation, I'll try to experiment a little more, maybe there is even no need for introduced savename. Just need to don't break it again!

from international-doom.

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.