aorecomp

Anarchy Online classic in the browser

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


DEVELOPERS.md (69708B)


Developer guide

Detailed setup, operation and maintainer notes for Anarchy Online 14.9.1. See README.md for the quick start and repository overview.

Server build and operation

Game definitions and their provenance are embedded YAML in server/gamedata. NPC behavior is Go code in that directory, linked to YAML group IDs through NPCScripts; see the conversation API and source evidence. Static resources live in server/assets. Default builds read ./assets/ from their launch directory. The server and SQLite driver are pure Go; no C compiler is needed. Build with Go 1.26 or newer from the repository root:

CGO_ENABLED=0 go build -o aorecomp ./server
cd server
../aorecomp

For a standalone release, build from the repository root with CGO_ENABLED=0 go build -tags embedassets -o aorecomp ./server. Distribute that binary by itself (or the corresponding Windows binary); it can run from an empty directory. An external-assets installation instead needs assets/ containing anarchy-assets-14.9.1/, client/, maps/, favicon.ico, terrain.bin and zone_links.yaml, with the layout from server/assets/. Both providers use the same resource readers and HTTP handlers. Game-definition YAML and the small admin map script remain compiled into both builds.

Mutable world state is stored in data/world.sqlite and certificates in data/https/. Server logs go to logs/server.log and profiles to logs/profiles/. By default, the terminal and log file contain startup/shutdown, player connections with peer IP and port, and errors. Browser connections from a loopback proxy use the last X-Forwarded-For address in logs and players.last_ip (port 0, since the header contains no port). Other connections retain their peer address. Browser launches reserve an ID and an in-memory session for one hour. The first valid AO world handshake creates the visitor and starter inventory, recording the IP in the same transaction. Abandoned downloads create no player rows. Pass -trace when debugging to also write packet, movement and HTTP request traces to logs/server.log. Browser profiling is also off by default; sign in to /admin in the same browser, then open the game with ?profile=1 to collect and upload a diagnostic profile. Uploads require an administrator session. Back up data/ when moving servers. Paths are relative to the working directory.

The SQLite database contains character identity and credentials, stats, poses, vitals, item instances and locations, credits, missions, NPC/corpse state, skill locks, nanos and chat history. The server enables foreign keys, WAL journaling and FULL synchronization, with one connection ordering writes. Significant changes such as equipment, inventory transfers, ammunition use and rewards commit atomically before success is reported. See inventory behavior for the current scope and wire evidence.

Movement updates memory immediately. Player poses and vitals are checked once per second and checkpointed on staggered 20-second schedules. All due players share one transaction, including effect progress; failed batches retain their saved basis and deadline for retry. Unchanged values are not rewritten. The admin player list shows cumulative game-session connection time (including idle time) from players.connected_seconds. It accumulates in memory and uses these same checkpoints, including the final shutdown checkpoint. Page downloads before joining the game and time offline are excluded; totals start at zero. The list also shows players.last_connected_at in UTC, saved on each game-session join; visitors who only download the page have no last connection time. Nonfatal periodic damage and healing advance in memory. Death, rewards, loot and effect installation/removal still commit coherently before publication. Observed NPCs use periodic checkpoints, with staggered starts and a final snapshot when their zone becomes unobserved. Living authored NPCs restart at home with their checkpointed health, contributions and effects; roaming poses, routes and timers do not generate writes. Corpses and pets retain their location. An unexpected stop can lose simulation changes since the last checkpoint. Ctrl+C or SIGTERM flushes player positions and world state before closing the database; check logs/server.log for shutdown errors.

The admin player editor uses grouped HTML form fields. Saving validates the character and item ownership before writing the database atomically. Player export/import is not implemented; there are no per-player YAML storage files. Item pages use numeric fields for instance properties and one item ID field per backpack slot. Clear a slot field to remove the item from that slot. HTTPS key/certificate files are separate and use atomic file replacement.

Server ownership boundaries

Responsibility Owner and boundary
Protocol and sessions main.go decodes native messages and owns socket deadlines; world_dispatch.go dispatches game commands; browser_socket.go and browser_account.go authorize browser streams and credentials. Connection state belongs to worldClient, chatClient and their output/stream adapters. Decode and authorize before invoking a game action.
World simulation Each zone_runtime.go goroutine exclusively owns its zone's characters, sessions, inventories, spatial indexes and lifecycle queues. It processes commands and simulation ticks. simulation.go starts and drains these owners. Browser scenarios must not supply their own tick loops.
Cross-zone coordination world_directory.go owns routing and detached metadata through the world_runtime.go channel API; world_operations.go coordinates operations involving multiple owners. Team and chat owners exchange detached messages with zones. Never read another zone's entity pointers.
Shared geometry Asset decoders publish immutable results once per resource through sync.Map and sync.OnceValue. A short mutex protects mission registrations; decoding and geometry queries execute outside it. Navigation jobs pin their mission scene until completion.
Rules and content Action implementations such as inventory.go, combat and nano handlers decide admission and outcomes using gamedata. UI and transport code report those outcomes rather than reproducing the rules.
Durable transactions database.go, item_store.go and world_store.go own database records, item ownership and checkpoints. Significant actions commit their related changes before updating shared ownership or publishing success. Keep frequent movement in memory until its checkpoint.

Production startup reserves catalog identities and partitions saved player/item state by playfield. Each zone_runtime.go owner starts with no simulation timers or live NPC population until gameplay needs that zone. The root server relinquishes its character, client, item and lifecycle maps. External requests reach owners through channels; there is no shared simulation lock across zones. Bank, reclaim and bag contents follow their player; corpses, pets, resource state and mission floor items belong to their physical zone. Unassigned items remain in SQLite and are imported only through a transaction that claims ownership.

Each zone refreshes player visibility every 250 ms using a temporary spatial grid of its connected players. Actors enter at 180 metres and leave beyond 200 metres, matching NPC interest. Entry sends a complete snapshot before movement, combat and follow controllers; departure stops dependent controllers before removing the actor. Subsequent actor updates reach only observers that know it. Team resource messages remain available outside actor visibility and across zones. Injured players reconcile quiet health every two seconds; full health uses ten seconds, and actual healing is published immediately. Broadcasts and queued batches encode shared native packets once, then copy them for each recipient's output queue. Per-frame position scratch storage stays with its zone.

Zone activation restores its NPC checkpoint or creates its authored population in one transaction. Concurrent arrivals share that owner's activation, while the directory continues routing other zones. NPC identities are reserved before activation, so late-loaded populations cannot collide with pets or respawns. Admin catalog, map and player-list observations do not activate populations; inactive NPC markers use authored positions or committed state. Game data stays loaded for catalog searches and validation. Item quality variants share identical immutable names and descriptions; the deduplication index is discarded at startup.

Five minutes after the last connection leaves, an idle zone checkpoints before stopping its timers and releasing NPC actors, spatial/navigation state and checkpoint copies. Offline players and item records remain with their owner. A failed checkpoint retains the live state for retry. Later gameplay restores the population and processes elapsed corpse/respawn deadlines before admission. Zones with pets or active NPC effects remain awake to finish their work; those zones also resume at startup without waiting for a local player. The existing 15-minute NPC proximity grace still applies within zones that remain active.

Mutation helpers run on their owning zone goroutine. External callers submit commands and receive detached results; they must not retain or inspect mutable actors, inventories or client session state. Single-threaded unit fixtures may own their state directly. Concurrent fixtures submit commands to a zone runtime; routing and cross-zone tests use production startup. The nil-directory branches support serial construction and model tests; they are not alternate concurrent server modes. Start simulation before exposing HTTP or native listeners. Use the existing output queues for network delivery. Connection-local transport buffers retain small mutexes. Geometry has no shared lock around asset reads or decoding; concurrent requests for one resource share its result while other resources load independently. Stop zone/navigation readers before closing the asset archive.

Unworn item moves between carried slots, backpacks and the bank use moveStoredItem: SQLite checks the expected source and backpack ownership, enforces destination slot uniqueness and commits the placement atomically. The transaction takes values and has no access to live server state. Its caller publishes only the affected inventory, placement and backpack references after commit; it does not reconstruct world inventory or checkpoint NPCs. The affected zone waits for the transaction before processing another command. Other zones continue advancing. This preserves immediate atomic item/credit changes without speculative live-state publication.

Database construction completes before input producers start. Runtime paths use the initialized database directly; they cannot open it lazily. Zone states share its transaction worker. Password derivation has one request/reply worker in password_hasher.go, bounding Argon2 memory without a server-wide mutex. Shutdown joins request producers before draining the hash and transaction workers.

database_writer.go executes detached write requests on one goroutine. Inventory, NPC/player checkpoints, combat outcomes, teams, lifecycle transitions and creation prepare values under their current owner, send them over the writer's channel, and publish results only after its completion reply. Related writes compose a single transaction. Mission world/door IDs and team IDs remain private to the write until commit. Database shutdown joins the writer before closing SQLite. General inventory changes check the expected placement before replacing it; allocation watermarks are monotonic and inventory writes do not change the clock. Periodic checkpoints enqueue a detached player/NPC batch while holding state ownership, then wait for SQLite outside it. The bounded writer queue preserves submission order; a full queue defers a checkpoint to the next visit. Each completion compares the captured saved basis per actor, preserving newer durable outcomes without forcing unrelated players or NPCs to retry. Significant mutations wait on their affected owners. Periodic writes leave the zone event loop available for commands and ticks.

world_session.go contains world-session admission and departure, separate from socket decoding. zone_runtime.go runs movement, actions and commands for a transferred state on one goroutine. A regression holds SQLite during an inventory move and checks that a second owned state accepts movement and advances position. Each zone submits at most one periodic checkpoint at a time and receives its completion directly in the event loop. A blocked writer leaves commands and ticks running; a full writer queue defers the checkpoint to the next visit. Production startup uses these same owners. A startup regression blocks SQLite in one zone while another zone accepts movement and advances its position; shutdown persists both zones' final changes.

worldDirectory owns routing, environment defaults and the mission catalog on a separate goroutine. worldServices supplies shared service handles and content; new zones receive distinct mutable maps and cloned door defaults. Lifecycle workers receive a worldCoordinator containing services and account drafts, without access to zone entities.

Committed teleports transfer a player's entity and item records to the destination through its command channel. Reconnects wait for arrival; old connections remain bound to their source zone. A departure never waits for the destination to execute, so simultaneous opposite transfers cannot deadlock. Shutdown quiesces ticks, drains accepted handoffs (including newly created destinations), then joins the zone workers. Each zone drains its pending periodic write and saves all remaining player and NPC simulation state in one final transaction, regardless of periodic deadlines. Final saves use the current effect time and do not rewrite inventory or rewards. A failed final write is returned to the caller without preventing other zones from stopping. External producers must stop before this shutdown.

The directory also owns the committed mission catalog, with detached lookups by contract, private world and exterior playfield. Routed acceptance commits the key, objective, doors and NPCs together, then transfers the physical population and its checkpoint records into a new zone before publishing success. The player's inventory and journal stay with the player. Normal keyed entry joins that existing zone; metadata queries and key copying do not borrow another zone's state. A separate lifecycle worker coordinates cancellation, completion and expiry. It pauses only the participating zone owners, discovers remote key holders from durable placements, and collects detached inventory/NPC writes. SQLite commits all participants together; each zone then publishes its own changes. Completion preserves the private world until expiry. Failed preparation or commit publishes no retirement, and later requests can retry. A copied key must still name an incomplete contract inside its insertion transaction.

The directory keeps routing while lifecycle work waits for a zone or SQLite. It drains accepted lifecycle operations, creation and evacuation on shutdown. A retired mission zone returns late arrivals to the exterior through a durable handoff, so an earlier committed departure cannot strand a player there. Retired zones stop their simulation timers and retain only command handling for late handoffs. Production startup and external entry points use these ownership boundaries.

service_tasks.go owns admission and lifetimes for listeners, HTTP requests, native sessions, WebSockets and detached browser streams through channels. Shutdown cancels their transports and waits for accepted work and session cleanup before stopping and joining simulation workers. It then saves final simulation state and closes SQLite, reporting checkpoint errors even while finishing cleanup. The same lifecycle surrounds the test API. Account replacement registers asynchronous stream cleanup, so close handshakes neither hold simulation ownership nor delay account responses, and shutdown still joins them.

browser_stream_registry.go owns resumable stream registration, lookup, replacement and expiry through a command channel. Stream buffers and their transport writers retain their own small locks. Registry commands never acquire simulation ownership. Browser socket admission reads an indexed, committed credential and rechecks it inside stream admission, serialized with replacement cleanup. Password changes recheck the same credential in the SQL update after hashing. These paths do not read the global character map. Native login listing and selection also read durable identities.

Browser claim, login and character creation use the same coordinator queue as mission retirement. Only affected zone owners pause while SQLite revalidates credentials and commits the changes atomically. Existing actors stay with their owners; detached identity updates are published after commit. Creation allocates the player ID in that transaction and transfers the new actor and starting items to its zone before reporting success. Session admission waits if authentication observes a committed player before publication. Visitor launch and synthetic native login use the same transactional player allocator and publication path. Pending native creation attempts belong to the coordinator; password derivation runs outside it and then rechecks both the credential and attempt identity. Native creation retains its browser cookie, so replacement revokes only the old player's streams and preserves a new connection already awaiting publication.

Per-player admin inspection, editing and teleport requests run as commands on the current zone owner. Request bodies are read before admission, and responses are buffered until the command returns, so network I/O cannot hold an owner. Only a pre-execution ownership change retries a request. The test setup API uses the same boundary, rechecks its cookie against the selected player and transfers the actor and inventory after a committed position change. Global admin views sample detached zone snapshots. Environment controls update directory defaults and notify existing zones; future zones inherit those defaults. Item administration reads committed SQLite snapshots, routes owned edits to the current zone and uses private coordinator drafts for unassigned edits. Claims revalidate item records and bag contents in the ownership transaction.

World and chat transport entry points always use the routing directory and chat owner. An integration regression leaves the root character map empty while exercising native login, browser world admission, chat replay, cleanup and missing-stream refusal. Production startup, shutdown and ownership partitioning have separate regressions.

NPC lifetimes register and retire their directory entries from the owning zone. Cross-zone messages retain acceptance order for each entity and follow it through later transfers. The directory dispatches them without waiting for destination execution and drains them before shutdown. Remote pet dismissal commits in the pet's zone; only then does a message remove membership in the player's current zone. Mission retirement uses the same notification after its atomic deletion, then transfers evacuated players after local cleanup. Pet replay and following allow the owner and pet to occupy different zones.

Item and NPC reservations use shared atomic counters, independent of SQLite and zone simulation. Failed operations may leave unused identities; they do not publish objects or advance durable watermarks. A retry gets a new reservation. Character creation allocates its durable identity inside SQLite. Players retain pet IDs, not pointers to NPCs that can remain in another playfield. Resource collection checks its own changed depletion rows and item ownership inside the transaction.

Navigation searches use one goroutine and a bounded channel per playfield. Jobs own actor snapshots and pin immutable scene geometry; they never access mutable simulation state. The simulation accepts a result only while its motion request, starting pose, target identity and collision body still match. Moving targets refresh routing after a completed frame, so new positions cannot starve pursuit. A full queue retries on the next tick. Mission retirement cancels its worker, and shutdown joins all workers before closing their resources. Pathfinding runs independently of the zone event loop, which applies completed results to its own actors.

NPC visibility and activation query a grid of 200-metre X/Z cells keyed by playfield, then check exact horizontal distance. Movement updates membership, and spawn/removal must use addNPC/removeNPC. The active set keeps the fifteen-minute observation grace period. Routine NPC checkpoints inspect active actors and actors becoming dormant, and publish cache changes only after commit; they do not reconstruct inventory or clone every dormant NPC snapshot.

Simulation-loop logs identify the playfield and report scheduling delay separately from elapsed work at a 100 ms threshold. A slow zone can therefore be distinguished from a server-wide scheduling or resource bottleneck.

The test-only API follows these boundaries: it routes setup to the player owner, refuses setup while the player has a game connection, invokes the existing persistence methods and returns explicit snapshots. Its build tag keeps those capabilities out of production. Production and test shutdown share the final checkpoint/database-close path. Keep these ownership rules as affected code changes; a package split is not required to enforce them.

The matching browser build is checked in under server/assets/client/: index.html, game.js, game.wasm.br, profile-worker.js, audio-worklet.js, and build.json. A fresh clone can run (cd server && go run .) immediately.

No Emscripten, Python, Make, C compiler, or original Windows client is needed on the server build machine. Restart after updating external resources; rebuild tagged binaries to include changed resources. Keep the same launch directory when restarting an existing installation so it retains its data/ and logs/. To retain a repository-root installation, put an assets symlink to server/assets there before launching the default binary.

Run go test ./server from the repository root normally. Go starts package tests in server/; the external provider captures the absolute asset root before fixtures change directory. Run manually compiled test binaries from server/ as well. go test -tags embedassets ./server checks the standalone provider; its resource parity test compares bytes and HTTP responses against disk assets.

Requires Go 1.26 or newer. The server listens on all network interfaces. Default ports are login 7500, world 7501, chat 7502, HTTP 8080 and HTTPS 8443. Chat uses the port immediately after the world port. From another machine, open https://<server-address>:8443/ or /admin. On first startup, Go creates a self-signed certificate in data/https/cert.pem and a private key in data/https/key.pem; both stay out of Git. Trust the certificate on the client machine before playing: shared WebAssembly memory requires trusted HTTPS. The certificate covers the server hostname and current IP addresses for one year. If those change, remove both files and restart to generate a new certificate. HTTP remains available, including http://<server-address>:8080/admin. The public /status page shows an alphabetical list of connected players with their zones and a map, refreshing every five seconds. Interior markers show known entrances; private missions are listed separately by instance. Login chat includes a link to this page after restored history. Status notices are not saved in chat history. For an existing installation, move local/https/ to data/https/ before restarting to preserve the trusted certificate. Existing local/profiles/ files can be moved to logs/profiles/. Server messages are appended to logs/server.log and also printed to the terminal.

cd server
go run .

Reverse proxy deployment

To serve the game under a prefix such as /share/demo/, pass -base-url /share/demo/ to the server. Configure the reverse proxy to preserve that path and the Host header, forward WebSocket upgrades, and mark ao_client secure when using HTTPS. The cookie is scoped to the prefix. The admin dashboard requires a separate administrator login; initialize the first account before public exposure. See administration.

For nginx on the same host, set X-Forwarded-For to $proxy_add_x_forwarded_for so connection logs and the players table record the original client IP.

Keep saved player data and logs outside the public static directory.

Backups and restore

Stop the server normally and wait for it to exit before copying mutable state. From its working directory, copy the entire data/ directory into a fresh backup directory, preserving file permissions:

mkdir -m 700 backup
cp -a data backup/

This includes world.sqlite, any world.sqlite-wal/world.sqlite-shm sidecars and https/. The WAL can contain committed transactions that are absent from the main database file; copying only a running server's world.sqlite is not a complete backup. See SQLite's WAL documentation. The database contains credentials and browser-token hashes, so keep backups private. Logs and profiles under logs/ are separate from saved game state.

To restore an existing installation, keep the server stopped, move its current data/ directory aside and restore the complete saved directory. Use a fresh name for the directory being set aside:

mv data data-before-restore
cp -a backup/data data

Replacing the whole directory keeps the database and sidecars from the same snapshot, and preserves the browser's trusted HTTPS certificate.

Browser client

Open the game in a browser supporting shared WebAssembly memory, OffscreenCanvas and WebGL 2. It loads automatically with a randomized Solitus visitor near Bronto Burger in Omni-Entertainment. A persistent cookie identifies your character on later visits; no account or training is required. New visitors start in run mode with character tips disabled. Their names combine Visitor with a capitalized four- or five-letter suffix, staying within the 12-character limit without a separate title. Saving a visitor defaults to the generated suffix without Visitor; the name remains editable. Opt's Create character from scratch opens the original native creator. After naming, speak to an Arrival Hall representative to choose a faction and enter its training ground. Use Save this character in Opt to enable name/password login; until then, the browser cookie owns the character. Opening the same character in another tab disconnects the earlier tab. That tab shows a Reconnect button; clicking it takes the character back. Temporary network interruptions still reconnect automatically. Click the game or press a key to enable sound. Two-finger scrolling (or a mouse wheel) and right-button dragging rotate the browser camera. Ctrl-left-click retains the native inventory split gesture; the game canvas suppresses the browser context menu. Press Ctrl+Alt+M (Control+Option+M on Mac), or tap Opt on mobile, for player settings. Switch between CSS pixels and Retina pixels while playing; the choice is remembered. Retina uses the screen's pixel density, making the original interface smaller and sharper as well as increasing rendering resolution. The menu also provides fullscreen and, on mobile, touch controls and a 1P/3P toggle. On mobile, Move controls forward/backward and strafing; swipe the world to steer and drag with two fingers to orbit. Spread or pinch those fingers to zoom in or out. Autorun keeps moving after releasing Move. Jump, Attack and Use buttons provide the common keyboard actions; inventory uses the game's native INV button. Tap an inventory item to open its native action menu, then tap an action or tap outside to dismiss it. Double-tap an item to use or equip it (the native right-click action). Hold an inventory item briefly to pick it up, then drag or tap a destination to place it. Elsewhere, tap to left-click, drag to move windows, and hold briefly for a right-click. Native inventory icon positions persist in browser storage for each server URL and character, including after reload. Touch controls hide while settings or the chat composer is open. Tap Chat to open the phone keyboard; Send enters the message through the game's chat input. The composer accepts the game's Windows-1252 character set and reports unsupported characters before sending. Android Firefox has been tested on an Android phone. iOS Safari still crashes during startup and is not yet supported. Press Enter to chat nearby. /tell VisitorBaba hello sends a private message; /g Global hello sends to everyone connected. /whisper and /shout change the vicinity range. Visitor names contain no spaces so they work in commands. Normal speech reaches 10 metres, whisper 1.5 metres and shout 60 metres, within the same playfield. New chat is live: players do not receive conversations that happened while they were absent or outside vicinity range.

World and chat sessions each have a dedicated FIFO output writer. Shared broadcast paths only enqueue owned packet bytes; they never wait for a recipient's socket. Writers combine already queued packets without a batching delay and send chunks of at most 32 KiB. Pending output is capped at 8 MiB per connection, including detached unsent bytes. Queue overflow or a failed, short or timed-out write disconnects that connection. Writes have a five-second deadline and run outside the zone and chat owners, so a slow recipient cannot stall other players' updates. Forced disconnects discard queued output and the rest of the detached batch after the current write. Orderly shutdown drains accepted output. Failed world recipients are excluded from subsequent broadcasts while departure completes. Socket shutdown runs on the writer, so a transport close handshake cannot delay shared work or a replacement session.

chat_runtime.go owns social state on one goroutine. World owners publish detached identity, credential and presence values; team changes publish immutable revisioned views. Chat authorization, buddy changes, history and channel output are ordered on that owner. Its mailbox keeps zone publications independent of SQLite latency. Vicinity selects recipient IDs within the source zone, then the connection waits for chat completion outside simulation. See chat ownership and ordering.

The server saves each player's sent and received messages in the database's chat_history table. The sender's and recipients' copies commit in one transaction. Rows contain readable UTF-8 text, a UTC timestamp, channel, sender ID/name and message, plus the playfield for vicinity or recipient ID/name for tells. The database has owner-only file permissions on Unix.

Connecting restores the newest 500 entries into the native chat scrollback as timestamped history text, before delivering new messages. The server reads only that player's rows. Browser sessions using the same token resolve to the same saved player ID and see the same history, even after moving zones or restarting the server. Changing the authentication method can keep that ID. History text does not trigger private-message notifications or automatic replies.

History rows currently remain in the database without pruning; the 500-entry limit applies to login replay. Back up data/ to preserve both characters and chat. History errors are reported in the server log while live chat remains available.

Administration provides character/item editing, map teleporting, time/weather controls and SQL.

PvE combat is available against admitted creature profiles. Select an enemy with Tab or a click, approach within the weapon's range, then press Q (or the mobile Attack button). Range uses catalog actor extents and line of sight uses the world geometry. Q stops your own attacks; a retaliating opponent can continue. Player fists retain QL1 endpoints, with attack-rating scaling and native initiative/AggDef timing. The Stats window's DEF/AGG slider changes that timing. Species/level profiles supply NPC resources, attacks, recovery and loot, with historical evidence and provisional balance recorded in combat rules and NPC balance.

All six abilities and 69 trained skills support native IP purchases and control editing. Breed/profession, level and trained values determine health, nano, timing and recovery. Health recovery updates owners and observers even during queued weapon results; unchanged quiet corrections wait for combat to settle. Nano remains private to its owner. See stats and recovery, IP training and character progression.

Reviewed armor, weapons, implants, consumables and nanos use shared contracts; unsupported effects remain rejected. Supported attacks can award corpse loot, cash and provisional solo XP/level/IP rewards. Outdoor profiles have respawn rules, while private mission deaths persist until their instance retires. Player death uses native resurrection and applicable insurance/reclaim without a browser reload. See inventory, nanos, corpse loot and resurrection. Fast Attack and Fling Shot have transactional prototypes with persistent locks; historical reuse/selection and idle animation rules remain open. Active combat weapon swapping, dual wield, pets and wider content remain separate TODOs.

The client combat reconstruction maps native formulas, action scheduling, messages and effects to server obligations and records the remaining gaps.

Bronto Burger, Lush Fields and Newland have passed browser rendering, movement, inventory/map, audio and connection checks. Performance work and broader gameplay validation continue. For native clients, keep the server running in a separate terminal and use the commands below. Players create accounts through the game.

Build the browser client with Podman

The Dockerfile installs the WASM build dependencies in a container. It pins the Linux amd64 Emscripten 6.0.12 image by digest and Brotli by version and checksum, and downloads and builds the checked audio dependencies and Emscripten ports. No host SDK is needed.

From the repository root, prepare the image once (requires network access):

podman build -t localhost/ao-wasm:6.0.12 -f tools/client/Dockerfile.wasm tools/client

Build from a regular Git checkout, including any current source edits:

mkdir -p local/wasm-output
podman run --rm --network=none \
  -v "$PWD:/source:ro" -v "$PWD/local/wasm-output:/output" \
  localhost/ao-wasm:6.0.12

Use rootless Podman on Linux amd64. The container copies only client sources and build scripts; it does not reuse host object files, audio libraries or compiler caches. Each run performs a clean client build with eight compiler/linker workers. Allow several gigabytes of disk space, substantial compilation time and enough memory for linking. The six published files appear in local/wasm-output/. After validation, copy that complete bundle into server/assets/client/ to publish it.

Rebuild the image when changing the SDK, audio dependencies or Brotli.

Build the browser client on Debian

Only the client build machine needs this toolchain. Install the native build dependencies and the pinned Emscripten SDK once:

sudo apt-get install build-essential cmake pkg-config git python3 python3-brotli xz-utils ca-certificates
mkdir -p toolchains
git clone https://github.com/emscripten-core/emsdk.git toolchains/emsdk
./toolchains/emsdk/emsdk install 6.0.12
./toolchains/emsdk/emsdk activate 6.0.12

Build and publish the client:

make wasm -j8

This downloads/builds the audio dependencies, compiles the game, and writes the six files above to tracked server/assets/client/, which the default server reads from disk and embedassets builds include in the executable. The first build is heavy; allow several gigabytes of build space and substantial compilation time. ThinLTO optimizes calls across source files with eight linker workers. Keep client/build/wasm/lto-cache/ to reuse that work on subsequent builds. Publishing also caches Brotli compression in client/build/wasm/web/, so page-only updates reuse the compressed executable. The browser decodes it over HTTP. Commit the complete matching bundle after validating it. Do not mix JavaScript and WASM from different builds. Intermediate build output stays ignored.

Game data

NPC definitions are editable YAML in server/gamedata/zones/zone_<playfield>.yaml. Each zone holds both reconstructed NPCs and its original population record: level ranges, radii, timings, flags, stats, hashes and offsets. Comments, confidence and provenance remain ordinary searchable fields. Source and FixedSource link the loaded definitions to their original records.

population_evidence.yaml holds extraction evidence and shared confidence descriptions. npc_names.yaml retains guide sources and name confidence. monsters.yaml holds all 290 appearance definitions; items/ holds all 87,611 item and nano definitions, including serialized effects, requirements and undecoded bytes. Item catalog provenance and coverage live in items.yaml. Map coordinates, playfields and terrain extraction evidence have their own YAML files in the same directory. corpse_poses.yaml holds the native-validated Leet and Aquaan death-pose vertices; regenerate it with python3 tools/data/extract_corpse_poses.py. See corpse placement for the provisional terrain correction.

Go embeds these files and decodes them into typed structs at startup. Item files contain one YAML document per record, keeping temporary parser memory bounded. Rebuild and restart after edits; runtime does not read external game-data files. types.go defines the schemas and load.go loads and validates the embedded data.

Every NPC group has an explicit stable id, independent of its position in a file. gamedata.NPCGroups[id] resolves its definition, and live NPCs retain that ID for Go behavior code. Keep existing IDs when editing or moving definitions. The current server has generic roaming logic; per-NPC chat and walking scripts can be implemented in Go against these IDs when needed.

For bulk processing, go run ./tools/data/export_gamedata exports all loaded definitions and extraction evidence as JSON. tools/data/generate_npcs.py writes extraction candidates to local/reports/ for review, leaving maintained YAML intact. make assets copies game resources from the top-level anarchy-assets-14.9.1/ directory and derived data from data/ into server/assets/. make wasm runs this step before building and publishing the browser client. The default provider reads ordinary files directly; embedassets embeds them without changing their paths. There are no resource archives, split files or startup extraction. Asset checksums are prepared during copying so browser cache validation does not scan large files at server startup. Extraction tools write reproducible JSON candidates into ignored local/data/ and local/reports/; these are optional review artifacts. The server uses embedded definitions. Offline regeneration reads fresh extraction candidates plus maintained map coordinates and name evidence from YAML.

Native clients

Original Windows client (PowerShell)

Push-Location anarchy-vanilla-14.9.1
$env:ANARCHY_CD = 'cd_image'
$env:ANARCHY_SETUP = 'Setupf'
.\Clientr.exe localtest localtest 1 2130706433 7501 0 0
Pop-Location

Rebuilt Windows client (PowerShell)

Uses the local LLVM-MinGW toolchain. make clean is only needed to discard an existing build; make also builds from a clean checkout.

& .\toolchains\llvm-mingw-20261006-ucrt-x86_64\bin\mingw32-make.exe -j4
Push-Location anarchy-runtime-14.9.1
$env:ANARCHY_CD = 'cd_image'
$env:ANARCHY_SETUP = 'Setupf'
..\client\build\windows\game.exe localtest localtest 1 2130706433 7501 0 0
Pop-Location

Native Linux (Debian 13, x86-64)

Install dependencies once, including Go for the server:

sudo apt-get install build-essential pkg-config libsdl2-dev libgl-dev zlib1g-dev libsndfile1-dev libfreetype6-dev libfontconfig1-dev golang-go xwayland
mkdir -p ~/.local/share/fonts/anarchy
cp anarchy-assets-14.9.1/fonts/*.ttf ~/.local/share/fonts/anarchy/
fc-cache -f

Start the server above, then build and run from a graphical desktop terminal:

make -j4
(cd anarchy-assets-14.9.1 && SDL_VIDEODRIVER=x11 ANARCHY_CD=cd_image ANARCHY_SETUP=Setupf ANARCHY=. ../client/build/linux/game localtest localtest 1 2130706433 7501 0 0)

Linux through WSL (PowerShell)

Install the same build dependencies and fonts inside WSL. Run the server there as well so the client can reach it on localhost:

wsl --cd /path/to/ao/server --exec go run .

In another terminal:

wsl --cd /path/to/ao --exec make -j4
wsl --cd /path/to/ao/anarchy-assets-14.9.1 --exec env GALLIUM_DRIVER=d3d12 ANARCHY_CD=cd_image ANARCHY_SETUP=Setupf ANARCHY=. ../client/build/linux/game localtest localtest 1 2130706433 7501 0 0

Copying to Debian

The Linux client needs an x86-64 desktop with OpenGL 3.3 or newer. Use the native GPU driver; GALLIUM_DRIVER=d3d12 belongs only in the WSL command. The current window/input adapter and tests are validated with X11, so the native command selects SDL X11 explicitly. On a Wayland desktop this uses XWayland; direct Wayland operation is not yet validated. No Wine, 32-bit Linux libraries, Windows toolchain, or original game DLLs are needed. The four local Verdana files above preserve the tested font choice; otherwise Fontconfig may silently substitute a different font. They remain local assets.

Use a fresh destination data/ directory. For an existing installation, move its stopped data aside as described under Backups and restore. From WSL, copy to your mounted destination or substitute an SSH destination:

rsync -a --chmod=D755,F644 --info=progress2 --exclude=/data/ --exclude=/local/ --exclude=/toolchains/ --exclude=/venv/ --exclude=/client/build/ --exclude=/anarchy-vanilla-14.9.1/ --exclude=/anarchy-runtime-14.9.1/ --exclude=__pycache__/ --exclude='Screenshots/*' /path/to/source/ao/ /path/to/destination/ao/
rsync -a --chmod=D700,F600 --info=progress2 /path/to/source/ao/data/ /path/to/destination/ao/data/

Keep anarchy-assets-14.9.1/ and the complete data/ directory, including world.sqlite, its sidecars if present, and https/. The asset directory contains game data/configuration only; Windows launchers, DLLs and Miles audio plug-ins are excluded. All zones' assets are retained. Its preparation script is tools/client/prepare_portable_assets.py; ordinary builds and runs do not need that script or the Windows runtime directory. See the asset audit for the isolation test and its scope. Stop the server while copying mutable state. Do not use Git's ignore rules as rsync exclusions: that would omit required local assets and server data. Do not reuse Ubuntu-built objects on Debian. In the destination, make clean then make -j4 forces a native rebuild. Reduce parallelism if memory is tight. Some generated C files take several minutes and multiple GB of RAM to compile. The first rsync command removes executable bits from Windows-mounted source files. The separate data copy keeps world state and HTTPS keys private. Python and the Windows virtual environment are not needed for ordinary builds.

Debian 13 supplies the SDL2 development package and Go 1.24. Its libsndfile 1.2.2 package also includes the MPEG decoder dependencies used by the Linux audio adapter. The server may need network access on its first build to download Go modules.

Repository layout

Path Purpose
client/game/ Maintained reconstructed C for Clientr.exe and 33 game DLLs; edit directly.
client/runtime/ Windows host, portable memory/runtime, and Linux platform adapters.
client/data/, client/vendor/ Non-code game initializers and translated support libraries.
client/tests/ Native contract and regression tests.
server/ Go server and server-side game logic.
server/gamedata/ Embedded YAML definitions, provenance and Go schemas.
server/assets/ External static resources and the optional embedassets provider.
server/assets/client/ Checked-in browser build, bundled by embedassets releases.
anarchy-vanilla-14.9.1/ Local original game for Windows reference comparisons.
anarchy-runtime-14.9.1/ Windows runtime assets and native vendor DLLs.
anarchy-assets-14.9.1/ Portable game assets and configuration; no Windows executables or plug-ins.
tools/client/ Client validation, Windows/Linux comparisons, and reconstruction utilities.
tools/data/ Game-data extraction and its tests.
toolchains/ Local downloaded Windows compiler; ignored.
logs/ Server log and uploaded browser profiles; ignored.
local/ Ignored extraction data, development reports, screenshots, test fixtures, and downloaded references.
docs/ Architecture, reverse-engineering evidence, and validation history.

local/ is disposable and was cleared along with obsolete game installations and archived experiments. Tests can recreate their output directories; make wasm recreates its downloaded audio dependencies under local/wasm/. The selected 14.9.1 inputs, toolchains/, current build outputs, server assets and mutable data/ remain outside it. Cited text research is retained in research notes; the current unfinished browser verification is recorded in the checkpoint. Historical local/ capture and report paths elsewhere in the docs no longer refer to retained files. See tools for legacy tool inputs.

The early standalone 14.9.1 sources are preserved by the annotated Git tag ao-14.9.1-source-baseline (source directory decompiled/). All 34 module extraction hashes match the current baseline. See the repository size and packaging notes.

Maintainer handoff

The baseline is 14.9.1. Preserve classic Rubi-Ka scenery and GUI. Performance work is currently paused for the portable browser handoff. Linux only needs windowed mode. Read client/README.md before changing the runtime.

Validation

On Linux, from a graphical desktop session:

SDL_VIDEODRIVER=x11 make test
go test ./server/... ./tools/... -count=1 -timeout=1h

make test includes graphics/window tests and needs a working display. Windows comparison wrappers live in tools/client/test_portable_*.py; they use the local LLVM-MinGW compiler and WSL. Normal Linux tests do not require those wrappers. The full server suite includes many persistence and catalog cases and can exceed Go's default ten-minute timeout. Use these explicit Go package paths: local/ contains ignored research snapshots and temporary build trees that are not part of the maintained test suite. See tools/README.md for the smoke-test fixtures and tools.

Server fixtures use newTestServer(t) for an isolated directory and newServerForTest(t) when reloading the current directory. Lazy fixtures register registerTestDatabaseCleanup(t, world) before fallible operations. These helpers drain live sessions before closing SQLite at scope exit. Give independent table cases their own t.Run scope so fixture cleanup runs between rows.

For client smoke tests, confirm world loading has completed, open/close inventory (I) and map (P), move and turn, and inspect the rendered results. Use the browser harness below to wait for actual gameplay readiness. On Windows, F12 saves the game's own screenshot. The Linux harness captures the completed game framebuffer through GDB, before desktop clipping. Static screenshots cannot exclude brief rendering glitches. Keep test servers isolated from the user's saved characters.

Browser game testing

tools/client/game_test.mjs provides a reusable Playwright driver for the maintained WASM client. It uses real browser mouse/keyboard input and read-only C snapshots taken after complete game frames. It does not grant items, edit stats, teleport characters, bypass native commands or inject protocol packets. Use it for remaining gameplay work instead of copying local memory-scanning scripts or adding sleeps after each action. Actor stats entries are raw values. effectiveArmor contains the eight Protection-form defenses in stat90..97 order, including signed worn/nano modifiers. Use it when checking actual AC changes; zero raw AC does not imply missing armor. The snapshot reads the native tree without calling guest code. TestBrowserEffectiveArmor checks all eight values through wear, removal, page replay and fresh-server startup; see effective armor snapshots. Each actor's actions lists native action categories, including remote reload category 5. Its weapons entries include signed loadedAmmo from the native WeaponItem stat container; infinite ammunition and unbound controllers use -1. These reads do not invoke guest getters or change queues. Inventory remains local-player-only. Door actors (type51016) expose door.flags, latched, duration and time. These read the existing native object and animation frame without advancing it. TestBrowserCityDoors checks shared approach, opening, withdrawal, reconnect and passage on the selected city/shop routes; see city doors. The snapshot's cursor records the native shape, visibility, hotspot and drawn size. node --test tests/e2e/cursor.test.mjs checks the browser pointer through low-FPS input, canvas re-entry, contextual selection, camera controls, inventory transfers, resizing and mobile touch input using the isolated test server. node --test tests/e2e/camera.test.mjs checks wheel/main-keyboard zoom, laptop camera shortcuts, autorun and punctuation in native chat. Camera snapshots include the current vehicle position for observed zoom and orbit checks. node --test tests/e2e/storage.test.mjs checks startup and native inventory layout writes/reload with persistent storage available or denied, preserving server-owned items in both cases. Short key/click helpers release on the fresh consumed SDL event, then read the next full snapshot. Reading a large snapshot while holding a skill button can trigger native autorepeat and buy more points than intended. GameTest.walk(x, z) follows observed position and heading with bounded native steering pulses. Longer moves hold forward until the final metre or a steering change; bounded forward presses finish the approach before reading another snapshot. It rejects stalled routes and waits for actor readiness when travel changes playfields, including a walk started while the local actor is absent during zoning. Use it for ordinary ground routes.

Run its isolated browser regression with Node.js, Playwright and Chromium available (node on PATH, playwright installed locally or on NODE_PATH, /usr/bin/chromium installed):

node --test tests/e2e/browser.test.mjs

For a short native cold-recovery check without replaying progression, run:

node --test --test-name-pattern='two starter accounts' tests/e2e/browser.test.mjs

This uses current-schema accounts and controlled level, wallet, equipment and charge conditions. Two fresh browser contexts log in normally after database closure/restoration and compare exact native ownership and private progress. The full StarterEquipment scenario uses the same cold check after earning its state; the short fixture does not establish earned progression.

This starts an HTTP server on a random loopback port and uses a disposable database and browser context. It exercises actor readiness, movement, targeting, posture, native world picking, UI input, resizing and reload reconstruction. The setup creates the scenario before connecting; all actions under test use normal browser input and the actual game/server protocol. The test closes its browser, streams and HTTP server even after failures. Reports and screenshots remain in local/e2e/<run>/. On the Linux desktop, use the same working DISPLAY/XAUTHORITY environment as the other GPU browser checks.

New browser scenarios belong in tests/e2e/ and use fixture.mjs. Its shared build step compiles go build -tags=e2e; each scenario owns a loopback server, temporary database, asset-directory symlink and Playwright browser. Restart closes browser contexts, checkpoints and exits the process, then starts a fresh process against that same database. Cleanup runs in finally, including after an assertion fails. The fixture verifies graceful server exit and removes only its own temporary directory.

The test-only /_test/player snapshot exposes identity, placement, posture, progress, resources and explicit carried-item records. Setup operations prepare position, progress, grants, item placement/charges and a stationary picking target before the game connects. They execute on the current zone owner and use the ordinary persistence methods; they do not accept SQL, arbitrary field names or internal struct dumps. The test executable runs the same simulation loops and shutdown checkpoint as the normal server. e2e_api.go and its entry point are excluded from default builds; TestProductionOmitsBrowserSetupAPI checks production route absence.

The movement/targeting, overflow-refusal and starter cold-recovery scenarios have moved from Go runners. Other browser runners migrate incrementally by subsystem. The longer TestBrowserStarterEquipment runner retains its earned checkpoint and invokes the shared cold-client assertions through its existing adapter. Ordinary Go rule, transaction and HTTP-handler tests remain in Go.

The Chromium harness saves runtime exception details with each error, preserving stack frames even for primitive throws such as unwind. Verify that diagnostic path without loading the game with node --test tools/client/test_game_errors.mjs.

For focused final-approach verification:

AO_GAME_TEST=1 go test ./server -run '^TestBrowserWalkingFinalApproach$' -count=1 -timeout=5m -v

The controlled fixtures use valid training caps and test walking and running through five integer/fractional waypoints, a real wall refusal, released-input recovery and cold pose retention. Native arrivals stay within 0.35m; server comparisons allow the original compact movement packet's 1/8-metre X/Z encoding. Evidence is saved under local/walk-final-approach/.

TestBrowserStarterEquipment creates two Atrox Enforcers through Options with their normal Omni starter loadouts and the production training-ground population. It checks issued-bat equip/remove/re-wear, normal skill purchases, the issued shirt and nano crystal, a full-health spawned Leet kill, an earned mission request, all five full-health private encounters and exact-book hand-in. It accounts for each corpse's single-award cash, any generated parts, laboratory use/locked retry, quiet recovery, the request fee and the advertised item/cash reward. It trains the rolled reward's requirements, wears that exact instance, earns level two through nine further full-health kills and spends the earned IP. Ordinary travel reaches the medical shop for an unaffordable purchase, cancelled/retried earned-part sale and funded Nano Kit purchase. Untrained use, First Aid training, one successful charge and an immediate locked retry are checked before returning to defeat a full-health authored level-two Leet. Native ownership is compared with server state, observer isolation, page reconnect and cold database loading, including final player poses and all five saved encounter deaths. The artifact directory retains ledger.json, native screenshots/traces and a world.sqlite snapshot from the stopped simulation, including after a failed browser run. Its forced final position checkpoint follows production shutdown. Skills and rewards use ordinary native commands and production random rolls, without grants or edited characters/enemies. Pre-attack and post-kill captures retain native and live server poses beside their wire events. Funded health supplies, further levels, full inventory and actual death/reclaim remain broader regression work.

AO_GAME_TEST=1 go test ./server -run '^TestBrowserBulkReclaimColdRecovery$' -count=1 -timeout=7m -v runs the short controlled 24-entry reclaim checkpoint. Two fresh native clients load pending reclaim from a closed database, then use the real booth, scrolling and collection. Empty-slot retries, observer privacy, page replay and a second closed-database restart conserve exact identities, charges and loaded ammunition. This isolates transfer/recovery; it does not earn progression or measure death and reclaim timing. See bulk reclaim.

TestBrowserStarterMissionTargets walks a normally created starter through its training exit to Backyard1. It checks the distinct booth56001, entrance56006 and scene-door51005 identities sharing a numeric ID, then uses the actual booth and cancels its window without changing inventory, cash or progression.

AO_GAME_TEST=1 go test ./server -run '^TestBrowserLeatherArmorQualities$' -count=1 -timeout=12m -v runs a controlled two-client item-contract fixture. It seeds the characters and eleven Leather instances before connecting, then uses normal native input for all seven worn pieces, both arm slots, QL100/101 thresholds, ability training, the alternate vest, cancelled/accepted sale and page reconnect. It checks exact ownership and all eight server AC totals, preserving screenshots, wire events and the stopped database. This fixture does not establish earned acquisition or original stock membership; see Leather armor.

For a new scenario, attach before navigation so protocol capture includes the initial stream handshake:

import {GameTest} from './game_test.mjs';

const game = await GameTest.attach(page);
try {
  await page.goto(url);
  await game.ready();
  await game.key('F1');
  await game.key('x');
  await game.wait('sitting', state => game.local(state).stats[430] === 2);
  await game.hold('w', 'cross the doorway', state =>
    game.local(state).position[2] > doorwayZ);
} finally {
  try { await game.save(outputDirectory); }
  finally { await browser.close(); }
}

The driver provides:

For burst input, focus-loss and timing regressions, drive Playwright's mouse and keyboard directly while keeping GameTest attached for observation. The helpers deliberately synchronize ordinary actions. Inspect saved screenshots for rendering and UI correctness as well as asserting underlying game state.

Snapshots include frame number, render size, browser focus/visibility, selected/hovered identities, camera angles, visible native UI regions, and loaded characters, world items, machines, mission booths/entrances and corpses. Actor fields include global position, rotation, playfield, deletion and combat state. Characters expose the 1024 raw stat values by native stat ID; these are the dictionary values, not a reconstruction of all effective modifiers. The local character includes inventory/equipment proxies with native slots, instance identities, QL, template endpoints and counts, plus an actions array of active native action types. Inventory admission checks types3 and6; wait for their absence before testing a new placement rather than guessing a delay. Inventory slots 48..77 correspond to server slots 64..93. Snapshots are copied on the game thread and published synchronously before C frees their buffers. Missing actors during zoning or removal are not proof of death or success. The pick snapshot records the last completed native selection's sequence, pixel and identity. Selection keeps its original periodic cadence; receiving pointer motion or another render frame alone does not establish a new pick.

Tracing activates with the first snapshot request. It records browser delivery, SDL consumption, protocol packets in both directions, and observed stat, inventory and position changes. Packet capture reassembles fragmentation and deduplicates transport replay across reconnects. A received packet is evidence of receipt, not that native activation or server acceptance succeeded. Check the resulting client state and, for significant transactions, independent server state or persistence. The report retains 2048 events and 32 snapshots; dropped reports overwritten events. Its separate lifecycle history keeps the latest 64 CharacterAction99/152 and Resurrect packets, including their original actor, direction, navigation, stream, sequence and payload. lifecycleDropped reports overwritten lifecycle markers independently. Use that history when a large world replay evicts death/return evidence from events; save intermediate reports for long scenarios. Run node tools/client/test_game_trace.mjs for the bounded retention regression.

Extend the C snapshot at client/runtime/browser_testing.c when a new scenario needs another native field. Keep object traversal on the game-owning thread; do not resume pointer scanning from page JavaScript. The production page does not request snapshots or collect test traces during normal play. Rebuild and publish the matching bundle with make wasm -j8 after runtime changes.

Snapshots include active native grids, with columns, visible rows, firstRow, and totalCells. Each active cell records its visual index, native identity, canvas-pixel bounds and dummy flag. Grid position is local to its parent render window; use cell bounds for browser input. Empty cells and icons hidden during a drag can both be dummy cells. The root dragged identity comes from the native drag manager and is [0, 0] when no object is held.

For ordinary inventory, a cell identity [104, slot] refers to the corresponding native actor inventory slot. It does not give the visual cell index or physical item ID. Collect successive scroll rows to cover the whole grid before declaring an icon missing, and account for an item on the mouse cursor. These snapshots report active native cells; they do not calculate occlusion by other windows.

TestBrowserInventoryGrid checks sparse logical slots, complete cell coverage, native wheel offsets, mouse-held/dummy state and a fully settled visual swap. Page reload retains the layout, while cold store loading confirms unchanged ownership of 28 carried and two banked items. It uses controlled fixtures and real browser input, without earning progression to reach the condition:

AO_GAME_TEST=1 go test ./server -run '^TestBrowserInventoryGrid$' -count=1 -timeout=5m -v

Focused harness checks, without starting the full game:

make -C client -f Makefile.wasm build/wasm/browser-testing.js
node client/build/wasm/browser-testing.js
node --test client/tests/*.mjs

Bronto Burger reference view

The approved Bronto Burger view in Omni-1 Entertainment faces northeast:

playfield: 705
position: [960, 16.5, 510]
rotation: [0, 0.9238795, 0, -0.3826834]

Set server time to 13:30 and use first person (F8 toggles it). Reference image.

Detailed server controls, research history and older milestones are in project notes. The documentation index links protocol, game-data, maps, and remaining questions.