![]() |
#11 |
Swordsman
Join Date: Feb 2010
Posts: 405
![]() |
Windows does "save on exit." A system crash *may* have sent a Termination signal that initiated the game's exit, and started a write to file, which got trashed by something else. Hard to say, cuz this may (probably is) depend on which version of Windows you're running.
I've had the game crash a few times in Windows...including cases where I'd taken out 2 or 3 uniques and picked up a couple good artifacts...and lost that work. That was painful enough. So I tend to save a bit more often. And periodically, I just manually copy/paste the char file so, if there *is* a crash, I can recover. It might be nice to have 2-tier saves...so the level-switch autosave is written to one file, while the game-exit or user-initiated save is written to a different file. But I don't think that's gonna get much support. |
![]() |
![]() |
![]() |
#12 |
Adept
Join Date: Jul 2009
Posts: 137
![]() |
|
![]() |
![]() |
![]() |
#13 |
Knight
Join Date: May 2009
Posts: 560
![]() |
Ouch, file is 49kb of all zero's so it can't be recovered, sorry mate.
|
![]() |
![]() |
![]() |
#14 | |
Adept
Join Date: Jul 2009
Posts: 137
![]() |
Quote:
![]() |
|
![]() |
![]() |
![]() |
#15 | |
Prophet
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
![]() |
Quote:
What ancient version of windows are you running that crashed? I can't remember the last time windows crashed on me.
__________________
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. |
|
![]() |
![]() |
![]() |
#16 |
Prophet
Join Date: Mar 2008
Posts: 2,730
![]() |
Would changing the procedure to (1) write to a temporary savefile and then (2) rename the tmp to replace the original be good enough? I'd think that ought to be fairly robust.
|
![]() |
![]() |
![]() |
#17 | |
Knight
Join Date: May 2009
Posts: 560
![]() |
Quote:
1) Write to temp 2) Rename the original 3) Rename temp to the original name 4) Delete the original Again, I may be overthinking things, but I'm not too keen on the differences between all the filesystems that may be in use. But in this case, at least some recent copy of the save should definitely be alive, unless the HDD catastrophically fails. |
|
![]() |
![]() |
![]() |
#18 |
Prophet
Join Date: Dec 2009
Posts: 9,022
![]() |
How about, if the game needs to make a panic save, saving it to a separate savefile. Then when the player tries to load their save, the game first tries the panic save. If it works, then the original save is removed and the panic save goes in its place; otherwise, the game silently fails over to the original save and the panic save is removed.
|
![]() |
![]() |
![]() |
#19 | |
Adept
Join Date: Jul 2009
Posts: 137
![]() |
Quote:
Now, after lots and lots of hard work, I have my xp, stats, artifacts and rings/boots of speed and dungeon spell books again, but I still lack my big collection of Healing/*Healing*/Life potions, *Destruction*/Banishment/Mass Banishment scrolls. My win would be questionable if I was to boast about having a low turncount, but I couldn't care less about my turncount, I'm just excited because I have a chance of winning Angband! Running Vista on a laptop that I've had running day and night for a year and a half, while my computer might not be in Ragnarök yet, it's certainly in its Fimbular Winter. |
|
![]() |
![]() |
![]() |
#20 |
Apprentice
Join Date: Jan 2008
Location: Finland
Age: 44
Posts: 55
![]() |
What you consider questionable might differ from what others see as questionable and you shouldn't snap at other people for voicing their opinions.
Everyone gets to have their own opinion on what is a legimate win and what is not, even if you were hurt by your computer crash. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Great" drops replaced by "good" drops in vaults: bug or feature? | PowerWyrm | Vanilla | 14 | February 27, 2010 15:54 |
Feature request: make "summon unique" do nothing when there are no uniques | bron | Vanilla | 11 | December 22, 2009 16:25 |
Feature request: change "Purification and Healing" prayer book. | bron | Vanilla | 1 | December 18, 2009 23:19 |
"repeat" Command just little bit "smarter" | ClaytonAguiar | Vanilla | 8 | June 17, 2009 15:01 |
Roguelike idea from "Lost Magic" DS game - Mr. @ teaches typing! | ekolis | Idle chatter | 10 | October 19, 2007 03:25 |