aorecomp

Anarchy Online classic in the browser

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


docs/mission-encounters.md (14986B)


Fixed mission encounters

The Surveillance Office contract selects five level-1 Leets from the same admitted species/profile as the outdoor training population. Selection, count and positions in server/gamedata/missions.yaml are reconstruction data. They are not recovered original mission population rules. Encounter level/difficulty, other species and useful equipment-drop selection remain open work.

Acceptance validates the saved layout's actual room/floor, the original NPC definition and an admitted combat level. It commits concrete NPC rows, their identity allocation, assignment and bound key in one transaction. The accepted contract then has no spawn recipe: entry, reconnect and cold loading restore existing lives rather than regenerating actors from changed YAML. The book is still allocated once on first entry through its separate existing transaction.

These actors use ordinary combat, contributions, kill XP, generated loot, credit collection and inventory transfers. They add no mission-specific damage, loot or XP formula. A private mission death has no scheduled replacement life; this one-life policy is reconstruction policy, not a recovered original server respawn timer. Public NPC replacement timers remain unchanged.

Abandonment and expiry revoke credentials, evacuate occupants, remove private NPCs and destroy unclaimed corpse loot in the same transaction. Failure leaves actors, loot windows, known objects and runtime queues untouched for retry. Only after commit are combat, interest, corpse/respawn queues and geometry removed. Periodic checkpoints cannot recreate retired actors. Items already transferred to a player retain their identities and ownership. Successful objective settlement retains the population until the assignment's existing deadline, including surviving enemies and dead remains; it does not reset them.

Indoor navigation

Indoor pursuit now applies the shared model-specific collision body, room veto, swept walls, sphere response and floors. Small time steps, gravity and slope projection follow the existing player movement machinery. Position changes stay in memory until the existing periodic NPC checkpoint. Both the entrance and z28-to-z43 routes cross the actual inter-room portal and return home without per-tick writes. The entrance spawn is grounded on the tongue mesh at y1.476895, rather than the lower floor beneath that scenery.

Mission pursuit and return now share a bounded half-metre route search. Each candidate walks a copy of the actor through the same 60 Hz physical integration used for live motion. Room transitions, original collision bodies, slopes, walls and gravity decide reachability. Natural settling handles a horizontal arrival above the destination floor. A shortcut must also have a clear segment at .11 or 1.2 metres above its endpoints. This conservative routing policy keeps occluded shortcuts out of the native follower, whose short visibility probes can discard them even when a physical body eventually slides around the obstruction. Search state distinguishes horizontal cells and floor height; a query considers at most 4096 nodes. Failed queries retry after one second instead of repeating on every scheduler tick. These sampling and budget choices are reconstruction policy, not recovered original server rules.

Routes remain in memory. A target moving one metre from the planned endpoint causes replanning; roots and motion cancellation discard cached waypoints. Cold loading reconstructs a route from the persisted pose and home. The live actor consumes waypoints within its movement-time budget, and native packets carry at most 29 remaining points. Initial routes and new observers carry the current position; ongoing route changes use the original zero-reconcile form to preserve native prediction. Indoor close approach also requires a walkable final segment; exact native arrival/visibility parity remains unverified.

Original KKR FUN_10048430, maintained as client/game/kkr.dll/lifted-0023.c:sub_36048430, does not establish an original server path planner. Its low/high half-metre LOS probes at heights .11 and 1.2 retry a suspicious waypoint and discard it after five checks; they do not raise the actor. A separate within-one-metre waypoint reconciliation projects downward two metres and ignores collision only when follower owner and follow target identities differ. Our native routes target self, excluding that branch. Shared QQR Vehicle::Run still invokes surface alignment after integration. Evidence and exact addresses are retained in local/npc-pursuit-research/followSteering.json and docs/research-notes/mission-encounter-research/integration-audit.md.

The original side-passage regression starts at (15,.011,15) and ends at (12.5,.011,34). Straight steering stalls near (14.018,.011,20.092). Both the Leet and the admitted Salamander Boss body now reach the destination through actual room geometry, returning within the native one-metre waypoint radius of home. Existing tongue-mesh and inter-room round trips remain covered. Additional regressions cover a moving target, disconnected rooms, rooted route cancellation, bounded packets to two observers, spawn-before-route replay for a late observer, death during a pending detour, a rejected death save followed by a living return, cold return without observers and zero per-tick position writes.

An isolated GPU WASM visitor accepted mission 58 normally. A controlled fixture then placed only its NPC 1068664 at the regression start, with the destination as its retained home and a temporary root to allow observation. After expiry, the original client consumed a three-point route, crossed the obstruction and reached home; 452 native position samples and all three route updates are retained under local/indoor-routing/. There were no page exceptions. The native final x=12.375 differs from server x=12.491 by the existing movement packet quantization. The native follower lagged before the turn, then received an approximately three-metre correction. Acceleration, braking and waypoint timing were not established by that endpoint check. The subsequent steering and stop checks recheck the same obstruction on two clients with shared force integration and visible route segments. Both actors are visible in native-return-visible.png.

The fixture's poses/home were restored, the root expired, and the owned browser closed. The earned character 5's complete character/player rows, eight item instances, learned nanos and contracts were unchanged. No rewards or combat balance outcome is claimed for this controlled navigation check. On the local machine, isolated first-tick detour searches took about 49 ms at 100 HP and 87 ms at 1 HP; these are observations, not a population-scale performance guarantee.

The complete server/game-data suite passed 1,627 test functions and 16,089 tests/subtests (server 2,181.955 seconds); the export package compiled with no test files. Four later lifecycle regressions passed separately. The final navigation selection passed all ten functions and sixteen results, also under the race detector. The broader pursuit selection passed 23 functions and 57 results under the race detector. Vet and the server build passed. Logs, source/binary hashes and cleanup checks are retained in local/indoor-routing/.

Completion token evidence

Mission completion XP/token eligibility remains unresolved. Ordinary kill XP must not be confused with the separately advertised completion reward. The recovered original item descriptors establish token upload behavior, now implemented and verified in token redemption:

These are upload effects, not proof that completing a contract should create a particular token, pay XP, or grant several copies. The exact kill threshold, chance formula, grey-enemy denominator, faction/backyard exceptions and completion XP arithmetic have not been recovered. Do not infer them from later approximate player advice. Extracted descriptors, contemporary source notes and uncertainty are retained in docs/research-notes/mission-encounter-research/token-eligibility.md and original-token-records.json there.

Funcom's 14.0 release notes, mirrored on April 11, 2002, explicitly apply the solo token rules to team missions and increase token chance with kills. They restrict team rewards to members present when the mission is created and inside its dungeon/house at completion. These period rules do not supply a numeric kill threshold, chance or XP formula; a later guide's team exception cannot establish a different 14.9.1 threshold. The local fandom dump's Token and Tokenboards (2016) and Missions (2021) pages say the threshold varies by mission without recovering that arithmetic.

A player review dated September 17, 2002 describes five kills out of ten as a 50 percent token chance and ten out of ten as guaranteed. This contemporary description supports proportional chance, but is not a controlled boundary measurement. It does not establish the minimum population/kills, rounding, grey-enemy denominator, backyard exceptions or XP calculation. Keep those questions open rather than deriving a complete formula from its example.

A bounded follow-up read four newly identified period forum threads. The March17,2002 token discussion corroborates one physical item granting several board points. The October13,2002 report reports two points at level50, consistent with the extracted Clan predicate; its competing explanations and a team-reward anecdote do not establish a new award rule. A November2001 neutral report describes token feedback without a physical token. The August2001 eligibility discussion offers conflicting guesses about required kills, including an unverified population minimum. None measures the target-version minimum, eligible-kill denominator or XP calculation. Raw pages, SHA256 hashes and message views are retained in local/mission-encounter-research/period-token-threads/; these gaps remain open, without implementing a guessed formula.

Verification

A bounded original-client follow-up inspected N3Msg_QuestGetXPReward at 10021000: it resolves the quest's RewardBox through 100c54e0, then reads its stored XP field at +0xc through 100d9cb0. The quest-event consumer 1006c060 handles expiry/completion and does not calculate token progress in that path. Defined-string searches did not recover a token-chance message or formula; this is not an exhaustive proof about every native path. New web queries returned the same later hahnsoo guide and mirrors, without a period threshold measurement. Original-server eligibility remains unresolved rather than being inferred from these client display fields. Complete static Evidence and limitations are under local/token-progress-native/, notably ev_538c7eed87cfe82ad8cf5fc737c258f4096ca4e11a8b6d9eccb0c6a763d9eea1 and ev_a10c9bf928d1d6db5f02087c19d5a464563b2cc2d6b078b45c171edf7746416a.

Go tests cover atomic acceptance and allocation, unsupported definitions/levels, invalid placements, cold population recovery, shared kill XP/loot/cash, no private replacement life, portal pursuit/return, wall rejection and checkpoint cadence. Lifecycle tests cover abandonment, active/completed expiry, settlement retaining actors, preserving transferred loot, and no resurrection on later checkpoints. SQLite faults include aborted/ignored actor, NPC, item, mission and counter writes, late actor mutation/deletion/reinsertion, and deferred commit failure. Each failed operation is retried through the same public handler.

The focused server regression selection passed299 test roots and1959 results; race checks passed35 roots and84 results. Vet and the preview build passed. A completed-expiry fixture correction was checked again through the retirement handler. Logs and assertion-based accounting are retained under local/mission-encounter-research/.

GPU WASM checks used ordinary terminal acceptance, keyed entry, targeting, combat, corpse interaction and journal abandonment. Cold loading restored all five original actor identities. A native unarmed visitor death preserved the assignment; that character lacked its issued starter weapon. Outcome testing then used an explicitly controlled player with raw Body Development100 and 300HP. One enemy was pre-injured; a second began at its full original100HP. These are protocol/lifecycle checks, not ordinary fresh-character balance proof.

Both deaths granted100 kill XP each. The first corpse expired with an unclaimed Monster Part37 and two credits, without a replacement life. The full-health fight generated Part38; native corpse opening collected three credits and the native inventory transfer retained that same instance. Abandonment removed the key35, objective36 and all private NPC state while returning the player outside. The two existing glove instances3/34, equipped hands slot24, Part38,200XP and 45credits remained. The next native acceptance charged its one-credit fee and allocated a separate world with five fresh identities, including the corrected entrance height. Native expiry closed the corpse window; open-window mission retirement is additionally covered by the Go fault/retry tests. No browser exceptions or adapter aborts were recorded. Existing unattributed404 console messages remain in the captured logs.

Fighting around raised scenery exposed missing combat LOS rejection in that earlier capture. Shared combat visibility now supplies the obstruction checks, separately from the authored entrance placement and the bounded detour routing described above.

A final cold restart restored the test character's original raw Body Development5 and normal HP while retaining200XP,44credits after the next request fee, both gloves, Part38, key39 and bound objective40. The fresh world retained exactly five full-health Leets, with the corrected entrance height, and the retired world's NPCs remained absent. Native inventory/equipment replay and SQL integrity/foreign-key checks passed. The owned browsers were closed afterward; the single LAN preview remains on HTTPS8443 with the normal default game ports.