aorecomp

Anarchy Online classic in the browser

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


docs/health-hud-verification.md (4130B)


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:

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.