aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit 078a0f6072df190a447e1b5e189f4deb755f5a6c
parent 988fef53a6ff1d871965a4994d2692aee01d87ed
Author: anon <anon@example.com>
Date:   Fri, 23 Oct 2026 17:34:18 +0000

Record native equipment input reproduction and verification limits

Diffstat:
MTODO.md | 9++++++++-
Adocs/native-equipment-input.md | 54++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+), 1 deletion(-)

diff --git a/TODO.md b/TODO.md @@ -617,7 +617,14 @@ and server restarts. Turn every reproduced bug into a focused regression test. profile-edit/reconnect sequences; explicit placement and settled repeated actions worked. Retesting with explicit tab focus and pointer movement worked. Isolate product behavior from test timing, including focus, pointer lock, hit - regions and stale item state. Captures: `local/armor-quality-smoke/`. + regions and stale item state. The existing helmet became usable after an + online ability edit/reconnect in a focused run. Rapid multi-cell bursts can + act on the final cell or emit no equipment request. A cursor-only adapter + experiment passed its fixture but failed the full-game reproduction and was + removed. Trace native InputInfo consumption and GUI hit testing before fixing + this; include a real-game regression. See the + [audit evidence and remaining checks](docs/native-equipment-input.md). + Captures: `local/armor-quality-smoke/` and `local/rapid-input-smoke/`. - [ ] Audit item creation, assignment, movement and deletion. Cover exact instance identity, full inventory, stale references, repeat requests, failed saves, simultaneous actions and ownership checks across restart. diff --git a/docs/native-equipment-input.md b/docs/native-equipment-input.md @@ -0,0 +1,54 @@ +# Native equipment input audit + +The rapid equipment-input audit remains open. A click that produces no server +request does not establish an inventory, persistence or requirement bug. +Check the rendered item, native inventory model, input events and packet trace +together before assigning a cause. + +## Verified cases + +The owned WASM visitor's existing QL 100 Metaplast helmet remained in ordinary +inventory with zero armor bonuses at Strength 232 and Agility 257. After an +online profile edit and reconnect at 461/511, an ordinary right-click equipped +that same instance with AC 375/328/375/281/56/56/56/56. Creating another item was +unnecessary. A separate zero-delay right-click removed it successfully. + +These checks do not reproduce a stale requirement cache. Opening native windows +and item placement must be checked again after reconnect: inventory visual order +can differ from the underlying inventory indices and earlier screenshots. + +## Rapid sequence reproduction + +In a focused canvas, three right-clicks on different inventory cells arrived +within approximately two milliseconds. The first clicked cell contained boots; +the last contained gloves. Only gloves were equipped. A subsequent burst from +the boots cell to an empty cell produced no equipment request. The DOM traces +retain the individual coordinates, button transitions and focus state. + +The missing requests precede server equipment handling. This establishes an +input reproduction, but does not distinguish the browser adapter from the +original native input queue, GUI hit testing or frame timing. The original +`Clientr.exe::FUN_28003890` calls `GetCursorPos` when constructing an +`InputInfo_t` for `InputConfig_t::AddUserInput`; its later consumer still needs +to be traced. Retained REA evidence: +`ev_6fc9a68d1404266df5e15e19d863092352440683ba1c5f42ceaafb4b1c89097c`, +`local/wheel-input-smoke/clientr-input-evidence.json`. + +A cursor-only adapter experiment made a queued Win32-position fixture pass, +but the published full game still lost the rapid boots-to-empty action. +That experiment was removed. Do not treat the fixture as a gameplay fix or +add an arbitrary hover delay as a product workaround. + +## Repeating the audit + +Use the single normal HTTPS preview and owned visitors. Capture the inventory +before each sequence; identify the actual item instance at each visual cell. +Vary press duration, movement after release, frame rate, focus transitions and +online profile reconnect independently. Compare emitted requests, exact native +instance locations, effective AC and SQLite locations after every sequence. +Add an end-to-end regression for the eventual fix. + +Artifacts are under `local/rapid-input-smoke/` and +`local/armor-quality-smoke/`. The former retains DOM traces, the rejected +candidate patch, fixture results and verification. Temporary asset-interception +attempts that failed before gameplay are excluded from gameplay evidence.