Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002828Dwarf FortressPathfindingpublic2010-07-25 10:462012-02-21 07:48
ReporterSyndic 
Assigned ToFootkerchief 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusresolvedResolutionno change required 
PlatformOSOS Version
Product Version0.31.11 
Target VersionFixed in Version 
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.
Attached Files

- Relationships
duplicate of 0001765resolvedFootkerchief Ramps without an adjacent wall are unusable 

-  Notes
(0010981)
Syndic (reporter)
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 (manager)
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 (manager)
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 (reporter)
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 (reporter)
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 (manager)
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 (reporter)
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 (reporter)
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 (manager)
2010-07-26 12:56
edited on: 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 Footkerchief Note Added: 0010989
2010-07-25 11:35 Footkerchief Note Edited: 0010989 View Revisions
2010-07-25 12:03 Syndic Note Added: 0010998
2010-07-25 12:04 Syndic Note Edited: 0010998 View Revisions
2010-07-25 12:04 Syndic Note Edited: 0010998 View Revisions
2010-07-25 12:05 Syndic Note Edited: 0010998 View Revisions
2010-07-25 12:09 Syndic Note Edited: 0010998 View Revisions
2010-07-26 02:23 Syndic Note Added: 0011063
2010-07-26 05:56 Footkerchief Note Added: 0011070
2010-07-26 06:20 Untelligent Note Added: 0011072
2010-07-26 06:20 Untelligent Note Edited: 0011072 View Revisions
2010-07-26 06:21 Untelligent Note Edited: 0011072 View Revisions
2010-07-26 12:39 Syndic Note Added: 0011092
2010-07-26 12:56 Footkerchief Note Added: 0011096
2010-07-26 12:56 Footkerchief Status new => resolved
2010-07-26 12:56 Footkerchief Resolution open => no change required
2010-07-26 12:56 Footkerchief Assigned To => Footkerchief
2010-07-26 12:56 Footkerchief Note Edited: 0011096 View Revisions
2012-02-21 07:48 Footkerchief Relationship added duplicate of 0001765


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker