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. The original
Clientr.exe::FUN_28003890 calls GetCursorPos when constructing an
InputInfo_t for InputConfig_t::AddUserInput. Retained REA evidence:
ev_6fc9a68d1404266df5e15e19d863092352440683ba1c5f42ceaafb4b1c89097c,
local/wheel-input-smoke/clientr-input-evidence.json.
The original ccr.dll input engine then uses two passes:
InputConfig_t::AddUserInput(0x10003c60) copies each 16-byte input record, including its coordinates, into the queue.InputConfig_t::FramePreProcess(0x10003f00) visits all queued records, updating mouse state and checking hotspots for each point. The current point and hotspot reference are shared fields on the input instance.InputConfig_t::FrameProcess(0x100040c0) subsequently executes the queued inputs throughCheckInput(0x100046e0) andProcessInput(0x10003930). A command requesting the current void reference reads the shared field atthis + 0xc4; there is no saved per-event copy of that command reference.
Consequently, preserving each event's coordinates does not preserve a different command reference for each click in the frame. This behavior exists in the original input engine, independently of SDL's cursor sampling. The WASM burst reproduction is consistent with that engine behavior; it does not establish a new server or browser-adapter defect. The complete native gear-command and Windows event paths have not been replayed in isolation.
client/tests/native_input.c exercises the unmodified lifted AddUserInput,
FramePreProcess, FrameProcess, CheckInput and ProcessInput routines.
Controlled scene hit testing supplies references and a command boundary records
the received reference; timer, modifier and display services are also fixtures.
It verifies separate-frame clicks retain their own references, same-frame clicks
all use the last reference, and a later empty hotspot supplies a null reference
to earlier commands. Scene-specific equipment commands are outside this
fixture's coverage.
The source evidence is retained in local/rapid-input-smoke/ccr-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.
The unchanged published WASM client reproduced a boots-to-empty burst with no equipment request. The same boots instance then equipped correctly with an ordinary click, adding AC 281/246/281/211/42/42/42/42, and returned to inventory with zero AC on removal. Repeat equip/remove also passed. These native-game checks retain all eight fixture identities and their authored endpoint data.
Queued mouse modifiers
The window adapter tracks two modifier snapshots: the SDL event currently being
converted and the Win32 message most recently removed. Mouse motion, buttons and
wheel messages capture the first snapshot; GetKeyState, GetKeyboardState and
TranslateMessage use the second. Reading a message does not change SDL's physical
keyboard state. Focus loss clears the queued mouse modifiers.
Sampling SDL_GetModState while draining an entire SDL batch loses Ctrl or Shift
when their release is already queued after the click. Restoring old snapshots
through SDL_SetModState also rewrites the physical state used for later input.
The real WASM fixture reproduces both defects before the corresponding fixes.
client/tests/browser_camera.c covers left/right Ctrl and Shift around motion,
press/release and wheel events in one queued batch. Filtered mouse reads retain
Ctrl/Shift/Alt/Caps/Num without consuming keyboard messages; a non-removing peek
does not update the guest keyboard state. Removed messages restore their own
snapshot, and focus loss releases held mouse buttons without stuck modifiers.
The native window fixture checks all 64 combinations of left/right modifier
keys through queued SDL input. The full native client suite, WASM camera/input
fixture and 73 browser-control tests pass. Captures and logs are retained under
local/mouse-modifier-smoke/.
The rebuilt full game was tested in headed hardware Chromium on the shared
HTTPS preview. A physical Ctrl-left-click split a three-charge Essence into
one and two; both native instances and SQLite quantities survived two page
reconnects. Mixed-case QueueMix chat reached the server and returned through
chat, Tab selected two distinct native targets while the canvas retained focus,
and ordinary movement remained usable after modifier release. No browser or
adapter errors were captured. The served WASM matched the published bundle.
Further attempts to split the resulting two-charge stack, with zero and 150ms button duration, produced no split request. Quantities and identities remained unchanged. The zero-duration DOM trace retains Ctrl-down, press/release and Ctrl-up within three milliseconds; native frame timing was not measured. These misses remain part of the input audit rather than evidence that the modifier fix resolves all rapid native actions. The owned visitor and its two items were removed with all other database rows preserved.
This fixes modifier delivery. It does not resolve the original CCR same-frame hotspot behavior or establish the cause of earlier short-click misses.
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. Distinguish the original same-frame command behavior from a new input defect. Add an end-to-end regression before changing an observed deviation.
Run the native contract fixture with:
make -C client -f Makefile.linux build/linux/native-input
./client/build/linux/native-input
make -C client -f Makefile.wasm build/wasm/native-input.js
node client/build/wasm/native-input.js
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.