[Beta9] Close window upon character death triggers game save

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Feanor.81
Wyrmic
Posts: 239
Joined: Mon Aug 23, 2010 12:52 pm
Location: Poggibonsi (Siena), Italy

[Beta9] Close window upon character death triggers game save

#1 Post by Feanor.81 »

When the character dies and the "resurrect/dump/exit" message box appears, if one clicks on the game window's close button (at least on Windows systems), game save is triggered as usual, generating a standard save entry. Obviously loading this game save results in an unplayable game (character's actor no longer exists on the map and is unable to move, even if it's still possible to perform some actions, like accessing the inventory, dropping items, and even quaffing some healing potion to regain a positive health).

Game save should definitely be disabled after character death, and close button's click in this case should be handled like the selection of the "Exit to main menu" entry in the "You're dead!" message box.
Don't fear the eyes of the Dark Lord / Morgoth I cry
All hope is gone, but I swear revenge / Hear my oath
I will take part in your damned fate

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: [Beta9] Close window upon character death triggers game

#2 Post by edge2054 »

Death is meant to be permanent in this game (as it is in every roguelike I've ever played). Closing the game to attempt to get around that is cheating.

If anything the game should save immediately upon death but this might interfere with resurrection effects.

If you had a means of resurrection and wished to quit after you died and resurrect later then that's a different story. But as far as the game is concerned hitting x to close is just like hitting exit to main menu. In other words, none of this is a bug. If you die and can resurrect but want to quit playing for now, you should res and then save.

Patryn
Thalore
Posts: 130
Joined: Sat Aug 07, 2010 12:07 pm

Re: [Beta9] Close window upon character death triggers game

#3 Post by Patryn »

Uhrm... as far as I understood Feanor he wasn't intending to cheat death but wanted to point out that *if* you do klick the "x"-button, it does *not* behave as if you chose "exit to main menu" in the deathbox (as it should do) but it triggers a save resulting in a broken game... That seems like a bug, or not? ;)

Feanor.81
Wyrmic
Posts: 239
Joined: Mon Aug 23, 2010 12:52 pm
Location: Poggibonsi (Siena), Italy

Re: [Beta9] Close window upon character death triggers game

#4 Post by Feanor.81 »

edge2054 wrote:Death is meant to be permanent in this game (as it is in every roguelike I've ever played). Closing the game to attempt to get around that is cheating.
I was just closing the game using the most natural way I know, to restart with a fresh character some time later, and ended up with a corrupt and useless save game; never meant to cheat death.
If anything the game should save immediately upon death but this might interfere with resurrection effects.
Agree, in fact the game should not save when the character dies, that's what I'm pointing out.
If you had a means of resurrection and wished to quit after you died and resurrect later then that's a different story. But as far as the game is concerned hitting x to close is just like hitting exit to main menu. In other words, none of this is a bug. If you die and can resurrect but want to quit playing for now, you should res and then save.
Agree again, hitting X to close SHOULD BE just like hitting "Exit to main menu" when the character dies. Instead, it triggers save game. Since what it is and what it should be differ, this seems a (minor) bug.

Maybe I did not explain myself well, but Patryn summarized it up perfectly :)
Don't fear the eyes of the Dark Lord / Morgoth I cry
All hope is gone, but I swear revenge / Hear my oath
I will take part in your damned fate

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: [Beta9] Close window upon character death triggers game

#5 Post by edge2054 »

My bad. I reread and you where clear enough faenor. Apparently I shouldn't post before my morning coffee.

Shoob
Reaper
Posts: 1535
Joined: Mon Jan 22, 2007 6:31 pm
Location: East of the sun, west of the moon

Re: [Beta9] Close window upon character death triggers game

#6 Post by Shoob »

how about this for a solution:

the game already keeps track of some information in the <savename>.quickbirth file.

I would suggest that an additional line is added/changed upon save/death (alive or dead)

then you can keep information up on new game about that player (even if they are dead) (what they were before, etc)

then if they try to start a new game with the same player name of one that is still alive it gives a warning ("Same player name is still alive, continue or load?").

then even if you don't do the above, do this:

check in the save function if the player still exists before saving, otherwise just exit.
Oliphant am I, and I never lie.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [Beta9] Close window upon character death triggers game

#7 Post by darkgod »

Fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply