Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009383Dwarf FortressPathfindingpublic2015-12-18 17:312015-12-19 02:21
ReporterEwcongogamer 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformPCOSWindowsOS Version7 64bit
Product Version0.42.03 
Target VersionFixed in Version 
Summary0009383: Mining over z levels takes forever.
DescriptionIf you have a strip of mining designated to mine over multiple z levels the dwarfs mining will go from one level to another after only digging one spot. This causes it to take longer as the distance to between z levels is not calculated and delays mining.
Steps To Reproduce1. Have a fortress with a mining dwarf
2. Designate a strip of rocks to be mined out across z levels where the levels are all accessible.
3. Watch the Dwarf run between levels after each block mined.
Additional Informationhttp://dffd.bay12games.com/file.php?id=11513 [^]
Save file
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0034037)
Killzemallgod (reporter)
2015-12-18 19:44

Sounds like its more to do with pathfinding.
Might just be left to right then does top to bottom. all while doing the left most across z levels.
(0034041)
Ewcongogamer (reporter)
2015-12-18 20:36

if you do it all 4 directions it still jumps between z levels. need to add additional calculations?
(0034043)
PatrikLundell (reporter)
2015-12-19 01:17

This was introduced in late 0.40.X with the jobs overhaul. The "next tile to process" algorithm is fond of taking the geometrically closest tile regardless of travel distance, often resulting in running between levels if you're digging out two floors.

The work around is to make use of the job priorities introduced at the same time, i.e. designate the top level with a priority of e.g. 1, the next one down with 2, etc. For strip mining, that also has the advantage of not resulting in isolated islands you can't reach without building something to reach their tops, and also avoids cave-in accidents.
(0034045)
Detros (manager)
2015-12-19 02:21

In 0.42.03 there was "Tweaked how distance is calculated for certain jobs".

See 0001068:0033794, "Dwarves don't choose closest garbage dump (new in 0.31.03!)" which notes treatment of z-distance got changed recently.

- Issue History
Date Modified Username Field Change
2015-12-18 17:31 Ewcongogamer New Issue
2015-12-18 19:44 Killzemallgod Note Added: 0034037
2015-12-18 20:36 Ewcongogamer Note Added: 0034041
2015-12-19 01:17 PatrikLundell Note Added: 0034043
2015-12-19 02:21 Detros Note Added: 0034045


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker