Player resurrection
Player death follows the native 14.9.1 resurrection request and zone transition without reloading the browser. Unsaved players return to their current faction's training entrance, using the same authored door and placement as character creation. Selected insurance scanners persist a different return location. Returned health and nano are provisionally 1 each. These are reconstruction choices, not verified historical server values.
Shipped evidence
The original anarchy-vanilla-14.9.1/kkr.dll has SHA-256
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.
Original addresses below use base 0x10000000; generated C uses 0x36000000.
- The death-state update at
0x10086120accumulates frame time after its transition becomes active. After comparison against the float 3.0 at0x1017158c, the local actor constructs CharacterAction 152 using0x1007d4b0and sends it through the character's message interface. Seeclient/game/kkr.dll/lifted-0039.c,sub_36086120. This does not establish the complete time from killing blow to request: animation and presentation precede the active transition. - ResurrectIIR_t, wire key
0x445f2a0b, carries two signed 32-bit integers. Reader0x100b08d0and activation0x10080e20are described in the protocol report. The activation assigns health stat 27 and nano stat 214, then invokes character recovery helper0x10053230. Seelifted-0038.c,sub_36080E20. - The recovery helper clears the death presentation and enables visibility. For local actors it also invokes level-dependent reclaim/shock feedback: level 10 and higher takes the reclaim branch, and level 15 and higher takes the resurrection-shock branch. The stat calculation is recovered below; these branches do not establish the original server's item transfer policy.
The fresh REA recovery-helper decompilation is evidence
ev_c2a370e32e75f900b6adc42b43d81fd62a5402a7380724acda44b335bc925c2d;
the 3.0 float read is
ev_98d1aba4fb13a294634813a2fbb85252284e675cae05c9d9e3b813486dbe2550.
The export is local/reports/resurrection-1491-evidence.json. Current Ghidra
auto-analysis did not define the resurrection activation/death update as
functions, so those branches were checked against the maintained generated
assembly rather than represented as fresh decompilation results. Retained
death-constructor evidence is in local/resurrection-smoke/retained-evidence.json.
The REA session was closed before runtime testing.
Shipped help cd_image/text/help/Death and insurance.txt says a new body appears
near the last saved insurance terminal, items become available at reclaim, and
temporary weakness follows death. cd_image/text/tips/OnResurrected.txt
describes reclaim and healing after return. Neither supplies the exact returned
resource amounts or this prototype's default checkpoint.
Server transition and limits
Only a ready, fully loaded, current session whose player is dead can request resurrection. The envelope must identify that session's own player. Repeated, stale, spoofed, alive and loading requests do nothing.
The return point comes from the saved scanner, or the affiliated training entrance. An unsaved character retains its numbered backyard if that authored entrance leads to the affiliated training ground. Foreign, shop and unknown return doors are replaced by creation's lowest supported backyard. Saved insurance overrides the current affiliation and clears the training return context.
| Unsaved affiliation | Training | Default backyard | Arrival XYZ |
|---|---|---|---|
| Neutral | 954 | Borealis 1 / 3060 | 239.886292, 6.167057, 72.431137 |
| Clan | 952 | Tir 1 / 3100 | 42.737694, 14.75, 70.091897 |
| Omni | 950 | Entertainment 1 / 3000 | 52.597332, 14.75, 57.636177 |
This is a reconstruction policy that keeps fresh deaths on a usable return route. The original initial insurance binding, backyard allocation and exact death arrival have not been recovered. Shipped help establishes return to a saved scanner, but does not identify the checkpoint before the first save. The original training resources contain no reclaim terminal; none is invented here.
The candidate return position is written atomically before changing live state or sending packets. A save failure leaves the dead character and session unchanged. On success the server clears posture, combat/recharge state and any unrelated door return, restores the provisional resources, and sends Resurrect to nearby observers and the player. It then uses the existing teleport and world redirect sequence. The departing session is removed before another request can take effect. The replacement world session initializes the same character, equipment and inventory at the saved return point.
Death and resurrection persist their resources immediately; ordinary simulation uses periodic checkpoints. Reconnecting after the killing hit preserves zero health, the committed XP loss, removed effects and pending reclaim. After the local actor finishes loading, the server acknowledges CharacterReady and replays one native death notification to the player and nearby observers. The client then sends its normal action 152 and completes the same scanner return. Repeated ready messages do not repeat the notification, and reconnecting after the return preserves resources and location while ordinary regeneration resumes. The supported scanner also protects saved XP, with classic uninsured loss committed alongside death; see XP protection. Other scanners, insurance fees remain open. Resurrection shock follows the recovered client calculation below. Ordinary inventory items enter private reclaim from level 10; equipment and NoDrop items remain with the player. See the scanner evidence and limits.
Resurrection shock
Original FUN_10053230 invokes FUN_10076230 for local actors at level 15
and above. It sets raw stat 247 and the skill controller's cached reduction
at offset +0x2c to 5000. FullCharacter application at 1007f4bf restores
that cache from stat 247. Omitting the stat during return/reconnect therefore
erases the penalty even though the native return message announces it.
FUN_10074a30, instructions 10074a77 through 10074aac, subtracts the
following amount for abilities 16-21 and skills 100-168 only:
reduction(value) = trunc(shock * value * float32(0.0001))
effective_ability = raw_ability - reduction(raw_ability) + direct_modifiers
skill_foundation = raw_skill + trunc(weighted_effective_abilities * float32(0.01) * 0.25)
effective_skill = skill_foundation - reduction(skill_foundation) + direct_modifiers
The scale at 101714e4 is bytes 17 b7 d1 38, slightly below exact .0001.
For raw ability 200, initial shock subtracts 99, leaving 101. Direct modifiers
are added afterward. The reduced abilities also reduce skill trickle before
the skill's own penalty. This affects qualification, attack/timing inputs,
resource maxima and regeneration through their existing effective-stat getters;
it does not rewrite trained bases or remove retained equipment.
Actor update FUN_1006ea50 subtracts 27, with a zero floor, on the same
GameTime +0x1d phase as two-second recovery.
Recovery takes 186 checks, about 370-372 seconds depending on the initial phase.
It updates stat 247 and refreshes native skills, resources and equipment checks.
The zero transition prints the original recovery-complete message.
The server commits onset with the return's vitals and position, publishes stat 247 in FullCharacter, and advances the remaining value in memory on its existing ready-player regeneration phase. Resource maxima refresh as the derived values change. Periodic vitals checkpoints and ordinary disconnect saves retain the remaining reduction; cold loading also preserves an already recovered zero. Current policy pauses while offline/loading/dead, as with resource recovery. The original server's offline policy and exact cross-client phase synchronization remain evidence gaps. Remote actors do not receive FullCharacter, so observer skill/timing prediction during shock still needs a separate protocol audit. Returned 1 HP/1 nano remains provisional.
Complete REA Evidence and limitations are retained under
local/resurrection-shock/: onset/replay ev_42a219a257a8edb2ae8021f5f4dc15f541909d36e2f45cdbd6335b5a312a2cfe,
getter/tick ev_5a9675300fd6b8cfed2f1fc3cedc6fd28072f9329236147f36541601cd54ed41,
modifier assembly ev_c3dc476ddb84eedb69e4e81bbbd80a7c5bf28e3aca92e4d8e2e0386d6813ad6f,
and scale bytes ev_bea04c6411ffc7716565942de8d22ff624f6b9713f0cfd08944999359441115e.
These are static observations of the shipped DLL, not historical server captures.
The extracted original getters also pass the same eight added shock cases on
Linux and WASM, covering initial reduction, boosted trickle, direct modifiers
and the final rounding boundary. This controlled getter fixture substitutes
container lookup/notification boundaries; it does not execute a complete client.
server/resurrection_shock_test.go covers level 14/15, durable onset, exact
arithmetic, qualification, resources, phase/decrement/floor, checkpoint cadence
and cold recovered state. The resurrection save-failure regression also checks
that a failed level-15 return applies no live penalty. The short maintained
weapon-reclaim check covers
native onset, refusal, replay, recovery and retained equipment. It also exposed
and fixed a persistent nine-point cold nano-maximum gap: final resource
foundations now follow held-weapon replay even without active nanos.
Verification
server/initial_resurrection_test.go covers all three affiliations, authored
entrances, valid alternate backyard associations, rejected foreign/shop/unknown
context, saved-scanner precedence after affiliation changes, retained equipment,
inventory and XP across database reopen. Failed or ignored UPDATEs and failed
COMMITs leave both live and durable state unchanged, publish no packets and allow
one successful retry with the original association.
The affiliated-return change passes the complete go test ./server/... -count=1
suite: 1,471 top-level tests and 15,140 results (server 1740.407s, gamedata
7.981s). Its focused selection passes 24 top-level tests / 92 results; the race
selection passes 15 / 49 (337.074s). Vet and the server build pass. Frozen source,
server, published client and read-only probe hashes match the tested inputs.
Logs and verification scripts are under local/initial-return/.
Three fresh Solitus Enforcers, each with a separately created observer, verified ordinary Leet defeats in Neutral, Clan and Omni training. No admin provisioning or edited positions, enemies, stats or rewards were used. Each client sent one automatic action 152, received one Resurrect with 1 HP/1 nano, and completed the redirect and ready handshake at its affiliated entrance. Each then walked to its own backyard and back into training. The observers received one death and one resurrection for their partner.
After a clean preview restart, the same six characters loaded normally with
all 36 issued item instances, charges and slots intact in SQLite and native
inventories. Their level, XP, IP, credits and return associations were retained;
earlier earned QA state was unchanged. Strict stream-offset decoding verifies
the three death/return sequences and no death/return replay on cold reconnect.
Screenshots were inspected on the GPU/OpenGL client; recorded browser-error
lists are empty. Both clients close between faction runs. The single shared
preview remains on HTTPS 8443. native-verification.json,
automation-verification.json and preview-verification.json record the checks.
server/resurrection_test.go covers the native request/response order, durable
arrival before reconnect, retained inventory after restart, movement after the
new world handshake, concurrent repeated requests, both observers, stale and
invalid sessions/identities, combat cleanup and save failure.
server/resurrection_reconnect_test.go covers pending deaths across reconnect
and database reopen, saved and default return locations, disconnect before
ready, premature/repeated resurrection, repeated ready, observer presentation,
living arrival reconnect, retained XP/buffs/reclaim and a single durable
resource restoration. Failed and ignored UPDATEs and a failed COMMIT leave
the player dead and retryable without publishing success. The five reconnect
regressions fail against the previous world-entry shortcut; see
local/resurrection-reconnect-research/red-tests.log.
Two GPU WASM clients verified the interrupted transition with real Leet
killing hits. Closing the player tab immediately after action 99 left zero
health and the committed XP/reclaim state in SQLite. A fresh tab automatically
sent action 152 and returned to the saved scanner with 1 HP/1 nano. A second
interrupted death survived a clean server restart and automatically returned
to the then-configured unsaved starter default with the same resources. Both
retained progress 1000, insured cumulative XP 140850, IP 1500 and the same
reclaim item. A later living reload retained 7 HP/13 nano; walking afterward reached SQLite position
[955.625, 16.375, 505.625] without another death or return.
Independent stream decoding confirms one death replay and one native return
per interrupted transition, no XP-loss replay and no private XP updates to the
observer. There were no browser errors. Evidence and the verifier are under
local/resurrection-reconnect-smoke/; verification.json records the results.
Cleanup removed only the two owned test players, their one item and encounter
contribution, preserving unrelated rows and passing SQLite integrity checks.
Both test browsers were closed; the single shared preview remains on its
normal HTTPS/game ports.
The final go test ./server/... -count=1 passed (server 459.858s, gamedata
9.298s). Repeated race checks passed for resurrection/reconnect (110.794s)
and the wider death/insurance/session-replacement selection (120.675s).
go vet -stdversion=false ./server/... passed. Logs are under
local/resurrection-reconnect-research/.
Two published WASM clients exercised a full-health 37 HP player's defeat by the
profiled 100 HP Leet. The native client sent action 152 automatically and
returned with 1 HP/1 nano at the then-configured [960, 16.5, 510], without a
page reload. The observer saw the living player return without a second body.
Walking changed the server position to [958.625, 16.375, 508.625]; the equipped QL 1 Kinetic
Axe and owned Monster Parts remained visible. A second native attack damaged
the same surviving Leet and led to another death/automatic return. That second
encounter used a low-health fixture adjustment. Neither death required a
client adapter change.
Restarting the isolated server and reloading afterward retained the arrival
position and both item identities. Current durable resource and XP restart
checks are recorded in the insurance verification.
There were zero page errors and 15 expected connection-refused console messages
during intentional restart. Evidence is under local/resurrection-smoke/:
verification.json, encounter-packets.log, arrival-position.yaml, and
the per-step state JSON and PNGs. tmp_verify.py checks both native requests,
resources, combat cleanup, movement and durable inventory/arrival. Test-owned
browser contexts and the fixture server were closed before the full Go checks.
The full maintained suite, go test ./server/..., passed after these changes.
Focused race checks also passed for TestResurrection,
TestTeleportReconnects, TestShopDoorReturns and TestCombatReconnect.
Earned level-seven scanner return
The normally created Atrox Enforcer's retained level-seven checkpoint now
verifies fatal combat and return to street scanner 51005:0xc00802c1. The
maintained browser harness uses ordinary native controls, without grants,
edited gameplay state, forced rewards or weakened enemies. The character first
funds and qualifies for a nano recharger.
The first default-difficulty mission request costs seven credits and produces
assignment285, its bound key, a QL7 reward promise and five full-health
level-seven encounters. No reward is rerolled or claimed.
The owner starts at full 254 HP/34 nano with seven worn pieces and Thug's
Delight active. Native Tab selects Leet1068831 at full 225 HP. Q starts combat,
then Q stops the owner's attacks; normal retaliation defeats the owner.
A read-only capture waits for both native zero HP and authoritative action99,
then confirms server zero HP, removed temporary nano/NCU and all 32 items intact.
Packet decoding finds exactly one death99, program43371 removal65, automatic
request152 and Resurrect carrying 1 HP/1 nano. The owner arrives in705 at
[598,16.41,329] after ground settling, with attack rating45 and no active buff.
The first native zero-HP frame still reads attack59 before queued removal
completes; server removal and native presentation are checked separately.
The below-ten branch retains the seven equipped pieces, every earlier bag item, bought recharger and new mission key. Current XP225, insured cumulative XP20875, IP21074 and546credits remain. The recharger restores nano3->33 after return and retains48 charges through a rejected repeat. Seven charges from bought laboratory263, plus normal regeneration, restore full254HP. Its stack retains three charges, with50 across all four laboratories. Nano reaches34. The adjacent street reclaim opens an empty private window and closes normally.
The level-one observer sees the owner at the backyard booth before entry and receives no private encounter/death/return traffic. Its seven items, zero XP/credits and1500IP remain. The authored city exit requires level2 or1000credits, so it stays in the backyard. This checks public departure and private isolation; it does not provide an observer at the scanner. The subsequent earned level-ten run verifies the ordinary reclaim boundary. Full inventory and the broader progression regression remain open. Mission balance, scanner arrival offsets and returned resources remain provisional.
Both page reconnects and a fresh server/two-client cold check retain all39 owned and114 global physical instances, exact slots/charges/qualities, earned skills, wallets, scanner and learned nano. Assignment285, unclaimed book286, five living level-seven encounters and25 earlier recorded mission kills remain. Cold native reclaim picking/open/close again finds an empty window; death/return do not replay. Rendered Stats shows254/254HP,34/34nano, attack45 andNCU0/8.
Evidence and independent verifiers are under local/earned-return/. Focused
Go checks pass20 roots/99 results in27.147s for street insurance/reclaim, death
transactions, resurrection/reconnect and recovery kits. The warm/cold WASM runs
pass in1357.63s/35.25s. Audits check22 warm and eight cold native ownership
observations, all114 physical rows,453 frozen inputs and220 browser traces with
empty error lists. Test browsers and isolated servers are closed; the shared
LAN preview is unchanged. This milestone verifies the existing implementation.