Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0008903Dwarf FortressPathfindingpublic2015-04-04 15:202018-01-15 15:00
latias1290 
 
urgentmajorsometimes
newopen 
PCUbuntu14.04 LTS
0.40.24 
 
0008903: Soldiers pathing thru smoke to get stuff destroy FPS
In that order.

This might happen when you are fighting a FB that can breathe fire. Soldiers will, under no circumstances, pathe through smoke, but they will search for a path to get their equipment, fill waterskins or fill backpack, and will search again the instant they cannot find one that does not go through smoke.

This will drop the FPS to 0.25 in seconds.
Moral of the story, do not fight FBs with fire attacks. Ever. At all. Not even if you play the game on the Tianhe-2. Because the soldiers will search for a path in the same frame where the previous path failed, so higher FPS means LOWER FPS.
No tags attached.
related to 0010026confirmed Loci Negative item distances also appear during forest fires 
related to 0008018new  Pathing and combat issues with extremely hot creature 
Issue History
2015-04-04 15:20latias1290New Issue
2015-04-04 15:59latias1290Note Added: 0032512
2015-04-04 16:00latias1290Note Edited: 0032512bug_revision_view_page.php?bugnote_id=0032512#r13018
2015-04-04 16:00latias1290Note Edited: 0032512bug_revision_view_page.php?bugnote_id=0032512#r13019
2015-04-04 18:15lethosorNote Added: 0032514
2015-04-04 18:15lethosorSummarySoldiers pathing thru smoke to get stuff will RAPE, MURDER, and DROP THE FPS into MAGMA => Soldiers pathing thru smoke to get stuff destroy FPS
2015-04-04 18:16lethosorNote Edited: 0032514bug_revision_view_page.php?bugnote_id=0032514#r13021
2015-10-18 15:45KurzedMetalIssue Monitored: KurzedMetal
2015-10-18 15:45KurzedMetalIssue End Monitor: KurzedMetal
2015-10-18 15:58KurzedMetalNote Added: 0033119
2015-10-18 16:00KurzedMetalNote Edited: 0033119bug_revision_view_page.php?bugnote_id=0033119#r13343
2015-10-18 16:01KurzedMetalNote Edited: 0033119bug_revision_view_page.php?bugnote_id=0033119#r13344
2015-10-19 09:10DetrosNote Added: 0033122
2015-10-21 01:18DetrosNote Edited: 0033122bug_revision_view_page.php?bugnote_id=0033122#r13348
2018-01-15 08:33KvallNote Added: 0037623
2018-01-15 14:59LociRelationship addedrelated to 0010026
2018-01-15 15:00LociRelationship addedrelated to 0008018

Notes
(0032512)
latias1290   
2015-04-04 15:59   
(edited on: 2015-04-04 16:00)
Actually, the priority can be reduced a bit as this happening is not exactly common, but the severity should probably stay as it is now because when it does happen it is quite an asteroid crashing into your FPS.

(0032514)
lethosor   
2015-04-04 18:15   
(edited on: 2015-04-04 18:16)
(Making title more search-friendly)
Edit: Just so you know, we don't really make use of the priority or severity fields.

(0033119)
KurzedMetal   
2015-10-18 15:58   
(edited on: 2015-10-18 16:01)
My gaming rig is a bit old but still quite powerful (SSD, 4core i5 overclocked to 4.3ghz, ATI R9 270X if that matters), and runs the game smoothly all the time, but this bug hit me really hard.

I just got a firebreathing beast in my fort.

When it started to spit fire my fps dropped to 30, then I tried to engage with military and droped to 10fps, and finally tried to move everyone outside (with a burrow) and fps basically dropped to zero.

So, I guess I'm getting affected by this bug, as this firebreathing beast generates a lot of smoke, and the problem increase when I try to move more people.

Leaving a savegame here: http://dffd.bay12games.com/file.php?id=11216 [^]

EDIT: mmm weird, I saved to upload my fort, and when I loaded again the FPS was normal again.

(0033122)
Detros   
2015-10-19 09:10   
(edited on: 2015-10-21 01:18)
Can it be caused by pathfiding? Game maybe uses already computed routes again and again but when there is suddenly fire and smoke in the way, it needs to recalculate all those paths again.

EDIT: Can you try if removing temperature via init does stop this issue? I got an idea that soldier finds a path near the fire and smoke, but then temperature jumps in, soldier changes the path to the tile next to the now inaccessible one but then that one gets too warm while the previous one gets cold enough...

(0037623)
Kvall   
2018-01-15 08:33   
This is still just as bad in 44.05, my fort is currently at 0 FPS down from 50 while a reindeer's leg burns forever in my main passage.