Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000800Dwarf FortressDwarf Mode -- Combatpublic2010-04-08 09:012014-01-22 11:58
Greyhawk 
Footkerchief 
normalminoralways
acknowledgedopen 
WindowsVistasp1
0.31.01 
 
0000800: Squad attack pathfinding lags behind target movement
I had a Yeti get inside my fort and the yeti was able to elude my lone speardwarf (and his 3 war dogs) for weeks of game time because it uses the same type of pathfinding (caches x number of steps ahead of time) as other work jobs.

A dwarf will run at him and the yeti do a half circle around him and the dwarf will keep moving to where the yeti was 5-10 steps ago.

Dogs have better AI (since they don't use the kill order), but are too slow to catch the yeti (in fact slower than my dwarf).

At one point I felt the urge to play the "yakety sax" song.
kill, pathfinding
child of 0000481acknowledged Toady One Kill/attack commands/orders don't work 
Issue History
2010-04-08 09:01GreyhawkNew Issue
2010-04-08 09:20Rafal99Note Added: 0002056
2010-04-08 09:21Rafal99Tag Attached: kill
2010-04-08 09:21Rafal99Tag Attached: pathfinding
2010-04-10 11:51FootkerchiefRelationship addedchild of 0000481
2010-04-11 23:10ShadowlordNote Added: 0002988
2010-04-12 02:59derigoNote Added: 0003015
2010-04-21 14:35caldfirNote Added: 0004503
2010-04-21 15:09kaefermelderNote Added: 0004510
2010-04-22 18:47Khym ChanurIssue Monitored: Khym Chanur
2010-05-07 00:49RusAnonIssue Monitored: RusAnon
2010-06-10 17:07FootkerchiefNote Added: 0008089
2010-06-11 06:22Kyle_SoloNote Added: 0008136
2010-06-11 06:25Kyle_SoloIssue Monitored: Kyle_Solo
2010-07-07 08:03FootkerchiefSummarySquad attack this job has really bad AI => Squad attack pathfinding lags behind target movement
2014-01-22 11:58FootkerchiefAssigned To => Footkerchief
2014-01-22 11:58FootkerchiefStatusnew => acknowledged
2018-04-16 10:52HuntthetrollIssue Monitored: Huntthetroll

Notes
(0002056)
Rafal99   
2010-04-08 09:20   
Yeah military dwarves path to the place where enemy was when they started pathing. When they reach that place they start pathing to the place where enemy is at this moment. This caused situation where half of my military is chasing a groundhog for 2 months around the whole map.
(0002988)
Shadowlord   
2010-04-11 23:10   
If only they could learn to use crossbows!
(0003015)
derigo   
2010-04-12 02:59   
>If only they could learn to use crossbows!
lol
(0004503)
caldfir   
2010-04-21 14:35   
Yep - I've had some pretty legendary elk bird pursuits through my fort.
(0004510)
kaefermelder   
2010-04-21 15:09   
elk birds..I wish. I have the "civilian flees into danger instead away from it, ignoring alert, runs outside, is chased by goblins, military on kill chases after goblins" and then they do circles on the map for months unless I study the movement pattern and manage to block them off with individual orders or a second squad. (note to self: next fort will be in a steep canyon/on cliff with lots of impassable features)
(0008089)
Footkerchief   
2010-06-10 17:07   
Toady has started asking for saves for military/equipment bugs, so if you have a save demonstrating this problem, it might be helpful to upload it to http://dffd.wimbli.com/. [^] Thanks!
(0008136)
Kyle_Solo   
2010-06-11 06:22   
It's more or less just an issue with the way military pathing works, I don't know that saves would really help illustrate this one, unless the military isn't supposed to path like Rafal99 described.

I noticed this too when my military was chasing a giant rat, later on when they were chasing a cave swallow. Took them forever to catch up.