aorecomp

Anarchy Online classic in the browser

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


docs/research-notes/weapon-quality/catalog-audit.md (6102B)


Rusty OT M-10 Flechette Pistol: independent catalog audit

Read-only audit of selected original 14.9.1 resource payloads. No production files, database rows, running servers, browser tabs or native analysis sessions were changed. Reproduce with python3 local/weapon-quality/tmp_catalog_audit.py.

Evidence and pairing scope

original-items.json reparses records1000020/123742..123747 directly through tools/data/ao_database.py and tools/data/extract_items.py. Every field equals the retained local/item-quality-generation/weapon-family-candidates.json. All payloads are fully decoded to their final byte; raw payloads are retained as original-ID.bin. catalog-audit.json records payload/index hashes, file offsets, all ordered structural/value differences, complete effects and expected Rusty interpolations.

The retained current Auno response local/item-quality-generation/auno-123742-ql5-current.html explicitly says QL5 is interpolated between123742/QL1 and123743/QL11. This independently establishes a published pairing for these identities; the original payloads establish their 14.9.1 values and exactly aligned layouts. This is stronger than neighboring IDs or matching names, but is not an original historical server pair-table capture. The retained patch13.9.1 Auno selector ignores intermediateQL; it is not proof of historical interpolation output.

No independent pairing proof was added for optional tiers123744/123745 or 123746/123747. Their complete layouts and value differences are audited for future use. Do not admit them solely because they are adjacent or similarly named.

Original endpoint contract,123742/123743

Same header [51018,7,15,23], all25 stat IDs in identical order, same name, description and text header. Only numerical top-level differences:

Stat QL1 QL11
54 quality 1 11
74 value 2321 3598
134 multi ranged 26 51
284 critical bonus 12 15
285 maximum damage 12 20

Minimum damage286 remains3, attack294/recharge210 remain125 centiseconds, equip211 remains150 centiseconds, range287 remains22, bullet type420 remains2, capacity212 remains20, initiative440 remains119, damage type436 remains90. Stat436 is the damage type, not an attack rating cap; the current Auno attack rating cap80 is an extra later field and must not be imported into14.9.1.

All5 sections and their ordering/offsets/sizes align:

1.4/4: defense entry13 is stat154100%; attack entry12 is stat112100%. 2.6/27: stats13=0 and12=0, identical. 3.2/10: all4 presentation descriptors below, identical. 4.20/5: entries11 and28 each contain literal4019089255, identical. 5.22/36: exactly one action8, postfix Pistol112 >5 / >51, Fling150 >5 / >28, AND(operator4,stat0,value0). Only threshold values vary; predicate stat/operator/order are identical. No Use/OnHit/OnWear action or effect is hidden by this review.

All event10 functions have headers[0,4], no requirements, one tick, zero interval, target1 and argument_header9. Each carries16 argument bytes:

Function Four little-endian unsigned words
53065 0,2006,0,4294959104
53076 0,2710,0,4294901785
53075 0,2752,0,2835341458
53065 0,45083,0,4294959104

The exact raw bytes and decoded words in catalog-audit.json are authoritative if any copied table word disagrees. Existing retained consumer evidence in docs/research-notes/weapon-contract-research/native-descriptors/findings.md establishes selectors0/1/2, client resource/color/hit-location/timing consumers and their precise unresolved resource-type virtual boundary. These descriptors must be retained and delivered to the client. They do not constitute an OnHit53089 proc or server damage effect. No such proc, resource drain, hostile nano, owner stat modifier or additional unsupported action appears in this exact family.

Expected original rounding and boundaries

Use existing original kkr.dll FUN_100eff20 integer interpolation (+0.5 then truncate the interpolated difference), not Python's banker's round. Predicate operator2 is strictly greater-than; minimum passing values are threshold+1.

QL Linear value before native price curve Multi ranged Damage(min-max,crit) Raw Pistol Raw Fling Minimum Pistol/Fling
1 2321 26 3-12,12 5 5 6/6
2 2449 29 3-13,12 10 7 11/8
5 2832 36 3-15,13 23 14 24/15
6 2960 39 3-16,14 28 17 29/18
10 3470 49 3-19,15 46 26 47/27
11 3598 51 3-20,15 51 28 52/29

QL5 chooses the low nonnumeric endpoint; midpointQL6 chooses high. Wire identities collapse to123742/123742 atQL1 and123743/123743 atQL11; intermediateQLs send123742/123743. QL0 and12 are outside this family. In particular, do not extrapolate RustyQL12 into the distinct Shortened tier.

The listed Value column is only the rounded linear intermediate. Native FUN_100f1320 then curves stat74; final values for QL1,2,5,6,10,11 are 2321,2333,2525,2640,3354,3598. The actual WASM QL5 instance independently reports Value2525. Do not treat the linear intermediate2832 as a sale value.

The current Auno QL5 page agrees with damage but says multi ranged25 and Fling>=12; original records give36 and minimum15. It supplies pairing corroboration only, not a14.9.1 value oracle.

Admission recommendation and remaining questions

The exact RustyQL1..11 pair has a complete aligned catalog contract suitable for admission once all Go numerical consumers select the quality-adjusted instance rather than silently consulting its nearer definition. In particular audit ordinary/Fling damage, critical/OE requirements, attack rating/initiative, range/timing, equip requirements, sale valuation, loaded ammunition and native live-item representation. The catalog itself contains no newly unsupported server effect that blocks this specific pair.

This audit does not establish original production loot chance, mob-to-itemQL selection, shop stock distribution or mission rewards. Optional later tier pairing, and the general resource-selected descriptor subclass behavior, remain outside its established scope.