aorecomp

Anarchy Online classic in the browser

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


docs/arrival-hall.md (7692B)


Arrival Hall introduction

Native character creation enters playfield 4604 before selecting a faction. The player receives the profession starter kit there. Faction maps and gifts are issued only when leaving the Hall. Walk down the corridor marked Clan, Neutral or Omni to choose that faction and enter its training ground. Talking to a representative is optional. Their native conversation also offers an explicit departure choice; the other choice ends the conversation without committing a side.

The provisional entry position [190, 1.52, 200] is clear lobby floor facing the three booths. The central gap between the queue barriers is walkable via XZ [186, 181], then [186, 172]. For Omni, continue through [178.5, 170] to [178.5, 167.5]; the representative is within conversation distance there. This route was verified using native movement from a newly created character, without position fixtures or jumping. The original historical entry transform is still unknown.

Original evidence and reconstruction limits

The original 14.9.1 population resource preserves these fixed placements:

Template Maintained representative Position XYZ Group ID
CLRE Clan Recruiter 195.78024, 1.0163763, 163.26073 4604/district/0/fixed/0
NEOB Neutral Observer 186.17244, 1.0173757, 163.2037 4604/district/0/fixed/1
OMIM Omni-Tek Immigration Officer 176.11554, 1.0169828, 163.19379 4604/district/0/fixed/19

The population source, including exact coordinates, facing and template codes, is retained in server/gamedata/zones/zone_4604.yaml; its payload SHA-256 is de8921cb2085b1e67d048af686cd15a990ccb1d3b761e390530a93ce10c5152c. The representative labels are existing abbreviation-based name inferences. Their generic Solitus bodies and original catalog garments are provisional. The original body resource 26088 is solitus thin male, not a Leet. Clan and Neutral representatives wear the existing rustic outfit; Omni wears its existing uniform outfit. These choices do not establish their historical heads or clothing.

The shipped cd_image/text/tips/OnEnteringArrivalHall.txt welcomes the player and explains that some people speak when approached while others require a right-click. tipheader.txt binds it to Arrival_hall. The local Fandom mirror's Gaute Godager about Notum Wars article describes the Hall after character creation and before final side selection. A bounded search of that mirror found no representative dialogue transcripts. The implemented conversation is concise provisional guidance, with no invented historical lore or claim to reproduce the original wording.

Resource 1000026/4604 contains no type-51016 door records, but it does contain six type-51005 collision statels. Its payload SHA-256 is 6c11a9db46ce2a55c6cc446e0242adc69b715ae75cf8c420d01625eee8f37024. The complete records and decoded descriptors are retained locally in local/native-creation-arrival/statels.json.

Collision statel Authored label XYZ Set Side (stat 33)
51005:0xc00011fc Neutral 182.74585, 1.3142736, 157.6853 0
51005:0xc00411fc Clan 192.28783, 1.3145673, 157.6162 1
51005:0xc00511fc Omni 172.67474, 1.3137777, 157.44034 2

Each has event 3 (OnCollide), a Set53026 assignment to Side, profession-dependent SpawnItemACG53064 functions, and Teleport53016 to [183,2,154], [192,2,154] or [173,2,154] in the current playfield. The three further statels 0xc00111fc, 0xc00211fc and 0xc00311fc sit at those corridor ends, are named "Exit to clan", "Exit to neutral" and "Exit to Omni-Tek", and run function53142 with arguments [0,65000,0,0]. The original server routing behind that last function and the precise native collision meshes remain unresolved.

The server handles departure within two metres of the authored Side-assignment statel, before the blocked end of each corridor. This envelope is provisional; the positions and faction assignments are original data. Native walking reproduced the missing transition at neutral [182.53348,1.04013,156.85481] and Clan [191.99001,1.04013,156.50694] before the fix. The server completes the side/item/zone transaction directly instead of requiring a separate local teleport to the second statel. Training destinations use server/starting.go and the existing authored training-door transforms and clearance policy described in character creation.

Original items 201025 and 201026 execute the client commands /afcm_addprogram PROGRAM_ARRIVAL_HALL and /afcm_removeprogram PROGRAM_ARRIVAL_HALL. They establish a camera-program lead, but their original invocation timing is unresolved; this implementation does not force those commands. Other Hall NPC conversations and the complete tutorial remain open. Reopen historical research when an original transcript, capture, or server-side script provides evidence for these missing behaviors.

Persistence and protocol

The existing native dialogue packets supply the menu and selected answer. NPC interest replay sends native stat 768 (HasKnuBotData) equal to one for scripted NPCs. The original humanoid activation kkr.dll!sub_36082AD0 does not copy the spawn conversation flag into that stat; default action kkr.dll!sub_3602C350 reads it. Without the stat replay, a right-click on a dressed representative sends a player-trade request instead of opening dialogue. Departure rechecks the active world connection, living player, neutral state, and Hall playfield. Corridor departure rechecks proximity to the authored collision statel; conversation departure checks representative identity, visibility and ten-metre proximity. A pending trade must finish first, and the inventory must have room for all issued items. A refused corridor attempt is reported once; stepping out and back retries it. These are current server policies.

One item-store transaction writes the side, training position and return door, chosen startup map, and the existing Clan or Omni startup gifts. Only after commit does the server publish the new state, end the conversation, and send the ordinary native teleport and world-server redirect. Failed persistence leaves the player and items unchanged. Leaving playfield 4604 completes the one-time handoff; an old connection's repeated answer cannot issue rewards again. Reconnection resumes the committed destination and inventory.

Focused protocol tests in server/arrival_hall_test.go cover all three sides, repeated answers, all three corridors without conversation, stopped-player crossings, persistence after restart, cancellation, distance/playfield changes, unoffered choices, failure/retry, inventory refusal and transaction rollback. These are controlled fixture checks, not earned-progression evidence.

tests/e2e/arrival-hall.test.mjs establishes a neutral Hall character with the native creation wire fixture, then positions it near the Neutral Observer. Real browser right-clicks and native choice clicks exercise cancellation and departure. The test checks the training playfield, exactly one starting map, the ended conversation, and unchanged inventory after a cold restart. The native widget retains its transcript until the player closes it. This isolates Hall behavior; it does not stand in for the full creator UI journey. The same file also places controlled new characters at each corridor entrance and uses real native walking input to cross all three authored triggers, checking the destination, side and exact deferred rewards against server state.