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>
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>