Vitals: heal grace - a heal never waits more than 2 s on pending state #25
Loading…
Reference in a new issue
No description provided.
Delete branch "AwfulWaffle/RynthSuite:heal-grace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Independent: applies to main alone.
What went wrong in play
"Stuck in Healing": a healing kit got no result line, and for 8 s and more no vitals action followed, with the label reading Healing and nothing else healing. The character died. The kit wait's timeout was 8 s (
KitResultTimeoutMs = 8000). Several other holds could each park a heal for seconds on top of that: the character's animation, a busy count, the cast gate, and an unanswered item use.VirindiTank re-sends a kit every 100 ms until the server plays the heal motion (3 s at most), then waits up to 3 s for the result line. It never parks on the client's busy state.
The fix
ActionPacer.HealGraceMs(2000 ms) bounds what a heal under a heal line waits on:BuffManager.KitWaitVerdict):Files:
Combat/BuffManager.cs,Combat/CastGateWatchdog.cs,Shared/ActionPacer.cs, plus tests.How it was tested
Run from
Tools\RynthCore.RynthAiHostTests:The one failure is
map bake: 0x6346 from the real dats matches the plan already on disk. Pristine main fails it the same way: 1495 tests, 1494 passed, and that is the only failure.New tests:
HealGraceTests(10), which driveKitPendingend to end:StuckCastTests: its probe test is split into the non-heal doubling and the heal's capped probe.Scope and risk
KitResultTimeoutMsis now 3500 ms for healing and stamina kits.🤖 Generated with Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.