View Issue Details

IDProjectCategoryView StatusLast Update
0001319Dwarf FortressPathfindingpublic2012-04-11 13:07
ReporterLemunde Assigned ToToady One  
PrioritynormalSeverityminorReproducibilityrandom
Status resolvedResolutionfixed 
Product Version0.31.03 
Fixed in Version0.31.07 
Summary0001319: Pathfinding problems after lowest cavern layer is breached
DescriptionSo 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.
Steps To ReproduceThis 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.
TagsAdamantine

Relationships

related to 0001137 resolvedToady One 0000070, negative distance to building materials, still occurs on 0.31.03 
related to 0001254 resolvedToady One When cavern is breached, web collection pathfinding spams with "unable to find path" 
parent of 0001381 resolvedToady One Stairs/Ramps through HFS in the magma layer halts pathfinding (dug out areas too hot for dwarves?) 
parent of 0001467 resolvedToady One Broken pathfinding on demonic tower 
parent of 0001845 resolvedToady One Miners stuck in adamatine pipe. 
has duplicate 0002103 closeduser6 Digging out adamantine breaks pathing, even in .04 
has duplicate 0002303 resolveduser6 Awkward adamantine pathing 
has duplicate 0001711 resolveduser6 Miners Won't Path When Magma in Tunnel 2 Z-levels Below 
has duplicate 0001506 resolveduser6 Dwarves return to lowest z level 
related to 0003873 resolveduser11 dwarves will stop pathing through stairs in obsidan 
related to 0004420 new Dwarf refuses to dig 
related to 0006033 resolveduser6 Areas once covered in magma seemingly not being cleared for pathfinding across 

Activities

user6

2010-04-18 21:57

  ~0004182

Definitely need a save for this one. http://dffd.wimbli.com/

Lemunde

2010-04-19 16:52

reporter   ~0004279

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

user6

2010-04-19 18:37

  ~0004289

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

Pickled Tink

2010-04-24 06:51

reporter   ~0004876

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

FishofMuu

2010-04-27 10:46

reporter   ~0005359

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.

DoctorZuber

2010-04-27 12:00

reporter   ~0005367

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.

user6

2010-04-27 12:51

  ~0005374

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

DoctorZuber

2010-04-27 13:37

reporter   ~0005385

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.

drunken

2010-05-07 08:27

reporter   ~0006357

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

drunken

2010-05-07 08:33

reporter   ~0006360

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

DoctorZuber

2010-05-07 11:20

reporter   ~0006370

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.

drunken

2010-05-07 22:55

reporter   ~0006396

all 8 adjacent tiles are mined, they each have and adamantine block in them

Jumpp

2010-05-15 07:37

reporter   ~0006716

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.

Shidoni

2010-05-15 17:01

reporter   ~0006740

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.

immibis

2010-05-15 20:13

reporter   ~0006743

The easiest way to force the game to recompute pathfinding is to save and reload. If that doesn't work, then...

Shidoni

2010-05-15 21:32

reporter   ~0006746

Saving and reloading hasn't worked either. I suppose that means I should stop bothering with the stairs.

Geekthras

2010-05-19 06:06

reporter   ~0007013

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.

Tamara13

2010-05-20 18:08

reporter   ~0007107

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.

zergl

2010-05-25 08:06

reporter   ~0007323

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).

zergl

2010-05-29 18:48

reporter   ~0007473

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?

user6

2010-05-29 19:02

  ~0007474

Looks like we've already got 4 saves for this report, so that's probably enough.

quintilius

2010-06-03 15:09

reporter   ~0007639

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

Toady One

2010-06-11 04:52

administrator   ~0008130

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.

Issue History

Date Modified Username Field Change
2010-04-18 21:11 Lemunde New Issue
2010-04-18 21:57 user6 Note Added: 0004182
2010-04-19 16:52 Lemunde Note Added: 0004279
2010-04-19 16:54 Lemunde Note Edited: 0004279
2010-04-19 16:56 Lemunde Note Edited: 0004279
2010-04-19 18:37 user6 Note Added: 0004289
2010-04-19 18:44 user6 Note Edited: 0004289
2010-04-19 18:56 user6 Relationship added related to 0001267
2010-04-19 19:11 user6 Note Edited: 0004289
2010-04-19 19:12 user6 Note Edited: 0004289
2010-04-20 19:33 user6 Summary Dwarves won't store or dump specific pieces of raw adamantine. => Dwarves won't use stairs in adamantine
2010-04-20 19:34 user6 Relationship added parent of 0001381
2010-04-20 19:36 user6 Category Dwarf Mode -- Items => Pathfinding
2010-04-23 14:28 user6 Relationship added parent of 0001467
2010-04-23 14:38 user6 Sticky Issue No => Yes
2010-04-23 16:39 Lac Tag Attached: Adamantine
2010-04-24 00:48 user6 Relationship deleted related to 0001267
2010-04-24 06:51 Pickled Tink Note Added: 0004876
2010-04-24 11:18 user6 Relationship added related to 0001137
2010-04-27 10:46 FishofMuu Note Added: 0005359
2010-04-27 12:00 DoctorZuber Note Added: 0005367
2010-04-27 12:51 user6 Note Added: 0005374
2010-04-27 12:51 user6 Note Edited: 0005374
2010-04-27 13:37 DoctorZuber Note Added: 0005385
2010-04-27 14:32 user6 Summary Dwarves won't use stairs in adamantine => Pathfinding problems after lowest cavern layer is breached
2010-04-27 14:33 user6 Relationship added related to 0001254
2010-04-30 10:26 user6 Relationship added parent of 0001655
2010-05-07 08:27 drunken Note Added: 0006357
2010-05-07 08:33 drunken Note Added: 0006360
2010-05-07 11:20 DoctorZuber Note Added: 0006370
2010-05-07 22:55 drunken Note Added: 0006396
2010-05-12 12:24 user6 Relationship added parent of 0001845
2010-05-15 07:37 Jumpp Note Added: 0006716
2010-05-15 17:01 Shidoni Note Added: 0006740
2010-05-15 20:13 immibis Note Added: 0006743
2010-05-15 21:32 Shidoni Note Added: 0006746
2010-05-19 06:06 Geekthras Note Added: 0007013
2010-05-20 18:08 Tamara13 Note Added: 0007107
2010-05-25 08:06 zergl Note Added: 0007323
2010-05-28 23:32 user6 Relationship added has duplicate 0002103
2010-05-29 18:48 zergl Note Added: 0007473
2010-05-29 19:02 user6 Note Added: 0007474
2010-06-03 15:09 quintilius Note Added: 0007639
2010-06-11 04:48 Toady One Relationship deleted parent of 0001655
2010-06-11 04:52 Toady One Note Added: 0008130
2010-06-11 05:22 Toady One Status new => resolved
2010-06-11 05:22 Toady One Fixed in Version => 0.31.07
2010-06-11 05:22 Toady One Resolution open => fixed
2010-06-11 05:22 Toady One Assigned To => Toady One
2010-06-11 07:38 user6 Sticky Issue Yes => No
2010-06-13 12:59 user6 Relationship added has duplicate 0002303
2011-01-06 13:57 user6 Relationship added related to 0003873
2011-07-09 14:51 user11 Relationship added related to 0004420
2012-03-29 16:24 user6 Relationship added has duplicate 0001711
2012-04-11 10:55 user6 Relationship added has duplicate 0001506
2012-06-18 10:48 user6 Relationship added related to 0006033