Comments (15)
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.
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.
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.
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.
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.
What about adding GameLoadSlot = slot;
to the end of G_SaveGame? Is that too much of a hack?
from international-doom.
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.
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.
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.
Hah! Add it now then and we'll deal with the case where the save game is deleted another time.
from international-doom.
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.
8th March
https://en.wikipedia.org/wiki/International_Women%27s_Day ?
from international-doom.
Yep, it is.
from international-doom.
Heh, I love it! OK, no new feature discussion until then, and hopefully no bugs either.
from international-doom.
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)
- Feature request (maybe): Fade animations HOT 13
- [Feature] Hexen: Brightmaps for "glitter bridge" sprites HOT 7
- [Feature] Inter-Hexen: Customizable savegame path HOT 1
- Hexen sfx attenuatian axis HOT 4
- [Bug] Inter-Hexen: Can't save HOT 9
- Heretic: Crash trying to run Blasphemer HOT 4
- Heretic: secret/exit linedef colour inconsistencies. HOT 1
- [Feature] Inter-Hexen: Autoload support for hexdd.wad HOT 2
- [Bug] Inter-Hexen: Key mappings reset when playing Deathkings HOT 14
- [Feature] Inter-Doom: Extended autoload support HOT 5
- Hexen: demo-safe fix for flechette throwing in tall sectors 🍾 HOT 1
- KdiKdizd Demo desync HOT 13
- [Feature] Global MAPINFO support HOT 12
- Hexen: load game on death prefers manual saves over start-of-level saves HOT 2
- Gameplay features/default skill level option not highlighted. HOT 5
- Doom: blinking Tower of Babel HOT 4
- Play Freedoom with DOOM assets. HOT 11
- Make "mark secret sectors" show revealed secrets HOT 7
- add '-shotdir' command line parameter HOT 2
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 international-doom.