Commit graph RynthSuite/Tools/RynthCore.RynthAiHostTests/Fakes
Author SHA1 Message Date
Daniel Wallace
ad8df0b671 Corpse ID: retry refused requests, re-ask the target, cap the burst
The corpse's LongDesc (its killer name, which "my kills" mode needs) arrives only
after an ID request, and AutoId may not appraise a corpse in time, so this request
has to land. CorpseOpenController recorded the corpse as asked whether or not
Host.RequestId returned true. The engine refuses RequestId during the teleport and
death settle and drops stale queued requests, so a refused or dropped request was
never retried and the claim stayed tentatively lootable until the 12 s timeout.

- A corpse is recorded as asked only when RequestId returned true; a refused one is
  asked again, at least 250 ms apart per corpse.
- An accepted request that brought no LongDesc within 3 s is asked once more, once
  per 3 s, with no give-up cap. Only the targeted corpse or the open container
  re-asks: HasLootWork evaluates every in-range corpse, and the others would send a
  stream of requests for corpses the bot is not going for. They get one accepted
  request each.
- When a refusal window ends (after a teleport) every uncached corpse would be
  accepted in the same tick, so at most 2 new requests go out per scan tick, the
  target or open corpse first. The budget restarts after 250 ms for evaluations
  made outside a scan, so it never stays exhausted.
- _corpseIdAskedAt and _corpseIdRefusedAt are cleared on delete and on the >200
  prune.

Tests (ActionPacingTests): refused-then-accepted; re-ask at 3 s and not before;
two corpses where only the target re-asks; 20 uncached corpses through a refusal
window; the open-container branch; the id map clears. Each case was
mutation-checked. The test fake's RequestId can now refuse (RequestIdAccepts,
RefusedIdRequests).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 16:50:23 -07:00
Daniel Wallace
fd9fe82095 Corpse looting: no close before the next corpse, confirm stack merges, jump-loot on ACE
Next corpse without a close: when another lootable corpse is in range, a finished
corpse is no longer closed (CloseContainer and its 500 ms answer wait). ACE closes
the open container itself when the next one is used (Container.ActOnUse). The close
is held back and still sent when no other corpse is opened within 3 s, or looting
stops; the last corpse in range is closed at once as before. A finished corpse the
client still shows is not taken as a close of the corpse opened after it
(SyncCorpseContainerState), so its late CloseGroundContainer cannot make the bot
re-use, and so close, the new corpse.

Stack merges: a pickup that merges into a stack already in the pack never arrives as
an object in the pack, so it waited out PickupArriveMaxMs (4 s). The same-name
stacks in the inventory are noted when the pickup goes out; one that has grown
since confirms the pickup.

Jump-loot: the jump is the keyboard one (TapJump, 0xF61B Jump), which ACE handles;
JumpNonAutonomous (0xF7C9) has no handler there. The jump goes before the move,
since ACE's jump handler stops any walk-to in progress. It runs on every pickup, a
corpse's only match included: most corpses hold a single match, so a "more than
one item left" gate would mean jump-loot almost never ran. The tap jump has a fixed
height, so the Jump Height slider is gone from the RynthAi settings page
(LootJumpHeight itself stays plumbed).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 16:50:23 -07:00
3c4f093e3d Snapshot for release 2026.10.12.1 (internal 8d252bd) 2026-10-12 00:33:13 -04:00
0daf0a44a3 Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
26907e6ab1 Snapshot for release 2026.10.7.1 (internal 2a9c773) 2026-10-07 12:54:26 -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