Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001319Dwarf FortressPathfindingpublic2010-04-18 21:112012-04-11 13:07
Lemunde 
Toady One 
normalminorrandom
resolvedfixed 
0.31.03 
0.31.07 
0001319: Pathfinding problems after lowest cavern layer is breached
So I struck adamantine(hurray!) and my dwarves gathered most of it and placed it in a stock pile. But there's a little bit left over that they won't touch for some reason. I ordered them to dump it and they won't do that either. This is the type of adamantine that's sitting in the middle of a magma sea. I can only guess that some of it get's flagged as permanently forbidden because it's so close to the magma.

Also I managed to get some water in there to turn the surrounding magma into obsidian so I could get to more adamantine. As before it worked for most of it but there's still some left over.
This seems to happen randomly to certain pieces of raw adamantine in tight spaces around magma. I've played previous games where this didn't happen. Could be specific to 31.03 due to the path finding fix.
Adamantine
related to 0001137resolved Toady One 0000070, negative distance to building materials, still occurs on 0.31.03 
related to 0001254resolved Toady One When cavern is breached, web collection pathfinding spams with "unable to find path" 
parent of 0001381resolved Toady One Stairs/Ramps through HFS in the magma layer halts pathfinding (dug out areas too hot for dwarves?) 
parent of 0001467resolved Toady One Broken pathfinding on demonic tower 
parent of 0001845resolved Toady One Miners stuck in adamatine pipe. 
has duplicate 0002103closed Footkerchief Digging out adamantine breaks pathing, even in .04 
has duplicate 0002303resolved Footkerchief Awkward adamantine pathing 
has duplicate 0001711resolved Footkerchief Miners Won't Path When Magma in Tunnel 2 Z-levels Below 
has duplicate 0001506resolved Footkerchief Dwarves return to lowest z level 
related to 0003873resolved Dwarfu dwarves will stop pathing through stairs in obsidan 
related to 0004420new  Dwarf refuses to dig 
related to 0006033resolved Footkerchief Areas once covered in magma seemingly not being cleared for pathfinding across 
Issue History
2010-04-18 21:11LemundeNew Issue
2010-04-18 21:57FootkerchiefNote Added: 0004182
2010-04-19 16:52LemundeNote Added: 0004279
2010-04-19 16:54LemundeNote Edited: 0004279bug_revision_view_page.php?bugnote_id=0004279#r1431
2010-04-19 16:56LemundeNote Edited: 0004279bug_revision_view_page.php?bugnote_id=0004279#r1432
2010-04-19 18:37FootkerchiefNote Added: 0004289
2010-04-19 18:37FootkerchiefIssue Monitored: Footkerchief
2010-04-19 18:44FootkerchiefNote Edited: 0004289bug_revision_view_page.php?bugnote_id=0004289#r1441
2010-04-19 18:56FootkerchiefRelationship addedrelated to 0001267
2010-04-19 19:11FootkerchiefNote Edited: 0004289bug_revision_view_page.php?bugnote_id=0004289#r1442
2010-04-19 19:12FootkerchiefNote Edited: 0004289bug_revision_view_page.php?bugnote_id=0004289#r1443
2010-04-20 19:33FootkerchiefSummaryDwarves won't store or dump specific pieces of raw adamantine. => Dwarves won't use stairs in adamantine
2010-04-20 19:34FootkerchiefRelationship addedparent of 0001381
2010-04-20 19:36FootkerchiefCategoryDwarf Mode -- Items => Pathfinding
2010-04-23 14:28FootkerchiefRelationship addedparent of 0001467
2010-04-23 14:38FootkerchiefSticky IssueNo => Yes
2010-04-23 16:39LacTag Attached: Adamantine
2010-04-24 00:11Khym ChanurIssue Monitored: Khym Chanur
2010-04-24 00:48FootkerchiefRelationship deletedrelated to 0001267
2010-04-24 06:51Pickled TinkNote Added: 0004876
2010-04-24 11:18FootkerchiefRelationship addedrelated to 0001137
2010-04-27 10:46FishofMuuNote Added: 0005359
2010-04-27 12:00DoctorZuberNote Added: 0005367
2010-04-27 12:51FootkerchiefNote Added: 0005374
2010-04-27 12:51FootkerchiefNote Edited: 0005374bug_revision_view_page.php?bugnote_id=0005374#r1924
2010-04-27 13:37DoctorZuberNote Added: 0005385
2010-04-27 14:32FootkerchiefSummaryDwarves won't use stairs in adamantine => Pathfinding problems after lowest cavern layer is breached
2010-04-27 14:33FootkerchiefRelationship addedrelated to 0001254
2010-04-30 10:26FootkerchiefRelationship addedparent of 0001655
2010-05-07 08:27drunkenNote Added: 0006357
2010-05-07 08:33drunkenNote Added: 0006360
2010-05-07 08:33drunkenIssue Monitored: drunken
2010-05-07 11:20DoctorZuberNote Added: 0006370
2010-05-07 22:55drunkenNote Added: 0006396
2010-05-12 12:24FootkerchiefRelationship addedparent of 0001845
2010-05-15 07:37JumppNote Added: 0006716
2010-05-15 17:01ShidoniNote Added: 0006740
2010-05-15 20:13immibisNote Added: 0006743
2010-05-15 21:32ShidoniNote Added: 0006746
2010-05-19 06:06GeekthrasNote Added: 0007013
2010-05-20 18:08Tamara13Note Added: 0007107
2010-05-25 08:06zerglNote Added: 0007323
2010-05-28 23:32FootkerchiefRelationship addedhas duplicate 0002103
2010-05-29 18:48zerglNote Added: 0007473
2010-05-29 18:48zerglIssue Monitored: zergl
2010-05-29 19:02FootkerchiefNote Added: 0007474
2010-06-03 15:09quintiliusNote Added: 0007639
2010-06-11 04:48Toady OneRelationship deletedparent of 0001655
2010-06-11 04:52Toady OneNote Added: 0008130
2010-06-11 05:22Toady OneStatusnew => resolved
2010-06-11 05:22Toady OneFixed in Version => 0.31.07
2010-06-11 05:22Toady OneResolutionopen => fixed
2010-06-11 05:22Toady OneAssigned To => Toady One
2010-06-11 07:38FootkerchiefSticky IssueYes => No
2010-06-11 12:07Khym ChanurIssue End Monitor: Khym Chanur
2010-06-13 12:59FootkerchiefRelationship addedhas duplicate 0002303
2011-01-06 13:57FootkerchiefRelationship addedrelated to 0003873
2011-03-10 05:16drunkenIssue End Monitor: drunken
2011-07-09 14:51DwarfuRelationship addedrelated to 0004420
2012-03-29 16:24FootkerchiefRelationship addedhas duplicate 0001711
2012-03-29 16:24FootkerchiefIssue Monitored: Khym Chanur
2012-04-11 10:55FootkerchiefRelationship addedhas duplicate 0001506
2012-04-11 10:55FootkerchiefIssue Monitored: dree12
2012-04-11 13:07dree12Issue End Monitor: dree12
2012-06-18 10:48FootkerchiefRelationship addedrelated to 0006033

Notes
(0004182)
Footkerchief   
2010-04-18 21:57   
Definitely need a save for this one. http://dffd.wimbli.com/ [^]
(0004279)
Lemunde   
2010-04-19 16:52   
(edited on: 2010-04-19 16:56)
I went ahead and uploaded a save. The bugged adamantine is to the north of the magma furnaces. There's a floor hatch covering it now but it was like this long before I put it there. Miners won't dig some of the adamantine there either, even the ones that aren't warm.

Also I dumped some magma over some of the adamantine that wasn't being moved and after they melted I got job cancellation messages saying job item destroyed. So it's like they wanted to go get it but couldn't for some reason.

http://dffd.wimbli.com/file.php?id=2167 [^]

(0004289)
Footkerchief   
2010-04-19 18:37   
(edited on: 2010-04-19 19:12)
Oh, I'm going to guess it was a stockpile that had "claimed" the adamantine for hauling jobs, but the jobs had gotten suspended somehow. If that's the case, there should be a whole bunch of hauling jobs in the job list. I'm downloading the save now.

edit: I guessed wrong. It appears to be some kind of pathing issue. I have no clue why they won't dig there.

(0004876)
Pickled Tink   
2010-04-24 06:51   
I have something similar happening in a fort I'm playing. I just killed almost all the HFS in a controlled cave in (Nailed over a hundred of the bastards), but now the stairs down are impassable. Furthermore, when trying to tile over them with floors, I get impossible distances to materials. For example: -19000 tiles to my diorite. Actually, a lot of things have gone wrong there.

Screenshot:

http://img153.imageshack.us/img153/3649/pathshortage.png [^]

Save:

http://dffd.wimbli.com/file.php?id=2218 [^]
(0005359)
FishofMuu   
2010-04-27 10:46   
Same thing with my dwarves. They won't go back down to retrieve the mined out stone, despite it being marked for dumping, nor will they go down and mine more. Seems as though dwarves will dig down into adamantine once, but won't return ever again, as though adamantine floors are considered taboo, or something.
(0005367)
DoctorZuber   
2010-04-27 12:00   
are there any constructed up/down staircases involved?
Is one of them placed on a floor tile?

constructed Up/Down stairs placed on a floor tile have problems pathing down. To fix it remove the stair, and channel the floor tile out. once done you can replace the up/down stair and it should work correctly.

Also when adding stairs below, if there's an object (like raw adamantine ore) in the way below that can't be moved (because you can't path to it for example) you won't be able to connect an up/down stair in that tile until you get down there some other way and remove the obstructions.
(0005374)
Footkerchief   
2010-04-27 12:51   
DoctorZuber: I checked out Lemunde's save and there was nothing weird going on with the stairs, IIRC. Also, Pickled Tink mentioned negative distances, which always means that connectivity is in an inconsistent state (as opposed to merely not linking up in the expected way).

(0005385)
DoctorZuber   
2010-04-27 13:37   
okay, well it was an idea, the stair connectivity is mostly an issue that carries over from 40d with minor changes because you can now attach stairs a z-level down in open space.

So we may have another pathfinding behavior here huh? Be good to try to isolate this one further.
(0006357)
drunken   
2010-05-07 08:27   
I have this issue with the added bonus that my legendary miner is now stuck down there and I can't get him out. I dug an extra down stair in the hope that he would go down and continue mining and he did, but then he couldnt come back up. So the -dig down stair, dig attached up stair- path connected fine but the walking up and down path is failing. The interesting thing is that it is triggered by something rather than simply a rising from a certain configuration. When the miner cut the first set of stairs and mined some by them he was able to come back up fine, but then the stairs became unuseable at some later time. With the second stairs he spent longer down there and the path broke while he was there.

Don't know if any of my blathering helps but I am not going to be able to play this fortress till a solution is found as I don't want to lose the miner, so I hope we can work on this
(0006360)
drunken   
2010-05-07 08:33   
Tested removing and rebuilding a stair and no change, in addition the miner who built the stair cannot deconstruct it even though he is directly on it
(0006370)
DoctorZuber   
2010-05-07 11:20   
need to be able to stand adjacent to a stair to deconstruct it. if you're in a 1x1 staircase you can't remove it yourself.
(0006396)
drunken   
2010-05-07 22:55   
all 8 adjacent tiles are mined, they each have and adamantine block in them
(0006716)
Jumpp   
2010-05-15 07:37   
I've got another save exhibiting the problem.

http://dffd.wimbli.com/file.php?id=2353 [^]

The adamantine in question is six floors below the view when you resume play.
(0006740)
Shidoni   
2010-05-15 17:01   
I'm experiencing this problem as well. I decided to construct a new up stair in the vein to try to force the game to re-compute the pathfinding, as other people had reported some success with that. Now I've had three masons in a row stand in the "accessible" area, trying to build a staircase in the "inaccessible" tile next to it, and just working until they became thirsty/went on break. They also keep lying down (tan background); I'm not sure whether masons constructing stairs normally do that or not, but I've never seen it before. The stair has been marked "Construction nearly done" the whole time. I'm sure this is related.
(0006743)
immibis   
2010-05-15 20:13   
The easiest way to force the game to recompute pathfinding is to save and reload. If that doesn't work, then...
(0006746)
Shidoni   
2010-05-15 21:32   
Saving and reloading hasn't worked either. I suppose that means I should stop bothering with the stairs.
(0007013)
Geekthras   
2010-05-19 06:06   
This seems to also occur in 31.04. The entire lowest excavated level of the adamantine tube as well as one square on the level above that one are inaccessible.
(0007107)
Tamara13   
2010-05-20 18:08   
I've gotten this bug too, and the only way I've seen to 'fix' it is to dig channels (IE, ramps) down into the adamantine instead of stairs. For some reason, ONLY the 'natural' ramps will allow entrance and egress into a certain layer of the tube, building a constructed ramp or replacing the natrual one you removed will be the same as a staircase.

However, this doesn't help much if you've already excavated all the space in the tube, especially since they're pretty cramped to begin with.
(0007323)
zergl   
2010-05-25 08:06   
I've encountered the same problem with the save I've uploaded for a different bug (http://www.bay12games.com/dwarves/mantisbt/view.php?id=1940 [^]):
http://www.wikifortio.com/791077/region2.7z [^]

The adamantine on z-level 85 (a few z-levels below the F2 zoom hotkey and a bit to the south) is inaccessible, despite being definitely reachable (1x down stairs, 3x up/down stairs).

Persists over saves and mucking about with ramps etc. functions as a workaround iirc.

No burrows assigned to any of the miners (only one burrow exists, solely for stay inside alert purposes which is not currently active).

To recreate the pathing problem from that save, just designate a raw adamantine only stockpile anywhere and watch how nobody picks the adamantine up or designate any adjacent tiles to the lowest up/down staircase (the z-levels above that get successfully designated and hauled away) for digging (there's a bunch of other digging zones designated but iirc lower z-level tends to take priority and after removing all of the other digging designations it still won't get mined).
(0007473)
zergl   
2010-05-29 18:48   
I think I might have run into the same pathing error again in my current fort.

Are additional savegames still wanted for debugging this problem before I upload it for nothing?
(0007474)
Footkerchief   
2010-05-29 19:02   
Looks like we've already got 4 saves for this report, so that's probably enough.
(0007639)
quintilius   
2010-06-03 15:09   
ok - here's what i did and it resolved it... having found this thread only after i'd build stairs into an adamantine column i decided on a large engineering project to move water, cover the area in obsidian, and build out enough space to get down. I was doing fine with this - though i did notice that the newly mined obsidian space needed it's own path (the dorfs seem to think there's an invisible wall between the previously hollowed out space and the new space... which made it a bit more complicated)... but it all resolved itself magically when some of the water poured down the stairs and hit the area below... suddenly all my little buddies were scurrying down the stairs to pick up ore
(0008130)
Toady One   
2010-06-11 04:52   
Yeah, that would work -- there was a problem with the fluid pathing flags being cleared when it placed features over magma/water areas, and flushing the area out would reset them. I'm going to have 0.31.07 repair the maps as it loads them, and new maps won't have the problem either. I'll mark off this and the child issues as soon as I've checked more of the saves.