Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0007979Dwarf FortressDwarf Mode -- Transport/Haulingpublic2014-08-12 18:192015-10-24 22:26
Deboche 
Toady One 
normalminorsometimes
resolvedfixed 
Toshiba LaptopWindows7
0.40.08 
0.40.11 
0007979: Dwarf targeted by military after releasing enemy from cage
When pitting a goblin, a dwarf became scared and ran away from it, effectively releasing it.

Then, said dwarf started causing job cancelations and other dwarves started attacking him. I couldn't target him with my military kill order but stationing my military dwarves near him made them kill him.

Tried it again and it happened again. I did successfully pit two goblins and the bug happened two other times.

I could still control the dwarves and they kept trying to go about their business after they had stopped panicking. They were buried in coffins.
Have goblins in cages, try to pit them. The cage was 3 or 4 steps away from the pit. Perhaps stockpiling right next to the pit will solve this.
No tags attached.
related to 0007611resolved Toady One Military dwarves attack dwarves that have let out enemies from cages 
has duplicate 0007995resolved Footkerchief Military dwarves attack dwarves that have let out enemies from cages 
has duplicate 0008082resolved Footkerchief Dwarves got interrupted by other dwarves, who recenly towed large untamed animal trough cage trap. 
has duplicate 0008092resolved Footkerchief Dwarves constantly interrupt each other and run away 
has duplicate 0008104resolved Footkerchief Marksdwarf attacks dwarf that lets enemies out of cages 
has duplicate 0008164resolved Footkerchief Loyalty cascade after combat with caged/chained enemies? 
has duplicate 0008294resolved Knight Otu Military attacks dwarf as soon as he opens cage to dump prisoner to a Pasture/dump zone 
Issue History
2014-08-12 18:19DebocheNew Issue
2014-08-12 18:25FootkerchiefNote Added: 0028907
2014-08-12 18:25FootkerchiefAssigned To => Footkerchief
2014-08-12 18:25FootkerchiefStatusnew => needs feedback
2014-08-12 18:25FootkerchiefRelationship addedduplicate of 0007611
2014-08-12 18:35DebocheNote Added: 0028908
2014-08-12 18:35DebocheStatusneeds feedback => assigned
2014-08-12 18:59FootkerchiefRelationship replacedrelated to 0007611
2014-08-13 19:47FootkerchiefRelationship addedhas duplicate 0007995
2014-08-13 19:48FootkerchiefStatusassigned => confirmed
2014-08-14 12:46fortunawhiskNote Added: 0029048
2014-08-14 12:47fortunawhiskNote Edited: 0029048bug_revision_view_page.php?bugnote_id=0029048#r11140
2014-08-14 12:47fortunawhiskNote Edited: 0029048bug_revision_view_page.php?bugnote_id=0029048#r11141
2014-08-14 12:55fortunawhiskNote Edited: 0029048bug_revision_view_page.php?bugnote_id=0029048#r11142
2014-08-14 12:56fortunawhiskNote Edited: 0029048bug_revision_view_page.php?bugnote_id=0029048#r11143
2014-08-14 15:40fortunawhiskNote Edited: 0029048bug_revision_view_page.php?bugnote_id=0029048#r11147
2014-08-18 10:48CosinusNote Added: 0029236
2014-08-20 13:27FootkerchiefRelationship addedhas duplicate 0008082
2014-08-20 13:28FootkerchiefRelationship addedhas duplicate 0008092
2014-08-21 11:38FootkerchiefRelationship addedhas duplicate 0008104
2014-08-22 00:13dgliddenNote Added: 0029472
2014-08-22 11:36dgliddenNote Edited: 0029472bug_revision_view_page.php?bugnote_id=0029472#r11376
2014-08-25 16:22naniteNote Added: 0029627
2014-08-25 16:24naniteNote Edited: 0029627bug_revision_view_page.php?bugnote_id=0029627#r11442
2014-08-26 13:23FootkerchiefSummaryPitting causes dwarf to become considered an enemy => Dwarf targeted by military after releasing enemy from cage
2014-08-26 13:23FootkerchiefRelationship addedhas duplicate 0008164
2014-08-26 13:25FootkerchiefIssue Monitored: Toady One
2014-08-26 14:06ButtonIssue Monitored: Button
2014-08-26 14:44Toady OneNote Added: 0029683
2014-08-26 14:44Toady OneAssigned ToFootkerchief => Toady One
2014-08-26 14:44Toady OneStatusconfirmed => needs feedback
2014-08-26 15:05fortunawhiskNote Added: 0029688
2014-08-27 03:34KnossosIssue Monitored: Knossos
2014-08-27 03:34KnossosIssue End Monitor: Knossos
2014-08-27 04:01KnossosNote Added: 0029711
2014-08-27 04:03KnossosIssue Monitored: Knossos
2014-08-27 10:06Toady OneNote Added: 0029715
2014-08-27 10:06Toady OneStatusneeds feedback => resolved
2014-08-27 10:06Toady OneFixed in Version => Next Version
2014-08-27 10:06Toady OneResolutionopen => fixed
2014-09-14 01:00Knight OtuRelationship addedhas duplicate 0008294
2015-10-24 22:26ButtonIssue End Monitor: Button

Notes
(0028907)
Footkerchief   
2014-08-12 18:25   
Are you sure you're running 0.40.08? This was supposedly fixed in 0.40.06 (0007611).
(0028908)
Deboche   
2014-08-12 18:35   
100% sure, I waited for it for ages. And it's a whole new game, no old saves. Love the sieges. As for this, which someone posted on that other bug:

While playing around with the bug, I noticed two interesting things:
1) When the released enemy is killed, all fighting stops.
2) Those who were attacked do not appear to retaliate against their attackers.

Killing the released enemy didn't fix it for me. I killed the gobbos first but they still attacked the dwarf.
(0029048)
fortunawhisk   
2014-08-14 12:46   
(edited on: 2014-08-14 15:40)
Edit: http://dffd.wimbli.com/file.php?id=9392 [^]

Some interesting things.

) This doesn't look like 0007407, where the hauler was immediately interrupted every time.

) Long distance hauling is still unwise, as enemies can escape.

) This doesn't appear to affect undead units, which can be hauled w/o problem.

) Military will attack the hauler on sight if the hauling job is active or the hauler has an active terror flag.

) Terror flag is active as long as the hauler can see any other units (hostile or not).

) Hauler (with flag) will also terrify other units as if it was hostile.

(0029236)
Cosinus   
2014-08-18 10:48   
In regards to the previous comment:
I think it does affect undead units. I just tried to pit an elf axeman corpse invader 1z lvl down for my waiting military.
As soon as my hauler freed the elf he was struck down by military dwarfs, who were stationed on the top level just in case. The elf was also not pitted, probably because the hauler died first.

The version is 40.09, although the save was originally from 40.05.
(0029472)
dglidden   
2014-08-22 00:13   
(edited on: 2014-08-22 11:36)
This is definitely still the case as of a new fort from 40.09. It seems that if a dwarf releases a goblin from a cage, even to pit it, that dwarf is now considered a bad guy. I lost my queen this way in my current fortress. (Not necessarily a bad thing, at least it wasn't my legendary armorsmith, but still...)

Queen tried pitting the goblin, queen got scared and ran away, military killed goblin, then military killed queen. If it makes any difference, the queen's thoughts during the time between the goblin's death and her own were "I must retreat" or something similar.

edit: "I must withdraw!" were among her final thoughts during combat. Here is the save from shortly after she was killed, perhaps a few in-game days, if it will help at all. The combat reports for both the goblin's death and the queen's death - she was the Bone Carver - are still visible.

http://dffd.wimbli.com/file.php?id=9486 [^]

(0029627)
nanite   
2014-08-25 16:22   
(edited on: 2014-08-25 16:24)
I am also seeing this bug in 40.10. My save originates from 40.08 or thereabouts.

I'd managed to pit a few goblins into my fighting pit, but after a few successes this bug bit one of my dwarves. I've locked him into the cage hall for now and we'll see what can be done about it...

(0029683)
Toady One   
2014-08-26 14:44   
I might have fixed this now, but it's difficult to confirm that without a save. The minotaur save I have didn't reproduce this bug, and the saves here didn't have a caged goblin I could find to use.
(0029688)
fortunawhisk   
2014-08-26 15:05   
Updated 9392 save to move the (living) goblin to animal stockpile, now under F2.

Goblin appears to be a noble, don't know if that matters.

http://dffd.wimbli.com/file.php?id=9392 [^]
(0029711)
Knossos   
2014-08-27 04:01   
@Toady One:

Not sure where I can upload to, so I used my Google Drive. Here is a save involving goblins + humans in cages.

https://drive.google.com/file/d/0BzAFlz5BiPVSS3ZGVmdqaFdBSzA/edit?usp=sharing [^]

1. F1 to get to the cages
2. Bottom right cage is fixed.
3. Order first (S -> A) squad to stand outside the cage door area.
4. Order hostiles into fixed cage.
5. Profit.
(0029715)
Toady One   
2014-08-27 10:06   
Okay, they both checked out, so hopefully this'll be resolved for 0.40.11 in all cases.