Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0008543Dwarf FortressAdventure Mode -- Movementpublic2014-11-12 23:062020-01-19 21:25
x86_64Arch LinuxRolling
0008543: Climbing still affected by "stunned" status after indicator disappears
Proficient Climber 990/1000 with Superdwarven Strength, Agility, Toughness, Endurance, Willpower, Spatial Sense, and Kinesthetic Sense.

When entering the cavern level he could climb up a 50 z-level wall and back down without falling once and was a Novice Swimmer 16/600. After becoming a Legendary Swimmer 1075/2200, he can only climb 1 z-level after which any attempted movement or hold change results in a fall.

Character was created with High or Above Average for the attributes listed above and a has achieved Legendary in 9 other skills.
http://dffd.wimbli.com/file.php?id=10061 [^]

Load save, press: 'h a shift+5 a shift+5 a'

Will now be Flying and In Flight with option to grab wall which can be done (b).

Press 'shift+5' then 'a' again and will now be In Flight again but one level down.

(Nothing is written to either log file.)
My guess would be that his attributes are now high enough to cause an overflow in the climbing calculation.

Getting Climbing skill up to Talented seems to fix it and he is able to climb like a monkey again.
adventurer, Climbing, stunned
Issue History
2014-11-12 23:06ZiusudraNew Issue
2014-11-12 23:21ZiusudraNote Added: 0030965
2014-11-12 23:23ZiusudraNote Edited: 0030965bug_revision_view_page.php?bugnote_id=0030965#r12290
2014-11-12 23:25ZiusudraNote Edited: 0030965bug_revision_view_page.php?bugnote_id=0030965#r12291
2014-11-13 04:30QuietustNote Added: 0030966
2014-11-13 06:24FootkerchiefNote Added: 0030969
2014-11-13 06:24FootkerchiefStatusnew => resolved
2014-11-13 06:24FootkerchiefResolutionopen => no change required
2014-11-13 06:24FootkerchiefAssigned To => Footkerchief
2014-11-14 07:08FootkerchiefStatusresolved => needs feedback
2014-11-14 07:08FootkerchiefResolutionno change required => reopened
2014-11-14 15:41ZiusudraNote Added: 0030995
2014-11-14 15:41ZiusudraStatusneeds feedback => assigned
2014-11-15 00:55ZiusudraNote Added: 0030998
2014-11-15 08:13FootkerchiefNote Added: 0031000
2014-11-15 08:16FootkerchiefSummaryBuff adventurer can barely climb => Climbing still affected by "stunned" status after indicator disappears
2014-11-15 15:04ZiusudraNote Added: 0031007
2014-11-15 15:49ZiusudraNote Edited: 0031007bug_revision_view_page.php?bugnote_id=0031007#r12306
2014-11-15 15:57ZiusudraNote Edited: 0031007bug_revision_view_page.php?bugnote_id=0031007#r12307
2014-11-15 16:23ZiusudraNote Edited: 0031007bug_revision_view_page.php?bugnote_id=0031007#r12308
2014-11-19 15:52ZiusudraNote Added: 0031084
2017-03-05 02:46ZiusudraNote Edited: 0031084bug_revision_view_page.php?bugnote_id=0031084#r14643
2017-03-05 02:48ZiusudraTag Attached: adventurer
2017-03-05 02:48ZiusudraTag Attached: Climbing
2017-03-05 02:48ZiusudraTag Attached: stunned
2017-06-08 18:43HuntthetrollIssue Monitored: Huntthetroll
2020-01-19 21:25ZiusudraNote Added: 0039669
2020-02-04 19:43ZiusudraNote Edited: 0039669bug_revision_view_page.php?bugnote_id=0039669#r16231

2014-11-12 23:21   
(edited on: 2014-11-12 23:25)
Wait, it's because he's drowsy? That seems a little extreme.

But, yeah, sleeping until he's not drowsy allows him to climb normally.

(I thought I'd tried that previously.)

2014-11-13 04:30   
Being Drowsy (or Hungry or Thirsty) causes a significant reduction in all skill levels.
2014-11-13 06:24   
Thanks for the update -- yeah, that seems intentional for now, even if it's a little extreme.
2014-11-14 15:41   
Load up the save I posted, sleep for 9 hours, eat, and drink. He's now not drowsy, thirsty, or hungry, but still can't climb.

Kill DF, load the save again, sleep for at least 16 hours. Now he can climb all over the place while quite thirsty and hungry.

Kill DF, load the save again, sleep for 8 hours, eat, drink, sleep another 8 hours, eat, drink. Can climb normally and not drowsy, thirsty, or hungry. Explore until drowsy again and he can still climb.

So, sleeping for at least 16 hours does fix it, but once that's done I haven't yet been able to get him back to the state where he can't climb.
2014-11-15 00:55   
I got to the point that the Drowsy indicator was yellow and could still climb without falling.

So I decided that wasn't it and slept for 8 hours and when he woke up the problem was back. It was then that I noticed something. If you load the save I posted and sleep for anything less than 16 hours he is stunned when he wakes up.

So it seems that if he wakes up stunned, even once the stunned status goes away, then any attempt at climbing with the In Air status fails.

Falling when attempting to climb while stunned would make sense. So, maybe the stunned status isn't getting completely cleared.
2014-11-15 08:13   
Can you determine if the stunned status is affecting all skills, or just climbing?
2014-11-15 15:04   
(edited on: 2014-11-15 16:23)
It is not affecting swimming, swimming speed is the same if he woke up stunned or not. Swimming speed is reduced while actually stunned.

I can probably check weapon (parry), shield, dodge, and maybe knapping but it'll be a while before I can get to where I can try those.


The effective skill level of Block and Dodge, displayed for aimed attacks, are reduced while stunned but are not once it goes away. So it seems to not affect them.

It seems to not affect knapping.

The displayed effective skill level for parry is better than the actual skill level. So, not affected?

2014-11-19 15:52   
(edited on: 2017-03-05 02:46)
He doesn't have to sleep, just waiting for 1 hour restores the ability to climb.

Reproducible in 0.43.05 with a new character with all stats above-average and GMaster climer as only skill.

2020-01-19 21:25   
(edited on: 2020-02-04 19:43)
Reproduced in 0.44.12 and new 0.47.01 world.