Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010026Dwarf FortressDwarf Mode -- Buildings, Generalpublic2016-10-02 15:442019-09-14 18:49
Simons Mith 
Loci 
normalminorsometimes
confirmedopen 
Mac OsOS X10.9.5
0.43.05 
 
0010026: Negative item distances also appear during forest fires
This seems to be a new set of circumstances under which bug 4372 can appear. I can't see how to add a new comment there.

A forest fire, set by a helpful dragon, which presumably has ignited some of my peach, cherry and almond logs laying uncollected on the map.

For each of these three items I see dist/qty -28500/991 whenever I open the Build Wall/Floor etc. menu.

If I expand the item list, I get a distances of -2850 to each.

These numbers, both distances and the logs affected, vary while the fire burns.
No tags attached.
related to 0004372resolved Toady One occasionally get negative distance value for materials for constructions 
related to 0010208new  Removal of tree in path results in negative distances for construction materials 
related to 0008903new  Soldiers pathing thru smoke to get stuff destroy FPS 
Issue History
2016-10-02 15:44Simons MithNew Issue
2016-10-02 18:38LociRelationship addedrelated to 0004372
2018-01-09 11:56TomiTapio2Note Added: 0037570
2018-01-09 11:57TomiTapio2Note Edited: 0037570bug_revision_view_page.php?bugnote_id=0037570#r15221
2018-01-09 13:03LociNote Added: 0037572
2018-01-09 13:03LociAssigned To => Loci
2018-01-09 13:03LociStatusnew => confirmed
2018-01-09 13:04LociRelationship addedrelated to 0010208
2018-01-15 14:59LociRelationship addedrelated to 0008903
2018-04-16 16:52HuntthetrollIssue Monitored: Huntthetroll
2019-09-14 18:49is799999Note Added: 0039509

Notes
(0037570)
TomiTapio2   
2018-01-09 11:56   
(edited on: 2018-01-09 11:57)
Seen happen in 0.44.03 windows version. Forest fire aftermath. Possibly fire touched wood stockpiles, and definitely collapsed trees.

(0037572)
Loci   
2018-01-09 13:03   
TomiTapio posted a save in the forums:

https://www.dropbox.com/s/1paxg1s8n5p06wj/OldGen-ironhand-forestfireglitch-region2.zip?dl=1 [^]


There won't be any negative distances displayed when loading the save (bad paths are invalidated during save/load), but the negative distances can be reproduced by allowing the active forest fire to burn up to the tiles adjacent to any of the logs on the surface. This can also "corrupt" the quantity field in a manner that isn't entirely clear, however attempting to build a wall on top of the problematic logs shows a '0' distance value and "fixes" the quantity.

Additionally, attempting to build a wall in a tile containing fire (or inside a ring of fire-tiles) results in all materials having negative distances.
(0039509)
is799999   
2019-09-14 18:49   
Seen happen on version 0.44.12 on Windows 10 Home Version as of Sept. 2019.