aorecomp

Anarchy Online classic in the browser

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


commit f79547444f38eebcc7c1c1dc9a7dda0462bf222a
parent bcc82dbb58016faa53f8cb49d7d938ebc59ab839
Author: anon <anon@example.com>
Date:   Tue, 27 Oct 2026 01:47:25 +0000

Verify native health displays and correct the HUD finding

The original plasma screenshots display 8/84, matching the captured native
and durable health. Compare the exact digit pixels and restore the broader
player-HP delivery task to P1 instead of treating the small-font misreading
as a new P0 defect.

Document paired GPU WASM checks of quiet recovery, death and two
victories, with native mirrors, HUD strings, queue state and rendered
screenshots. Preserve controlled-fixture and timing limitations. Four
concurrent shop batches passed 61 roots / 205 results each; server source
is unchanged from the verified full suite.

Diffstat:
MTODO.md | 13+++++++------
Mdocs/blood-plasma.md | 10++++++----
Adocs/health-hud-verification.md | 72++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 85 insertions(+), 10 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -813,18 +813,19 @@ replay/failure tests and WASM checks are recorded in [IP training](docs/ip-train but retained all three charges. The current resource-kit admission explicitly excludes health stims, including the complete startup health/nano contract; this is not resolved by adjusting the UI click or lowering enemy health. -- [ ] [P0] Reconcile player HP across native observers during incoming combat and +- [ ] [P1] Reconcile player HP across native observers during incoming combat and target switches. Check: correlate authoritative HP, weapon queues and recovery with ordinary and increased Body Development, before/after StopFight, zoning and reconnect. The two-client taunt smoke agreed at Body Development80 after a switch, but inflated Body Development5000 fixtures showed larger observer differences. Separate prediction phase and invalid fixture inputs from a delivery/recovery bug; do not assume the threat fix resolves healing delivery. - The ordinary Plasma Atrox run also left the Stats HUD at 0/84 after its - second level-1 Leet kill while both clients' native stat 27 and persisted - health agreed at 8. Check displayed health as well as the native stat store; - the mismatch survived idle time and zoning. Evidence: - `local/plasma/runtime/owner/pair-earned-part-stable.png` and the paired probe. + The Plasma run's original HUD reads 8/84, matching native and persisted + health; enlargement resolves the small digit. A two-client follow-up also + agrees through quiet recovery, death and two victories. Compare the local + engine actor, registry actor, health mirror, actual HUD text and rendered + digits; the broader incoming-hit/healing ordering remains open. See + [health display verification](docs/health-hud-verification.md). - [x] Use one nano-restoring item. Check: nano recovery, consumption and its lock match that item rather than inheriting the health item's behavior. - [x] Use one sitting treatment kit. Check: it works in the permitted posture diff --git a/docs/blood-plasma.md b/docs/blood-plasma.md @@ -107,10 +107,12 @@ After reconnecting, Accept sold only 603 and raised cash to 629. A repeated click and an accepted empty basket added nothing; another reconnect retained the tool, issued items and cash. Neither run recorded a page error. -The same run exposed a separate HP-display issue: after the second fight the -Stats HUD showed 0/84 while both native stat stores and persisted health were -8. Idle time and zoning did not repair the label; cold reconnect did. The -player-HP milestone is now P0 and remains open. Crafting does not resolve it. +The original post-fight Stats HUD reads 8/84, matching both native stores +and persisted health. Its small digit is legible in an enlarged crop and +matches the rendered 8 in the maximum. A separate two-client follow-up +verified quiet recovery, death and two victories while sampling the actual +HUD text as well as health stores. See [health display verification](health-hud-verification.md). +The broader incoming-combat/healing delivery milestone remains open. The full server suite passed 1,384 top-level tests / 14,708 results. The targeted race run passed 115 / 446; all 18 gamedata tests, eleven Python diff --git a/docs/health-hud-verification.md b/docs/health-hud-verification.md @@ -0,0 +1,72 @@ +# Native health display verification + +The original Blood Plasma run's post-fight HUD displays **8 / 84**, agreeing +with both native health stores and SQLite. It does not show a separate +zero-health HUD defect. The small rendered 8 was misread as 0 at whole-screen +scale. In the original `pair-earned-part-stable.png`, the bright pixel mask +of the current-health digit matches the 8 in maximum 84 exactly, 25 pixels +to its right. Enlarged original pixels and a reproducible comparison are +retained under `local/health-hud/`; no generated replacement image is used. + +The same check covers the corpse-open, post-pickup, controlled shop-arrival +and first-person shop captures. Their rendered current-health digits agree +with the recorded health of 8. The original plasma inventory, crafting, +sale and cold-recovery evidence is unaffected. + +## Follow-up checks + +Two headed Chromium WASM clients on the GPU used the single shared +preview. A read-only probe records the registered actor's flat Health27, +its health mirror at actor+0x1b0, local event flag at actor+0x128, weapon +queue indices and pending results. It also records the GUI engine's local +actor and the Stats HUD's actual TextLine string. The maintained source +routes are: + +- `kkr.dll` sub_360B0A50 and sub_3606E030: HealthDamage activation and setter. +- `eer.dll` sub_2D003630 and `kkr.dll` sub_3602B630: local skill lookup. +- `ddr.dll` sub_2B043BE0 and sub_2B0424D0: notification and Stats redraw. +- `ccr.dll` sub_27020B80: TextLine string replacement. + +The HUD view is at 0x2b0eea5c, its health TextLine at view+0x7c, and the +string's data/length at line+0x18/+0x1c. These observations read memory; +they do not invoke guest functions or change the native stores. Retained +original HealthDamage evidence +`ev_9d4bf2fdb316727a2543f1d94f1f2c2fa78df2f10a55dea5175e2a21c6c246e6` +was reused alongside the maintained translations. No new binary analysis +or original-server publication rule is claimed. + +A controlled health value of 1 rose to 5 through ordinary quiet regeneration. +Both native stores and the rendered HUD agreed at 5/60. The local-engine +pointer check was added for the later combat samples. A controlled +restoration to 60 preceded ordinary IP purchases, +issued bat/shirt wear and Treatment use. Stamina 13 and Body Development 10 +gave 84 HP; Treatment 7 left 1410 IP. Two successful lab uses filled health. + +The first ordinary Leet fight ended in death. HUD text tracked the health +store, including 0 and the subsequent resurrection value 1. The owned +character then received a controlled return to training and health 84 for +the next check. After a targeting-harness correction, two ordinary victories +and intervening native laboratory recovery reached 200 XP. Final health +stores, HUD strings and screenshots agreed at 23/84 and 25/84 respectively. +No item grants, NPC edits or reward changes were used. These controlled +health/location setups do not establish the complete ordinary starter loop. + +Some combat samples see a store change before the queued HUD redraw; the +next samples catch the updated text. Final quiet samples agree. Passive +recovery can also predict briefly above an authoritative correction. These +traces do not prove equal incoming-combat HP between all observers, or safe +healing while native weapon outcomes remain pending. + +An idle rematch after zoning was excluded: the harness cached a target that +the native UI had cleared. Explicit F1 selection followed by Tab restored +an actual attack request. Four concurrent batches of the existing shop +tests passed, each with 61 roots / 205 results, but started near the end +of the second fight. Their overlap +does not establish a complete fight under that load. Neither native +client recorded a page error; the earlier invalid test-name startup +failed before character creation and was cleaned up. + +The bounded result is agreement for these captured displays, not a combat +healing fix. First Aid and the broader player-HP delivery milestone remain +open. `local/health-hud/verification.json` retains capture hashes, exact +pixel checks, sampled outcomes, test counts and owned-fixture cleanup.