Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Adventurer leapt into chasm, save game instantly corrupt  (Read 647 times)

Aquillion

  • Bay Watcher
    • View Profile
Adventurer leapt into chasm, save game instantly corrupt
« on: February 09, 2008, 11:45:00 pm »

I'm not sure if these things are related...  I'll try to reproduce it, but I don't have a backup of the save, and it's hard to find a chasm as an adventurer.  Also, the adventurer had used long-distance normal movement to climb a mountain I wouldn't usually be able to walk onto using the 'travel' movement, if that matters.
Logged
We don't want another cheap fantasy universe, we want a cheap fantasy universe generator. --Toady One

Torak

  • Bay Watcher
  • God of Gods of Blood.
    • View Profile
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #1 on: February 09, 2008, 11:54:00 pm »

Did you save scum?
Logged
As you journey to the center of the world, feel free to read the death announcements of those dwarves that suffer your neglect.

One billion b-balls dribbling simultaneously throughout the galaxy. One trillion b-balls being slam dunked through a hoop throughout the cosmos. I can feel every single b-ball that has ever existed at my fingertips, I can feel their collective knowledge channeling through my veins. Every jumpshot, every rebound and three-pointer, every layup, dunk and free throw.

Aquillion

  • Bay Watcher
    • View Profile
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #2 on: February 10, 2008, 12:40:00 am »

Nope.  I leapt into the chasm, he died, I ended the game the usual way and then immediately went to the legend menu (because I was curious what the legend entry for an adventurer who leapt into the chasm said.)  It reported the save error when it tried to load the world for the legends menu.

EDIT:  I should mention, part of the reason I suspect the chasm is at fault is that I didn't do anything else in this world at all.  I had just generated it; the very first thing I did was make an adventurer, wander into some mountains until I found a chasm, and then (mistakenly thinking I saw a ledge down below) leap into it.

[ February 10, 2008: Message edited by: Aquillion ]

Logged
We don't want another cheap fantasy universe, we want a cheap fantasy universe generator. --Toady One

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #3 on: February 10, 2008, 09:12:00 pm »

What was the corruption message?  Was it a nemesis unit load failure type message or a more generic corruption message?
Logged
The Toad, a Natural Resource:  Preserve yours today!

Aquillion

  • Bay Watcher
    • View Profile
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #4 on: February 11, 2008, 05:10:00 pm »

Let's see, I still have the corrupted save...

"One of the compressed files on disk has errors on it.  Restore from backup if you are able."

Logged
We don't want another cheap fantasy universe, we want a cheap fantasy universe generator. --Toady One

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #5 on: February 11, 2008, 11:54:00 pm »

And this was 38a?

I wrote up a report for it -- the generic corruption message is interesting since it usually points to something wrong in my file i/o code for a specific class rather than the files being shuffled around afterward.  Unfortunately, since it's compressed and saved in blocks, the saves don't generally help in these cases either.

Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #6 on: February 12, 2008, 05:58:00 am »

Well, that was fun.  We can rule out the act of chasm jumping itself as the cause now, anyway.  There was a bug where you'd blow apart when hitting the bottom rather than dropping away as a little dot, and I've fixed that now.  I'll mark the save corruption as non-reproducible for this particular cause, and we'll just have to keep an eye out for more clues.  I used a dwarf game to find a chasm and then play now!d in it to set up the test.  Maybe it has to do with wandering out in the wilds for a while?  Not much happened in your world.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Aquillion

  • Bay Watcher
    • View Profile
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #7 on: February 12, 2008, 05:53:00 pm »

Yeah, all in the latest version.  World was created in the latest version, too, of course.

Was just able to reproduce it...  sort of.  I still don't know exactly what causes it, so I can't really reproduce it in a helpful way.  I suppose you could say I just ran into it again.

I tried to do everything I did last time.  I started a human adventurer, got a quest at a town -- I'd forgotten that until I set out to reproduce it, but I'd done that before, although I ended up ignoring the quest completely -- then set out in the other direction.  This time, after wandering a bit in travel mode, I turned travel mode off and ended up following a river (more like a brook) into the mountains.  Lots of wandering again, then something weird happened.  I came to a point where the river just sort of...  stopped.  There was no wall or stone that I could see, just solid blackness that I couldn't look or walk into.

I saved my game and decided to report that oddness (although maybe it's how rivers are supposed to start for now, for all I know), then thought I'd go back into the game to try following the river from the hills above first (it sort of cut into a mountain, but the mountain was climbable using slopes -- did I mention that before?  I was climbing mountain slopes last time.  Well, I suppose it's obvious given how I found the chasm.)

And the game loaded successfully.  Yeah.  This is the creepiest part.

But after the game loaded successfully, I changed my mind and thought I'd go back up my save first.  So, without doing anything else (well, maybe I took one or two steps, and tried to look at the blackness), I saved my game, backed it up, then loaded it up again.

Bam.  Corrupted save, same message.  And, of course, since I backed it up at the wrong point (sorry!), my backup is corrupted, too.

This time I have the unmodified, unchanged world from just after creation backed up at least, though.  Dunno if that'll help, but I'll load it up and see if I can find the same place again and reproduce it.

[ February 12, 2008: Message edited by: Aquillion ]

Logged
We don't want another cheap fantasy universe, we want a cheap fantasy universe generator. --Toady One

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #8 on: February 12, 2008, 08:11:00 pm »

Rivers are especially weird in this version, though I think you can hit black walls at waterfalls in other versions (and that is innocuous).  Whether this version's especially broken rivers have something to do with the crash I have no idea, though given the fix, I tend to doubt it.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Aquillion

  • Bay Watcher
    • View Profile
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #9 on: February 18, 2008, 04:40:00 am »

Ok, I can reproduce it, I think (in the new version, as well.)  It seems to happen somewhat randomly after I've talked to a mayor (or possibly anyone at all) and asked them a whole bunch of questions.

That first game, say, I was curious about the new stuff, so I interrogated the mayor for a while on every available topic to see what he said.  I did it the other time, too.

I have a save that I can semi-reliably corrupt by going upstairs and interrogating the mayor for a while, but I don't know if it's necessary, since it seems to happen in every world and not be dependant on anything else in the save (I just created this new world in the latest version, immediately created an adventurer, and backed up this save...  when I go upstairs and ask too many questions, then save and try to load, bam, corrupted.)

Of course, it could be something system-dependant, too...

Logged
We don't want another cheap fantasy universe, we want a cheap fantasy universe generator. --Toady One

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #10 on: February 18, 2008, 08:17:00 am »

It's strange, I've never got this bug. Did you make a full-install of the new version, or overwrote the previous one?

[ February 18, 2008: Message edited by: Deon ]

Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #11 on: February 18, 2008, 09:07:00 pm »

Does it matter what you ask about?  Anything to narrow it down will help.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Adventurer leapt into chasm, save game instantly corrupt
« Reply #12 on: February 21, 2008, 02:49:00 am »

How long is a while?  I asked the mayor about each topic 20-30 times and it didn't die on me.
Logged
The Toad, a Natural Resource:  Preserve yours today!