Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old April 22, 2010, 21:43   #11
Tiburon Silverflame
Swordsman
 
Join Date: Feb 2010
Posts: 405
Tiburon Silverflame is on a distinguished road
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.
Tiburon Silverflame is offline   Reply With Quote
Old April 22, 2010, 21:52   #12
Nemesis
Adept
 
Join Date: Jul 2009
Posts: 137
Nemesis is on a distinguished road
Quote:
Originally Posted by Tiburon Silverflame View Post
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.
At least I am totally with you!
Nemesis is offline   Reply With Quote
Old April 22, 2010, 21:55   #13
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Ouch, file is 49kb of all zero's so it can't be recovered, sorry mate.
Sirridan is offline   Reply With Quote
Old April 22, 2010, 22:26   #14
Nemesis
Adept
 
Join Date: Jul 2009
Posts: 137
Nemesis is on a distinguished road
Quote:
Originally Posted by Sirridan View Post
Ouch, file is 49kb of all zero's so it can't be recovered, sorry mate.
Thanks for having a look at it, anyway. The situation isn't as cathastrophic as I expected though, as I've already managed to hack (with the edit files, not hack and slash) back my stats and xp and some of the artifacts.
Nemesis is offline   Reply With Quote
Old April 23, 2010, 01:39   #15
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
buzzkill is on a distinguished road
Quote:
Originally Posted by Nemesis View Post
Thanks for having a look at it, anyway. The situation isn't as cathastrophic as I expected though, as I've already managed to hack (with the edit files, not hack and slash) back my stats and xp and some of the artifacts.
Just me, but I'd give it up. If you were going to win this game then you'll win another eventually. It just seems like a lot of work and cheating to get a somewhat questionable legitimate win.

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.
buzzkill is offline   Reply With Quote
Old April 23, 2010, 02:32   #16
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,730
PowerDiver is on a distinguished road
Quote:
Originally Posted by Tiburon Silverflame View Post
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.
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.
PowerDiver is offline   Reply With Quote
Old April 23, 2010, 03:55   #17
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
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.
Sounds like a good plan, if the os dies in the middle of the temp write, no problems. If it happens during the copy over, then there may be problems, so its a little much maybe but:

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.
Sirridan is offline   Reply With Quote
Old April 23, 2010, 05:44   #18
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,022
Derakon is on a distinguished road
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.
Derakon is offline   Reply With Quote
Old April 23, 2010, 06:31   #19
Nemesis
Adept
 
Join Date: Jul 2009
Posts: 137
Nemesis is on a distinguished road
Quote:
Originally Posted by buzzkill View Post
Just me, but I'd give it up. If you were going to win this game then you'll win another eventually. It just seems like a lot of work and cheating to get a somewhat questionable legitimate win.
Don't you dare to question my legitimaty! Sure, I edited the files, but only to get my stuff back. When cleaning up killing orc, ogre and troll pits where all of the monsters were edited to have Saruman's drops, I ran into all kinds of items that survived Word of Destruction and/or had odd hit dice/armour rating, but I didn't identify a single item that I didn't have in my old game!

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!

Quote:
Originally Posted by buzzkill View Post
What ancient version of windows are you running that crashed? I can't remember the last time windows crashed on me.
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.
Nemesis is offline   Reply With Quote
Old April 23, 2010, 07:39   #20
ramela
Apprentice
 
Join Date: Jan 2008
Location: Finland
Age: 44
Posts: 55
ramela is on a distinguished road
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.
ramela is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 11:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.