aorecomp

Anarchy Online classic in the browser

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


docs/research-notes/shop-research/stock/README.md (6519B)


Startup shop stock source audit

Result and boundary

No authoritative membership list for the shipped startup-shop category QETS was recovered. Do not claim that a fixed set of ammunition, kits, weapons, maps or nanos is its historical stock based on this investigation. Empty stock with working sales is the honest first milestone until membership is recovered.

The conclusion is bounded: every admitted RDB payload and every RDB identity was checked for this category's literal/code representations. This does not prove there is no compressed, hashed, or structurally different membership encoding. It also does not prove historical stock existed only on the server.

Shipped source audit

Input anarchy-vanilla-14.9.1/cd_image/data/db/ResourceDatabase.idx, SHA-256 46e5dc54af9358cc9bff05f4358e86af630e497bc677f361c133c88073b84d71. tmp_scan.py used the existing tools/data/ao_database.py reader and scanned all 278644 admitted payloads for literal byte sequences QETS and STEQ. The six hits were all resource1000020 vendor templates:

ID Category offset in payload Name
27054 227 Startup Shop!
99555 174 OT Basic Startup Equipment
99569 176 Clan Basic Startup Equipment
99643 139 Basic Startup Equipment
100034 259 Startup Shop!
100035 259 Startup Shop!

Exact payload lengths, payload digests and byte contexts are retained in qets-scan.json. These hits describe category references in section23/subtype37; none is a recovered membership list. Reversed literal STEQ has no payload hits. Category identities 0x53544551 and 0x51455453 have no admitted RDB record keys of any kind (category-key-scan.json).

Root's catalog proves the static placement of100035 in Omni950 and100034 in Clan952. It does not supply category contents. Raw section23 entries are not lists of explicit inventory template IDs.

Native target kkr.dll, SHA-256 a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0, has the StateParse name mapping AddACGShopItem->0xcf45 and MakeVendorShop->0xcf52. That registers parser vocabulary, rather than proving an executable generator or finding membership data. acg-register.json, Evidence ev_13194bff1f596d204e5dbf2d604332c204b3840d961188bd8bfff235b65ac98c. No claim of implemented client-side ACG generation follows from these strings.

Exact starter item identities, not stock membership

The parser tools/data/extract_items.py confirms these original resource1000020 names/IDs; complete parsed payloads and digests are in starter-item-candidates.json:

ID Original name
116628 Startup Treatment Laboratory
116629 Startup First-Aid Kit
116693 Startup Maps - Omni-Tek
116696 Startup Maps - Clans
116697 Startup Maps - Neutrals
121567 Solar-Powered Pistol
121568 Solar-Powered Rifle
121569 Solar-Powered Assault Rifle

Shipped text tips LookatStartupTreatmentLaboratory.txt, LookatStartupFirstAidKit.txt and LookatStartupMaps.txt independently refer to these starter concepts. They teach using an existing inventory item, and do not establish that the startup terminal sells it. The original client also contains profession Startup Crystal items, but these are not a justified shop list either. Regular refill items already supported by this reconstruction are distinct templates and must not be equated to the startup kits by name.

Other sources inspected

Empty machine and sale protocol follow-up

Original ShopUpdate0x100a98b0 accepts token1009 (zero entries), then logs Shop contains no entries..please contact a GM... Machine constructor 0x100a8f40 already initializes empty stock. Omit empty ShopUpdate to avoid the misleading warning; native trade UI with no stock still needs runtime proof.

Native sale request action4 keeps the input item identity unchanged at its constructor call0x1001fe84. Therefore normal inventory uses the existing page104 slot reference, rather than substituting its owned item dynel ID. The echo receiver moves the item to native trade storage through0x100601b0.

TradeComplete action3 handler0x10077700 first clears actor flag8, then invokes CMsg_TradeCompleted(true), then calls vending finalizer0x100a99d0. That finalizer is guarded by machine byte+0x120 !=1; this investigation does not establish the mode's semantic or promise that it mutates the active WASM client's inventory. Perform durable server mutation before complete and verify client inventory updates/resync in the WASM UI. Existing wire evidence batches4,6,7,8 preserve these exact procedures.

Native helper constructors and base-fullupdate application are also retained in native.json, Evidence ev_9cddcb6cd471ced6fda41912bcf3f2c890ba7116fc8942f7ae22b54f91d3f397. Owned REA session closed; no production edits or runtime processes remain.