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>
This commit is contained in:
parent
b3960e157d
commit
fd9fe82095
6 changed files with 472 additions and 25 deletions
|
|
@ -100,6 +100,7 @@ internal static class Program
|
|||
ManaReserveTests.Register(runner);
|
||||
DamageRowsTests.Register(runner);
|
||||
LootPacingTests.Register(runner);
|
||||
CorpseCloseTests.Register(runner);
|
||||
return runner.Run("RynthAi host tests", args.Length > 0 ? args[0] : null);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue