NPC pursuit and return
Every admitted combat profile pursues its current player target across open ground, including level-1/2 Leets and the fixed Clan Training Salamander Boss. Losing melee range does not discard its attack deadline. It can deliver a bite only inside the recovered weapon range, while continuing its approach until the target is within two metres.
A dead, disconnected, loading or different-playfield target is replaced through the shared threat selector when another eligible participant remains. Otherwise the living NPC runs back toward its retained spawn position. An explicit idle-roaming flag then selects wandering or remaining at that fixed post. Returning neither refills health nor resets the recovery clock. Another player can engage it during the return; that hit replaces the return route with the normal combat flow. Dead remains never return or continue following.
Evidence and policy limits
The shipped 14.9.1 help file
cd_image/text/help/How do I play this Game Alone.txt, paragraph at line 23,
describes pulling monsters to a mission entrance and says outdoor monsters give
up sooner without continued attacks. This establishes pursuit and a qualitative
outdoor disengagement distinction. It supplies no speed, leash distance,
timeout or return-home formula. The local wiki and bounded period-source search
did not recover those numeric rules for Leets.
The server therefore handles concrete target loss without claiming a historical
outdoor give-up timer. Distance/time leashing remains unimplemented. Straight
routes use this server's fixed RunSpeed 100 and run mode, represented on the
server as a 4.5 metres/second speed cap. Selecting that default for admitted pursuit and return
is provisional; it is not an original-server species speed measurement. The
close-approach threshold comes from native NPC steering FUN_10048430, whose
near-target branch checks squared distance below 4 and line of sight.
Physical outdoor and indoor scenes use shared collision bodies, floor, water
and gravity; terrain-height offsets remain only when physical geometry is
unavailable. Pursuit and return plan bounded physical detours, retaining room
and passage admission indoors; see
indoor navigation.
Each scheduler step remains capped at 0.25 seconds, with force/velocity integration
subdivided at 60Hz. Walking retains its native 1.5 metres/second cap. Both modes
accelerate through the shared vehicle integrator rather than moving instantly
at that cap. This substep cadence is server reconstruction policy, not a recovered
original-server scheduling frequency.
Return to the retained spawn is an explicit reconstruction policy. A bounded source search found no period Leet rule proving that exact destination or its timing. Motion, including returns, runs within 200 metres horizontally of a ready player in the same playfield, and for fifteen minutes after the last nearby player leaves. Loading players do not activate NPCs. Health uses the separate recovery rule, including while returning. Unprofiled appearance stand-ins do not acquire combat pursuit. Proximity aggression, original outdoor route selection and broader navigation fidelity remain separate TODOs.
Motion state retains home, destination, idle-wandering eligibility and return progress independently of combat capability. It uses the existing periodic NPC checkpoint; movement does not write SQLite on each tick. Cold loading restores the current admitted profile; displaced living combatants resume returning home when a player comes nearby, before idling. Transient targets and attack clocks are not restored. Roots hold that return until expiry, and the normal signed run-speed rule applies to snares. Dead remains stay where they fell; the separately committed replacement life starts at home and inherits the same idle policy.
Outdoor surface and water contact
Original KKR NPCVehicle_t at 0x1004aac0 derives through the character vehicle
at 0x100476e0. Its vtable at 0x10170f30 retains the shared surface callbacks;
the active check at 0x1004aef0 skips ordinary idle physics while continuing
path/follow/jump/fall work. QQR Vehicle_t::EnsureSurfaceAlignment at
0x10012a50 supplies body contact, water clearance, smoothing and gravity.
The maintained KKR source client/game/kkr.dll/lifted-0023.c,
sub_36048200/sub_36048210, forwards water entry/exit actions 24/31.
The original NPC is observed in swimming mode 4 with Swimming 5; it is not
subject to a universal native prohibition on entering water.
The server applies that existing physical path to outdoor roaming, pursuit and return. Each substep selects its speed from the current movement mode, so water entry immediately changes the cap. Walk/run requests use the same action admission as the native state machine: swimming rejects those toggles and retains its prior preference until exit. Route stops clear velocity and apply the controls already sent to observers. A body blocked by geometry stops its idle route rather than continuing through it. Pursuit and return use the detour planner below. These changes use in-memory motion and the existing periodic checkpoints.
A native floor contact at the pond includes a water-minus-1.2 clamp. Starting
at its quantized Y12.3125, one shared alignment step gives Y12.437904, matching
the original native NPC's Y12.4379053. An idle actor need not finish rising;
an active route continues toward the water contact. This explains the earlier
partial lift without adding a special NPC liquid offset. The controlled
two-client roaming/reload/return/melee/pursuit check and cold Go regression are
described in fallback placement. Original server water
eligibility and random destination selection remain unresolved; native vehicle
behavior alone does not establish those policies. Source records are retained
in local/npc-water-motion/qqr-evidence.json and kkr-evidence.json.
The existing two-client Wardroid/collector stop regression also passes with these outdoor consumers: 140 samples, 52 observed stops, and at least three stops per original actor/client before and after reconnect. Fifty subsequent settled comparisons have a maximum .159-metre error. One asynchronous first stop comparison is .218 metres before delivery and .113 metres in the next snapshot. Both browser error lists are empty; this older harness's event rings overflow, so its separately saved motion samples establish the stop checks. The water scenario above retains both complete event traces.
Outdoor obstacle detours
An engaged Leet previously stopped at X47.5656/Z57.8868 against original Omni Training scenery while its player target remained on the other side. It could neither approach nor land a visible attack. Physical outdoor scenes now share the existing half-metre, 4096-node route search and shortcut probes with indoor navigation. Outdoor goals must lie within the original terrain bounds; indoor goals retain their room check. Nearby pursuit arrival also requires a physically clear approach outdoors. Cached routes and one-second failed-search retries use the existing motion state; movement retains its periodic checkpoint cadence.
TestOutdoorNPCDetoursAroundOriginalTrainingScenery checks the original
enclosure with both Leet and Wardroid collision bodies. Additional public
simulation checks cover close targets behind the wall, a changed walkable
target and the return home. Existing indoor detours, disconnected rooms, route
replay, death/control cleanup and outdoor water/cold-return checks remain green.
TestBrowserOutdoorNPCNavigation uses two controlled WASM clients and a Leet
checkpoint at (46,14.01,58). Fixture engagement and disengagement isolate the
route; they are not earned progression or historical aggression measurements.
Both replicas take the detour before damage becomes possible. Native Tab/Q then
delivers one ordinary five-point hit. Three incoming eight-point hits, observer
reload and the physical return are independently accounted for. Movement poses
are compared with server reads bracketing each fresh native snapshot; settled
arrival/replay/return require direct agreement within .15 metres. All58 measured
comparisons are within .125 metres. The unchanged native water regression also
passes roaming, both page reloads, dry return, ordinary melee and living water pursuit.
The related Go selection passes66 roots/157 individual results in22.998s;
11 focused roots/15 results pass under the race detector in133.283s. Wall WASM
takes47.19s and water50.50s, or105.305s for their combined Go invocation. All ten
final retained traces have no errors or dropped events. Vet, Node syntax, gofmt
and whitespace checks pass. Evidence and trial limits are retained in
local/outdoor-navigation/, with final wall captures in 20261102-173640/ and
water captures in local/npc-water-motion/20261102-173550/.
This reuses a reconstruction planner; it does not recover the original server's route search, path preference, outdoor water eligibility or give-up timing.
Native route contract
Original 14.9.1 kkr.dll SHA-256:
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.
FollowTargetIIR_c uses key 0x260f3671. Reader FUN_1007e540 consumes:
| Field | Wire representation |
|---|---|
| Follow target | Two uint32 identity components |
| Auxiliary value | One float; its meaning remains unresolved; sent as zero |
| Movement control | One byte |
| Reconcile position | Three floats |
| Waypoint count | One signed int32 |
| Waypoints | Three floats each; native storage has 30 entries |
FUN_1007e690 resolves both actors, applies a nonzero reconcile position,
forwards the movement control, clears the NPC's old PathGuide, and calls
FUN_10048260 with the target and waypoint array. The NPC steering caller
FUN_1004af50 uses FUN_10048430(0) and SteeringDirArrive; this is a client
waypoint consumer, not evidence of original server route planning.
The server sends self as the route's target identity. New routes and observer replays carry the current position. Ongoing route changes carry a zero reconcile position: the original receiver skips relocation for that value while still updating the route. Sending the current position on each target change repeatedly teleported native prediction to the server pose. Straight routes contain two points: current position and destination. Planned detours contain current position followed by up to 29 remaining waypoints; turns refresh that remaining route. Pursuit and return use run control 23; ordinary idle roaming uses walk control 22. The native setter skips the starting point when a second point is present. A changed player position refreshes the route; an unchanged destination does not produce repeated absolute position resets. New observers get the current spawn and combat profile before the current route and combat replay. The native waypoint consumer discards points within one horizontal metre. The server uses the same radius rather than forcing the exact endpoint after the client has already stopped. Return therefore finishes near the retained home, on the actual floor at that point. Pursuit checks its two-metre clear-approach threshold after integrating the current interval, so its stop publishes the current pose. A new pursuit publishes its initial route before advancing.
Original qqr.dll SHA-256
c011e411b9cecfbde03c4b37fc988540a1246fafc9921c7cab7cb9ef2bb8d913
supplies Vehicle_t::SteeringDirArrive at 0x10015fe0 and
Vehicle_t::SteeringArrive at 0x10015e90. The latter scales velocity error by
four times body mass before the common force/speed caps and integration. The
server reuses its existing vehicle integrator for that force. Root application
and route cancellation clear its retained velocity as well as the moving flag;
a failed root transaction leaves both live values intact. Full procedure and
assembly records are retained under local/npc-stop-jump/.
Stopping sends an empty target and zero waypoints, followed by walk control 22. Idle roaming also needs an explicit waypoint route: the native NPC steering does not walk merely because a CharDCMove forward command was received. Restoring walk mode keeps idle roaming at its existing speed. A newly engaged NPC clears any return route before starting its new attack. StopFight remains ordered before route cancellation and later quiet health corrections.
REA records and procedure text are retained under
local/npc-pursuit-research/. The reader/activation record is
follow1491Handlers.json; the steering record is followSteering.json.
The source ledger is server-policy-sources.json.
The reader/activation evidence ID is
ev_8bcc339823b969bc5b5e36d6a434f625a11eee1b065ef8dcc4dfa51a8fc5cea5;
NPC steering is
ev_437e76236c9b5d2a0d7dd122ca12b1ff620178cda1d2209666b42e29d1f39ab9;
its NPC/player callers are
ev_1e75e2365d7f68786685da35877287cd6dc6aba5c507b06902338a1067098cc1.
Verification
Shared-profile regressions exercise fixed and roaming level-1/2 Leets and the Clan Training boss. They check retained deadlines, target loss and remaining threat, root/snare casts, cold pursuit/return/root/home states, and a displaced boss's death, separate corpse and replacement life at home. Fixed idle posts remain stationary after return and cold respawn. Unadmitted profiles retain their movement exclusions. The new level-2/boss approach and fixed-spawn checks fail against the previous implementation.
Two hardware-rendered WASM clients then followed the actual Clan Training boss from its fixed post through pursuit, player retreat, an 11-point melee hit and return after an ordinary Options account reconnect. The observer recorded its run home; both clients then showed a stationary post. A subsequent encounter applied Malaise of Movement after the boss approached. The player survived a nine-point bite, ended its attack and reconnected. Both clients held the rooted boss away from home until the original 15-second effect expired, then displayed its return and idle post. Neither health nor movement speed was granted or edited. All sixteen owned item identities, 1000 XP and 30 credits remained; two issued laboratory charges supported ordinary recovery.
These checks, the matching original route/steering digests, raw wire streams,
native positions, screenshots and accounting assertions are under
local/npc-shared-pursuit/. The published WASM client was unchanged and reported
no browser exceptions. The owned test clients closed after verification. These
encounters establish shared movement behavior, not canonical boss balance,
obstacle routing, historical leash rules or a completed earned-upgrade loop.
The complete server/gamedata suite passed 1466 test roots and 15114 results (server 1749.296 seconds). The shared pursuit selection passed 14 roots/34 results; the broader focused selection passed 65 roots/129 results. Race checks passed 44 roots/94 results, and vet and the server build passed. The frozen source, running-server, native-harness and published-client hashes matched afterward.
An isolated native route experiment sent walk and run waypoint routes to two
published WASM clients. Both moved the Leet and reached the short route's
native arrival threshold, less than one metre from its endpoint. Clearing the
route removed the native follow pointer. No browser errors were recorded.
A longer route ended early near scene geometry; it does not establish general
navigation or collision fidelity. Captures are in local/npc-pursuit-smoke/.
The initial probe's field named velocity was not a verified velocity vector;
that labeling error is recorded in
local/npc-pursuit-research/probe-field-correction.json. Movement
observations use position and time, not those unidentified fields.
Focused Go tests cover attack range and retained deadlines, a moving target, identical route packets for two observers, return after target loss, continued return during the grace period without observers, a new encounter during return, corpse exclusion, new-observer ordering and unchanged behavior for unverified profiles.
The full go test ./server/... suite passed (120.670 seconds). Movement and
NPC recovery tests also passed five runs under the race detector (120.199
seconds). Roaming socket fixtures finish native loading before expecting
routes and check the empty-route/walk-mode stop sequence.
Two published WASM clients were then tested on the same normal development server used for laptop previews, over HTTPS port 8443. The browser reported a secure context, cross-origin isolation and SharedArrayBuffer availability. Four 50-sample captures show idle walking, pursuit, return after a playfield change, and resumed idle walking. The chase displaced the Leet about 15.7 metres and ended with its route cleared near the player. The observer saw it run back to the exact authored home position, then walk between idle points with walk mode and an active native waypoint controller. Health stayed below maximum throughout the return. The second character subsequently engaged the same Leet in a new fight and defeated it. The client displayed stationary, lootable remains and returned its weapon controller to idle.
These normal-server captures, screenshots and assertion results are under
local/development-smoke/, including verification.json. Earlier isolated
captures under local/npc-pursuit-smoke/ also retain explicit server state
during pursuit and return. Browser navigation alone was not used as proof of
disconnect: resumable sessions can outlive a page. Disconnect, loading and
target-death cases are covered by the Go tests; the controlled manual return
uses a real playfield change.
NPC starts, turns and stops
The Trade Wardroid and Organic Waste Collector reproduction exposed endpoint corrections from advancing the server at constant speed to the exact goal while native prediction accelerates and discards nearby waypoints. Pursuit also published an already-advanced starting pose, relocated prediction on target changes and stopped using the preceding tick's pose. Shared steering, the original arrival radius and the route contract above address those causes.
The original indoor side-passage reproducer exposed two further discrepancies. Routing shortcuts must remain visible to the native follower, and integrated velocity must retain its floor-tangent component for the next force/speed cap. Otherwise the server pulls ahead over the tongue mesh. The collision substep keeps its double-precision duration: converting a rounded float back to double can incorrectly subdivide one 60Hz step into two collision passes and stall a low-health return at an edge. The existing rejected-death regression catches that case with its original time bound.
Hardware-rendered WASM checks use the maintained game harness, ordinary native inputs, read-only C snapshots and authoritative server poses. Two controlled Trade observers watch the four original Wardroid/collector placements through at least three stops each before and after page reconnect. A separate ordinary Leet encounter exercises approach, retreat, stop and return after reconnect. The indoor check repeats the original obstructed route with two observers, then verifies both reconnects. That controlled navigation fixture temporarily roots the returning NPC to permit observation; it does not establish earned progress, encounter balance or an authored root duration.
Raw packet streams, frame timestamps, screenshots, source/client hashes and
assertion results are retained under local/npc-stop-jump/. Browser request
completion time is not a reliable short-interval movement clock; pursuit and
indoor measurements timestamp the native snapshot callback itself. Vertical
falling is evaluated separately from the horizontal running cap. The original
compact movement packet's position quantization remains visible in final poses.
The final-source Trade run records 133 samples and 50 observed stops, with each
actor stopping at least three times per client before and after reconnect;
maximum final pose error is .159 metres. The pursuit run records 86 frames/77
steps with .126-metre stopped pose errors. The indoor run records 386 samples,
including both delivered stop poses and both reconnects, with .092-metre maximum
stopped pose error. All three runs have no browser exceptions. The largest
measured movement beyond the applicable speed cap is below .023 metres;
callback timestamps are used for pursuit/indoor intervals.
The final go test ./server/... run passes 1,753 top-level tests and 17,112
individual test results, with four explicit skips, in 2,098.68 seconds for the
server package. The focused race run passes 169 top-level tests/502 results in
200.859 seconds, including the original-time-bound low-health return. Vet passes.
Source and published client hashes match the native fixtures and these checks.
Broader layouts, strong-slow/body combinations, species speeds and original
server leash/navigation policy remain separate fidelity work.
November 5 A1 reproduction check
Initial two-client checks of the reopened walking-then-jumping report at server
source e428aa04 did not reproduce multi-metre corrections in Trade.
The four Trade Wardroid/Organic Waste Collector placements produced 157 samples
and 56 stops, including both page reconnects: maximum stopped pose error was
.163m and maximum sampled displacement beyond the walking-speed allowance was
.056m. A second run included all ten roaming Trade NPCs (Androids, Hovertechs,
Mech Dogs, collectors and Wardroids): 149 samples, 130 stops, .320m maximum
stopped pose error and .037m maximum excess displacement. These are sampled
native vehicle positions, not continuous measurements of rendered model motion.
The retained short Omni Training combat scenario also passed: an ordinary hit, eight-metre retreat, pursuit stop and return after reconnect produced 74 native samples/66 measured steps, .011m maximum excess over the running cap and .051m stopped pose errors on both clients. Both players survived; no browser errors were recorded. The fixture does not establish progression or affordability.
The running development server's JavaScript and compressed WASM hashes matched
the tested bundle (974c7f5d... and 48d48eac...). Its executable hash and build
timestamp, complete asset hashes, raw captures and analyses are retained under
local/npc-stop-jump/, in native-20261105-003000,
native-20261105-003311 and pursuit-20261105-003550. Owned test clients and
servers were closed. These initial passing checks did not close A1.
Roaming destinations on slopes
The subsequent Clan/Neutral checks reproduced stop corrections on both native
observers. Clan Leet 1067362 stopped predicting at (79.256,11.191,114.141)
while the server continued uphill, then jumped about 1.68m on the stop packet.
Its destination (77.837,10.408,116.345) reused the home elevation and lay
below the destination floor. Neutral Android 1067471 showed the same failure.
The captures are native-20261105-005518 and native-20261105-005650; the latter
also timed out waiting for all fourteen Androids to complete three routes, so
the focused replay selects the affected Android instead of extending that wait.
A controlled two-client replay of the Clan route failed with 1.345m of
displacement beyond the walking-speed allowance. Changing only destination Y
to the existing scene floor plus .01m reduced that excess to .053m. The Leet is
framed in both clients; native vehicle snapshots and screenshots are retained
under local/npc-stop-jump/slope/20261105-010336 and 20261105-010412.
These are fixture routes, not earned progression.
Grounding the endpoint alone was insufficient for a Neutral junkyard route.
The Android crossed a mound from (273.938,6.391,64.193) toward
(273.975,6.043,69.179) while native prediction stopped at
(273.949,7.281,65.625), followed by a 2.55m stop correction. Both the low and
raised approach probes are obstructed on this route; the same probes are clear
on the corrected Clan route. Evidence is in native-20261105-010957 and
probe.log.
Idle route selection now projects the waypoint onto the existing physical
scene floor and admits it through the shared walkability probe before sending
it to observers. An obstructed choice waits for the ordinary roaming pause
before choosing again. Current position, retained home, acceleration, arrival
radius and checkpoint cadence are unchanged. This is reconstruction policy for
short idle walks, not evidence of the original server's destination algorithm.
TestNPCRoamingPublishesTheDestinationFloorHeight exercises ordinary route
selection and checks the advertised packet height while preserving the pose
and home. TestNPCRoamingDoesNotAdvertiseAnOccludedRoute checks that a blocked
choice sends no movement and schedules the next attempt. All 31 focused
movement/routing tests pass.
The grounded Clan replay covers all six authored level-one Leets: 156 samples,
93 stops and both page reconnects, with .067m maximum excess displacement and
.199m maximum sampled stop error (native-20261105-010733). After obstruction
admission, the affected Neutral Android completes at least three stops per
observer before and after reconnect: 183 samples, 13 stops, .011m maximum
excess displacement and .231m maximum sampled stop error
(native-20261105-011450). The Neutral observers are placed outside the junk
mesh and face the Android. No browser exceptions were recorded.
The final all-ten Trade replay also passes both reconnects: 189 samples,
158 stops, .046m maximum excess displacement and .175m maximum sampled stop
error (native-20261105-011630). Owned browser clients and test servers are
closed after every run. Vet and the server build pass.
A1 closed on November 5 after the user confirmed that the jumpiness appears resolved and can no longer be reproduced, and requested closure. The passing route checks support this observation; the specific cause of the original Omni Trade report was not isolated.