aorecomp

Anarchy Online classic in the browser

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


commit 9eab7e45061098eb8020a89b28acf81825d3f099
parent b17260a5d1d3f03555acd7b5596047a1e1bc0840
Author: anon <anon@example.com>
Date:   Sat, 17 Oct 2026 00:11:22 +0000

Use verified arena district arrivals and record browser zoning coverage

Diffstat:
Mdocs/playfield-validation.md | 24+++++++++++++++++++-----
Mserver/playfields.go | 4++--
2 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/docs/playfield-validation.md b/docs/playfield-validation.md @@ -15,6 +15,10 @@ make -C src -f Makefile.linux -j8 python3 tools/client/sweep_playfields.py ``` +Close other native AO instances before starting. The client's single-instance +check otherwise opens an unimplemented `MessageBoxA` path and exits before +loading a scene; that startup failure is not playfield-specific. + The sweep needs Go, a C compiler, SDL2/OpenGL development libraries, Python 3.11 or newer with Pillow, `gnome-session-inhibit`, and `xset`. It reserves ports 7520, 7521 and 8082. It does not use the user's server or `data/users.yaml`. @@ -27,7 +31,8 @@ There are 370 definitions: 363 scenes in the sweep, six dependency/developer entries, and one empty bunker definition (1673). The server catalog also lists 25 names without definitions in this release; these are excluded explicitly. The four added arrivals (124, 641, 706 and 4704) use district centres from the -release database, consistent with other provisional catalog arrivals. +release database. The arenas use their named Arena districts rather than the +first district, which can be empty terrain or the wrong side of a wall. `results.jsonl` is appended after each scene. `ready-and-rendering` requires a server acknowledgement followed by at least ten seconds and 30 rendered frames. @@ -46,12 +51,21 @@ The browser graphics regression also passed, with all 19,421,184 captured bytes identical to native Linux. The Windows x86 test source passed a syntax check; it has not been executed on Windows here. -Screenshot review found that the regular Grid arrival appears below its floor. -The four added playfields also reach rendering, but their district-centre -arrivals remain provisional: an arena view can face a wall or empty terrain, +Screenshot review found that the regular Grid arrival appears below its floor, and the Booster Shop camera is close to geometry. These are not visual passes. -Full native coverage is still in progress. Browser coverage must be run separately: +The full browser build rendered Camelot, then reconnected through the Subway, +Temple of Three Winds, Tir Arena and Omni Entertainment Arena in sequence. +Inventory and the world map rendered after zoning. The corrected arena centres +show the arena interiors. Screenshots and the module digest are retained in +`local/performance/browser-indoor/` and adjacent `browser-indoor-*.png` files. +This is representative browser coverage, not a complete browser sweep or +deterministic cross-platform movement replay. + +More than 100 native arrivals completed without another crash after the fixes; +the complete native sweep and cold-launch pass are still in progress in +`local/playfield-sweep/playfield-sweep-20261016-165029/`. +Browser coverage must be run separately: paged memory, WebGL, asset fetching and asynchronous WebSocket cleanup can fail independently. A single arrival also does not cover the whole playfield. Follow-up coverage should turn the camera, move through authored districts, exercise diff --git a/server/playfields.go b/server/playfields.go @@ -388,8 +388,8 @@ var playfields = map[uint32]playfield{ 124: {name: "Tir Assembly Hall", spawn: [3]float32{216, 14.000001, 162}}, 125: {name: "Smuggler's Rearranged", spawn: [3]float32{158, 39.2397766, 206}}, 127: {name: "Condemned Subway", spawn: [3]float32{150, 107.603256, 274}}, - 641: {name: "Tir Arena", spawn: [3]float32{340, 6.80000019, 380}}, - 706: {name: "Omni Entertainment Arena", spawn: [3]float32{220, 16.3999996, 180}}, + 641: {name: "Tir Arena", spawn: [3]float32{620, 8, 460}}, + 706: {name: "Omni Entertainment Arena", spawn: [3]float32{180, 16.3999996, 220}}, 1833: {name: "Dng: Cyborg Barracks", spawn: [3]float32{104, 10.6003942, 172}}, 1840: {name: "Rompa Bar", spawn: [3]float32{234, 5, 152}}, 1913: {name: "Reet Retreat (dng)", spawn: [3]float32{136, 9.00000191, 108}},