Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002828Dwarf FortressPathfindingpublic2010-07-25 10:462012-02-21 07:48
Syndic 
Footkerchief 
normalmajorhave not tried
resolvedno change required 
0.31.11 
 
0002828: dwarves don't find a path if they have to walk over a ramp
I had a situation where the only path back to the rest of the fort for my mason would lead over a row of ramps to the level below. Said ramps were useable, the miner ran up and down them without any problems. The mason just stood there, getting thirsty... hungry... dehydrated... then I told him to build a floor over one of the ramp tiles, he did that, and scampered off to the booze stockpile.
dig a row of ramps over a hallway, get one dwarf stuck on one side and give him reason to try to get to the other side
just noticed 31.12 is out, but the forum thread doesn't say anything about pathfinding so I assume the bug will still exist there.
No tags attached.
duplicate of 0001765resolved Footkerchief Ramps without an adjacent wall are unusable 
Issue History
2010-07-25 10:46SyndicNew Issue
2010-07-25 10:47SyndicNote Added: 0010981
2010-07-25 11:19Logical2uNote Added: 0010986
2010-07-25 11:32FootkerchiefNote Added: 0010989
2010-07-25 11:35FootkerchiefNote Edited: 0010989bug_revision_view_page.php?bugnote_id=0010989#r4283
2010-07-25 12:03SyndicNote Added: 0010998
2010-07-25 12:04SyndicNote Edited: 0010998bug_revision_view_page.php?bugnote_id=0010998#r4290
2010-07-25 12:04SyndicNote Edited: 0010998bug_revision_view_page.php?bugnote_id=0010998#r4291
2010-07-25 12:05SyndicNote Edited: 0010998bug_revision_view_page.php?bugnote_id=0010998#r4292
2010-07-25 12:09SyndicNote Edited: 0010998bug_revision_view_page.php?bugnote_id=0010998#r4295
2010-07-26 02:23SyndicNote Added: 0011063
2010-07-26 05:56FootkerchiefNote Added: 0011070
2010-07-26 06:20UntelligentNote Added: 0011072
2010-07-26 06:20UntelligentNote Edited: 0011072bug_revision_view_page.php?bugnote_id=0011072#r4311
2010-07-26 06:21UntelligentNote Edited: 0011072bug_revision_view_page.php?bugnote_id=0011072#r4312
2010-07-26 12:39SyndicNote Added: 0011092
2010-07-26 12:56FootkerchiefNote Added: 0011096
2010-07-26 12:56FootkerchiefStatusnew => resolved
2010-07-26 12:56FootkerchiefResolutionopen => no change required
2010-07-26 12:56FootkerchiefAssigned To => Footkerchief
2010-07-26 12:56FootkerchiefNote Edited: 0011096bug_revision_view_page.php?bugnote_id=0011096#r4327
2012-02-21 07:48FootkerchiefRelationship addedduplicate of 0001765

Notes
(0010981)
Syndic   
2010-07-25 10:47   
hmm, this might not be 100% clear... the ramps lead to the level below, but the dwarf should have pathed to the same level, just on the other side of the row of ramps
(0010986)
Logical2u   
2010-07-25 11:19   
Can you upload some screenshots or make a diagram of how your ramps were laid out? Sometimes you can end up with seemingly buggy configurations.
(0010989)
Footkerchief   
2010-07-25 11:32   
(edited on: 2010-07-25 11:35)
Also, when a dwarf gets stuck, do they remain stuck after a save/load?

Were you building or removing any ramps/walls/floors nearby when the mason got stuck? If not, then he shouldn't have pathed there, regardless of whether the ramps were unusable. It's possible you accidentally created a one-way ramp, although I don't know whether that bug is still around: http://df.magmawiki.com/index.php/40d:One-way [^]

(0010998)
Syndic   
2010-07-25 12:03   
(edited on: 2010-07-25 12:09)
The setup was as follows:

X wall
_ floor
V downward ramp (with a wall on the southern end, so not free-floating ramps)
O Dwarf

XXXXXXX
X_____X
X__O__X
X_____X
XVVVVVX
X_____X
X_____X

With the rest of the Fort down here. As far as I can tell, this isn't a setup that should allow a one-way ramp. I didn't try saving and loading, and yes I was constructing walls there at the time to clean up my layout.

As an added note, my miner just failed to path back up a different ramp after digging - he dug the ramp, then dug a tunnel down there, then didn't get back up. Not sure if that's related or a separate bug though. I wasn't constructing anything near said miner at the time.

/edit since the font isn't unispace

/edit2 for clarification on new issue: The miner would've had to use single-tile ramps, my multi-tile ramps in other parts of the fortress (including the one that trapped the mason) work fine for going up and down...

(0011063)
Syndic   
2010-07-26 02:23   
update: (at least single-tile) Ramps seem to have trouble with pathfinding indeed... my mason just starved after blocking his only non-ramp path by constructing a screw pump from the wrong side >_>

layout:

X wall
_ floor
V downward ramp
P Screwpump (blocking tile)
O Dwarf (standing on non-blocking tile of screwpump)


X_X
X_X
XPX
XOX
XVX
XXX

There was a way to the rest of the fortress by going down that ramp, then going up again someplace else (both by ramp or stairs - I had built stairs after my miner got trapped down there)
(0011070)
Footkerchief   
2010-07-26 05:56   
Just to make sure: you've checked that all your ramps are supported properly? http://df.magmawiki.com/index.php/Ramp#Using_Ramps [^]
(0011072)
Untelligent   
2010-07-26 06:20   
(edited on: 2010-07-26 06:21)
For clarification: is there a wall on the NORTH side of the ramps (in the first picture)?

For example, if your ramps look like this from the side


_____...__O___
####V_______


Won't work. Has to be a wall on the side of the ramp you're going up or down. You can have as many walls as you want adjacent to a ramp, though, and you can use the ramp to traverse any of them.

(0011092)
Syndic   
2010-07-26 12:39   
oh... then that was the issue. stupid me. should've visualized it better. there was no wall on the southern side, no.

The issue with single-tile ramps was the same. please close this >_>
(0011096)
Footkerchief   
2010-07-26 12:56   
Alright, cool. The game really should do a better job of telling you whether a ramp is unusable... might be worth making a suggestion.