Commit graph

57 commits

Author SHA1 Message Date
Daniel Wallace
04ecdd64f4 RynthAi jump loot: resend at once when the client's request slot refused the move
The acclient holds one pending inventory request. While it is held, it
refuses any other item move with a LOCAL chat line ("You can only move or
use one item at a time"): nothing reaches the server, no WeenieError
comes, and the engine's MoveItemExternal returns true regardless. The
looter took that send for one in flight and waited the whole answer
window (PickupAnswerWaitMs, 4-8 s) before trying again, and the retry
cost the item one of its 3 tries. At the jump-loot cadence this stalled
the loot 4-8 s at a time.

The line is now heard (NoteSlotRefusalChat, anchored at the line start,
stamped with its arrival time on the loot clock) and attributed to the
current send when it arrived within the send's window (200 ms, or 2.5 s
for a send made while the motion queue was busy, since the engine's main
thread queue holds the move that long) and no other item action of this
plugin went out between that same window before the send and the line
(UseAudit.LastItemActionAt). The send is then repeated 250 ms after it,
without a jump, never counted as one of the 3 tries or as a too-busy free
retry, for up to 11.5 s from the item's first slot refusal (the engine
clears a held slot after 10 s); then the ordinary answer wait takes over.
The refusal baseline is taken in SendLootPickup, the one path every send
goes through, own-corpse sends included.

Item actions are stamped at every UseFor and UseOnFor except the
looter's own, the wand, weapon and offhand wields, the ground pickup, the
give helper and the item tool's give, the salvage sends and panel adds,
the meta give actions and salvage-panel add, the MagTools give, drop and
dequip, the HUD and MiniRemote uses, the stack merges and the trade adds.
Not stamped: vendor buy and sell, the salvage panel execute, pack-to-pack
moves and stack splits, the legacy swap wields and the dashboard's panel
drag (the UseAudit doc names the files). Other plugins' item actions are
not seen: each plugin compiles its own copy of UseAudit.

Adapted to upstream's fight hold: no slot resend while a fight has the
tick (the client drops an item move while the character attacks); the
line is attributed by its arrival time, so the resend goes at once after
the fight, and the fresh send does not inherit the fight flag.

Gated by Jump When Looting (LootJumpEnabled, default off): the net was
measured and tuned on ACE's jump-loot cadence. With the setting off every
send keeps its old wait. The UseAudit stamps are a timestamp only.

Host tests: a slot-refused send is resent in about 250 ms with no try
used; a late line or a player's words are not ours; a line then the
server's answer at 200 ms is one move; resends go on past 7.5 s and hand
over after 11.5 s; a busy-queue send's refusal at 700 ms is its own;
another item action before the line, a UseOnFor included, suppresses it,
and so does one 1 s before a busy-queue send; the reset clears the slot
fields; the looter's own UseOnFor is not stamped, so a line after it is
still ours; with the setting off nothing changes; a refusal during a fight
(driven through the real fight hold) is resent only after it; an
own-corpse send after an earlier refusal line is one move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 10:07:23 -08:00
Daniel Wallace
88680977f5 RynthAi jump loot: no Return wait after a pickup ACE ran in the air
With jump-loot on ACE the server answers a pickup made in the air with no
pickup motion (Player_Inventory.GetPickupMotion returns Invalid under
allow_jump_loot), so EnqueuePickupDone has no Return to play and the
character is not busy. The looter still treated the answer like a normal
one: it held the answer to the 500 ms PickupAnswerMinMs floor, then held
the corpse open until the motion queue went still (the jump's own take-off
and landing) or for PickupSettleMs, and queued the next item as if behind
a Return. In play that is about 2 s of bend-down wait per pickup that the
server never played.

A jump send is now believed on arrival when the item is seen in a pack
(the server's own answer about that object, which also frees the client's
one request slot). A merge keeps the floor: a merged-away object can leave
the slot held. A pickup whose jump went out with that very send, or that
was sent while still in the air from the last loot jump, and whose item
was off the corpse sooner than PickupAnswerMinMs, settles at its confirm:
the corpse completes and the next pickup or open goes at once, in the air.
For the jump's flight (JumpLandMaxMs from the jump itself, read through
the new ActionPacer.LootJumpAgeMs) a busy motion queue does not hold the
next pickup. A jump pickup answered after a bend-down's time keeps the
Return wait, and its confirm ends any earlier flight window.

The call can be wrong (a fast real bend-down can be 0.25-0.4 s): a move
sent on it refused as "too busy" (0x1D, or ACE's 0x1D plus code-0
save-failed pair), or the next corpse's open sent on it answered UseDone
0x1D, ends the window and turns the call off for 5 min. Any other fast
refusal does not. Dropping the corpse claim ends the window.

Only jump sends take any of this, so it needs Jump When Looting
(LootJumpEnabled, default off). A send with no jump keeps the floor and
the Return wait unchanged.

Host tests: next corpse opened at the confirm with the air queue busy or
idle; next item sent in the air with no second jump, a fresh jump after
the landing; a slow answer waits its Return and ends the flight window;
a jump answer at 150 ms is confirmed then; a jump merge, a no-jump send
and a weak sign keep the floor; no-jump and resent fast answers wait
their Return; a too-busy move or open turns the call off, a code-0
refusal does not; the reset ends the window; one move in flight, the next
on the answer tick; the window is anchored to the jump, not the send.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 09:29:30 -08:00
Daniel Wallace
f83eadb4ba RynthAi jump loot: hold combat and buffs for the landing, no second jump in the air
ACE refuses a cast, a swing, a shot, a kit, food or a potion while the
character is in the air (Player_Magic/Melee/Missile, Healer, Food:
IsJumping -> YouCantDoThatWhileInTheAir, 0x4EB). Nothing held combat or
buffs for a loot jump, so an attack or heal sent during the pickup's jump
was refused, and a refused attack was judged a no-damage miss.

ActionPacer now keeps a loot-jump air hold (NoteLootJump /
LootJumpAirborne / ForgetLootJump), with the landing check the stuck-cast
jump already used (height back from JumpLandMinMs, JumpLandMaxMs at most,
so a missed landing cannot stall anything). CombatManager.Think checks it
right before the attack send (target, approach and stance go on; nothing
is stamped, counted or judged for a held tick); MayStart holds "Buff"
starts (buffs, heals, kits, potions, the emergency step). "Loot" and doors
are never held: ACE takes a pickup and a corpse use in the air. The hold
ends at death, portal space and logout.

Belt and braces: a cast answered UseDone 0x4EB, and a swing or shot
followed by WeenieError 0x4EB, is not judged as a no-damage attack.

No second tap jump while the last one is still in the air: the move
arrives in the air anyway, and ACE HandleActionJump has no ground check
(an air jump only costs stamina). A jump the client refused is not noted.

The hold is only ever set by a loot jump, which needs Jump When Looting
(LootJumpEnabled, default off). The 0x4EB handling reacts only to the
server's own in-the-air refusal.

Host tests: no second jump while in the air, a fresh one after the
landing; the jump holds buffs and emergency heals but never loot, until
the landing or the cap; portal space and a death drop the hold; Think
sends no cast in the air and casts on the landing or at the cap; a swing
refused in the air is not a miss.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 09:29:10 -08:00
7166d256ce RynthSuite as of 2026-11-05 (internal a77109a): release 2026.11.3.2 2026-11-05 07:42:37 -05:00
d02690c0d2 RynthSuite as of 2026-11-03 (internal bebcd8c): release 2026.11.3.1 2026-11-03 07:37:26 -05:00
e6436cd826 RynthSuite as of 2026-11-02 (internal 0a66a40): release 2026.11.2.3 2026-11-02 23:07:49 -05:00
f48050bf01 RynthSuite as of 2026-11-02 (internal 487d6ea): release 2026.11.2.2 2026-11-02 20:34:04 -05:00
79cbb84d61 Snapshot for release 2026.11.2.1 (internal 03dbb32) 2026-11-02 03:33:34 -05:00
ce1cc11ebe Snapshot for release 2026.11.1.1 (internal d85938c) 2026-11-01 23:16:41 -05:00
e73d4afb04 Snapshot for release 2026.10.31.4 (internal b309731) 2026-11-01 18:47:29 -05:00
d54613aa63 Snapshot for release 2026.10.31.2 (internal 4a0710c) 2026-10-31 19:00:25 -04:00
76aca938b6 Snapshot for release 2026.10.30.1 (internal 50ae062) 2026-10-31 06:01:30 -04:00
aa8bf65897 Snapshot for release 2026.10.29.3 (internal f81a090) 2026-10-29 15:22:43 -04:00
6c15f65e94 Snapshot for release 2026.10.29.2 (internal 6c69cb8) 2026-10-29 07:19:19 -04:00
036ef594ed Snapshot for release 2026.10.29.1 (internal 45d719b) 2026-10-29 03:03:16 -04:00
e6642d0e10 Snapshot for release 2026.10.28.3 (internal db7f094) 2026-10-28 23:23:42 -04:00
636adfcef2 Snapshot for release 2026.10.28.2 (internal 48c46bd) 2026-10-28 19:47:19 -04:00
b23cabc338 Snapshot for release 2026.10.28.1 (internal decb3ab) 2026-10-28 06:36:39 -04:00
2dd532963f Snapshot for release 2026.10.27.1 (internal 48d0d60) 2026-10-27 08:41:02 -04:00
92f28bd243 Snapshot for release 2026.10.23.1 (internal 7581cff) 2026-10-23 16:34:02 -04:00
893973d0dd Snapshot for release 2026.10.22.2 (internal e613280) 2026-10-22 16:42:33 -04:00
10c58b53b6 Snapshot for release 2026.10.21.3 (internal 24a7b4f) 2026-10-21 21:03:48 -04:00
d0c95956a0 Snapshot for release 2026.10.21.1 (internal 7a4c0dd) 2026-10-21 09:35:07 -04:00
bfcd48950d Snapshot for release 2026.10.20.1 (internal 7116fab) 2026-10-20 21:28:18 -04:00
2a20c7acd6 Snapshot for release 2026.10.19.2 (internal cf72366) 2026-10-20 04:54:15 -04:00
39de36d3af Snapshot for release 2026.10.19.1 (internal f0bdcf8) 2026-10-19 09:11:22 -04:00
5419838250 Snapshot for release 2026.10.18.1 (internal 13e23b6) 2026-10-18 19:44:49 -04:00
c7807b6e1c Snapshot for release 2026.10.17.1 (internal 759f36d) 2026-10-17 00:41:03 -04:00
206a51b2e3 Snapshot for release 2026.10.15.7 (internal c476aa2) 2026-10-16 00:04:22 -04:00
8cf68da453 Snapshot for release 2026.10.15.6 (internal eca8fa0) 2026-10-15 23:44:40 -04:00
3cce8ffcba Snapshot for release 2026.10.15.3 (internal d7a5b0f) 2026-10-15 21:40:02 -04:00
d5e0b50de7 Snapshot for release 2026.10.15.2 (internal 2d4b0af) 2026-10-15 20:32:35 -04:00
a89ae04005 Snapshot for release 2026.10.15.1 (internal 6f00bd7) 2026-10-15 09:27:14 -04:00
caaa73a288 Snapshot for release 2026.10.14.2 (internal e57da4b) 2026-10-14 10:17:09 -04:00
d407059fa4 Snapshot for release 2026.10.14.1 (internal 5e63609) 2026-10-14 09:00:50 -04:00
e25cb7c9ae Snapshot for release 2026.10.13.3 (internal 8440a2e) 2026-10-13 18:52:40 -04:00
56b9f6c813 Snapshot for release 2026.10.13.2 (internal 6cd69e2) 2026-10-13 15:07:08 -04:00
319740ff5d Snapshot for release 2026.10.13.1 (internal d2b5fb3) 2026-10-13 14:25:49 -04: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