Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002486Dwarf FortressDwarf Mode -- Militarypublic2010-06-27 16:222014-03-25 13:47
cephalo 
Toady One 
normalminorrandom
resolvedfixed 
0.31.08 
0.34.11 
0002486: Soldiers don't eat from backpacks while on duty
I have some axedwarves guarding a station that have been flashing hungry and thirsty for many days. Some of them are carrying full backpacks and flasks, but they will not eat what's inside.
No tags attached.
has duplicate 0003740resolved Dwarfu dwarves on Patrol do not drink 
has duplicate 0004797resolved Dwarfu Military dorf prioritizing 'Sleep' over 'Drink' 
related to 0003471new  Military dwarves claim new rations instead of retrieving previously dropped ones 
child of 0000535acknowledged Toady One Equipping weapons/armor on military is erratic 
Issue History
2010-06-27 16:22cephaloNew Issue
2010-06-27 19:38FootkerchiefNote Added: 0009181
2010-06-27 19:38FootkerchiefRelationship addedchild of 0000525
2010-06-27 19:38FootkerchiefRelationship deletedchild of 0000525
2010-06-27 19:38FootkerchiefRelationship addedchild of 0000535
2010-06-27 19:41FootkerchiefTag Attached: AWAITING UPDATE
2010-06-28 09:43cephaloNote Added: 0009249
2010-06-28 15:15cephaloNote Added: 0009269
2010-06-28 15:20cephaloNote Added: 0009270
2010-06-28 15:21cephaloNote Edited: 0009270bug_revision_view_page.php?bugnote_id=0009270#r3548
2010-06-28 20:50cephaloNote Edited: 0009270bug_revision_view_page.php?bugnote_id=0009270#r3555
2010-06-30 15:11cephaloNote Added: 0009421
2010-07-13 22:06FootkerchiefSummarysoldiers carry food, won't eat if hungry. => Soldiers don't eat from backpacks while on duty
2010-07-13 22:06FootkerchiefTag Detached: AWAITING UPDATE
2010-07-13 22:06FootkerchiefTag Attached: Intentional?
2010-07-13 22:07FootkerchiefTag Detached: Intentional?
2010-07-13 22:07FootkerchiefTag Attached: Intentional/Expected?
2010-07-24 21:50Khym ChanurIssue Monitored: Khym Chanur
2010-08-29 20:34QuietustNote Added: 0012248
2010-09-05 21:45KahunaGodNote Added: 0012437
2010-09-05 21:58KahunaGodNote Edited: 0012437bug_revision_view_page.php?bugnote_id=0012437#r4836
2010-09-05 22:30KahunaGodNote Edited: 0012437bug_revision_view_page.php?bugnote_id=0012437#r4837
2010-09-05 22:31KahunaGodNote Edited: 0012437bug_revision_view_page.php?bugnote_id=0012437#r4838
2010-09-06 10:28KahunaGodNote Edited: 0012437bug_revision_view_page.php?bugnote_id=0012437#r4844
2010-12-30 05:48QuietustNote Added: 0014757
2011-02-21 13:07ArtfunkelNote Added: 0015367
2011-07-31 05:04DwarfuRelationship addedrelated to 0001017
2011-08-01 18:02DwarfuRelationship addedhas duplicate 0003740
2011-08-01 18:07DwarfuRelationship addedhas duplicate 0004797
2011-08-01 18:08DwarfuTag Detached: Intentional/Expected?
2011-08-01 18:08DwarfuSticky IssueNo => Yes
2011-08-01 18:11DwarfuNote Added: 0018415
2012-02-16 15:00FootkerchiefRelationship addedrelated to 0003471
2012-02-16 15:00FootkerchiefRelationship deletedrelated to 0001017
2012-03-20 19:48FootkerchiefNote Added: 0021620
2012-03-23 07:13cephaloNote Added: 0021675
2012-03-26 09:49thvazIssue Monitored: thvaz
2012-03-26 09:49thvazNote Added: 0021746
2012-04-04 05:09mikemaydayNote Added: 0022072
2012-04-04 05:09mikemaydayIssue Monitored: mikemayday
2012-04-08 08:19thvazNote Added: 0022149
2012-06-03 18:42Toady OneStatusnew => resolved
2012-06-03 18:42Toady OneFixed in Version => Next Version
2012-06-03 18:42Toady OneResolutionopen => fixed
2012-06-03 18:42Toady OneAssigned To => Toady One
2012-06-04 00:09thvazIssue End Monitor: thvaz
2014-03-25 13:47DwarfuSticky IssueYes => No

Notes
(0009181)
Footkerchief   
2010-06-27 19:38   
It would be helpful if you upload the save demonstrating this problem to http://dffd.wimbli.com/. [^]
(0009249)
cephalo   
2010-06-28 09:43   
Alright I will do that when I get home.

After observing, for a while. It seems that there is no eating or drinking while on station or on patrol, but at the very second that a period of no orders comes, the hungry and thristy icons go away indicating that they can then eat and drink from the backpack.
(0009269)
cephalo   
2010-06-28 15:15   
http://dffd.wimbli.com/file.php?id=2596 [^]

Ok, here is the file. To see the bug, set the squads on the active/train schedule. When a squad goes on patrol, you can see that they won't eat whats in their backpacks until they are off duty, no matter how hungry or thristy they get.

The schedule is currently set for one month on, one month off. I just thought of it after uploading, but If you set the schedule for two months on, the problem is more obvious. By then everyone will be hungry and thirsty... and angry!
(0009270)
cephalo   
2010-06-28 15:20   
(edited on: 2010-06-28 20:50)
Another bug in this file that's kindof more fun than serious, is that my militia commander lost her arm in a fight, and never even went to the hospital or bled. She went right back to her station at the front gate.

You can see that there is no treatment in her health records, other than a soap washing from a previous wound.

(0009421)
cephalo   
2010-06-30 15:11   
Ok, I think I understand what's going on here. It did not occur to me that a whole month of patrolling is too much for the average dwarf. My minimum number of soldiers was set to the default size of 10, which means that everyone has to be on task for the whole month. Apparently, this condition also prevents eating from the backpack! Setting the minimum number of soldiers to 4 (out of 10) aleviates this problem.

I'm thinking that the backpack is not for eating while on duty, but for shortening any breaks that are taken. No breaks, no food and drink. I may have misunderstood what to expect from the carried rations.
(0012248)
Quietust   
2010-08-29 20:34   
If backpacks and waterskins aren't usable while on duty, they rather defeat the purpose of being used in the first place. This is almost definitely a bug, and a rather nasty one at that.
(0012437)
KahunaGod   
2010-09-05 21:45   
(edited on: 2010-09-06 10:28)
I seem to be having an alltogether different backpack issue. More precisely, my soldiers wont carry them. Food stacks up in my Finished Goods stockpile (where the backpacks are), and the food, when (v)iewed, shows a soldier as "owner" - which seems to imply it should be in the backpack sitting next to it in the same stockpile. Somehow the food is also tagged as Finished Goods once it gets tagged to the soldiers, again, probably due to backpacks. As far as dwarves starving or getting thirsty, I watch the training dwarfs stop and eat even with max# set at 10, so I think that bug is gone.

EDIT: just noticed all the food in my F.G. stockpile belongs to one single soldier. I think he was caught in an endless loop of pickup/drop equipment (my soldiers all take a few months off for mining duty) and kept getting new food everytime.
EDIT2: Now another soldier is doing it. Just watched him load up on food, run to the F.G stockpile, drop it (including food), then re-quip, get more food, return to stockpile and.......about 45 meals are tagged as being owned by 2 dorfs now. They are off duty and have nothing else to do, so they keep unequiping and re-equiping the backpack and waterskin, getting new food (and alcohol) everytime. Very very strange. Potentialy destructive if they take all the food.
EDIT3: Interestingly, the food never rots. Some fish they claimed have been sitting there for 3 fort years now. I set them to not carry any food in their backpack, and teh problem has mostly gone away. I have a 3 month on-duty training rotation, and they never starve or get thirsty. They have been going back and slowly eating the old food still sitting there.

(0014757)
Quietust   
2010-12-30 05:48   
KahunaGod: what you've described is an entirely different issue, more of a side-issue of 0003471 when combined with 0001986.
(0015367)
Artfunkel   
2011-02-21 13:07   
Lowering the "minimum soldiers" setting fixed my related problem: I had rotten owned food sitting in my barracks indefinitely. It appears to have been eaten, which is slightly disturbing...
(0018415)
Dwarfu   
2011-08-01 18:11   
I removed the intentional/expected tag - I agree with Quietust in that it can't possibly be intended that they don't use this functionality when it is its sole purpose.

I also stickied this in its own right despite it being a child of 0000535 as that listing has become an albatross of various reports.
(0021620)
Footkerchief   
2012-03-20 19:48   
Toady may need an up-to-date save (0.34.02+) to fix this problem. It would be helpful for someone to upload a save to http://dffd.wimbli.com/ [^] and post the link here.
(0021675)
cephalo   
2012-03-23 07:13   
If this issue still exists, it should be replicable by anyone. Just set minimum dwarves on duty to 10 and let er rip. I'm too pressed for time these days to get a military going or I'd do it myself.
(0021746)
thvaz   
2012-03-26 09:49   
I didn't notice this one happening, but I will pay attention next time.
(0022072)
mikemayday   
2012-04-04 05:09   
Save upload for 34.07 http://dffd.wimbli.com/file.php?id=6091 [^]
three squads stationed, all have alcohol in their waterskins, all are getting thirsty and making no use of the alcohol.
(0022149)
thvaz   
2012-04-08 08:19   
Yeah, disregard my previous post, confirmed now. It is a very annoying bug, in fact.