Doors and zone boundaries
The client database contains fixed shop/venue destinations and paired outdoor boundary lines. Mission entrances have separate records, but their destination is assigned by a server mission. A mission door ID is not a fixed destination playfield ID.
Fixed doors
Resource 1000026 contains length-prefixed statels. A statel starts with little-endian type/instance identities, playfield, XYZ position, quaternion in WZYX order, template ID and a length-prefixed HighLow descriptor. The descriptor's events/functions use big-endian fields.
Type 51016 (0xc748) identifies doors used by the teleport functions. Do not substitute type 56006 or join different statel types merely because they share the same instance number: their transforms can describe different things.
A recovered fixed entrance has a leading OnEnter event 16, containing TeleportProxy function 53082. Its four arguments are:
| Argument | Meaning |
|---|---|
| 0 | Destination category; 51102 is a concrete playfield, 51105 is a mission/proxy destination. |
| 1 | Destination playfield instance. |
| 2 | Door index within the destination. |
| 3 | External/source door instance. |
The fixed shop-door convention for the destination instance is
0xc0000000 | destination_playfield | (door_index << 16).
This is not universal: Clan Training uses its actual statel identity
0xc00103b8, rather than the synthesized 0xc00003b8.
The destination is its authored transform, with a small displacement along
the rotated +Z axis to place the character beyond the entrance.
For example, Omni Entertainment (705), door 0xc01102c1, points to the basic
equipment shop (1183), door 0xc000049f. The entrance is approximately
[765.0848, 19.1349, 516.5070]; the interior door is
[187.0007, 5, 116.0100]. The same shop interior can serve several exterior
entrances. Its return destination therefore needs per-character context:
the external playfield and door instance. A global reverse mapping would
return some characters to the wrong entrance or city.
The recovered 11.0 data resolves 1,213 fixed links; 13.2 resolves 1,170. These counts cover single leading unconditional OnEnter TeleportProxy events. They do not mean every door script has been decoded. In each version, 202 leading functions have dynamic destinations and 48 concrete references lack a matching destination door. Other event/function forms are not enabled by this bounded extraction. Requirements must be interpreted before gated functions can be enabled.
Resource 1000030 supplies mission-door metadata, including position and packed IDs. Its 47-byte records are not a complete fixed shop routing table. Apartment ownership, missions, keys and similar server assignments remain separate from the fixed links.
Backyard round trip
The sustained starter test exposed a missing route from the provisional resurrection default in playfield 705 back to training 950. Creation also omitted the per-character training return context. The original 14.9.1 resources now supply the city connections; unknown dynamic category-51105 doors are not used to guess backyard assignments.
python3 tools/data/extract_backyards.py reads the selected original resources
and updates only the corresponding target-version door entries. It retains
complete descriptors, raw statels, resource/record hashes, arrival endpoints
and index digest in local/reports/backyards-14.9.1.json. Its bounded HighLow
parser consumes the complete selected executable/string/metadata layouts and
rejects unknown functions or trailing bytes. The checked-in raw fixtures in
tools/data/testdata/backyard_doors_1491.json cover city entry, both gated exit
functions and the three training return identities.
| Complexes | Backyards | Shared training |
|---|---|---|
| Omni Entertainment, Trade and Rome | 60 | 950 |
| Neutral Newland and Borealis | 22 | 954 |
| Clan Tir and Athen | 48 | 952 |
All 130 city entrances have an unconditional OnEnter LineTeleport 53059 to a
particular backyard arrival line. All 130 backyard city exits require the
postfix expression level > 1 OR credits > 999. Their second function is a
SystemMessage 53134 under the complementary condition, explaining the level-2
or 1,000-credit qualification. There is no authored cash debit. The server
reuses its shared item/stat criteria evaluator, including credit stat 61, to
gate these doors. It neither charges an invented fee nor grants a bypass.
The authored refusal text now follows the shared gate and door-entry state,
as described below.
All 130 backyard-to-training entrances use unconditional TeleportProxy 53082, category 51102, with the exterior door retained as per-player return context. The 48 Clan entrances were absent from the older fixed-link extraction because the destination exit's actual statel identity does not follow the synthesized shop-door convention. All three shared training exits now use return context. Two players using the same training playfield can return to different complexes.
New browser characters receive the lowest-numbered supported backyard for their faction, using the existing persisted return-door fields. That allocation is provisional: the original server's complex selection is unknown. City/backyard LineTeleport arrivals retain the same midpoint, clearance, heading and trigger envelope policies described for whom-pahs below. Their endpoints and source transforms are shipped data; these placement policies remain reconstruction. Movement and return context follow the normal periodic position checkpoint.
Unsaved resurrection uses the same affiliated training entrance as creation and retains a valid numbered backyard association. Its initial checkpoint policy is provisional; the historical unsaved death location remains unknown. See player resurrection. The original resources have no reclaim placement in the three shared training grounds; no training reclaim terminal is invented. The complete ordinary starter progression scenario is still open, including recovery supplies and a normally earned level-up.
TestBackyard*, TestBrowserCreationBackyardReturnSurvivesRestart and
TestTrainingReturnKeepsDistinctBackyardsAcrossRestart cover every complex's
native movement-handler round trip, three-faction level/credit boundaries,
unchanged balances, browser creation, checkpoint/reopen and separate player
return associations. The original-version links and unrelated target doors,
walls and portals remain unchanged; regeneration is repeatable.
Two GPU/OpenGL WASM clients verified ordinary movement from a normally created character through the Omni training exit. Controlled doorway positions then isolated city rejection at level 1 with 0/999 credits, acceptance at 1,000 without a debit, and the city entrances to two distinct numbered backyards. Each player entered shared training with its own return association. Both clients closed before the sole preview's cold restart; reconnect and ordinary backward movement returned them to Backyard 1 and Backyard 2 respectively. All 14 issued item instances, XP and IP were unchanged.
Controlled positioning also verified Clan and Neutral training entry/return,
including Clan's actual 0xc00103b8 exit. A controlled level-2/zero-credit
player used the Neutral city exit. These fixtures establish routing and gate
behavior, not a normally earned level-up, historical allocation or the complete
post-death progression route. No page exception or adapter crash occurred.
All test clients closed and the four owned accounts/14 items were removed;
unrelated user rows and SQLite integrity were preserved. The existing single
HTTPS preview remains on port 8443.
The full server run exercised 1,369 roots / 14,661 results. It found one
unrelated timing-sensitive combined-movement fixture: forward input began
accelerating before the measured interval. Starting lateral input first keeps
forward acceleration inside that interval; the corrected fixture passed 100
repetitions. All other full-run cases passed. Original run failures, source
hashes and the isolated correction are retained explicitly in
local/backyard-routing/suite-verification.json; this is not a claim that the
original invocation was entirely green. Focused and race selections each
passed 33 roots / 244 results. Eight parser/import tests, gamedata tests and
vet passed. Native captures, complete item accounting, cleanup and the single
preview check are in local/backyard-routing/runtime-verification.json.
Authored city-exit refusals
Extraction retains the complementary SystemMessage 53134 text as each selected
exit's refusal_message, after validating both complete functions and their
requirements. All 130 original city exits carry the exact shipped explanation:
"You need to be level 2 or have at least 1000 credits to exit to the outside."
No per-backyard message or fee rule is added.
The shared zoning path checks the existing door envelope and plane before recording entry. A connection remembers that playfield/door until it leaves the trigger; repeated movement or simulation visits inside it stay silent. Rejected entry retains position, playfield and credits. Qualified level/credit cases keep the existing transition without a debit or refusal.
Authored text waits on the world connection until its separate chat connection is available, including when the player is now idle. The zoning visitor queues private senderless system packets 36 and sends them outside the world lock. This uses the existing native chat transport; it does not create a tell or a history entry. Door-entry/message state is transient, without new database writes.
Original KKR executor 100be8e0 dispatches 53134 to 100c2840; the latter selects
the local affected character and calls 1001c8c0 with channel 0. That wrapper calls
ClientInterface_t::CMsg_ChatText. Static client code establishes the local
display operation, not the original server's publication exchange. The current
server-driven zoning path supplies the same text through its native system-chat
transport. Complete evidence, identities, limitations and bounded negative
lookups are in local/backyard-message/kkr-evidence.json; the owned analysis
session was closed before runtime testing.
TestBackyardCityExitExplainsRefusalOncePerEntry reproduces zero explanations
on all three faction fixtures before the fix. It checks approach outside the
door plane, concurrent visitors, silent repetition, re-entry, private delivery,
unchanged funds/destination and cold persistence. A separate case checks late
chat attachment while idle; the catalog check covers all 130 messages. Existing
level 1/2 and credit 0/999/1000 boundary/routing tests remain applicable.
The controlled native baseline omits the refusal field at the same original
Omni exit. A level 1 character with 999 credits walks into the rejected trigger,
retains its funds/playfield and shows no explanation in native chat. Both chat
capture and the reviewed screenshot confirm the missing delivery. This is a
controlled doorway fixture, not earned faction progression. The enabled
TestBrowserBackyardExitExplanation checks two separate entries, intervening
idle visitors, private native text and a separately qualified 1000-credit
visitor's city transfer without a fee. Native and authoritative state establish
that transfer; the final qualified screenshot catches the loading transition.
Related Go tests passed in 30.374s, focused race checks in 232.860s, and the
enabled native run in 89.55s (97.267s including Go). Eight parser/writer tests,
idempotent extraction, vet and Node syntax checks passed. Reviewed screenshots
show exactly one and two refusals at successive entries. Independent trace
checks confirm complete packet framing, private delivery, empty error arrays,
unchanged funds and the city transfer. Baseline and fixed captures are under
local/backyard-message/20261102-145219/ and 20261102-145852/; the evidence
ledger and verifier are in local/backyard-message/.
14.9.1 whom-pah route
The selected client authors an unconditional Entertainment/Trade connection
using template 96272, Dummy wompah noselect. Both type-51016 statels have a
leading OnEnter event 16 with one LineTeleport function 53059, no function
requirements, tick count 1, interval 0 and target 2. This differs from the
TeleportProxy 53082 shop-door path above.
All 60 authored whom-pah doors open on approach and use their destination
lines. Six in Tir and Broken Shores use the shared template 41565 with the name
Whom-Pah. Every level and faction can use these routes.
| Source playfield / door | Door XYZ | Destination / packed line |
|---|---|---|
Entertainment 705 / 0xc00502c1 |
910.119995, 16.823326, 484.509857 | Trade 710 / 0x000302c6 |
Trade 710 / 0xc00002c6 |
381.609741, 17.423323, 382.134918 | Entertainment 705 / 0x000802c1 |
The function's first authored argument is 100001. Its next two values match
the destination's packed arrival-line identity and playfield. The fourth word
is zero in both selected records; its wider meaning is unresolved. Resource
1000001 supplies Trade line 3 from [388,17,384] to
[388,17,380.969971], and Entertainment line 8 from
[908,16.4,492.003967] to [912,16.4,492.003662]. These are arrival lines,
not destination door indices.
Regenerate the selected source records and proposed arrivals with
python3 tools/data/extract_whompahs.py. The output,
local/reports/whompahs-14.9.1.json, retains statel and destination-payload
digests, full descriptors and index digest
46e5dc54af9358cc9bff05f4358e86af630e497bc677f361c133c88073b84d71.
Review its routes against the target entries in
server/assets/zone_links.yaml; the extractor does not rewrite unrelated links.
The native 14.9.1 handler kkr.dll 0x100c1d10 ignores the destination arguments
and starts a teleport attempt through 0x10027c60, emitting action 20 without
a destination. Ordinary local effect dispatch gates function 53059 off;
this handler alone does not establish every caller's entry path. The server
continues checking actual/predicted movement against mapped triggers rather
than accepting a client-supplied destination.
Door collision 0x1008d330 calls the plane predicate 0x1008d690: rotate
local +Z by the door quaternion and require absolute signed distance strictly
less than float32 0.8 metres. Entered-set handling 0x1008de80 dispatches
event 16 once. This follows native collision processing and does not establish
the full doorway footprint. These addresses use original base 0x10000000
in shipped kkr.dll, SHA-256
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.
Exact source and byte references are in
local/whompah-smoke/native-source-audit.json.
The route uses that strict plane check inside the existing provisional two-metre horizontal/eight-metre vertical entrance envelope. Arrival uses the authored line's midpoint, adds the existing half-metre human clearance, and faces along its left normal, away from the entrance. The line, door pose and unconditional function are shipped evidence; midpoint selection, clearance and heading remain reconstruction policy. They place arrivals outside the doorway trigger and clear shared-interior return context. No unverified fare, level or Computer Literacy requirement has been added.
A March 24, 2002 player account
independently directs travel from Entertainment to Trade by stepping into the
southern set of whom-pahs along Entertainment's east wall. This supports the
route and entry interaction, while the exact 14.9.1 records establish the
selected endpoint identities. The retained source ledger is
local/whompah-smoke/source-ledger.json.
TestWhomPah* verifies network-wide access, the Entertainment/Trade mappings, continuous predicted entry,
the strict front/back plane boundary, the provisional entrance envelope,
dead/loading/unready rejection, stale-session input, position persistence,
cleared interior context and exactly one native teleport/redirect per leg.
The full server suite and five race-enabled runs pass.
Two WASM clients verified the route with ordinary movement input. The traveler
walked forward into the Entertainment entrance and arrived in Trade at
[388,17.5,382.485], without an immediate return. The Entertainment observer's
read-only native entity lookup changed from a valid traveler actor to none.
After the normal position-save interval, a server restart and page reload
retained the traveler in Trade. Backward movement through Trade's entrance
returned it to [910,16.9,492.0038]; the observer's native lookup again found
that actor. Both arrivals remained stable while idle, and the shared-interior
return context stayed empty. There were no page exceptions or adapter
failures; connection refusals occurred only during the deliberate restart.
The driver closed both browser contexts and its Go server. Logs, screenshots,
fixture sources, binary digest and checks are retained in
local/whompah-smoke/.
Outdoor boundaries
Resource 1000021 contains closed vertex groups. Each 16-byte vertex is
int16 destination_playfield, uint8 destination_index, uint8 flags, then
three little-endian floats. A segment takes its destination from its second
vertex. Nonpositive destination playfields do not supply a fixed transition.
Resource 1000001 ends with destination lines: a count followed by 28-byte records containing a packed playfield/index and two XYZ endpoints. A source wall references a destination line in another playfield. Position along the source segment becomes position along the destination segment; a displacement along the destination's left normal places the player inside the new zone. The databases supply 394 resolved source segments per tested client.
The tail can be located by a bounded count search, validating every packed identity and requiring one candidate. This decodes the destination section; it does not establish the layout of the entire playfield definition.
Resource 1000013, version 4, supplies exact tile portal polygons. The
resource instance packs playfield << 16 | tile_index. Its payload starts
with a little-endian uncompressed length and a zlib stream. The inflated blob
contains three length-prefixed sections: main KDTree, invisible KDTree and
PortalArea. Nonempty trees start with KDTreeFile\0. PortalArea contains a
point count, two path bounds, XYZ points, and two localizer DWORDs; its size
is 20 + point_count * 12. Localizer type 53059 and the packed instance
identify a destination playfield/index.
Native polygon membership uses X/Z, ignoring Y. The three recovered Omni Entertainment tile portals point to HQ (700) and Omni Forest (716), with Omni Forest using two different destination lines. They do not describe the shop-door triggers. The full 13.2 surface inspection found 8,395 PortalArea records among 155,931 surface resources; not all are outdoor boundaries paired with 1000021 walls.
Native behavior and protocol
The client sends CharDCMove 0x54111123 start/stop controls and occasional position updates. Action 20 occurs when the native portal test starts a teleport attempt, but also periodically during ordinary motion. It cannot by itself authorize zoning: the position must match a mapped trigger.
Door collision also opens the visual door locally. The traced native opening path sends no dedicated teleport request. A server therefore needs continuous trigger checks while movement remains active. Forward/backward extrapolation is enough for an initial implementation; matching acceleration, collision surfaces, stairs, turning and other vehicle modes requires more physics work. Received positions provide the authoritative anchors for that extrapolation.
The tested character initializes in walking mode 2: 1.5 m/s. Native 13.2
running uses min(15, 4 + RunSpeed*.005) forward and
min(15, 3 + RunSpeed*.0035) backward. With the current RunSpeed 100 those are
4.5 and 3.35 m/s. Encumbrance also modifies effective RunSpeed. These running
coefficients are version-specific; later emulator formulas and original 11.0
analysis are not interchangeable with the 13.2 instructions.
LookAt 0x2252445f targets an identity but is not a zone request. GenericCmd 0x52526858, action 3, is Use. In the 13.2 N3 body, its action is at offset 24, user identity at 32, target identity at 40. The native Teleport 0x43197d22 class rejects client-originated use. Actual transitions use the already verified server Teleport plus system redirect/reconnect sequence.
During reconnection the native client can send action 20 at its previous
position before CharacterReady 0x570c2039. Those loading-time coordinates
must not overwrite the destination position. In 13.2,
llr.dll:n3TeleportIIR_t::Activate at 0x1003db10 handles a nonzero playfield
proxy by stopping the current playfield, rather than immediately applying XYZ.
The destination initialization establishes the new position.
Outdoor arrival coordinates need character clearance above the terrain, not
the bare height-map altitude. Native 13.2 movement captured in
local/reports/zoning-runtime-final.log settled around Y 16.90 on the Omni-Entertainment
gate surface at 16.40, and Y 10.30 on the adjoining Omni Forest terrain at 9.80.
Sending the bare altitude left the character embedded: the client initially
reported only 0.01 m above it. Boundary arrivals use a 0.5 m clearance based on
these observations. This does not establish collision offsets for every species
or elevated building floors. The ground-resource payloads for playfields 705
and 716 are byte-identical in the preserved 11.0 and 13.2 clients.
Exact fixed-door trigger shapes remain unresolved. Small horizontal entrance areas with a vertical tolerance are a provisional interpretation of the authored transforms. Full world collision is needed to prevent straight-line prediction from finding a portal through an intervening wall. Returned door positions and rotations are extracted data; trigger extents and the arrival displacements are emulator behavior, not recovered historical server code.
Evidence and reproduction
Current zone links are included in server/assets/zone_links.yaml.
Native 13.2 code/data evidence remains in ignored
local/reports/zoning-target-disassembly.json. Relevant addresses:
| DLL / address | Finding |
|---|---|
| llr 0x100395a0 | n3Zone::LoadSurface selects resource 1000013. |
| llr 0x10032670 | n3SurfaceResource::ReadBlob. |
| llr 0x1003a350 | PortalArea reader. |
| llr 0x1003a4b0 | XZ polygon containment. |
| llr 0x10039a70 | IsPosInTeleportal. |
| kkr 0x10066ab0 | Continuous character portal check. |
| kkr 0x10027e50 | StartTeleportTry emits action 20. |
| kkr 0x10027970 | Periodic movement action 20. |
| kkr 0x10081920 / 0x100816e0 | Door collision / visual opening. |
| kkr 0x10041030 | Vehicle maximum speed selection. |
| llr 0x10015030 | Teleport message is disallowed from the client. |
Supporting primary source references:
- AODB PlayfieldDynels and HighLow readers.
- CellAO:
Playfields.Playfield.CheckWallCollision,teleportproxy.Execute,exitproxyplayfield.Execute,PlayfieldLoaderexit-event synthesis, andDestinationExtractor.ReadFromStream. - AOtomation.Messaging:
LookAtMessage,GenericCmdMessage, and the named message/action enums.
Later source establishes useful pairing conventions. Native code, original record bytes and runtime checks take precedence when they disagree.
Native 13.2 runtime checks verified entering shop 1183 from Omni Entertainment
door 0xc01102c1, then returning to that same entrance. A separate windowed
client also walked into the outdoor portal near [1025, 16.4, 505], loaded
Omni Forest (716), and subsequently reported coordinates near
[217.625, 9.81, 2307.875], consistent with the paired arrival line.
14.9.1 Borealis Grid route
Borealis SimpleItem 51005:0xc0040320, template 95350, has an OnUse event
with TeleportProxy2 function 53083. Its requirements are stat 410 equal to
zero AND Computer Literacy 161 strictly greater than 90. The accompanying
text explicitly says "91 or better" and rejects use during combat. The
ordinary Grid's Borealis exit 51005:0xc04c0098, template 95351, runs
LineTeleport 53059 on collision (event 3), also requiring CL > 90. These
are effective skills including Intelligence trickle-down, rather than the
trained values alone.
| Trigger | Authored XYZ | Destination / packed arrival line |
|---|---|---|
| Borealis 800 terminal | 636.402588, 66.810020, 728.809387 | Grid 152 / 0x00260098 |
| Grid 152 exit beam | 242.313232, 4.199992, 199.412231 | Borealis 800 / 0x000e0320 |
The entry's seven arguments are 51102,152,0,0,100001,0x00260098,500;
kkr.dll 0x100bc1f5 reads all seven DWORDs into native keys 94 through 100.
The last word's meaning and units remain unknown. No fee or delay is inferred
from it. The exit arguments are 100001,0x000e0320,800,0. The template's
separate conditional Fixer Grid route does not describe this statel's ordinary
OnUse route and is not enabled here.
Run python3 tools/data/extract_grid.py to reproduce the exact requirements,
functions, arguments, complete descriptors and arrival endpoints in
local/reports/grid-14.9.1.json. The selected entry record SHA-256 is
d32016540207410a9f9d8313949b64b8559dcbf31364f7e78bab5c164fed3ed8;
the exit record is
0fcb1ff28740922bd5101b17dc6f832df0d8a3c8bb26cc58cc2a93a48ed44202.
The index and original kkr.dll digests match the whom-pah evidence above.
Native procedure references and original bytes are retained in
local/grid-smoke/native-source-audit.json.
Use sends the existing native GenericCmd action 3 with the statel identity.
A successful acknowledgement precedes the normal teleport and redirect.
The native client recognizes the Grid from the playfield's district name
"Grid". Original llr.dll n3Playfield_t::AddChildDynel, at 0x1002a1b1,
calls virtual slot +0x54; kkr.dll 0x1006e930 applies vehicle feature 0x800
and model 99902. This happens on normal actor attachment and clears on exit;
no additional invented form message is needed. The native attachment audit
is local/grid-smoke/native-grid-form-attachment.json.
Arrival uses the same explicit midpoint, half-metre human clearance and
left-normal heading policy as the whom-pah route: Grid
[242.3208,4.6000195,193.26456], Borealis
[620.773,67.30926,720.8844]. Both clear interior return context. Terminal
range uses the existing five-metre use policy. The exit uses a provisional
two-metre three-dimensional envelope around its authored beam; the full
collision footprint of mesh 90549 is unresolved. The existing combat policy
rejects outgoing and incoming attacks; the exact original server producer
of stat 410 is unresolved. Grid-specific movement speed remains unverified.
These reconstruction policies should not be mistaken for recovered server
code.
TestGrid* checks the strict 90/91 skill boundary, combat, use distance and
height, wrong world/object/client, dead/loading/unready sessions, stale Use,
continuous backward entry into the exit, persisted arrivals, cleared return
context and one teleport/redirect per leg.
Shipped cd_image/text/TipOfTheDay.txt:172 confirms that Grid travel requires
Computer Literacy. A May 22, 2001 firsthand demonstration report
describes access kiosks and blue pyramid avatars. That report concerns a
prelaunch build; the exact 14.9.1 scripts and native form code above establish
this implementation's thresholds and form. The independent historical ledger
is local/grid-smoke/source-ledger.json.
Two WASM clients exercised the native terminal Use command at effective CL 90
and 91: the first stayed in Borealis while the second entered Grid 152 at the
authored arrival. A read-only native stat lookup found model 99902 and vehicle
features 0x806; the Borealis observer lost the traveler from its native dynel
directory. After the normal save interval, a server restart and page reload
retained the Grid arrival and native form. Ordinary backward movement reached
the Borealis beam and returned to the authored outdoor position. Native model
359 cleared to zero, feature 0x800 cleared, and the observer again resolved
the traveler. Another reconnect retained Borealis, and ordinary movement still
worked. Both inventories and health were preserved. The isolated run retained
20 evidence checks, screenshots, packet logs, fixture digest and expected
restart connection errors in local/grid-smoke/verification.json. No native
adapter error occurred; all test clients and the temporary server were closed.
The maintained full server suite passed in 91.025 seconds. Five race-enabled passes covering Grid travel, shared terminal rejection/sequencing and the whom-pah round trip passed in 99.392 seconds.