Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0004475Dwarf FortressDwarf Mode -- Jobs, Animal Handlingpublic2011-04-08 19:282016-05-16 12:46
Edosurist 
Toady One 
normalminoralways
resolvedfixed 
0.31.19 
0.43.03 
0004475: Animals with two location assignments -> Infinite hauling
When an animal is assigned to a chain and a pen/pasture, the hauler will continually take the animal from the chain, toss him in the pasture, remove him, and tie him up, then go back to the pasture etc.
Assign an animal to both a chain and a pasture
is still lasting through 31.25
0.31.25, animals, chain, pasture
related to 0000498resolved Footkerchief Cancel creature caging spam 
has duplicate 0004720resolved Logical2u Animals assigned to a pasture and to a restraint rotate between the two 
has duplicate 0006178resolved Knight Otu Chain + pasture problems 
has duplicate 0006360resolved Knight Otu Animals assigned to chains are not unassigned from pen/pasture 
related to 0007664new  Problems with wild creatures placed on restraints 
related to 0006287resolved Toady One If animal stockpile overlaps assigned pasture zone, animals are not taken out of cages 
Issue History
2011-04-08 19:28EdosuristNew Issue
2011-05-14 08:24king doomNote Added: 0017724
2011-05-14 08:24king doomTag Attached: 0.31.25
2011-05-14 08:24king doomTag Attached: chain
2011-05-14 08:25king doomTag Attached: pasture
2011-05-14 08:25king doomNote Edited: 0017724bug_revision_view_page.php?bugnote_id=0017724#r6596
2011-05-14 08:31king doomTag Attached: animals
2011-06-26 10:59Logical2uRelationship addedhas duplicate 0004720
2011-06-26 10:59Logical2uIssue Monitored: unhr
2011-06-26 10:59Logical2uSummaryDouble location assignments => Animals with two location assignments -> Infinite hauling
2011-08-17 21:57UristMcDorfNote Added: 0018562
2011-08-17 21:57UristMcDorfIssue Monitored: UristMcDorf
2011-08-17 22:36UristMcDorfNote Edited: 0018562bug_revision_view_page.php?bugnote_id=0018562#r6947
2012-04-02 06:27robertheinrichNote Added: 0022023
2012-04-02 07:37FootkerchiefNote Added: 0022028
2012-04-02 10:01robertheinrichNote Added: 0022032
2012-04-02 10:03HiEvNote Added: 0022033
2012-08-28 14:36Knight OtuRelationship addedhas duplicate 0006178
2012-09-04 10:03nshapterNote Added: 0023526
2012-09-08 22:07UristMcDorfNote Added: 0023543
2013-07-26 07:15QuietustNote Added: 0024080
2013-07-26 07:20QuietustNote Edited: 0024080bug_revision_view_page.php?bugnote_id=0024080#r8967
2013-07-28 00:31Knight OtuRelationship addedhas duplicate 0006360
2013-07-29 00:38DwarfuRelationship addedrelated to 0000498
2013-07-29 00:39DwarfuNote Added: 0024085
2013-07-29 00:40DwarfuNote Edited: 0024085bug_revision_view_page.php?bugnote_id=0024085#r8969
2014-09-22 07:13troasNote Added: 0030313
2014-09-22 07:13troasIssue Monitored: troas
2014-09-23 19:19FootkerchiefAssigned To => Footkerchief
2014-09-23 19:19FootkerchiefStatusnew => confirmed
2014-09-23 19:20FootkerchiefRelationship addedrelated to 0007664
2014-09-23 19:20FootkerchiefRelationship addedrelated to 0006287
2015-01-20 09:40DetrosNote Added: 0032014
2015-01-20 09:43DetrosIssue Monitored: Detros
2015-12-25 15:39braiamIssue Monitored: braiam
2016-03-02 20:01MidbossNote Added: 0034782
2016-05-16 12:46Toady OneStatusconfirmed => resolved
2016-05-16 12:46Toady OneFixed in Version => Next Version
2016-05-16 12:46Toady OneResolutionopen => fixed
2016-05-16 12:46Toady OneAssigned ToFootkerchief => Toady One

Notes
(0017724)
king doom   
2011-05-14 08:24   
(edited on: 2011-05-14 08:25)
confirming this exists in 31.25, my dwarves are taking something from a pasture to a chain and the exact same dwarf is immediately taking it from the chain back to the pasture.

(0018562)
UristMcDorf   
2011-08-17 21:57   
(edited on: 2011-08-17 22:36)
Also see this issue in .31.25 [edit] The problem can be reproduced as follows:

1: assign an animal to a pasture
2: assign the same animal to a built restraint
3: check the pasture assignment information; note '+' remains next to animal.

The reverse process, first assigning to a restraint, then to a pasture, appears to work correctly, i.e. the animal gets unassigned from the restraint.

(0022023)
robertheinrich   
2012-04-02 06:27   
Problem still exists in 34.07
(0022028)
Footkerchief   
2012-04-02 07:37   
Saves might be helpful for this one.
(0022032)
robertheinrich   
2012-04-02 10:01   
Well, the problem is 100% reproducable:

1. assign animal A to pasture
2. assign animal A to chain/rope

-> endless hauling between pasture and chain starts

But here's your save:
http://dffd.wimbli.com/file.php?id=6074 [^]
(0022033)
HiEv   
2012-04-02 10:03   
All you need to do is embark with a rope and a dog. Assign the dog to a pasture in one place, let it get hauled there, then chain it somewhere outside the pasture, and now just sit back and watch. The dog will repeatedly get hauled from one to the other, with a bit of a wait in-between.

Seeing this bug report helped me figure out why it was happening at my fort. Once I removed the dog from the pasture (which I had assumed was automatic when I assigned it to a restraint, especially since it gets a restraint marker in the pasture list) they finally stopped hauling it back and forth.
(0023526)
nshapter   
2012-09-04 10:03   
Problem exists in 34.11
(0023543)
UristMcDorf   
2012-09-08 22:07   
yeah, I second its continued existence in 34.11
(0024080)
Quietust   
2013-07-26 07:15   
(edited on: 2013-07-26 07:20)
The root problem here, of course, is that assigning a creature to a restraint does not unassign it from an activity zone (either a pen/pasture OR a pit/pond).

Other combinations seem to work properly, though - assigning to a cage removes assignments from restraints/zones, and assigning to a zone removes assignments from restraints/cages.

(0024085)
Dwarfu   
2013-07-29 00:39   
(edited on: 2013-07-29 00:40)
Relating to 0000498 for cage/pit combo. Hostility may be an overriding factor, but they are still trying to re-cage him after the creature was marked for pitting.

(0030313)
troas   
2014-09-22 07:13   
This still occurs in 40.13. Assigning to a chain does not remove pasture assignment, resulting in the animal being repeatedly shuttled between pasture and chain.
(0032014)
Detros   
2015-01-20 09:40   
Still in 40.24.

I was wondering why it takes so long to chain selected bunny to newly made trap to lure attackers to that area: I have found once it is chained there another dwarf is tasked to return that animal back to its pen. After unassigning given animal from given pen it stays chained.
(0034782)
Midboss   
2016-03-02 20:01   
Confirming this issue is in 40.24. I mean if you want a pampered dog that is being taken for walks all day you could keep it in.