Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old December 11, 2019, 18:23   #1
TempInDistress
Rookie
 
Join Date: Dec 2019
Posts: 3
TempInDistress is on a distinguished road
Unhappy Help fixing my save file?

Hey guys, like the title says, my save file got corrupted cause the game forgot what an iron shot of venom was, and when I tried to drop them, it crashed the save and I can't reload it.

I have blue dragonscale mail and a longbow of might for my rogue, I've never had anything CLOSE to this good before and I really really don't want to lose my save to a glitch!!

I uploaded a Zip of the save file, let me know if there's a better way to go about that.

Thanks in advance.
Attached Files
File Type: zip Sting.zip (7.8 KB, 8 views)
TempInDistress is offline   Reply With Quote
Old December 11, 2019, 21:00   #2
TempInDistress
Rookie
 
Join Date: Dec 2019
Posts: 3
TempInDistress is on a distinguished road
I was digging around in the files some more and found the following pile_error. It occurred when I tried to store Iron Shots of Venom in my house if I remember correctly, which it was calling an unknown item at the time, and displayed as a whip when I threw it. I didn't realize a glitch was happening, I thought I was cursed or something.

Pile integrity failure at obj-pile.c:214

Guilty object
=============
Name: & Whip~
Previous: & Scimitar~

Guilty pile
=============
Name: [First Spells]
Name: & Cloak~
Name: & Flask~ of oil
Name: & Small Metal Shield~
Name: Cure Light Wounds
Name: & Set~ of Leather Gloves
Name: Phase Door
Name: Neutralize Poison
Name: & Dagger~
Name: Magic Missile
Name: True Seeing
Name: Searching
Name: Cure Serious Wounds
Name: Blue Dragon Scale Mail~
Name: Light
Name: Speed
Name: & Lantern~
Name: Detect Invisible
Name: Magic Mapping
Name: Remove Hunger
Name: & Pair~ of Iron Shod Boots
Name: Mapping
Name: Word of Recall
Name: & Rounded Pebble~
Name: the Mouse
Name: Infravision
Name: & Iron Helm~
Name: Reckless Attacks
Name: & Hard Leather Cap~
Name: & Ration~ of Food
Name: & Long Bow~
TempInDistress is offline   Reply With Quote
Old December 11, 2019, 21:41   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,984
Donated: $60
Nick will become famous soon enough
OK, your game is fairly spectacularly messed up. I have managed to get it to open, but currently saving it again makes it crash. Give me a day or two and I'll see what I can salvage.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old December 11, 2019, 22:43   #4
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,601
Donated: $40
Pete Mack is on a distinguished road
It's be nice to know the root cause of pile integrity crashes. I don't remember them from before virtual floor objects were introduced.
Pete Mack is offline   Reply With Quote
Old December 12, 2019, 00:03   #5
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,984
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by Pete Mack View Post
It's be nice to know the root cause of pile integrity crashes. I don't remember them from before virtual floor objects were introduced.
It sure would be nice

At some point I decided (and I want to say some other people share the blame for not talking me out of it) that rather than having an object array for the level and an object array for the player's inventory, it would be better to have objects being individual pieces of memory that got passed around between player, monsters, floor and shops. This sounds like a great idea in theory, and has actually mostly worked pretty well, but there's still a couple of gremlins in it and it's fiendishly difficult to debug because bad results usually emerge a bit after the original cause. Having pile integrity checks and crashing the game when they fail is the best solution so far (I think takkaria came up with it), but it's far from perfect as this thread demonstrates. And I think unscrambling the eggs now would only make things worse. I am hopeful that we will reach a bug-free state for object code at some point, but we're not there yet.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old December 12, 2019, 05:31   #6
TempInDistress
Rookie
 
Join Date: Dec 2019
Posts: 3
TempInDistress is on a distinguished road
Quote:
Originally Posted by Nick View Post
OK, your game is fairly spectacularly messed up. I have managed to get it to open, but currently saving it again makes it crash. Give me a day or two and I'll see what I can salvage.
Thanks so much man, I appreciate it.

Would it be simpler at this point to make a new rogue, and somehow boost his level, and give him the bow and armor back? I REALLY want that bow and dragon scale.

Also my friend looking at it for me wants to know, "What are you opening the save file in, nothing I have opens it properly, I get messed up and unrecognized characters everywhere?"

Thank you very much for looking in to it.

EDIT: Is there something I can do to keep this from getting screwed up again?

Last edited by TempInDistress; December 12, 2019 at 05:40.
TempInDistress is offline   Reply With Quote
Old December 12, 2019, 05:54   #7
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,601
Donated: $40
Pete Mack is on a distinguished road
He is opening it in a -g compile of angband, using gdb or other debugger.
Pete Mack is offline   Reply With Quote
Old December 13, 2019, 22:26   #8
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,984
Donated: $60
Nick will become famous soon enough
OK, your savefile is attached - I had to hack the game to load it correctly. Let me know if there are any problems.
Attached Files
File Type: zip Sting.zip (7.7 KB, 6 views)
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick 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
How do you save your preference file? Freddo Vanilla 4 March 12, 2015 16:57
where is the save file?? mlevin77 Development 3 March 15, 2012 12:40
can't load save file. anti-save scumming feature? unbuttered_toast Vanilla 4 May 21, 2010 18:57
Save File Compatibility dhegler Vanilla 2 September 25, 2009 15:33
import save file daddyrat Vanilla 5 July 9, 2009 14:29


All times are GMT +1. The time now is 01:36.


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