View Issue Details

IDProjectCategoryView StatusLast Update
0007284Dwarf FortressDwarf Mode -- Jobs, Assignment of Jobspublic2014-08-20 13:58
ReporterCommando Alex Assigned ToToady One  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformLaptopOSWindows 8.1 
Product Version0.40.03 
Fixed in Version0.40.10 
Summary0007284: Lag when dwarves stuck in a tree get a strange mood
DescriptionA dwarven child withdrew from society, he wandered around outside as I had no craftswarf workshops yet. Thus I built one, and it was claimed by the child, strange thing though, he claimed it from the top left of the map, outside, on top of a tree. I ignored it at first due to it not affecting me other than rendering a workshop and dwarf unusable, (As he would not climb down to claim items, and the workshop says he has claimed it, but does not say what he wants, possibly nothing)it soon after caused a massive fps drop. After unpause the graphical and tick fps dropped steadily to 3, upon pausing it returns to 100(42) at the same rate as it dropped.
Steps To ReproduceThis might be hard to reproduce as it's determined by the random strange moods.

1) Get Dwarven Child to have a strange mood.
2) Build Workshop.
3) Child claims workshop from outside of it.
4) Enjoy extreme lag.

Optional: Have a two biomes on some map, one being mountain?
Additional InformationThe strange mood is listed in Jobs (j).
Menus browse at normal speed.
Path finding issue?
TagsNo tags attached.

Relationships

related to 0006549 new Fortress unretirement causes lag / slowness with military usage 
related to 0006970 resolvedToady One Strange mood items are teleported into the workshop 
related to 0003869 assigneduser6 Drop in FPS when moody dwarf can't path to workshop 
has duplicate 0007373 resolveduser6 Strange mood in tree will tank FPS 
has duplicate 0007706 resolveduser6 FPS tanks when a Fey Mood dwarf can't path to workshop they've claimed 
has duplicate 0007737 resolveduser6 Dwarf stuck in tree kills FPS 
related to 0008698 confirmeduser6 Dwarf entering a strange mood when isolated (e.g. on a stepladder) causes severe lag 
related to 0008734 resolvedlethosor Strange mood blocked dwarf makes FPS drops significantly. 
related to 0008324 new Imprisoned Were-creature brings FPS to crawling hold 

Activities

user6

2014-07-14 11:25

  ~0026342

Please upload a save that demonstrates the problem to http://dffd.wimbli.com/ and post the link here.

Commando Alex

2014-07-14 11:37

reporter   ~0026344

Here you go: http://dffd.wimbli.com/file.php?id=8968

It might not be the child, but something is causing it.

Commando Alex

2014-07-14 12:09

reporter   ~0026351

I cut down the tree after about 20 minutes, and it turns out the solution is to brutally murder the kid, he died when he hit the ground and fps went to about 28(28).

Robsoie

2014-07-16 10:53

reporter   ~0026643

Last edited: 2014-07-16 10:53

I ran into a similar problem some days ago, though it does not seem related to moods but to some pathfinding problem happening for dwarves in trees that are unable to get back from them.

I pierced down to the 1st caverns in which there was a giant lake covered with several giant fungus working exaclty like trees on surface.

For reason i don't know, one of my dwarves decided to jump out on a fungus top that was just at 1 tile of distance + 1 below my stairs, despite there was nothing to do there.

The dwarf then stayed there, obviously unable to go back (as he would need to jump up 1 tile on top of 1 tile toward my stairs) and while it wasn't in a mood, the dwarf being stuck there completely destroyed the framerate to probably 1 frame every 10 seconds !

Unfortunately before i could save the game (pressed escape but DF didn't reacted to it), DF crashed, i guess the problem was too too severe at that point for stability.

Cerbsen

2014-08-18 11:00

reporter   ~0029237

I just downloaded the save and did some testing.

1) Cut down the tree, the child hit the ground and started to claim a workshop. Fps went up to 100.

2) Dug a channel around the tree, removed the ramps, sealed the channel and build a floor tile above the channel.
   After felling the tree and removing the floor tile the child hit the ground and was stunned. While stunned the fps went up to 100 and as soon as he woke up the fps went down to 11.
   As soon as you rebuild the floor the child starts to claim the workshop and fps goes up to 100.

Save with the child stuck on his "island"
http://dffd.wimbli.com/file.php?id=9432

So a dwarf with a strange mood unable to reach the desired workshop causes massive lag, being stuck in a tree is just a bonus.

Issue History

Date Modified Username Field Change
2014-07-14 11:24 Commando Alex New Issue
2014-07-14 11:25 user6 Note Added: 0026342
2014-07-14 11:25 user6 Assigned To => user6
2014-07-14 11:25 user6 Status new => feedback
2014-07-14 11:37 Commando Alex Note Added: 0026344
2014-07-14 11:37 Commando Alex Status feedback => assigned
2014-07-14 12:09 Commando Alex Note Added: 0026351
2014-07-14 22:05 user6 Relationship added related to 0006549
2014-07-14 22:10 user6 Relationship added related to 0006970
2014-07-16 08:07 user6 Summary Dwarven Child Strange Mood Causes Unplayable Lag => Lag when dwarves stuck in a tree get a strange mood
2014-07-16 08:08 user6 Relationship added has duplicate 0007373
2014-07-16 10:53 Robsoie Note Added: 0026643
2014-07-16 10:53 Robsoie Note Edited: 0026643
2014-07-29 07:05 user6 Relationship added has duplicate 0007706
2014-07-30 08:35 user6 Relationship added has duplicate 0007737
2014-08-08 09:04 user6 Status assigned => confirmed
2014-08-14 10:31 user6 Relationship added related to 0003869
2014-08-18 11:00 Cerbsen Note Added: 0029237
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-01-04 09:07 user6 Relationship added related to 0008698
2015-01-12 14:26 lethosor Relationship added related to 0008734
2017-05-06 14:34 lethosor Relationship added related to 0008324