3.3.2 fails to mark saves as dead when it ought to

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Therem Harth
    Knight
    • Jan 2008
    • 926

    3.3.2 fails to mark saves as dead when it ought to

    My latest hobbit mage just got cursed to death by an Acolyte. See death screen -> look at some useless stats, close window -> start Angband again -> I'm back with my hobbit before he died. Accidental savescumming, not good.

    IMO Angband should, if possible, mark the save file *on character death*, rather than on hitting the "Quit" entry after death, which seems to be what's happening now. The way things are, if you close the window without hitting "Quit," your save file is not marked as dead.

    Edit: oh cool, 3.3.2 consolidates death stuff in death.c. Looking at the code, the problem appears to be that the function to save the game is the last one invoked. It should probably be invoked before the death screen is displayed, somewhere near the beginning of the file. I think.
    Last edited by Therem Harth; May 3, 2012, 05:47.
  • Derakon
    Prophet
    • Dec 2009
    • 9022

    #2
    Mm, I have once or twice in the past been killed by a miskey, and in those events I appreciated being able to quit at the "You die." message and not lose my character. Anyone who's going to savescum can do so even if the savefile gets marked right off (they just have to make backups via the filesystem), so I don't really see that much value in making it harder.

    Comment

    • Magnate
      Angband Devteam member
      • May 2007
      • 5110

      #3
      This is WAD. The save is written after the death menu because you can change the keep_randarts option after death. I guess we could write it out both before and after, but that seems excessive.
      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

      Comment

      • buzzkill
        Prophet
        • May 2008
        • 2939

        #4
        IMO being able to quit after death and "save" your character in process in very un-angbandish. Angband shouldn't facilitate save scumming.
        www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
        My banding life on Buzzkill's ladder.

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9637

          #5
          Originally posted by buzzkill
          IMO being able to quit after death and "save" your character in process in very un-angbandish. Angband shouldn't facilitate save scumming.
          Agreed. Anyone can choose to savescum, but it should be a conscious circumvention of the intended behaviour. Writing it out before and after isn't too excessive
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

          • fizzix
            Prophet
            • Aug 2009
            • 3025

            #6
            On windows I get a save on window close, so I can't reproduce this effect. What OS Therem?

            Comment

            • Therem Harth
              Knight
              • Jan 2008
              • 926

              #7
              Linux, using the SDL interface.

              Comment

              • Rei Tei
                Rookie
                • Jul 2011
                • 2

                #8
                I didn't even know you could save a character...the only instances where I have been able to reopen a character to before death were of Angband's own doing. I would be just about to die and the Angband window would close and I'd get the error report message. When I reopen my character, I begin the whole level again. It was nice...now at least I have an explanation of how it could have happened.

                Comment

                Working...
                😀
                😂
                🥰
                😘
                🤢
                😎
                😞
                😡
                👍
                👎