View Issue Details

IDProjectCategoryView StatusLast Update
0003869Dwarf FortressPathfindingpublic2024-09-06 08:05
ReporterKipi Assigned Touser6 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status assignedResolutionreopened 
OSWindowsOS Version7 
Product Version0.31.18 
Fixed in Version0.40.10 
Summary0003869: Drop in FPS when moody dwarf can't path to workshop
DescriptionI had a group of immigrants arriving, but they decide to appear to the map in location which has no access to the fortress due stream running between them and the entrance. One immigrant got moody soon after that, and I ordered the correct workshop to be built while waiting the bridge to get ready for migrants to get over the stream. At this point everything was normal, FPS was somewhere between 250 and 300, it's still young fortress after all.

Now, immediately after the workshop was ready the FPS dropped to between 30 and 40. The FPS stayed at those numbers to the point when the bridge was finally ready, and then it got straight back to the 300.

So, my conclusion is, if you have moody dwarf, and there is correct workshop but the dwarf can not reach it due block or something (in my case stream), the pathfinding goes wonky and the FPS gets major hit.
Steps To ReproduceHaven't tested this out yet but the steps could be the following:

1) Get moody dwarf
2) Block the path to the correct workshop with something (don't know if it must be land feature or if anything goes)
3) See the sudden drop of FPS
TagsNo tags attached.

Relationships

related to 0002945 new Animal trainer selects animal behind pet-impassable door, waits forever for animal to arrive at kennel 
has duplicate 0004153 resolveduser6 Trapped Moody Dwarf slows game 
has duplicate 0008002 resolveduser6 After Vampire Fey mood, simulation speed drops like a stone, 
has duplicate 0010573 resolvedLoci Moody dwarf tries to path through closed bridge 
has duplicate 0011383 resolvedLoci Trapped moody dwarf decimates FPS 
related to 0007284 resolvedToady One Lag when dwarves stuck in a tree get a strange mood 
related to 0010123 new Active soldier locked in a room will try to go to practice, fail to find a path, and kill FPS 
related to 0008698 confirmeduser6 Dwarf entering a strange mood when isolated (e.g. on a stepladder) causes severe lag 

Activities

Logical2u

2011-01-05 05:25

manager   ~0014791

Another example of pathfinding updates causing lag when items are inaccessible. Ostensibly also related to the better known 0001340 but 0002945 seems more relevant in this situation.

user6

2011-01-06 08:07

  ~0014801

Reminder sent to: Kipi

If you have a save demonstrating this problem, please upload it to http://dffd.wimbli.com/

What kind of mood does the dwarf have?

Logical2u

2011-12-10 09:29

manager   ~0019104

Without further updates I'm resolving this report. Also the relations to this report could also cover it.

thraxarious

2014-08-14 14:34

reporter   ~0029054

I have an referenced save to upload from 0008002, but for some reason dffd is being persnickety and won't let me upload. keeps giving me server erors no matter which browser.

thraxarious

2014-08-14 18:29

reporter   ~0029067

http://dffd.wimbli.com/file.php?id=9395

Relevant save file, log file fills with pathing errors, just fills.

path fail: dwarf,Strange Mood,136,96,109 -> 69,117,109: Id 0005291:Path Goal Set Mood Building:Station Milling

Vampire can't path out to a workshop so the game is constantly trying to find him a path. The constant runaway pathing lags the simulator down to a crawl.

It might make keeping vampires as bookkeepers or some other noble tricky, having a strange mood hit them. Worse yet becoming "insane" from failing it and not being able to die of thirst.

When released to craft, I dug down deep enough to get the needed components, he finished making the item and right away went to drain a dwarf before I could put him back.

user6

2015-05-01 12:46

  ~0032632

Reopened awaiting a save from Dwachs.

Dwachs

2015-05-02 05:53

reporter   ~0032633

Here is the savegame:

http://dffd.bay12games.com/file.php?id=10816

It is centered on the moody dwarf. She is walled-in due to were-infection, and thus cannot reach any craftdwarf's workshop. There are 3 present, but not reachable for her. FPS drops to 6. The FPS drop is also present while in were-form.

(In my game I waited until she transformed and went back to dwarf form, then opened a way to a workshop, where she eventually completed an artifact.)

Loci

2020-02-17 14:05

viewer   ~0040093

v0.47.03: Talvieno didn't post a save in 0011383:

http://dffd.bay12games.com/file.php?id=14816

Talvieno

2020-02-17 16:27

manager   ~0040095

Last edited: 2020-02-17 16:27

Loci - meant to post a save, but was in a rush at the time and forgot. Seems like you found it anyway though :)

arnaix

2024-09-05 14:57

reporter   ~0042338

Last edited: 2024-09-06 08:05

same issue with the same message in the error log: "Path Goal Set Mood Building:Station Milling"
In my case i dont have "any milling" builded
Version 50

Edit: solved, i block by accident a stair and that was the problem. I thought "station milling" reference to a millstone and i dont have one.

Add Note

Note

Issue History

Date Modified Username Field Change
2011-01-05 03:57 Kipi New Issue
2011-01-05 05:24 Logical2u Relationship added related to 0002945
2011-01-05 05:25 Logical2u Note Added: 0014791
2011-01-06 08:07 user6 Note Added: 0014801
2011-01-06 08:07 user6 Tag Attached: AWAITING UPDATE
2011-12-10 09:29 Logical2u Note Added: 0019104
2011-12-10 09:29 Logical2u Status new => resolved
2011-12-10 09:29 Logical2u Resolution open => unable to reproduce
2011-12-10 09:29 Logical2u Assigned To => Logical2u
2011-12-10 09:29 Logical2u Tag Detached: AWAITING UPDATE
2014-08-14 10:29 user6 Summary Moody dwarf causes major drop in FPS => Drop in FPS when moody dwarf can't path to workshop
2014-08-14 10:29 user6 Assigned To Logical2u => user6
2014-08-14 10:29 user6 Status resolved => confirmed
2014-08-14 10:30 user6 Relationship added has duplicate 0004153
2014-08-14 10:30 user6 Relationship added has duplicate 0008002
2014-08-14 10:31 user6 Relationship added related to 0007284
2014-08-14 14:34 thraxarious Note Added: 0029054
2014-08-14 18:29 thraxarious Note Added: 0029067
2014-08-14 18:35 user6 Resolution unable to reproduce => open
2014-08-20 13:58 Toady One Status confirmed => resolved
2014-08-20 13:58 Toady One Fixed in Version => Next Version
2014-08-20 13:58 Toady One Resolution open => fixed
2014-08-20 13:58 Toady One Assigned To user6 => Toady One
2015-05-01 12:46 user6 Assigned To Toady One => user6
2015-05-01 12:46 user6 Note Added: 0032632
2015-05-01 12:46 user6 Status resolved => feedback
2015-05-01 12:46 user6 Resolution fixed => reopened
2015-05-02 05:53 Dwachs Note Added: 0032633
2017-01-27 13:07 Loci Relationship added related to 0010123
2017-01-27 13:08 Loci Status feedback => assigned
2018-02-12 13:37 Loci Relationship added has duplicate 0010573
2018-02-12 13:39 Loci Relationship added related to 0008698
2020-02-17 14:03 Loci Relationship added has duplicate 0011383
2020-02-17 14:05 Loci Note Added: 0040093
2020-02-17 16:27 Talvieno Note Added: 0040095
2020-02-17 16:27 Talvieno Note Edited: 0040095
2024-09-05 14:57 arnaix Note Added: 0042338
2024-09-05 14:58 arnaix Note Edited: 0042338
2024-09-06 08:05 arnaix Note Edited: 0042338