Commit graph

22 commits

Author SHA1 Message Date
Daniel Wallace
88502d4efa Recast a buff at a higher level once one becomes castable
The buff level comes from the live buffed skill (SpellManager.ComputeTier over
BuffMinSkillLevelTier1..8) and the spellbook. Inside a force or batch run a family
cast earlier in the run read active, so Creature Enchantment Mastery, Focus and
Willpower cast at the level the skill allowed before they landed stayed there for
the whole run; between passes a failed upgrade could arm the landed-tier cap and
lose the upgrade until the plugin reloaded.

- In a run, a family already cast reads active only while the level castable now is
  not strictly higher than the level the run CONFIRMED for it; a higher level is cast
  again right away (after the priority buffs). Never lower.
- The attempted tier kept since load is written on confirmation, so a fizzled or refused
  upgrade is cast again at the next opportunity, in the run or on the next pass.
- No try cap, and no rest after a fizzle, a client refusal or a no-show; a server mana or
  component refusal still rests the family as it does for any buff. Casting thresholds
  are consistent, so the bot keeps trying until it lands. Pacing stays: a client-refused cast waits
  SpellCastIntervalMs, and a fizzled upgrade is sent once per server answer, never
  while one is unanswered.
- While the pending cast is an upgrade, the registry counts the family as landed only
  when its entry moved (a later expiry, or the pending level or higher). A late "You
  cast" line for a lower level, or one the cast tracker credits to an earlier send,
  does not confirm the pending upgrade.
- An upgrade's no-show is never a silent-no-show strike, a 30 min park or a
  blacklist entry, so the lower level it was cast over is still recast when it runs low.
- One "[Buff] upgrade: <buff> level a -> b" line per cast that replaces an active
  lower level (BuffUpgrades counts them), at the same effective level IsBuffActive
  uses: refreshing an Incantation that lands a level low is not an upgrade.
- A scroll read that teaches a spell ("The scroll is destroyed.") makes the next buff
  check read the spellbook at once.
- Integrates with the mana reserve hold (BuffWaitsForMana): the hold runs first, on
  the upgrade's own spell id, so an upgrade that would leave mana under the reserve
  is not sent, counted or logged; Stamina to Mana goes and the upgrade follows.

Tests: in-run order, next-pass upgrade with equal-level and lower-skill controls,
the scroll case, fizzle and refusal retries (run, next pass, heartbeat, client
refusal pacing), registry no-shows, late lines, no park on no-shows (self and item
spells), and an upgrade held by the mana reserve (fails with the hold disabled).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 17:14:02 -07:00
Daniel Wallace
36565dca33 Buff order priority, unusable-buff filter, Force Buff button and /ra buff
- Life Magic Mastery joins Creature Enchantment Mastery, Focus and Willpower at the
  head of the buff list (all four raise casting skill or mana); the rest keeps its order.
- A mastery for an untrained skill is never cast.
- New setting SkipUnusableBuffs (default on; profile, bridge, copy, settings map, UI)
  leaves out the weapon enchantments the character has no use for: Blood Drinker /
  Heart Seeker / Swift Killer without a melee or missile weapon (listed or in hand),
  Spirit Drinker / Hermetic Link without a wand (listed, in hand, or the pack wand
  buffing would wield when WieldUnlistedWandWhenNoneListed is on), Defender without
  either. Unclassifiable listed items filter nothing; no cache means no filtering;
  ammo is no weapon. The weapon kit is cached for 1 s and rebuilt when the Items
  list, the unlisted-wand setting or the cache changes.
- Skipped buffs are reported once per run (Force Rebuff or the automatic batch),
  grouped by reason and capped at 5 names per reason, printed when the content
  changes or every 30 s, in chat and the log, in /ra buff skipped, and on the
  Buffing settings page.
- Force Buff and Cancel buttons on the Buffing settings page, and /ra buff
  force|cancel|skipped, both reusing the existing queued Force Rebuff request
  (FR button, /ra forcebuff).

Tests: priority order, force suite vs idle, skill and weapon filters (pack wand,
wielded weapons, ammo, unclassified items), visibility, the setting, and the
/ra buff command handler.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 16:55:11 -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
fe1eca0ca7 Snapshot for release 2026.10.12.2 (internal 2dd3d00) 2026-10-12 08:27:29 -04: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
e6fffb0f42 Snapshot for release 2026.10.9.3 (internal 8c6b770) 2026-10-09 21:42:40 -04:00
0daf0a44a3 Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
e5950ddb04 Snapshot for release 2026.10.7.2 (internal caaf7ea) 2026-10-07 13:13:36 -04:00
26907e6ab1 Snapshot for release 2026.10.7.1 (internal 2a9c773) 2026-10-07 12:54:26 -04:00
bf702ebc67 Snapshot for release 2026.10.6.3 (internal f2255d0) 2026-10-06 15:03:24 -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
53438c65c1 RynthSuite as of 2026-10-05 (internal 8b7d487): navigation no longer stalls after doorway turns, faster target and attack, corpses used from a distance and closed after looting, patrol wall clearance, add-to-loot-profile from an item, WCID loot rules, scroll and slayer fixes, release 2026.10.5.1 2026-10-05 08:03:08 -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
c33e24a610 RynthSuite as of 2026-09-27 (internal 0a2fb99): looting waits for item names and types, release 2026.9.27.3 2026-09-27 21:18:57 -04:00
d55ffda4ed RynthSuite as of 2026-09-27 (internal 1816d05): AutoVendor (UtilityBelt port), missile/magic facing and arc line of sight, nav waypoint skipping, rebuff batch and item-enchant fixes, crafting fallback, Loot Editor AutoVendor folder and command-line open, release 2026.9.27.2 2026-09-27 20:25:46 -04:00
a19ee1904e RynthSuite as of 2026-09-27 (internal e52ccc8): Damage tab learns only from fightable creatures
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 00:26:18 -04:00
385eeed138 RynthSuite as of 2026-09-26 (internal 55483fb): metaf Not, crafting from the world database (Prismatic first), heal stall fix, use hints
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 23:15:37 -04:00
bc0d4338f3 RynthSuite as of 2026-09-26 (internal 7590e56): no caster combat without War/Void Magic; /ub usei finds carried items
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 14:20:14 -04:00
0a4b611a90 RynthSuite as of 2026-09-05 (internal a5ff5c2)
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>
2026-09-25 21:23:05 -04:00