Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0008640Dwarf FortressDwarf Mode -- Interface, Announcements: Message Spampublic2014-12-20 02:192018-05-07 18:40
Turnip 
 
normalminorhave not tried
newopen 
Windows 7 64bit
0.40.19 
 
0008640: Animals get stuck up trees
I don't know how that lamb got up there but I got spammed many, many notifications for job cancellation due to animal inaccessible until he starved to death, the next lot of migrants arrived and I got another one in the tree. I can understand Ducks and Drakes up there but how does a lamb or a cow get in the tree?
It might have something to do with the zone being under a tree.
http://dffd.wimbli.com/file.php?id=10279 [^]

There's a save,
pathfinding, pathing, tree, trees, z-levels
related to 0008552new  Caravan stuck "unloading" because one of their pack animals is up a tree 
related to 0009252resolved Toady One Dwarves get stuck in trees 
Issue History
2014-12-20 02:19TurnipNew Issue
2014-12-20 14:01FootkerchiefRelationship addedrelated to 0008552
2016-07-13 00:01LociRelationship addedrelated to 0009252
2018-05-07 18:29a52Note Added: 0038283
2018-05-07 18:33a52Tag Attached: pathfinding
2018-05-07 18:33a52Tag Attached: pathing
2018-05-07 18:33a52Tag Attached: tree
2018-05-07 18:33a52Tag Attached: trees
2018-05-07 18:33a52Tag Attached: z-levels
2018-05-07 18:40a52Note Added: 0038285

Notes
(0038283)
a52   
2018-05-07 18:29   
Seeing this with the undead in my current save, as well as generally buggy pathfinding around trees with almost all units.

Zombies get stuck up trees and refuse to path down into my fortress (which is a bigger problem then it sounds, because it means they don't path into my traps).

Dwarves cannot be commanded to kill the zombies in the trees (saying they're unreachable), but if they get close enough, they'll dash up the trees one at a time and usually get themselves killed. If I use hacks to kill the zombie and order dwarf to station somewhere not on a tree, they'll say it's unreachable. (I have not yet tested whether they can climb back down if left to their own devices, with or without a stepladder.)

The zombie (when left alive) remains in the tree, despite having seen dwarves below that it could path to.

Note that most of these zombies are things like yaks, or horses, or elves' heads, and many are several layers up the tree. It doesn't seem like they should be able to get up there at all.

Save:
http://dffd.bay12games.com/file.php?id=13734 [^]

(Also, I'd suggest the category of this ticket be changed to "Pathfinding", since that's the underlying cause. I think I've even seen it happen in Adventurer Mode.)
(0038285)
a52   
2018-05-07 18:40   
As an experiment, I used DFHack to teleport the zombies directly downwards from their current position to the ground. They all immediately beelined to the fortress entrance. The trees were the only reason they were staying still.