Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001137Dwarf FortressPathfindingpublic2010-04-14 03:132010-06-12 17:26
oliver 
Toady One 
normalminorrandom
resolvedfixed 
native WindowsWindows XPSP3
0.31.03 
0.31.06 
0001137: /dwarves/mantisbt/view.php?id=70, negative distance to building materials, still occurs on 0.31.03
I just saw 0000070 (negative distance to building materials) again while running 0.31.03. This was with a region that was generated with .03 as well, so it's not an upgrade issue.

Save/reload fixes it. Saves will be available shortly, FWIW.

(I'd put this directly on 0000070, but apparently I don't have permission to add notes to resolved bugs)
No tags attached.
related to 0001104resolved Dwarfu Unable to build well with rope? 
parent of 0001186resolved Toady One Negative distance to building materials 
related to 0001319resolved Toady One Pathfinding problems after lowest cavern layer is breached 
related to 0004372resolved Toady One occasionally get negative distance value for materials for constructions 
Issue History
2010-04-14 03:13oliverNew Issue
2010-04-14 03:14oliverNote Added: 0003435
2010-04-14 03:17oliverNote Added: 0003437
2010-04-14 03:19oliverNote Added: 0003438
2010-04-14 09:03FootkerchiefTag Attached: AWAITING UPDATE
2010-04-14 16:08oliverNote Added: 0003570
2010-04-14 16:41FootkerchiefNote Added: 0003576
2010-04-14 16:41FootkerchiefTag Detached: AWAITING UPDATE
2010-04-15 02:34FootkerchiefRelationship addedparent of 0001186
2010-04-15 02:34FootkerchiefSticky IssueNo => Yes
2010-04-15 02:35FootkerchiefSummary0000070 still occurs on 0.31.03 => 0000070, negative distance to building materials, still occurs on 0.31.03
2010-04-18 18:47Khym ChanurIssue Monitored: Khym Chanur
2010-04-20 06:04HazelrahBLIssue Monitored: HazelrahBL
2010-04-23 14:37FootkerchiefNote Added: 0004775
2010-04-23 14:44FootkerchiefNote Edited: 0004775bug_revision_view_page.php?bugnote_id=0004775#r1652
2010-04-24 11:18FootkerchiefRelationship addedrelated to 0001319
2010-05-03 18:43FootkerchiefRelationship addedparent of 0001104
2010-06-06 02:46Toady OneRelationship replacedrelated to 0001104
2010-06-06 02:48Toady OneNote Added: 0007778
2010-06-06 02:48Toady OneStatusnew => resolved
2010-06-06 02:48Toady OneFixed in Version => 0.31.06
2010-06-06 02:48Toady OneResolutionopen => fixed
2010-06-06 02:48Toady OneAssigned To => Toady One
2010-06-06 09:37FootkerchiefSticky IssueYes => No
2010-06-09 06:45Toady OneStatusresolved => closed
2010-06-09 07:56FootkerchiefStatusclosed => resolved
2010-06-11 12:09Khym ChanurIssue End Monitor: Khym Chanur
2010-06-12 17:26HazelrahBLIssue End Monitor: HazelrahBL
2011-03-28 02:33FootkerchiefRelationship addedrelated to 0004372

Notes
(0003435)
oliver   
2010-04-14 03:14   
Oh, that's a nice Mantis display bug in the summary there!
(0003437)
oliver   
2010-04-14 03:17   
Save just after the problem happened: http://s3test.randomly.org/df/1137/region2-negative-distances-again.zip [^]

Save from the start of the season: http://s3test.randomly.org/df/1137/region2-sum-51-negative-distances-again.zip [^]
(0003438)
oliver   
2010-04-14 03:19   
To reproduce:

Load the first save listed above.
Designate the four brook tiles immediately south of the moat for channelling, wait for some channelling to happen.
Try to build a wall somewhere, get negative distances to shale.
(0003570)
oliver   
2010-04-14 16:08   
Footkerchief - what's the update you need here? (per tag)
(0003576)
Footkerchief   
2010-04-14 16:41   
Oh, my bad, I think I was just using that to watch this report for additional comments... originally there was a reason I used that tag instead of hitting Monitor, but I think I'm using them interchangeably now. I should probably stop.
(0004775)
Footkerchief   
2010-04-23 14:37   
(edited on: 2010-04-23 14:44)
I managed to reproduce it with your instructions on 2 of 3 attempts.

(0007778)
Toady One   
2010-06-06 02:48   
This should be fixed for 0.31.06. It didn't like the water sitting in there in advance and got confused about the level components.