View Issue Details

IDProjectCategoryView StatusLast Update
0002606Dwarf FortressDwarf Mode -- Jobs, Healthcarepublic2015-12-03 13:14
Reportercephalo Assigned ToToady One  
PrioritynormalSeverityminorReproducibilityrandom
Status resolvedResolutionfixed 
Product Version0.31.08 
Fixed in Version0.40.12 
Summary0002606: prisoner died of dehydration, plenty of water, labor.
DescriptionI just had a dwarf die of dehydration in prison. I have two healthcare workers who have no other job but feeding/watering, plus nearly all of my other dwarves have this labor enabled. My wells are active there are buckets everywhere. Previous prisoners did fine, but this was my first 101 day sentence.

You know what... I hate mandates with a passion. The only solution is to murder all nobles, which is extremely goofy, even though its become accepted practice. I just hate the whole mechanic.
Tagsdehydration, give food, give water, jail, justice, prison, prisoner, save, starving

Relationships

has duplicate 0003031 resolveduser11 dwarves in jail die of thirst (every time) 
has duplicate 0005735 resolveduser1294 Prisoner dehydrated and not given water 
child of 0000703 confirmeduser11 Chained mother "cancels seek infant" until death from dehydration, and other imprisonment issues 

Activities

TomiTapio

2010-07-09 21:18

reporter   ~0009858

Last edited: 2010-07-09 21:19

Did you set up the justice-chain next to food and booze barrels?

cephalo

2010-07-10 07:47

reporter   ~0009880

I will from now on! I actually tried to do that at first, but it seems that you can't actually put booze in 1 tile stockpile. I have extended those to two tiles so they don't get filled up with empty barrels, so that this won't happen to me anymore.

Still, any one of 65 dwarves could have given the guy water, but nobody did. He died one square out of reach from a bucket full of 8 water. It has to be kindof a priority when some innocent and useful dwarf's life is at stake. Usually it seems to be that way, but I'm thinking that this must have been a bug.

TomiTapio

2010-07-10 08:05

reporter   ~0009881

Last edited: 2010-07-10 08:06

Someone should try this with justice-cages too.

One can mod some noble positions out, to have a more Fun game.

bobbens

2010-07-12 01:37

reporter   ~0010010

Had the same issue, solved it by temporarily destroying the jail to let the prisoners eat/drink and then rebuilding it. The task manager did not list give drink to the prisoners at all.

cephalo

2010-07-12 05:32

reporter   ~0010021

After I had let my booze stocks get too low to fill his pile, I had another prisoner who clearly was not going to be given water. He was thirsty and hungry and about 10 dwarves were listed as 'no job'. I had to cut his chain. I think maybe prisoner feeding might be broken in this fort. Patient feeding is clearly working however.

user6

2010-07-12 10:46

  ~0010045

This one will probably be hard to fix without a save that demonstrates the problem. You can upload to http://dffd.wimbli.com/

cephalo

2010-07-12 12:22

reporter   ~0010057

I could upload something, but nobody is in jail right now. Is there a way to force someone to commit a crime? If I see it one more time I will upload while the guy is still in jail.

I will also report back if I actually see someone feed a prisoner or have that job description.

cephalo

2010-07-12 16:33

reporter   ~0010081

Had a buildup of bugs to report so I do have a save after all.

http://dffd.wimbli.com/file.php?id=2670

I have had two prisoners in a row that were not fed by my dwarves. I expect the next one to be the same. Mayor likes adamantine, so it's just a matter of time for a new prisoner. You'll have to remove the food and drink stockpiles near his chain if you want to watch him get hungry/thirsty.

Sergius

2010-07-31 16:58

reporter   ~0011342

I *think* the problem might be that the game is designating somebody specific to do the job, and that guy is busy. For some reason, I had this problem, but I stopped mining and suddenly one of my miners decided he was going to "give water". So it may be a good idea to disable the job for the guys that may have busy for long periods of time, such as miners.

cephalo

2010-07-31 19:51

reporter   ~0011343

I should add that I never have this problem with guys in the hospital. Yet I lost a third prisoner because I accidently let my booze get low. My furniture stockpile was full so they weren't moving the barrels! I thought I had plenty.

Valguris

2010-09-12 13:39

reporter   ~0012598

Last edited: 2010-09-12 13:42

I have similar problem, here is save:
http://dffd.wimbli.com/file.php?id=3099

Dwarves won't feed prisoner no matter what will I do and I can't release her from cage.
Oh, it seems they gave her water once, long time ago. ~ 70 days ago.

Granite26

2011-03-10 19:03

reporter   ~0016072

No save, but had this in 31.19

greycat

2011-03-19 19:35

reporter   ~0016384

Similar problem in 0.31.21: http://dffd.wimbli.com/file.php?id=3996

Prisoner is dehydrated. Prisoner is in a cell with booze, and also a bucket of water. But he won't drink it -- he's stuck on "No Job (Chained)". Nobody else will bring him another bucket of water, either.

After saving, I tried deconstructing the rope. The prisoner switched job to "Drink" but pursued some booze farther away. Before he could get him some booze, the captain of the guard captured him and put him in the other cell.

Rebuilt the first rope, and deconstructed the second cell's rope. He went for the far away booze again, and got caught again, and was placed back in the first cell.

This time I tried locking the cell door, so he couldn't attempt to path to the far away booze that he wanted. Success! He switched job to "Drink", moved to the booze in his cell, picked it up, and started drinking.

malvado

2011-04-25 15:54

reporter   ~0017513

Can confirm that this problem still persists in 31.25
Only way around it is to micro-manage the prison by de-constructing and locking the Guard Captain in his own rooms...

Prisoners ocassionally gets food and drink , but it's very rare and inconsistent.
Seems prisons will need a prison guard that only works there.

I have more dwarven deaths by the justice system than I have currently by goblins and megabeasts...

Alumine

2011-04-26 02:23

reporter   ~0017517

Also confirmed for .25

ponom

2011-05-26 11:58

reporter   ~0017859

prisoner seecking for child refuse to drink/eat, generate lot of spam and die of dehydratation although chained next to well.
it seems the only job for him is trying to get his child.

31.24

Quietust

2011-05-26 12:59

reporter   ~0017860

I had one prisoner who started repeatedly trying to get a drink from a distant stockpile - he'd get the "Drink" job and then fall over once he reached the end of his chain, repeating over and over. Upon locking his cell, he'd cancel Drink with "Could not find path" and sit still, but unlocking the door would just cause it to start up all over again. When he was first imprisoned, he was given a bucket of water, but I had to place a 2-tile booze stockpile next to him to keep him alive.

Food didn't seem to be a problem, though.

Farmerbob

2011-07-11 04:08

reporter   ~0018198

Last edited: 2011-07-11 04:31

Verified this problem still exists. I have a vanilla .25 save that I have uploaded to DFFD here: No matter what you do, you cannot get the prisoner to be fed or watered. Plenty of buckets, wells nearby, food all over the place. Booze is a bit short supply, but still plenty if they want to give him that.

No matter who I try to free up and give feed/water labor to, everyone ignores him. The mayor, the lawgiver, the chief medical dwarf, & his lover. All of them completely ignore his status.

http://dffd.wimbli.com/file.php?id=4653

Vanilla 0.25 world, no dwarf civ, no elf civ, never seen a human, and We've been locked inside the mountain for 23 years. 19 adult and 37 child dwarves. You would think at least one of the kids would feed him. Nope.

I am going to attempt to remove every single job from every single dwarf in the entire fortress and assign them to the job.

Really, feeding one prisoner should not be a megaproject.

Please note, that in this save, the problem is infinitely repeatable. I just freed up every single dwarf from every single labor except feed/water and they all ignored him till he died. They will not under any circumstances feed the prisoner.

Farmerbob

2011-07-11 05:15

reporter   ~0018199

Oh, Good Lord. I've been trying everything I can think of. His lover came by, with only feed/water jobs enabled, and spent TWO breaks standing next to him, while he was starving and dehydrating. Then someone called a party at the well, 20 tiles away, and she left him, then he died.

I'm going to TRY to get two mechanisms connected to the cage after I remove it from a justice room, put food in the room, lock the doors to keep the hammerer out, then pull the lever. This is utterly insane.

Farmerbob

2011-07-11 05:27

reporter   ~0018200

No luck. I'm actually watching dwarves with no job at all except feed water and move furniture go out of their way and path farther from the cage than they need to when they go through the jail. Except his lover, who will walk over and whisper sweet nothings in his ear as he dies.

Going to have to save scum and rebuild the jail with chains rather than cages.

user1294

2012-03-31 03:38

  ~0021936

Infiltrator posted a 34.07 save at 0005735

Infiltrator

2012-03-31 04:10

reporter   ~0021937

I swear that I did a search for "prisoner" before posting a new bug; and I kewn that I'd seen this bug before.

Anyway, save at http://dffd.wimbli.com/file.php?id=6047

It takes about a month from unpausing until the prisoner dies. Have three nurse dwarves that sit around on "No Job" even though they actually fed and watered the prisoner before (you can see the "received water/food" messaged in the prisoner's thoughts).

UristDaVinci

2014-05-16 20:48

reporter   ~0024760

Last edited: 2014-05-17 08:36

Dwarf fortress units/creatures have "misc traits" such as Migrant, RoomComplaint, UnnamedResident, ClaimTrinketCooldown, ClaimClothingCooldown, WantsDrink, LikesOutdoors, Hardened, TimeSinceBreak, OnBreak, CaveAdapt, IdleAreaCooldown, PartiedOut, WoundsCleaned, MilkCounter, HadDrill, CompletedDrill, EggSpent, GroundedAnimalAnger, TimeSinceSuckedBlood, DrinkingBlood, RevertWildTimer.

At least those are the names that the DFHack team gives to the values. Some of the traits or cooldowns are unknown. Misc traits 0 and 1 are used as cooldowns for creatures being watered or fed respectively. These cooldowns are set at 2000 when a creature is being brought water/food, and appear to count down once every 10 ticks or so. Once the countdown reaches zero, another water/food job can be created.

HOWEVER, in some cases these water/food countdowns are stopping or being reset to 2000 without a creature being fed/watered, so the creature eventually dies. Manually setting the countdowns to zero with DFHack results in the creation of GiveWater and GiveFood jobs.

EDIT: Using DFHack I have been able to zero the countdowns and have Prisoners (caged or chained), patients, and loose babies given water or food. I did NOT have to touch the job list.

EDIT 2: It looks like the misc trait cooldown is being reset once it has been identified that the unit needs watering/feeding, but BEFORE it is checked if there is a valid "nurse" dwarf (has no job, has appropriate labor enabled, is physically able to path to patient, etc.) able to provide assistance. So if at that instant there is no nurse dwarf able to take the job to water/feed the unit, the cooldown is reset. Is this the purpose of the cooldown?

cephalo

2014-08-08 18:42

reporter   ~0028628

in 40.05 I had to release a few prisoners to get food and water right before death.

user6

2014-08-08 19:09

  ~0028629

A recent save might be helpful for this.

Kriby

2014-08-13 08:04

reporter   ~0028940

Last edited: 2014-08-17 15:04

Had this happen in 40.08 using LNP 40.08 r1. (DF + DT)

The prisoner died and my previous save is exactly prior to the start of incarceration, however. If it reproduces from that save I will upload a save from there.

Edit:

Got it. Additionally, the prisoner -did- receive water and food from his co-dwarves initially. Now he's left to rot, though.

Rovod is the prisoner, F5 zooms to him.

http://dffd.wimbli.com/file.php?id=9384


Using DFHack to reset a cooldown belonging to the imprisoned dwarf caused him to immediately be given water and fed, so this is probably the same problem UristDaVinci reports above.

http://www.bay12forums.com/smf/index.php?topic=138609.msg5286137#msg5286137 has a work-around.

Issue History

Date Modified Username Field Change
2010-07-09 18:51 cephalo New Issue
2010-07-09 21:18 TomiTapio Note Added: 0009858
2010-07-09 21:18 TomiTapio Tag Attached: dehydration
2010-07-09 21:18 TomiTapio Tag Attached: justice
2010-07-09 21:18 TomiTapio Tag Attached: jail
2010-07-09 21:19 TomiTapio Note Edited: 0009858
2010-07-09 21:19 TomiTapio Tag Attached: prison
2010-07-09 21:19 TomiTapio Tag Attached: prisoner
2010-07-09 21:19 TomiTapio Tag Attached: give water
2010-07-10 07:47 cephalo Note Added: 0009880
2010-07-10 08:05 TomiTapio Note Added: 0009881
2010-07-10 08:06 TomiTapio Note Edited: 0009881
2010-07-12 01:37 bobbens Note Added: 0010010
2010-07-12 05:32 cephalo Note Added: 0010021
2010-07-12 10:46 user6 Relationship added child of 0000703
2010-07-12 10:46 user6 Note Added: 0010045
2010-07-12 12:22 cephalo Note Added: 0010057
2010-07-12 16:33 cephalo Note Added: 0010081
2010-07-31 16:58 Sergius Note Added: 0011342
2010-07-31 19:51 cephalo Note Added: 0011343
2010-08-14 17:34 user11 Relationship added has duplicate 0003031
2010-09-12 13:39 Valguris Note Added: 0012598
2010-09-12 13:42 Valguris Note Edited: 0012598
2010-09-12 13:42 Valguris Note Edited: 0012598
2011-03-10 19:03 Granite26 Note Added: 0016072
2011-03-19 19:35 greycat Note Added: 0016384
2011-04-25 15:54 malvado Note Added: 0017513
2011-04-26 02:23 Alumine Note Added: 0017517
2011-05-26 11:58 ponom Note Added: 0017859
2011-05-26 12:59 Quietust Note Added: 0017860
2011-07-11 04:08 Farmerbob Note Added: 0018198
2011-07-11 04:31 Farmerbob Note Edited: 0018198
2011-07-11 05:15 Farmerbob Note Added: 0018199
2011-07-11 05:27 Farmerbob Note Added: 0018200
2012-03-31 03:37 user1294 Relationship added has duplicate 0005735
2012-03-31 03:38 user1294 Note Added: 0021936
2012-03-31 04:10 Infiltrator Note Added: 0021937
2014-05-16 20:48 UristDaVinci Note Added: 0024760
2014-05-16 20:50 UristDaVinci Note Edited: 0024760
2014-05-17 08:36 UristDaVinci Note Edited: 0024760
2014-08-08 18:42 cephalo Note Added: 0028628
2014-08-08 19:09 user6 Note Added: 0028629
2014-08-09 11:05 user11 Assigned To => user11
2014-08-09 11:05 user11 Status new => acknowledged
2014-08-12 14:10 user6 Status acknowledged => confirmed
2014-08-13 08:04 Kriby Note Added: 0028940
2014-08-13 13:33 Kriby Note Edited: 0028940
2014-08-13 13:34 Kriby Note Edited: 0028940
2014-08-17 15:04 Kriby Note Edited: 0028940
2014-08-17 15:10 Kriby Tag Attached: give food
2014-08-17 15:10 Kriby Tag Attached: save
2014-08-17 15:10 Kriby Tag Attached: starving
2014-09-07 11:35 Toady One Status confirmed => resolved
2014-09-07 11:35 Toady One Fixed in Version => Next Version
2014-09-07 11:35 Toady One Resolution open => fixed
2014-09-07 11:35 Toady One Assigned To user11 => Toady One