aorecomp

Anarchy Online classic in the browser

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


docs/research-notes/starter-weapon-research/delete-auxiliary-findings.md (2737B)


Native DeleteItem auxiliary pair

Bounded read-only follow-up. No REA target, server, browser or client was opened; no implementation source was edited.

Observed producer contract

Original 14.9.1 kkr.dll SHA-256: a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.

Existing REA record ev_0401d73eb4d0d8d5dc7c9ecb6a77ad33c8ada08262aa778b56a6a905c83accd7 in local/bank-research/native/kkr-pseudocode.json is exact exported 10027670: n3EngineClientAnarchy_t::N3Msg_DeleteItem(Identity_t const &source, Identity_t const &auxiliary) const.

It gets the local character, resolves the source item if available, and rejects ItemType stat 76 == 3 when the source page is below 104 (worn implant removal). It then constructs CharacterAction with source, action 112 and the supplied auxiliary pair unchanged. It never requires the auxiliary words to be nonzero, never compares them to template IDs, and has no weapon-only branch.

Original instruction sources (generated addresses are rebased by +0x26000000):

The parent's actual retained-weapon capture supplies the runtime instance of this generic contract: [112,104,51,0,0]. Previous template-backed deletion captures supply template endpoints in the final pair. The precise UI helper that chooses which pair to pass was not traced in this bounded pass.

Supported server policy

Treat auxiliary pair 0,0 as omitted endpoint information. Otherwise require the complete pair to match the selected authoritative item's template endpoints. Reject one-zero/one-nonzero mismatches by the same ordinary pair comparison.

Continue to derive the item from authenticated owner, validated source page, slot and eligibility. A zero pair does not identify a different item and does not override those checks. This is the simplest policy compatible with both observed native request forms, without special-casing weapons or individual template IDs.

Confidence is high for the sender's generic permissiveness and verbatim serialization. The exact historical server's validation was not recovered. This does not claim every live item class always emits 0,0, nor that every template proxy must supply nonzero endpoints. Deletion acknowledgement and subsequent retained-dynel Quit are separate lifecycle operations.