Original mission door contracts
Accepted private missions create persistent native doors at paired interior portals. Their full updates and open status make cross-room visibility agree with the server's open-passage policy. The current template and held-open policy are explicit reconstruction choices; historical style selection, automatic opening and locked/keyed interior access remain unresolved. The earlier protocol fixtures below extend the mission interior investigation.
Native messages
Original14.9.1 kkr.dll SHA256
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0
registers DoorFullUpdateIIR_t through 0x10011d00 / factory 0x10011c80 and
DoorStatusUpdateIIR_t through 0x1000fe80 / factory 0x1000fe00.
LLR n3InfoItemRemote_t::MapToKey at 0x10023f20 XORs character bytes into
four byte lanes. Their native N3 keys are 0x365a5071 and 0x4c7d403b.
Door item templates and the test subjects use identity type51016.
The full-update reader KKR:0x100b0230 inherits SimpleItem11 (0x100b2440)
and Lockable2 (0x100b1030), then reads Door2 and one additional uint32.
The prototype sets that last word to zero; its meaning is not established.
SimpleItem carries parent identity, world XYZ/quaternion when parentless,
playfield, owner identity, two placement bytes, encoded stat pairs and an
optional byte payload. Lockable adds a value stored as stat299 and an encoded
identity list.
Do not use a Chest or vending-machine subclass tail for a door.
Apply 0x100b02d0 creates the absent Door, applies its template/stats and world
position, and calls 0x1008da10 to link it to nearby room portals. That routine
records the packed room pair, registers internal doors with the room-link
table, and handles unmatched exterior entrances separately. Initial opening
depends on Flags bit128. The early fixture uses original template41884/mesh41798;
this is not a recovered mission-style-to-door assignment.
The status reader/writer (0x100b0460 / 0x100b06f0) carry:
| Field | Wire representation |
|---|---|
| Version | uint32, value2 |
| First state (lock/unlock path) | byte Boolean |
| Open state | byte Boolean |
| Value applied to stat195 | uint32 |
| Additional state flag | byte Boolean |
| Identity list | (count+1)*1009, then type/instance pairs |
Apply 0x100b07a0 changes lock/open state, sets Door byte0x1c5 when the
additional flag is true, and stores the uint32 as stat195. The identity list
is read but unused by that Apply body; its wider purpose is unresolved.
The original producer and the additional flag's full lifecycle still need
recovery. Do not label it as a general animation-enable flag.
Original data
tools/data/extract_backyards.py now also reads descriptor function53016's
four signed integers, function53083's four integers plus12 opaque bytes, and
zero-argument function53109. These additions let the offline door census
decode all3692 type51016 placements in original resources1000026. There are53
type51016 item templates. All original raw records, overrides and source/index
hashes are retained in local/mission-interior/door-catalog.json and
door-placements.json. They do not establish a generated-mission door choice.
Three unmodified original placement fixtures cover each added function and preservation of following stats; truncated descriptors are rejected. All50 data-tool tests pass. No generated live world data changes in this milestone.
Native observation and remaining work
Owned GPU Chromium fixtures267..269 receive the actual Go-overlay-produced door packets after the generated world update. Native probes show subject 51016/8000001 at [15,0,29.999], packed room link65536, and the real door identity in room0's neighbor1 entry. Captures include original/rewritten streams, screenshots, native frame/controller state and, in the final run, outgoing requests. All fixtures are client-side rewrites on the sole existing preview; they prove no authoritative private entry, ownership, loot or reward behavior.
The unflagged open update changes the room link but the client promptly reverses
the animation. With the additional state flag set, Flags bit128 stays set and
the native animation reaches its0.6-second end pose. A subsequent unflagged
close reaches time0 and clears bit128; another unflagged open reaches0.6 again.
The room-link close notification is deferred by RoomMonitor: original LLR
0x10035250 queues it and 0x10035380 waits more than two seconds. The flag latches native byte0x1c5;
these experiments do not establish every lifetime or producer rule.
Original bbr.dll SHA256
28f196f650edbb1573fb874ccaf7746453d3e4a183e1d86db1d790c1c32ecc2c
confirms total duration at VisualMesh byte0x24 (0x1009b3a0) and recursive
frame evaluation through RRefFrame_t::SetAnimationTime (0x100e3010). Native
frame times, changing controller transforms and screenshots show working door
animation. Do not patch the C animation code to compensate for an incomplete
status sequence. Both templates41565 and41884 were tested; only41884's run
establishes a return walk. The sampled movement-counter byte1 was already
present before movement, so it is not evidence of a newly imposed root.
The first fixtures' black doorway persisted with a fully open door and open1 room link. Further visible-room checks identify separate static model42850 with a black material at that portal. Rotating the entrance template to leave the black portal as the exterior fixes the adjoining view without a client patch. Reciprocal links and exactly one exterior door do not by themselves validate authored portal selection. Keep status flag semantics open; these client-side fixtures do not establish mission/world/key allocation, movement/terrain, isolation or retirement.
Corrected-layout published-WASM fixtures281/282 verify open/close/reopen with 41884 and41565, including room disablement after the deferred close. Both also cross the closed door while its open flag/link stay clear. Recover collision and open-request semantics before implementing authoritative blocking; these owned client-side fixtures do not supply a private server's response.
Server serializers and locked passage
server/doors.go now emits the recovered full-update and status messages.
server/world_items.go shares the SimpleItem11 body with vending machines,
followed by each object's own subclass tail. Door full updates reject unknown
and non-door templates, preserve authored flags outside lock/open bits64/128,
and serialize all53 original door templates. Templates41553,41554 and41892 have
no authored QL; their updates omit stat701 rather than inventing a quality.
Status serialization keeps lock, open and the additional latch independent;
stat195 remains zero and the identity list empty in this supported subset.
The extra flag's producer policy and the additional full-update DWORD remain
unresolved. The live mission consumer uses these builders as described below.
Original SimpleItem Apply KKR:0x100b25c0 maps Flags bit0x200 to
n3Dynel_t::SetTellCollinfo. That does not establish it as a requirement for
door blocking. A controlled locked-door fixture286 removes only this bit and
still stops before the door plane. The serializer therefore preserves the
authored bit rather than forcing it. Original 0x1008e230 also contains a
dungeon-door deflection path; static analysis alone does not establish which
callback executed in these runs.
The earlier crossing experiments281/282 used closed, unlocked doors. Their result does not establish a defect in locked-door collision. Published-WASM fixtures287/288 receive packets produced by the actual server builders, with no forced0x200 bit. They stop under sustained forward and reverse movement at a locked door, pass after unlock/open updates, and return across the same portal. Full updates initialize lock state; subsequent status updates change it without recreating the object. Templates41565 and41554 retain their original animation durations, approximately0.6 and0.833333 seconds. The unqualified41554 loads without stat701 and its native getter reports0. No client patch is needed.
Captures and read-only snapshots are in
local/mission-interior/runtime-final-server-door/ and
runtime-final-unqualified-door/. Packet producers and verification are retained
alongside them. Original evidence is in kkr-door-collision-evidence.json;
key records are ev_9fab4fbc5cd930032d5fb4ae3d31570b6b63d3b3ebe70ba4a53a57fe762beeec
(SimpleItem Apply) and
ev_40500450c179a155dd837b6458934ac5cb3e63df336e2b7dd898ac147f9b615e
(deflection code). Keep automatic opening, original access predicates, key
bindings and authoritative denial open. Native client blocking alone cannot
enforce private access against forged movement or prove instance isolation.
Golden wire tests cover native placement/inheritance, all four initial lock/open
states, all eight status flag combinations, unknown/non-door rejection, all53
templates and all three absent-QL cases. The final door/shop/mission-building
suite passes76 roots/257 results under the race detector; build and vet pass.
The existing shop packet checks cover the shared-body extraction. Native reports
are retained in local/mission-interior/final-server-door-native-verification.json;
the only browser errors are favicon404s. All owned clients and analysis sessions
are closed. The one shared HTTPS8443 preview and published client are unchanged.
Final timed captures are in local/mission-interior/runtime-door-observe/,
with earlier exterior/interior template runs in runtime-door/ and
runtime-door-interior/. No page exceptions or adapter crashes occurred;
the only browser resource errors identify favicon.ico. Owned browsers and
native analysis sessions are closed; the shared HTTPS8443 preview is retained.
Complete evidence bundles: kkr-door-messages-evidence.json,
kkr-door-animation-evidence.json, llr-key-hash-evidence.json and
bbr-door-time-evidence.json in local/mission-interior/. Key records:
- Full reader:
ev_da0e1e6f47533eedd4fe1b37960bcba8051012a8e85fec7247b64daeb83b569f. - Status reader:
ev_a3349f67e1f20067f263673b0b2e3ebc750eee6acb66965ff83868c2958099dc. - Status Apply:
ev_11f652b6807fe3fa84d277db4a9fefb8037f452364a933b752440f84a9d5a123. - Room registration:
ev_31100d524c5f3d3ab2ab6a1d56fe9bb472071b8035656f441b0bac84160ca5e6. - Key hashing:
ev_357e5b852dc22d8e79b1b755e1f0f48831608614a42575692f563b85a9787662. - Frame evaluation:
ev_10496a0c940675df68a5c8cf50aa2569089fb3c91fc8e86f38ef7c7f026a339e.
Persistent open mission passages
An empty native door identity is sufficient for walking between paired rooms,
but not for visibility. Original KKR ConnectRooms at 0x100f2f30 writes
reciprocal room neighbors without opening their visibility entry. Original
IsDynelRoomTransitionAllowed at 0x1014cf70 accepts a found empty identity;
LLR RoomCanSeeFromTo separately requires status1. The maintained LLR
sub_3802C270 in client/game/llr.dll/lifted-0018.c initializes paired entries
with status0 and identity0/0. Registering a Door changes the identity; opening
that Door changes the status. No missing adapter or mistranslated initializer
was established by the bounded audit.
A DoorStatus update resolves an existing Door_t. It cannot create one or use its unused identity list to address arbitrary room pairs. The server therefore creates concrete doors at the matched original portal poses, using the shared full-update and status serializers. The unmatched exterior return portal remains under the existing key-gated private-world admission path.
passage_door in the mission content selects original template41565 for the
fixed prototype. Its physical fit and room registration are native-tested;
its selection for historical331 missions is unproven. The generator packet has
no door-template field. The audit found no direct mapping in the298 room records,
four library suffixes or static placements:331,341 and351 contain no type51016
placements;346 has one authored41883 placement, which does not establish a rule
for every generated portal. Template41565's prevalence in public placements also
does not establish such a rule. Keep style recovery open.
Acceptance stages one door per paired portal and inserts its concrete template,
passage index and identity in mission_doors in the same transaction as the key,
assignment and encounters. SQLite allocates monotonically increasing identities
within type51016; these do not consume item or NPC IDs. Rollback publishes
nothing. Restart reads these records instead of regenerating their templates
from mutable content. Missing or unpaired saved bindings fail replay explicitly.
There is no legacy-door synthesis or schema migration.
Entry and reconnect send the generated world before each door's full update and open/latched status. Replay is scoped to the exact runtime mission world and works for guests without duplicating ownership. Doors remain unlocked and held open; the extra status flag keeps the original client from immediately closing them. This is the supported open-passage policy, not recovered automatic timing or access rules. Completion retains doors with the occupied world until its original deadline. Abandonment/expiry delete them with the assignment and occupant returns in one transaction, then notify clients before redirects.
Tests cover real socket initialization order, owner/guest replay, multiple paired portals, retained portal poses at all four rotations, cold restoration, offered content changes, invalid templates, incomplete bindings, concurrent-owner IDs, failed/ignored/rewritten inserts and failed deferred commits. Retirement tests cover failure/retry while occupied, completed-world retention, copied-key guests, expiry and nonreuse of retired identities. Shared movement and combat visibility checks continue to use the same portal graph and obstruction queries.
The unmodified published WASM client ran on the GPU against the sole HTTPS8443 preview. Normal native journal abandonment and terminal acceptance created mission41/world65540 and door51016/1 through the production server. Read-only probes show room0/room1's pair at open1 with that real identity, including reconnect after restoring the test character's normal profile. Ordinary melee landed across the passage in both directions:4 damage to Leet1068622 and5 to Leet1068621. Native Winter's Bite29618 completed across it northward for18 cold damage to1068620 and southward for17 to1068622, with normal execution and damage feedback. Initial low-skill attempts were rejected by native requirements and are excluded from the successful-cast evidence. No client patch, packet rewrite, page exception or adapter abort occurred. Two resource404 console messages remain baseline observations.
Evidence is retained in local/mission-passage-research/: runtime/,
runtime-nano/, native-verification.json, empty-door-initialization-audit.md
and data-and-integration-audit.md. Original KKR evidence is in
kkr-evidence.json: ConnectRooms
ev_9822044d0ecbf142b314d0e91b339309399eb8857bde9a85de079b6515e46b18
and transition admission
ev_ca4275de1f93820fa3e93fa6609a6c7009b96838e4cd16c82fa0485aca77abb1.
The earlier original door-message and LLR visibility evidence above supplies
the status/LOS contracts. The owned browsers and analysis sessions are closed;
normal player skills, profession, learned programs and vitals are restored.
Earned items, XP, cash and the fresh assignment are retained. SQLite integrity,
foreign keys and the five surviving mission NPCs were rechecked.
The final regression run passes134 test functions and839 test/subtest results
across ./server/... with the mission, door and visibility filter. Race detection
passes24 functions and55 results covering door lifecycle, concurrent acceptance,
retirement and visibility. go vet ./server/..., the final server build and cold
native reconnect pass.