RynthSuite/Tools
Repository files (latest commit first)
Filename Latest commit message Latest commit 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
..
RynthCore.AutoVendorTests Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
RynthCore.CreatureSeed RynthSuite as of 2026-09-05 (internal a5ff5c2) 2026-09-25 21:23:05 -04:00
RynthCore.DatReaderCheck 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
RynthCore.LootEditor Snapshot for release 2026.10.7.2 (internal caaf7ea) 2026-10-07 13:13:36 -04:00
RynthCore.LootSdkTests Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
RynthCore.LosProof 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 2026-10-04 18:34:29 -04:00
RynthCore.MissileArcTests 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 2026-10-04 18:34:29 -04:00
RynthCore.MonsterEditor Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
RynthCore.PatrolProof Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
RynthCore.RynthAiHostTests Recast a buff at a higher level once one becomes castable 2026-10-12 17:14:02 -07:00
RynthCore.RynthAiTests Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
RynthCore.TrackerSessionTests Snapshot for release 2026.10.7.1 (internal 2a9c773) 2026-10-07 12:54:26 -04:00
RynthILT.Tests Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
RynthInventory.Tests Snapshot for release 2026.10.9.3 (internal 8c6b770) 2026-10-09 21:42:40 -04:00
RynthLua.CompatTests Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
RynthLua.ScriptWindowsTests Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
RynthNav.Baker Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
RynthNav.GraphTests Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
RynthNav.PortalGraph 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 2026-10-04 18:34:29 -04:00
RynthNav.RouteTests Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
RynthNav.TownNet 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 2026-10-04 18:34:29 -04:00
RynthOracle.QuestPackGen 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 2026-10-04 18:34:29 -04:00
RynthOracle.Tests 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 2026-10-04 18:34:29 -04:00
RynthSort.Tests Snapshot for release 2026.10.12.1 (internal 8d252bd) 2026-10-12 00:33:13 -04:00
gen-ammo-recipes.py RynthSuite as of 2026-09-26 (internal 55483fb): metaf Not, crafting from the world database (Prismatic first), heal stall fix, use hints 2026-09-26 23:15:37 -04:00
Run-RynthAiTests.ps1 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 2026-10-04 18:34:29 -04:00