ACE sends "The scroll is destroyed." before the return-to-ready animation and
the UseDone after it (Scroll.ActOnUse, Player.TryUseItem); in a client log they
were ~0.7 s apart, and the next read went ~0.8 s after the UseDone.
- The first UseDone after a read's send is that read's. The next read goes
250 ms after it; with no UseDone seen, 1.5 s after the read's end as before.
- The stance restore goes at the last read's UseDone when no scroll is pending,
instead of 3.5 s after the read; a pending scroll keeps the settle wait.
- Tests: ReadGapFromUseDone, StanceRestoredAtLastUseDone.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A corpse use sent between the salvage UST use and the salvage execute is swallowed
by the client, and the corpse loop then waits for an open that never comes.
- SalvageManager.PanelPending: the UST was used and the execute is not sent yet
(main cycle and the combine sweep).
- Corpse open waits while it is true, with the claim's timeout clock stopped, and
logs the wait once.
- UseAudit.WorldUseHold: automatic door/corpse uses are held (logged HELD, return
false) while RynthAi says so; uses the player asks for are never held. Cleared
by Reset; RynthAi wires it at init and clears it at shutdown.
- Test: LootPacingTests (panel pending 20 s: no corpse use, claim kept, auto world
use held; after the execute the corpse opens).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Using a scroll puts the character in Peace. ScrollLearner remembers the mode from
before the first read of a run (Melee/Missile/Magic, Peace Mode When Idle off) and
requests it once, 3.5 s after the last read ends, through ChangeCombatModeFor (pacing,
busy wait, 3 tries). Dropped when the tick is not safe (fight/buff), or another
subsystem already changed the mode.
Review fixes:
- A restore more than 15 s after the settle time is dropped (death/vendor/buff holds, a stuck busy).
- The main-hand weapon is recorded at the first read; a different one cancels the restore (ACE reverts
a mode the weapon does not fit).
- Only a request that went out counts toward the 3-request cap; pacer holds are retried.
- Peace Mode When Idle is re-checked each tick; the macro-stop close logs only from Peace; logs name modes.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A snapshot of the working tree for aelrynth.com/git/: the code, build files
and public docs. Internal review notes and agent instructions are left out.
MIT licensed; see LICENSE.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>