RynthSuite - MIT, for the original Asheron's Call client. Public source snapshot (one commit per release). Includes RynthOracle, a port of Oracle of Dereth by Advis Eveldan (MIT) - see its THIRD_PARTY_NOTICES.md. https://aelrynth.com/projects.html#rynth
  • C# 98.3%
  • Lua 1.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Wallace 2e8258b079 RynthAi: a refused combat mode change is not a sent request
ChangeCombatModeFor called host.ChangeCombatMode, began a paced action only on
success, and then returned true either way. BuffManager and the Combat stance
paths read that true as a sent request: they advanced their attempt clocks,
counted a failed try and logged a retry. With the engine turning non-teardown
actions away around a teleport or a death, chained refusals could reach
NoWandFlipMaxFails and set _magicModeBlocked / _wandSwapExhausted.

- ChangeCombatModeFor returns false on a refusal, without Begin. The other
  *For helpers already return the host result. The no-ChangeCombatMode host
  case still returns true (nothing to send or pace).
- Callers stamp their bookkeeping only on true: BuffManager peace-for-kit
  paths (_lastCastAttempt, _healWaitKind); CorpseOpenController's peace
  before an open and MissileCraftingManager's peace before the first combine
  are asked again until accepted, inside their 2.5 s ceiling counted from the
  first ask; the stuck-stance clocks (BuffManager, CombatManager) start only
  once a stance request has gone out; ExpressionEngine's cast-stance flip
  throttle; the CombatManager stall-watchdog toggle, whose ladder step is
  taken back (CombatStallWatchdog.Unfire) when the toggle is refused.
- ActionPacer tracks a streak of consecutive engine refusals (one log line
  when it starts, one when an accepted call ends it). After
  EngineRefusalFailOpenMs (30 s) ChangeCombatModeFor returns true again, so a
  permanent refusal (missing hook, full ring) is counted by the callers' own
  failure paths instead of retrying forever. A gap of more than RefuseGapMs
  (10 s) starts a new streak; Reset() and Forget() end it.
- ActionPacer.LastEngineRefusalMs: a refusal newer than a stuck-stance
  clock's start restarts that clock, so a request accepted and then dropped
  by a teleport does not end in a re-equip UseObject on the wielded weapon.

Tests: FakeHost.CombatModeRefuse; ActionPacingTests (refusals burn no try or
backoff, streak, fail-open, expiry and Forget, stuck clock restart, 20 s
no-wand loop never reaches _magicModeBlocked, peace-before-open retry,
MissileCraftingManager), WeaponTests (equip pass keeps its backoff),
CombatHookTests, CombatStallWatchdogTests (Unfire).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 17:35:42 -07:00
.github/workflows 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
Plugins RynthAi: a refused combat mode change is not a sent request 2026-10-12 17:35:42 -07:00
Shared Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
Tools RynthAi: a refused combat mode change is not a sent request 2026-10-12 17:35:42 -07:00
.gitignore RynthSuite as of 2026-09-05 (internal a5ff5c2) 2026-09-25 21:23:05 -04:00
BUILD.md 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
LICENSE RynthSuite as of 2026-09-05 (internal a5ff5c2) 2026-09-25 21:23:05 -04:00
README.md RynthAi: monster rule Priority 0 means never attacked 2026-10-12 17:34:34 -07:00
RynthSuite.slnx 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
THIRD-PARTY-NOTICES.md 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

RynthSuite

RynthCore-based plugins and tools for Asheron's Call. Requires RynthCore — a .NET 10 NativeAOT injection framework for the AC client.


Plugins

RynthAi

A combat and navigation assistant for Asheron's Call, ported from the legacy NexTank/NexSuite codebase. Runs as an ImGui overlay inside the AC client via RynthCore. (Project history: originally named NexSuite.)

Features (in progress):

  • ImGui dashboard with live health/mana/stamina display
  • Navigation engine with waypoint routing (VTank .nav format)
  • Nav marker overlay rendered in-world
  • World object cache (creature tracking, inventory classification)
  • Line-of-sight raycasting using AC .dat geometry
  • Buff manager, combat manager, spell database (embedded vtank spelldump)
  • Missile crafting manager
  • Meta file parser/writer (.met) with expression engine and quest tracker
  • Loot evaluation, salvage manager, inventory management
  • Dungeon pathfinder, jumper, mana stone manager

Chat commands (in-game):

Command Description
/na cache Show creature and inventory cache summary
/na cache2 Show raw inventory GUIDs for diagnostics
/na cast <spellId> Cast a spell at current target
/na raycast Show raycast system status
/na lostest Run line-of-sight test against current target

Monster rules

Each row of the monster profile (edited in Tools/RynthCore.MonsterEditor) applies to the monsters whose name contains the row's Name (and whose Match expression is true, when one is set); the Default row applies to the rest. The P column is the row's Priority:

  • Higher Priority is fought first. When a monster of a higher Priority is in range, lower-priority monsters wait.
  • Priority 0 (or less) means IGNORE. RynthAi never picks the monster as a target and does not count it as "a monster nearby": it does not hold up navigation, looting, buffing, resting, or the idle peace-mode switch. Use it for monsters that are not worth the time (for example an Olthoi Grub row at Priority 0). A Default row at 0 ignores every monster no other row names.
  • Priority 0 means never attacked, even if it attacks you. There is no automatic exception: an ignored monster that hits you is still never targeted. The HP failsafe (Emergency Heal At) still protects you, and you can raise the row's Priority if a monster needs fighting.
  • Meta conditions that count monsters by name or distance (NoMonstersWithinDistance, MobsInDist_Priority, name-count) are explicit conditions you wrote and still see ignored monsters.

Tools

Cross-platform Avalonia editors built on the shared LootSdk. These target net10.0 (no -windows suffix) and run on Windows, Linux, and macOS.

  • Tools/RynthCore.LootEditor — Avalonia loot rule editor for VTank-format .utl profiles
  • Tools/RynthCore.MonsterEditor — Avalonia monster profile editor
  • Tools/RynthCore.LootSdkTests — LootSdk test harness

Shared

  • Shared/RynthCore.LootSdk — clean-room VTank loot profile parser/writer + MaterialTypes + SalvageCombineSettings + AC game enums. net10.0, fully cross-platform.

Requirements

  • RynthCore built and deployed to C:\Games\RynthCore\
  • .NET 10 SDK (x86) for the plugin (NativeAOT)
  • .NET 10 SDK for the tools (any platform)
  • Asheron's Call client installed at C:\Turbine\Asheron's Call\ (for raycasting .dat access)
  • RynthCore cloned at C:\Projects\RynthCore\ (sibling to this repo) — project references resolve there

Building

Plugin

cd Plugins\RynthCore.Plugin.RynthAi
dotnet publish -c Release

The publish target copies the output DLL automatically to RynthCore's engine Plugins\ folder.

Tools

cd Tools\RynthCore.LootEditor
dotnet build -c Release

(Same for MonsterEditor and LootSdkTests.)

For the full plugin build/deploy story see BUILD.md.

Project Structure

RynthSuite/
├── Plugins/
│   └── RynthCore.Plugin.RynthAi/         The plugin (NativeAOT x86)
│       ├── Combat/                       World object cache, buff/combat/spell
│       │                                  managers, monster matcher, missile
│       │                                  crafting, fellowship tracker
│       ├── CreatureData/                 Creature profile store
│       ├── LegacyUi/                     ImGui dashboards ported from NexTank
│       │                                  (radar, monsters, nav, weapons,
│       │                                   chat, advanced settings, dungeon
│       │                                   map)
│       ├── Loot/                         Inventory + loot + salvage managers
│       ├── Maps/                         Dungeon map texture loader
│       ├── Meta/                         .met file parser/writer, expression
│       │                                  engine, quest tracker
│       ├── Raycasting/                   .dat geometry loader, LOS engine
│       ├── PluginExports.cs              NativeAOT unmanaged exports
│       └── RynthAiPlugin.cs              Plugin entry point
├── Shared/
│   └── RynthCore.LootSdk/                Cross-platform loot profile SDK
├── Tools/
│   ├── RynthCore.LootEditor/             Avalonia loot rule editor
│   ├── RynthCore.LootSdkTests/           LootSdk test harness
│   └── RynthCore.MonsterEditor/          Avalonia monster profile editor
└── Docs/                                 Code reviews + Chorizite gap analysis

License

MIT — see LICENSE.