View Issue Details

IDProjectCategoryView StatusLast Update
0002828Dwarf FortressPathfindingpublic2012-02-21 07:48
ReporterSyndic Assigned Touser6 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionno change required 
Product Version0.31.11 
Summary0002828: dwarves don't find a path if they have to walk over a ramp
DescriptionI 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.
Steps To Reproducedig 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
Additional Informationjust noticed 31.12 is out, but the forum thread doesn't say anything about pathfinding so I assume the bug will still exist there.
TagsNo tags attached.

Relationships

duplicate of 0001765 resolveduser6 Ramps without an adjacent wall are unusable 

Activities

Syndic

2010-07-25 10:47

reporter   ~0010981

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

Logical2u

2010-07-25 11:19

manager   ~0010986

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.

user6

2010-07-25 11:32

  ~0010989

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

Syndic

2010-07-25 12:03

reporter   ~0010998

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

Syndic

2010-07-26 02:23

reporter   ~0011063

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)

user6

2010-07-26 05:56

  ~0011070

Just to make sure: you've checked that all your ramps are supported properly? http://df.magmawiki.com/index.php/Ramp#Using_Ramps

Untelligent

2010-07-26 06:20

reporter   ~0011072

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

Syndic

2010-07-26 12:39

reporter   ~0011092

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 >_>

user6

2010-07-26 12:56

  ~0011096

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

Issue History

Date Modified Username Field Change
2010-07-25 10:46 Syndic New Issue
2010-07-25 10:47 Syndic Note Added: 0010981
2010-07-25 11:19 Logical2u Note Added: 0010986
2010-07-25 11:32 user6 Note Added: 0010989
2010-07-25 11:35 user6 Note Edited: 0010989
2010-07-25 12:03 Syndic Note Added: 0010998
2010-07-25 12:04 Syndic Note Edited: 0010998
2010-07-25 12:04 Syndic Note Edited: 0010998
2010-07-25 12:05 Syndic Note Edited: 0010998
2010-07-25 12:09 Syndic Note Edited: 0010998
2010-07-26 02:23 Syndic Note Added: 0011063
2010-07-26 05:56 user6 Note Added: 0011070
2010-07-26 06:20 Untelligent Note Added: 0011072
2010-07-26 06:20 Untelligent Note Edited: 0011072
2010-07-26 06:21 Untelligent Note Edited: 0011072
2010-07-26 12:39 Syndic Note Added: 0011092
2010-07-26 12:56 user6 Note Added: 0011096
2010-07-26 12:56 user6 Status new => resolved
2010-07-26 12:56 user6 Resolution open => no change required
2010-07-26 12:56 user6 Assigned To => user6
2010-07-26 12:56 user6 Note Edited: 0011096
2012-02-21 07:48 user6 Relationship added duplicate of 0001765