View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001068 | Dwarf Fortress | Pathfinding | public | 2010-04-12 21:52 | 2015-12-11 23:48 |
Reporter | Greyhawk | Assigned To | Toady One | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Platform | Windows | OS | Vista | OS Version | sp1 |
Product Version | 0.31.03 | ||||
Fixed in Version | 0.42.03 | ||||
Summary | 0001068: Dwarves don't choose closest garbage dump (new in 0.31.03!) | ||||
Description | After playing 40d, 31.01 and 31.02 I have not seen this happen till now. Either a new issue or its far more pronounced now. Dwarves in my save are walking away from a garbage dump 6 tiles away from the stone and going some 60 tiles away (2 z-levels down even). See below for link to save in action. | ||||
Steps To Reproduce | Having several garbage dumps on different levels and designating dump on many stones. | ||||
Additional Information | http://dffd.wimbli.com/file.php?id=2085 | ||||
Tags | dumping, pathfinding, Z axis | ||||
|
I thought for a moment that it just gives higher priority to dumps near pits than those not near pits, but I was mistaken. Still chooses farther dumps even after I got rid of all garbage dumps near pits. |
|
Afair that isn't new, I realized that in 40d and only use one garbage dump at a time since. |
|
This did happen in 40d when the dumps where differnt levels but closer in range ignoring z levels. The simplified pathfinding most likely is to put less strain on the cpu for mundane tasks. Is this the case here? |
|
This bug really puts a damper on my 'garbage chute' idea, with a vertical tunnel that has a dwarven atom smasher at the bottom. All the dwarves run down the stairs to bottom-most pit (1 z-level above the DAS) and toss their stones into that, rather than the one that the stone was next to, 11 z-levels above :( |
|
I'm seeing this in 0.40.03: I created a garbage dump zone by some stones that I wanted removed, inside the fortress. I marked the stones for dumping. The dwarves proceeded to take the stones outside and dump them in a hole (not declared as a pit). |
|
Awaiting a save from 0.40.06+. |
|
Save from 0.40.8: http://dffd.wimbli.com/file.php?id=9399 |
|
@Footkerchief. See save above. |
|
Thanks! |
|
I understand the frustration with Z levels, but it's hard to calculate those distances quickly -- if I deal with that, it'll be part of a large pathing rewrite that has to account for central stairwells in some special way. Are there any saves where this occurs with the horizontal distances? The original report indicates there were, unless they meant 30 tiles over and 30 tiles back. |
|
Would it not be possible to simply say, for each garbage dump, get distX + distY + distZ, and return the closest? It would ignore walls, and it would be somewhat messy, but it [should] work in a way that's a lot cleaner than how it works now (ignoring z-levels entirely). |
|
It doesn't ignore Z levels entirely. That's why I'm asking. |
|
Ah, misunderstood then, apologies. |
|
I went ahead and messed around with the job z-calcs a bit, enough to address this problem (I think). Hopefully I didn't break anything else. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-04-12 21:52 | Greyhawk | New Issue | |
2010-04-12 22:08 | Greyhawk | Tag Attached: dumping | |
2010-04-12 22:36 | Greyhawk | Note Added: 0003205 | |
2010-04-12 22:57 | Greyhawk | Note Edited: 0003205 | |
2010-04-13 17:57 | udontknowme | Note Added: 0003346 | |
2010-04-13 18:00 | Cryten | Note Added: 0003347 | |
2010-04-13 18:01 | Cryten | Tag Attached: Z axis | |
2010-04-28 18:16 | Logical2u | Relationship added | has duplicate 0001621 |
2010-04-28 18:16 | Logical2u | Relationship deleted | has duplicate 0001621 |
2010-06-08 02:04 | philomory | Note Added: 0007917 | |
2010-06-08 05:47 |
|
Relationship added | related to 0001554 |
2014-07-23 00:47 | lightman | Note Added: 0027293 | |
2014-08-11 09:27 |
|
Assigned To | => user6 |
2014-08-11 09:27 |
|
Status | new => confirmed |
2014-08-11 09:30 |
|
Note Added: 0028803 | |
2014-08-11 09:30 |
|
Status | confirmed => feedback |
2014-08-15 01:29 | Kirkegaard | Note Added: 0029080 | |
2014-08-18 16:07 | Kirkegaard | Tag Attached: pathfinding | |
2014-09-13 13:54 | Kirkegaard | Note Added: 0030175 | |
2014-09-13 14:51 |
|
Note Added: 0030177 | |
2014-09-13 14:51 |
|
Status | feedback => assigned |
2015-12-10 15:34 | Toady One | Note Added: 0033748 | |
2015-12-10 15:34 | Toady One | Assigned To | user6 => Toady One |
2015-12-10 15:34 | Toady One | Status | assigned => feedback |
2015-12-10 15:37 | Toady One | Note Edited: 0033748 | |
2015-12-10 16:21 | Talvieno | Note Added: 0033750 | |
2015-12-10 16:21 | Talvieno | Note Edited: 0033750 | |
2015-12-11 21:34 | Toady One | Note Added: 0033792 | |
2015-12-11 23:16 | Talvieno | Note Added: 0033793 | |
2015-12-11 23:48 | Toady One | Note Added: 0033794 | |
2015-12-11 23:48 | Toady One | Status | feedback => resolved |
2015-12-11 23:48 | Toady One | Fixed in Version | => Next Version |
2015-12-11 23:48 | Toady One | Resolution | open => fixed |