This was one of the bug fixes in 0.34.02:
- made dwarves with cancelled jobs stop walking to their destinationGreat stuff.
However, i've been noticing for a while now that soldiers seem to exhibit a similar bug - i'll often find them wandering out into the field for no apparent reason, usually displaying "Soldier <cannot folder orders>" or some such as their current job. Quite annoying when it results in your legendary militia commander suiciding into an incoming siege. From what i've observed, they are usually heading to a location that you recently gave a Station order to, but have since cancelled or replaced with another order. When they get to the location, they may pause for a moment, and then re-assess their directive and head on to whatever job they decide upon.
Before you post "they do that because such and such", please bear the following in mind - it took me a very long time playing with military to resolve a million other issues that was causing similar problems - marksdwarves trying to pick up new bolts out in the middle of a siege, troops ditching their uniform in order to go pick up a new slightly better quality item that was just made, soldiers waiting indefinitely for a demonstration that didn't happen, etc etc - i watched my troops very carefully, over many forts. Being somewhat
OCD and a bit of a
perfectionist, i found myself compelled to at least identify the cause of my erratic military behaviour, even if i couldn't solve the issue completely, at least i could avoid it. To this date, the only issue that is still hanging around is the one mentioned above (incidently, if you need any military advice, i'm happy to offer my experience).
Now, i can't be 100% sure that what i'm experiencing is in fact soldiers with cancelled station orders still walking to their destination, and therefore related to the similar bug that was fixed recently, but i am fairly certain there is
something going on with old station orders confusing my soldiers. I've made a habbit of always setting a new station order back at the fort entrance before cancelling my orders, which has seemed to help, but hasn't solved the issue completely.
My next plan of attack (if i can ever be bothered) is to run a test fort in which i never give my soldiers any orders at all, and watch them for several years to see if they ever wander around randomly - maybe they're heading to an enemy that was there earlier and isn't anymore, maybe they're getting confused by the minimum attendance being higher than the number of dwarves in the squad, who knows - but just incase anyone else has experienced a similar issue, i thought i'd share my findings with y'all, in the hopes of coming to some sort of conclusion.
Thanks for reading