Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Sleeping dwarf won't wake up  (Read 4150 times)

Vndetta

  • Bay Watcher
    • View Profile
Sleeping dwarf won't wake up
« on: January 27, 2015, 05:58:59 am »

My militia commander has fallen asleep on the dining hall floor and won't wake up. I didn't notice this until he died from dehydration, so I reloaded a previous save and tried to wake him with DFHack's "siren" command so he could eat and drink, to no avail. I reloaded and used DFHack to reset his hunger/thirst/sleep timer counters, which kept him from dying, but he still hasn't woken up. I tried siren quite a few times, along with making noise near him, ordering his squad to do things, disbanding the squad, and so on. No luck. I can keep resetting his hunger and thirst as it gets too high but that just keeps him alive and useless.

His sleep timer count is now at over 100k and climbing, and he's been asleep for at least two full seasons that I've seen. He has never been injured. I'm in version 0.40.23 and have no other mods except a tileset for graphics. Is this a bug? Any ideas on what to do to save this dwarf?

EDIT: I posted a save here: http://dffd.bay12games.com/file.php?id=10504
« Last Edit: January 27, 2015, 06:25:22 am by Vndetta »
Logged

Astrid

  • Bay Watcher
  • This is a text.
    • View Profile
Re: Sleeping dwarf won't wake up
« Reply #1 on: January 27, 2015, 09:11:49 am »

Since you're using DF Hack cheats anyway, did you try to place a tile of 7 water on him?

I'd be surprised if he stays asleep by then. That little water aint hurting the dining hall.
Logged

Vndetta

  • Bay Watcher
    • View Profile
Re: Sleeping dwarf won't wake up
« Reply #2 on: January 27, 2015, 09:31:49 am »

Woohoo! That was a great idea, and it seems to have worked! Thanks so much.

I dumped the water on him and he woke up, then ran to his bedroom and went back to sleep. This time around, though, the sleep timer is counting *down*, whereas before it was increasing. It seems before he was getting sleepier with every passing second, effectively putting him in a coma, and now it's working properly.

Still doesn't explain why that happened to begin with, but I posted a bug report just in case I stumbled upon some random glitch.
Logged

utunnels

  • Bay Watcher
  • Axedwarf
    • View Profile
Re: Sleeping dwarf won't wake up
« Reply #3 on: January 27, 2015, 12:31:03 pm »

http://www.bay12forums.com/smf/index.php?topic=147950.0

I don't know if this is related.
My axe lord also slept on the floor. But he didn't actually sleep, when I checked him, he was not unconscious like a normal sleeper was. I think that is why you couldn't "wake" him up with the siren command. For some reason he just stuck there without being able to go to his own bed.
I had to use dfhack to teleport him to his bed.
Now this just keeps happening. I don't know why.
Logged
The troglodyte head shakes The Troglodyte around by the head, tearing apart the head's muscle!

Risen Asteshdakas, Ghostly Recruit has risen and is haunting the fortress!

Vndetta

  • Bay Watcher
    • View Profile
Re: Sleeping dwarf won't wake up
« Reply #4 on: January 28, 2015, 08:56:12 am »

http://www.bay12forums.com/smf/index.php?topic=147950.0

I don't know if this is related.
My axe lord also slept on the floor. But he didn't actually sleep, when I checked him, he was not unconscious like a normal sleeper was. I think that is why you couldn't "wake" him up with the siren command. For some reason he just stuck there without being able to go to his own bed.
I had to use dfhack to teleport him to his bed.
Now this just keeps happening. I don't know why.

You were right... my dwarf also was not "Unconscious"; it seems it only had his job listed as Sleep without it actually happening. After forcing my dwarf to move with the water, he's fixed, but I have a few other dwarves sleeping outside with what looks like the same issue.

The difference (in my fort, at least) appears to be whether or not they have bedrooms assigned; the new dwarves doing this are new migrants without rooms yet. Originally my militia commander hadn't had a bed of his own yet either, and in the interim I made him one. If you assign the problem dwarf a bed and then (cheat with DFHack to) wake them up, the problem is fixed. I presume assigning each migrant a bed before they sleep the first time will prevent the issue entirely until it can be addressed, because this looks like a bug. I posted a report here:
http://www.bay12games.com/dwarves/mantisbt/view.php?id=8770
« Last Edit: January 28, 2015, 09:04:19 am by Vndetta »
Logged