RynthSuite/Plugins/RynthCore.Plugin.RynthAi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Wallace cf69899198 Plugin fixes: duplicate target requests, bounded name read, guarded exports
Selection: a selection change asked for an appraisal and a health query for every
object, and the dashboard asked for health again. The engine selects each
corpse it opens and each item it moves, so one object drew 4-6 identifies.
OnSelectedTargetChange now sends an identify only for a creature with no
cached appraisal (HasAppraisalData, else GetLastIdTime > 0) and a health
query only for creatures. The dashboard no longer queries health itself.
A target cached as Unknown (type not read yet) is undecided like an
uncached one: a corpse name ("Corpse of") rejects, the creature flag 0x10
accepts, a typed non-creature rejects, then ObjectIsAttackable decides, and
with nothing to go on it fails open.

Fellowship name read: FellowshipTracker.ReadPString read to a NUL with no bound. It now reads
at most 64 characters and never past the end of the probed region.

Exports: an exception escaping an UnmanagedCallersOnly export fail-fasts the
client under NativeAOT. The Shutdown exports of RynthAi, RynthNav, RynthNet,
RynthVision, RynthLua, RynthChat, RynthInventory, RynthOracle and
RynthTracker guard each step and log the error; the Name/Version exports of
RynthAi, RynthNav, RynthLua, RynthChat, RynthInventory, RynthNet,
RynthOracle, RynthTracker and RynthVision (a static initializer that throws
surfaces there) are wrapped.

Tests (PluginFixTests) with FakeHost QueryHealth and GetLastIdTime.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 17:35:42 -07:00
..
Combat Plugin fixes: duplicate target requests, bounded name read, guarded exports 2026-10-12 17:35:42 -07:00
CreatureData Snapshot for release 2026.10.12.1 (internal 8d252bd) 2026-10-12 00:33:13 -04:00
Data 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
ItemInfo Snapshot for release 2026.10.9.3 (internal 8c6b770) 2026-10-09 21:42:40 -04:00
LegacyUi Plugin fixes: duplicate target requests, bounded name read, guarded exports 2026-10-12 17:35:42 -07:00
Loot Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
Maps Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
Meta RynthAi: a refused combat mode change is not a sent request 2026-10-12 17:35:42 -07:00
Properties/PublishProfiles RynthSuite as of 2026-09-05 (internal a5ff5c2) 2026-09-25 21:23:05 -04:00
Raycasting 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
Trade Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
Vendor Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
ACTIVITY_ARBITER_PLAN.md RynthSuite as of 2026-09-05 (internal a5ff5c2) 2026-09-25 21:23:05 -04:00
ActivityArbiter.cs 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
ActivityInterface.cs Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
CombatHookInterface.cs RynthAi: stuck-cast breaker, no re-send into a busy server, recovery retry, HP failsafe 2026-10-12 17:35:42 -07:00
ConsumableLookup.cs Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
CorpseOpenController.cs RynthAi: a refused combat mode change is not a sent request 2026-10-12 17:35:42 -07:00
DoorInteractionController.cs Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
DungeonGeometry.cs 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
DungeonHazardStore.cs Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
DungeonHazardSurfaces.cs Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
DungeonPathfinder.cs Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
DungeonPathfinder.Rooms.cs Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
FlightRecorderSignal.cs Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
GlobalUsings.cs RynthSuite as of 2026-09-05 (internal a5ff5c2) 2026-09-25 21:23:05 -04:00
Jumper.cs 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
MagToolsCommands.cs Snapshot for release 2026.10.12.1 (internal 8d252bd) 2026-10-12 00:33:13 -04:00
ManaStoneManager.cs Snapshot for release 2026.10.12.2 (internal 2dd3d00) 2026-10-12 08:27:29 -04:00
NavigationEngine.cs Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
NavMarkerRenderer.cs Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
NavOverlay.cs Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
NavRecovery.cs 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
PluginExports.cs Plugin fixes: duplicate target requests, bounded name read, guarded exports 2026-10-12 17:35:42 -07:00
RadarWallRenderer.cs Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
RynthAiCommands.cs RynthAi.Combat v1: let a RynthLua script choose RynthAi's attack and heal spells 2026-10-12 06:51:31 -07:00
RynthAiPlugin.cs Plugin fixes: duplicate target requests, bounded name read, guarded exports 2026-10-12 17:35:42 -07:00
RynthAiPlugin.HazardEscape.cs Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
RynthAiPlugin.ItemInfo.cs Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
RynthAiPlugin.LearnSpells.cs 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
RynthAiPlugin.LuaForward.cs 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
RynthAiPlugin.MetaSchedule.cs 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
RynthAiPlugin.OwnCorpse.cs 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
RynthAiPlugin.Pacing.cs Snapshot for release 2026.10.7.1 (internal 2a9c773) 2026-10-07 12:54:26 -04:00
RynthAiPlugin.Safety.cs RynthAi: stuck-cast breaker, no re-send into a busy server, recovery retry, HP failsafe 2026-10-12 17:35:42 -07:00
RynthAiPlugin.VTankYield.cs 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
RynthAiT11Command.cs Snapshot for release 2026.10.6.2 (internal e3a94cf) 2026-10-06 11:21:16 -04:00
RynthAiVersionCommand.cs 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.Plugin.RynthAi.csproj RynthAi.Combat v1: let a RynthLua script choose RynthAi's attack and heal spells 2026-10-12 06:51:31 -07:00
ScriptInterface.cs 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
StatusInterface.cs 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
TerrainPassabilityOverlay.cs RynthSuite as of 2026-09-05 (internal a5ff5c2) 2026-09-25 21:23:05 -04:00
UtilityBeltCommands.cs 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
UtilityBeltExtraCommands.cs Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
VTankYield.cs 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