Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008903Dwarf FortressPathfindingpublic2015-04-04 15:202018-01-15 15:00
Reporterlatias1290 
Assigned To 
PriorityurgentSeveritymajorReproducibilitysometimes
StatusnewResolutionopen 
PlatformPCOSUbuntuOS Version14.04 LTS
Product Version0.40.24 
Target VersionFixed in Version 
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.
Attached Files

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

-  Notes
(0032512)
latias1290 (reporter)
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 (manager)
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 (reporter)
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 (manager)
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 (reporter)
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.

- 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 View Revisions
2015-04-04 16:00 latias1290 Note Edited: 0032512 View Revisions
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 View Revisions
2015-10-18 15:45 KurzedMetal Issue Monitored: KurzedMetal
2015-10-18 15:45 KurzedMetal Issue End Monitor: KurzedMetal
2015-10-18 15:58 KurzedMetal Note Added: 0033119
2015-10-18 16:00 KurzedMetal Note Edited: 0033119 View Revisions
2015-10-18 16:01 KurzedMetal Note Edited: 0033119 View Revisions
2015-10-19 09:10 Detros Note Added: 0033122
2015-10-21 01:18 Detros Note Edited: 0033122 View Revisions
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


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker