Token redemption
Carried mission and bravery tokens use the same owned-item Use handler and inventory transaction as other consumables. The server admits complete original self-target contracts: immediate fixed Hit53002 increments of Clan stat62 or Omni stat75, their level criteria, and the final supported StaticText53044 formatter. Action3's authored faction requirements are checked separately. Unknown effects, targets, timers or formatters reject the whole contract. There is no template-ID switch or server-authored level/value table.
The original 14.9.1 records admit exactly six templates:
| Templates | Counter | Increment |
|---|---|---|
| 96349 Omni / 96350 Clan | 75 / 62 | Base1 plus eight conditional level increments |
| 152932 Omni / 152933 Clan | 75 / 62 | 25 |
| 158421 Omni / 158422 Clan bravery | 75 / 62 | 1 |
Ordinary tokens evaluate the player's current level at redemption. Preserve the
original Clan criterion Level > 50 and Omni Level > 49: at level50 the
ordinary Clan token adds2 and the Omni token adds3. The remaining boundaries
are15,75,100,125,150,175 and190. This is a property of the extracted descriptors,
not a correction from later token guides. Physical Count remains1 regardless
of the increment. Existing shared Unique, NoDrop and ownership rules apply.
Clan and Omni counters are independent permanent inventory metadata in SQLite's players row and the control editor. Consumption and the selected counter update commit atomically before success. Negative or overflowing signed native stat values are rejected; this transport/storage bound does not establish an original server token cap. A failed or ignored write, deletion or commit retains both counter and item for retry. Duplicate requests and lost replies cannot redeem an instance twice. A full main inventory can redeem a token normally, freeing only its own slot. Carried-backpack sources now use the same contracts and transaction; see contained uploads. Bank sources remain outside the admitted path. Significant inventory writes preserve both counters; routine poses still use periodic checkpoints.
Native evidence and delivery
The original KKR Use path is 1005e980 ->100902b0 ->10002370 ->100be8e0.
The common local gate100bfb40 rejects Hit53002 before criteria or dispatch;
StaticText53044 dispatches to return-only1010def0. Thus native Use does not
perform either authoritative increment or feedback formatting. Native
GenericCmd success1005e790 decrements the proxy once. The server sends success,
the absolute StatIIR count, explicit empty-row removal and the supported final
text Side tokens collected: %d.. The text packet route follows the already
verified StaticText delivery used by resource kits; its original server emission
route has not been recovered. Full character state includes both totals so
reconnects cannot reset the display. No native adapter changes were required.
Original binary: anarchy-vanilla-14.9.1/kkr.dll, SHA-256
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.
Original records and hashes are in
local/mission-encounter-research/original-token-records.json.
The exact Use/ACK/gate evidence IDs and maintained C symbols are retained in
docs/research-notes/token-upload-research/native-functions-audit.md. Original51022 factory
constructor100ae540 invokes base constructor1009c3c0; evidence
ev_2b2396daaa047207cbc6980a5540219c5f2dc60c7c929d237a4c39b4d202ad2a,
with its initialization100ae610 in
ev_79a4c685342ba1b89be12a1e401035747f8ff9159cafbd15b002d7f00d8edc3a.
The original evidence bundle and analysis snapshot are retained alongside them.
Verification and scope
Go tests enumerate the admitted catalog, exercise all ordinary level boundaries and special/bravery variants through owned Use, verify faction and native-range rejection, cold ownership/counters, complete-contract rejection, private packet ordering, SQL failure/ignored update/deferred commit rollback, retries, concurrent duplicate requests and output failure. A full-inventory test changes level after receiving the token and reaches the exact signed stat boundary.
The headed GPU WASM test right-clicks all six actual inventory icons. At
level50 Omni adds3, then25, then1; switching the controlled fixture to Clan
adds2, then25, then1 while retaining the Omni total29. Wrong-side Use leaves
the token intact. Absolute native stat storage and screenshots verify the
feedback and freed rows. Page reconnect and a cold server restart both restore
Clan28/Omni29. Wire checks verify all six success acknowledgements, absolute
counter updates, exact slot removals and feedback texts. Captures and verification are in
local/token-upload-research/; owned test clients are closed afterward.
Redemption does not award mission tokens, completion XP, token boards or token board bonuses. Mission kill thresholds, chance, faction exceptions and XP arithmetic remain separate P0 work in feature backlog. This milestone must not turn the fixed starter mission's conditional XP promise into an unconditional reward.