View Issue Details

IDProjectCategoryView StatusLast Update
0008903Dwarf FortressPathfindingpublic2018-01-15 15:00
Reporterlatias1290 Assigned To 
PriorityurgentSeveritymajorReproducibilitysometimes
Status newResolutionopen 
PlatformPCOSUbuntuOS Version14.04 LTS
Product Version0.40.24 
Summary0008903: Soldiers pathing thru smoke to get stuff destroy FPS
DescriptionIn 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.
Additional InformationMoral 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.
TagsNo tags attached.

Relationships

related to 0010026 confirmedLoci Negative item distances also appear during forest fires 
related to 0008018 new Pathing and combat issues with extremely hot creature 

Activities

latias1290

2015-04-04 15:59

reporter   ~0032512

Last edited: 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.

lethosor

2015-04-04 18:15

manager   ~0032514

Last edited: 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.

KurzedMetal

2015-10-18 15:58

reporter   ~0033119

Last edited: 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.

user8971

2015-10-19 09:10

  ~0033122

Last edited: 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...

Kvall

2018-01-15 08:33

reporter   ~0037623

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.

Add Note

Note

Issue History

Date Modified Username Field Change
2015-04-04 15:20 latias1290 New Issue
2015-04-04 15:59 latias1290 Note Added: 0032512
2015-04-04 16:00 latias1290 Note Edited: 0032512
2015-04-04 16:00 latias1290 Note Edited: 0032512
2015-04-04 18:15 lethosor Note Added: 0032514
2015-04-04 18:15 lethosor Summary Soldiers 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:16 lethosor Note Edited: 0032514
2015-10-18 15:58 KurzedMetal Note Added: 0033119
2015-10-18 16:00 KurzedMetal Note Edited: 0033119
2015-10-18 16:01 KurzedMetal Note Edited: 0033119
2015-10-19 09:10 user8971 Note Added: 0033122
2015-10-21 01:18 user8971 Note Edited: 0033122
2018-01-15 08:33 Kvall Note Added: 0037623
2018-01-15 14:59 Loci Relationship added related to 0010026
2018-01-15 15:00 Loci Relationship added related to 0008018