aorecomp

Anarchy Online classic in the browser

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


commit 6d8e1704ac5af52cebaabe1f8991a1b7e515d9a4
parent 3728479acd1e94184355b4251e136486a29cc70d
Author: anon <anon@example.com>
Date:   Fri, 30 Oct 2026 19:49:26 +0000

Verify earned resupply with a retained partial laboratory

Diffstat:
MTODO.md | 7+++++++
Mdocs/starter-progression.md | 31+++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -3541,6 +3541,13 @@ and server restarts. Turn every reproduced bug into a focused regression test. defect is now reproduced and fixed with fresh native query evidence. Further earned levels, actual reclaim and the remaining P0 checks stay open. See [level-five mission clear](docs/starter-progression.md#same-character-level-five-mission-clear). + A further ordinary city/shop trip sells eleven retained parts for 66 credits + and buys a 150-credit laboratory, leaving 26 credits. The existing lab x16 + stays separate from the new lab x50. Underfunded selection and basket editing + preserve ownership/cash; Accept retires only the sold parts. Both-client + page/cold recovery accounts for all 23 remaining items, unchanged progress, + supplies and the saved 420-byte layout. See + [partial-stack recovery purchase](docs/starter-progression.md#same-character-recovery-purchase-with-a-partial-stack). A subsequent normal Omni Enforcer run trained Body Development/Stamina, equipped the issued bat/shirt and used a startup treatment lab. Solo combat ended in death; a two-player kill generated real loot/cash but its leading diff --git a/docs/starter-progression.md b/docs/starter-progression.md @@ -1282,3 +1282,34 @@ comparison reproduces the stale returned pixel and verifies a fresh confirmed corpse query followed by real Use while the book remains present. The native selection timing, regression and exact pixels are documented in [native picking](native-picking.md). + +## Same-character recovery purchase with a partial stack + +The level-3 fighter walks from the backyard through Omni Entertainment to the +basic shop and sells eleven retained Monster Parts, IDs 76..79, 83..86 and +90..92, for six credits each. Selecting the 150-credit laboratory with only +one part offered reports a 34-credit shortfall and leaves cash/items unchanged. +Offering all eleven permits the purchase; basket editing still spends nothing. +One normal Accept changes the wallet from 110 to 110+66-150=26 credits, retires +the eleven sold instances and creates QL1 Treatment Laboratory 94 with 50 charges +in main slot 67. Existing laboratory 73 stays in main slot 64 with 16 charges; +the purchase neither merges the stacks nor consumes a charge. + +Both-client page reload and cold server/browser recovery preserve all 23 +remaining physical instances, their exact slots/QL/counts, unchanged equipment, +XP 1000, IP 8477, HP/nano 138/26, kit 67x20, three stims and observer progress. +The new lab initially has a raw native proxy type/id of zero with correct +slot/QL/templates/count; page replay populates ID 94. Its icon is present +before and after replay. The actual native layout shrinks from 540 to 408 bytes +while the eleven parts are offered, then grows to 420 for the purchase. Those +420 bytes remain identical through page and cold replay. + +The connected/cold fixtures pass in 680.61s and 69.99s. Both stopped databases +pass integrity and foreign-key checks, and both clients' traces report no +engine/protocol errors. `tmp_verify_partial_lab.py` independently checks basket +conservation, the exact sale/purchase ledger, all native/SQL items, retained +mission completion, observer isolation and saved map bytes. Report: +`local/todo-progression-play/partial-lab-connected-verified.json`; captures: +`runtime-level25/` and `runtime-level26/` in the same directory. Maintained +Go/C sources are unchanged; this verifies the implemented shop behavior without +establishing historical price or loot rules.