Commit graph RynthSuite/Plugins/Shared
Author SHA1 Message Date
Daniel Wallace
bbc000f10b Buff chain: no fast-path buff right after a movement call
With FastBuffChain on, a buff went out 50 ms after a nav StopCompletelyBy: the fast path
skips the animation gate, and the motion the stop starts was still playing on the client.

MoveAudit now counts every movement call routed through it that reaches the client
(MovementSends: a start, a stop, a turn, or a held stop sent by FlushPendingStops). Jumps
and movement other plugins send on their own (RynthNav, RynthLua) do not go through
MoveAudit and are not counted. BuffCastChain records the count when a buff goes out, and
Eligible refuses the fast path when it has changed since. While a held stop is still
waiting to be sent (MoveAudit.HasPendingStop) the fast path is refused too: CastSpellFor
would flush that stop inside the fast-path cast itself, after the count the chain compares.
The next buff then takes the normal path, which waits on the animation gate (GestureHolds)
as every buff did before the chain. Nothing else reads the count, so no other MayStart
caller changes. MovementWaits (counted once per buff) is in the chain's Describe line.

Tests: 50 ms after a nav stop, and after a nav turn, the next buff waits for the animation
and goes once it is over, not on the fast path; stops held while the buff was unanswered
keep the next buff off the fast path; the same sequence with no movement takes the fast
path (control). The stop, turn and held-stop checks fail with their guard disabled.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 17:14:02 -07:00
Daniel Wallace
1643835c7c Chain buff casts on the server's UseDone instead of the recoil animation
In a buff pass every buff waited on the animation gate (ActionPacer.GestureHolds and
CastGateWatchdog, both the client's motion queue) after the server's UseDone for the
previous buff, about 550 ms per buff. ACE clears IsBusy just before that UseDone and
takes the next cast at once.

BuffCastChain lets the next buff skip only the animation gate when the last action
RynthAi sent was its own buff cast, the very next UseDone after it is UseDone(0) and
the last one, it was seen under 1.5 s ago, the character is in Magic stance and no
vital is under any line (the mana reserve included). A buff that would need Stamina
to Mana first (the reserve) drops the fast path, so Stamina to Mana goes out on a
gated tick. The pacer's outstanding-action gate, the pending cast, the
server-resolution wait, the busy count, the cast interval, the mana floor and the
too-busy backoff all stay. Buff items and rations wait for a gated tick.

Refusals during buffing are counted as running totals since load (client: CastSpell false;
server: an error in the buff's UseDone; too-busy lines), logged one line each, and
summed up at the end of each pass. Any refusal of a fast-path cast turns the fast
path off for the rest of that pass.

Setting FastBuffChain (Advanced settings, metas), default on.

Tests also cover the reserve: mana left under it, and mana over it but under it once
the next buff is paid, both wait for the recoil before Stamina to Mana goes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 16:55:11 -07:00
3c4f093e3d Snapshot for release 2026.10.12.1 (internal 8d252bd) 2026-10-12 00:33:13 -04:00
504a6f080a Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
26907e6ab1 Snapshot for release 2026.10.7.1 (internal 2a9c773) 2026-10-07 12:54:26 -04:00
dafd6084a7 Snapshot for release 2026.10.6.2 (internal e3a94cf)
Faster weapon switches; T11 loot support (by SilentKelpie, rynth/RynthSuite PR #3).
2026-10-06 11:21:16 -04:00
5416e8066a Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
6847868401 RynthSuite as of 2026-10-05 evening (internal a078b8e): release 2026.10.5.20 - healing delay fixes, stuck-cast safeguards, buffs over items, slayers recognised and chosen first, recover my corpse, /ub give and /mt give, Mana Tap skips wands, dungeon floor-plan bake, heal latency log 2026-10-05 14:59:43 -04:00
12ca25f911 RynthSuite as of 2026-10-04 (internal c94715f): RynthOracle (based on Oracle of Dereth by Advis Eveldan) and RynthInventory, RynthAi patrol doorways and rooms, healing priority, strict monster priority, finish the wounded target, slayer weapons, arcs when clear, blasts like rings, learn unknown spells, looting fixes, release 2026.10.4.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:34:29 -04:00