Dying just leads to game restarting from beginning of floor?


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

User avatar

Halls Hopper

Posts: 81

Joined: Monday, 5th November 2012, 17:06

Location: Canada

Post Thursday, 22nd November 2012, 19:28

Dying just leads to game restarting from beginning of floor?

So basically whenever I die, my game auto-saves or something and just lets me begin from the start of the floor again. It's cool, but not fun and ruins the game experience. Whats wrong?
"Well excuse me, princess..."

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Thursday, 22nd November 2012, 19:39

Re: Dying just leads to game restarting from beginning of fl

The game is crashing. Does your morgue directory contain any files? (I'm not sure where it is on Windows, I think AppData\crawl\morgue.)
User avatar

Halls Hopper

Posts: 81

Joined: Monday, 5th November 2012, 17:06

Location: Canada

Post Thursday, 22nd November 2012, 21:10

Re: Dying just leads to game restarting from beginning of fl

Yes, it contains a quite a bit of files. Oh and i'm using linux.
"Well excuse me, princess..."

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Thursday, 22nd November 2012, 21:59

Re: Dying just leads to game restarting from beginning of fl

Oh, ok. So are there any named crash-(something)? How did you install the game?
User avatar

Halls Hopper

Posts: 81

Joined: Monday, 5th November 2012, 17:06

Location: Canada

Post Thursday, 22nd November 2012, 23:28

Re: Dying just leads to game restarting from beginning of fl

Nope, and i compiled it from the source for .11
"Well excuse me, princess..."

Slime Squisher

Posts: 341

Joined: Wednesday, 14th September 2011, 10:10

Post Friday, 23rd November 2012, 09:24

Re: Dying just leads to game restarting from beginning of fl

Link wrote:Nope, and i compiled it from the source for .11


Check if you run of of space (df -h) or of inodes (df -i) where you're saving your files, and check if you are saving them on a linux partition (ie. not FAT32 or NTFS).
My wins so far - FeBe, KoBe, DsCo, MDFi, DsBe
User avatar

Halls Hopper

Posts: 81

Joined: Monday, 5th November 2012, 17:06

Location: Canada

Post Friday, 23rd November 2012, 19:28

Re: Dying just leads to game restarting from beginning of fl

@palin, nope not running out of space, and yes, using ext4
"Well excuse me, princess..."

Slime Squisher

Posts: 341

Joined: Wednesday, 14th September 2011, 10:10

Post Friday, 23rd November 2012, 20:19

Re: Dying just leads to game restarting from beginning of fl

Link wrote:@palin, nope not running out of space, and yes, using ext4


If you're playing tiles, you can try to start crawl with strace and see if the last lines contains something useful. Of course it will do a mess with a console game.
My wins so far - FeBe, KoBe, DsCo, MDFi, DsBe

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Friday, 23rd November 2012, 22:32

Re: Dying just leads to game restarting from beginning of fl

... or even run with gdb and report the backtrace. (And with both, you can attach to an existing process, so you could also do it with console.)

But really, there should be some crash logs if the morgue directory is writable, so maybe you're looking in the wrong place? What happens if you do a chardump (#) from the game?
User avatar

Halls Hopper

Posts: 81

Joined: Monday, 5th November 2012, 17:06

Location: Canada

Post Friday, 23rd November 2012, 22:52

Re: Dying just leads to game restarting from beginning of fl

Well I'm using console: Here is a char dunp:
  Code:
 Dungeon Crawl Stone Soup version 0.11.0 (console) character file.

Fiolr the Ruinous (Deep Elf Conjurer)               Turns: 2844, Time: 00:12:11

HP  28/28        AC  2     Str  5      XL: 5   Next:  2%
MP  15/15        EV 13     Int 21      God:
Gold 102         SH  0     Dex 15      Spells:  2 memorised,  6 levels left

Res.Fire  : . . .   See Invis. : .   m - +0,+1 quarterstaff
Res.Cold  : . . .   Warding    : .   a - +0 elf robe
Life Prot.: . . .   Conserve   : .   (no shield)
Res.Poison: .       Res.Corr.  : .   (no helmet)
Res.Elec. : .       Clarity    : .   (no cloak)
Sust.Abil.: . .     Spirit.Shd : .   (no gloves)
Res.Mut.  : .       Stasis     : .   (no boots)
Res.Rott. : .       Ctrl.Telep.: .   (no amulet)
Saprovore : . . .   Levitation : .   (no ring)
                    Ctrl.Flight: .   (no ring)

@: slightly resistant to hostile enchantments, fairly stealthy
A: no striking features
a: no special abilities


You are on level 4 of the Dungeon.
You are completely stuffed.

You have visited 1 branch of the dungeon, and seen 4 of its levels.

You have collected 82 gold pieces.

Inventory:

Hand weapons
 e - a +0,+0 elven dagger (quivered)
 f - a +0,+0 short sword
 g - a +0,+0 whip
 j - an uncursed dagger
 m - a +0,+1 quarterstaff (weapon)
Armour
 a - a +0 elven robe (worn)
Comestibles
 b - a bread ration
Scrolls
 d - 4 scrolls of amnesia
 q - a scroll of remove curse
Potions
 k - 3 brown potions
 o - a glowing cyan potion
 r - a bubbling inky potion
Books
 c - a book of Conjurations   
   
   Spells                             Type                      Level
   *Magic Dart                        Conjuration                  1
   Throw Frost                        Conjuration/Ice              2
   *Mephitic Cloud                    Conjuration/Poison/Air       3
   Lightning Bolt                     Conjuration/Air              5
   Bolt of Cold                       Conjuration/Ice              6
   Freezing Cloud                     Conjuration/Ice/Air          6


   Skills:
 - Level 2.4 Dodging
 - Level 2.4 Stealth
 + Level 3.1 Spellcasting
 * Level 6.5 Conjurations


You have 6 spell levels left.
You know the following spells:

 Your Spells              Type           Power        Failure   Level  Hunger
a - Magic Dart            Conj           #####        1%          1    None
b - Mephitic Cloud        Conj/Pois/Air  ###......    21%         3    ###....


Dungeon Overview and Level Annotations

Branches:
Dungeon (4/27)           
Temple: D:4-7       

Altars:

Message History

Eat which item? (? for menu, Esc to quit)
You continue eating.
You finish eating. Mmm...Sheep cheese.
Eat which item? (? for menu, Esc to quit)
You continue eating.
You finish eating. Mmmm... Yummy apple.
Eat which item? (? for menu, Esc to quit)
You continue eating.
You finish eating.
That lemon was rather sour... but delicious nonetheless!
Eat which item? (? for menu, Esc to quit)
You continue eating.
You finish eating. That meat ration really hit the spot!
You're too full to eat anything.
Save game and exit?
Welcome back, Fiolr the Deep Elf Conjurer.
Press ? for a list of commands and other information.
Save game and exit?
Welcome back, Fiolr the Deep Elf Conjurer.
Press ? for a list of commands and other information.

               #.#
              ##%#
           .   ...
          #..  .!#
          ...  ...
          #.#  #.#
          #.#  #.#
          #.#  #.#
          #.#  #@#
    #######.####.###)###
   ....................).
##..........####.###.###
##..........#  #.#
##..........#  #.#
##..........#  #.#
##..........#  #.#
##..........#  #.#
##..........#  #.#
##..........##  .


There are no monsters in sight!

Vanquished Creatures
  2 worker ants
  3 adders (D:2)
  2 worms (D:3)
  2 giant geckos (D:2)
  An orc (D:3)
  8 goblins
  7 hobgoblins
  8 kobolds
  A quokka (D:4)
  A ball python (D:1)
  6 bats
  5 giant cockroaches
  A giant newt (D:2)
  4 rats
51 creatures vanquished.

Vanquished Creatures (others)
  2 toadstools (D:1)
2 creatures vanquished.

Grand Total: 53 creatures vanquished

Notes
Turn   | Place    | Note
--------------------------------------------------------------
     0 | D:1      | Fiolr, the Deep Elf Conjurer, began the quest for the Orb.
     0 | D:1      | Reached XP level 1. HP: 10/10 MP: 4/4
   504 | D:1      | Reached XP level 2. HP: 15/15 MP: 4/6
   633 | D:1      | Reached skill level 5 in Conjurations
  1452 | D:2      | Reached XP level 3. HP: 19/19 MP: 3/9
  1517 | D:2      | Learned a level 3 spell: Mephitic Cloud
  2278 | D:3      | Reached XP level 4. HP: 24/24 MP: 12/12
  2298 | D:3      | Reached skill level 6 in Conjurations
  2757 | D:4      | Reached XP level 5. HP: 28/28 MP: 5/15


How do i do the backtrace?
"Well excuse me, princess..."

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Friday, 23rd November 2012, 23:03

Re: Dying just leads to game restarting from beginning of fl

1. Update to 0.11.1, your problem may already be fixed (though I don't recall anything of the sort).
2. Install gdb, if you don't have it already.
3. Run crawl.
4. In another terminal, run:
  Code:
gdb --batch --pid=$(pidof crawl) --eval-command="c" --eval-command="bt" --eval-command="c"
5. Back in crawl, die so that the game crashes.
6. Post what got printed in the other terminal.

For this message the author edlothiol has received thanks:
BlackSheep
User avatar

Halls Hopper

Posts: 81

Joined: Monday, 5th November 2012, 17:06

Location: Canada

Post Friday, 23rd November 2012, 23:54

Re: Dying just leads to game restarting from beginning of fl

On crawl: failed to open score file for writing: No such file or directory
Other terminal:
  Code:
Traceback (most recent call last):
  File "/home/xkcd/.crawlfiles/source/crawl-gdb.py", line 3, in <module>
    import gdb.printing
ImportError: No module named printing
[Thread debugging using libthread_db enabled]
0xb77ca424 in __kernel_vsyscall ()

Program exited with code 01.
No stack.
The program is not being run.
"Well excuse me, princess..."

Ziggurat Zagger

Posts: 3163

Joined: Friday, 6th January 2012, 18:45

Post Saturday, 24th November 2012, 03:35

Re: Dying just leads to game restarting from beginning of fl

That's weird, the score file lives in the same folder as saved games. Did you change your .rcfile/init.txt to use different paths?
User avatar

Halls Hopper

Posts: 81

Joined: Monday, 5th November 2012, 17:06

Location: Canada

Post Saturday, 24th November 2012, 17:44

Re: Dying just leads to game restarting from beginning of fl

Well, yea? Is that a problem? I have my saves directed to .saves and morgue to .morgue.
"Well excuse me, princess..."

Ziggurat Zagger

Posts: 3163

Joined: Friday, 6th January 2012, 18:45

Post Saturday, 24th November 2012, 19:08

Re: Dying just leads to game restarting from beginning of fl

For some reason, crawl doesn't put the scores and logfile files in the redirected saves path, instead putting them in a folder with the default name of 'saves'. On my system, it creates its own saves folder. Maybe on your system it doesn't have permission to create the folder?
Last edited by BlackSheep on Saturday, 24th November 2012, 19:33, edited 1 time in total.
User avatar

Halls Hopper

Posts: 81

Joined: Monday, 5th November 2012, 17:06

Location: Canada

Post Saturday, 24th November 2012, 19:22

Re: Dying just leads to game restarting from beginning of fl

Hm, just recompiled it and changed the directories in the code, it works now! thanks guys!
"Well excuse me, princess..."

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 9 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.