Direct and periodic healing
Ordinary immediate HP heals now use the shared timed casting path. The complete reviewed group contains 85 programs and 85 individual crystals: 50 Doctor, 26 Adventurer, seven Martial Artist and two without a profession gate. Admission requires the whole unconditional selected-target HP Hit contract, including ordinary friendly flags, the attack dictionary and understood requirements. Mixed effects, pet/script context and team effects remain outside this group.
The QL 1 Doctor startup crystal 28778 uploads Improved Healing 28665. Upload uses the same atomic learned-program/consumption path as the other supported crystals. Both crystal and program require effective Biological Metamorphosis 128 above 8, Matter Metamorphosis 127 above 6 and Visual Profession 368 equal to 10. Skill weights are 80% Intelligence / 20% Psychic. With abilities of 10, trained BM 7 / MM 5 gives effective 9 / 7. A duplicate upload retains its crystal and the single existing program entry.
The original 14.9.1 resource gives program 28665 a selected-target Hit 53002
with arguments [27,16,30,0]: 16 through 30 health. Authored cost 407 is 14,
execution 294 is 250 centiseconds, recharge 210 is 250 centiseconds and range
287 is 20 metres. These are definitions, not proof of the original server's heal
roll or debit policy. tools/data/extract_nano_learning.py retains both exact
records and their payload hashes in the local nano-learning report.
Casting uses the program's requirements, range, initiative-adjusted execution and recharge. Improved Healing reserves 13 nano under the existing native float cost arithmetic, restores an inclusive uniform 16..30 HP, clamps to the recipient's maximum and consumes no NCU. Cost, health and recharge commit atomically. An aborted cast refunds its reservation without a delayed heal. Friendly recipient validation and charging/refund rules retain the existing reconstruction policy; the definitions do not prove the original server's policy.
HealthDamage publishes authoritative HP through the shared First Aid reconciliation. The maintained client preserves queued weapon feedback and animation without debiting damage already included in that snapshot a second time. No client change was needed for this spell extension. Actions 130/129 provide private healer/recipient feedback, and completion 107 releases the native effect gate. A crystal's upload effects do not apply its learned heal.
The additional-module and capture audit extends
the delivery investigation beyond KKR's named classes. The seven additional
classes and JJR Heal export supply no suitable client HP operation. Historical
archives, later live-capture reports and sampled period footage do not establish
the missing combat-heal exchange. These bounded negative results leave the
historical publication exchange unresolved; current casting uses the maintained
reconciliation above.
Common message scheduling
A native follow-up checked whether common message scheduling could defer an
absolute health update until previously announced weapon damage had landed.
In the original shared dependency llr.dll, remote-info construction and
serialization carry class key, destination identity, pass-on flag and subclass
bytes. They supply no common execution timestamp or impact fence.
AttackInfo and HealthDamage both use the base PollStatus, which immediately returns ready. The engine activates eligible messages in FIFO order before its root update. Batching these packets together therefore does not place health assignment after a later animation callback. The Anarchy engine's input throttle handles bulk character/playfield snapshots; it does not wait for weapon impacts. This closes that specific lead and leaves the original server's damage-resolution and healing exchange unresolved.
Original target hashes, procedure addresses, exact evidence IDs, failed
lookups and complete exports are retained in
docs/research-notes/weapon-impact-research/common-dispatch.md and the adjacent KKR/LLR
bundles. Both owned native analysis sessions were closed. This is static
analysis, not an original-server capture.
A public server-traffic dataset paper was also checked. Section 3 explicitly states that only network headers were captured; it contains no gameplay payload to resolve this question. The visible AOCapture source tree provides a packet parser and preservation plan, without a correlated heal capture. These bounded findings do not establish that no suitable recording exists elsewhere.
Direct and periodic Hit execution
A separate original-client trace rules out applying the authored heal through
CharacterAction 177. Both immediate and queued effects reach 100be8e0, whose
gate 100bfb40 rejects Hit53002 before timing, tick count or recipient context
is inspected. The otherwise unreachable Hit switch entry calls 1010def0,
a ret 4 stub. Changing tick metadata cannot supply an additive HP operation.
Action 177 enters 10066010, which requires positive duration and the program's
BuffNano flag before applying effects through the same common executor. Original
Improved Healing has neither duration nor BuffNano; original Insurance Hack
85232 has a duration and 40 Hit ticks, but those still reach the same
gate. An active icon does not establish that current HP was restored.
Nine complete matching native evidence records, original instruction windows,
and both fully reparsed original program records are retained in
local/combat-heal-hit-research/. This closes the specific direct/periodic
execution lead; the historical server's HP and weapon-impact exchange remains
unresolved. No client behavior was changed and no analysis session was opened.
Derived item callbacks
The remaining ActionIIR derived-item lead was audited using original KKR RTTI:
18 primary SimpleItem-derived tables resolve to six callback targets. Corpse,
mine, trap and weapon-item overrides add item/explosion/effect behavior, with
no established current-HP addition or neutral AttackInfo drain. Common authored
execution still rejects Hit53002. The full bounded audit, source hashes, raw
RTTI and 23 new complete evidence records are under
local/combat-heal-derived-item-research/. Its owned analysis session was closed.
This narrows the historical delivery search; it does not supply an additive
current-HP operation in the original client.
Periodic healing contracts
An independent census reparsed all 4,366 original nano records and 83,245 item records. It found 102 programs with a repeated positive HP27 Hit53002. Forty form a bounded ordinary group, each with one unconditional selected-target Hit and an individual single-program crystal. All authored metadata, function arguments and both program/uploader requirement expressions were retained; the census does not query the server's admission predicates.
| Family | Programs | Strain | Authored count and interval | Lifetime |
|---|---|---|---|---|
| Doctor | 18 | 12 | 28 at 500 centiseconds | 140 seconds |
| Fixer short | 11 | 12 | 40 at 500 centiseconds | 200 seconds |
| Fixer long | 11 | 255 | 90/120/150/180 at 1,000 centiseconds | 15/20/25/30 minutes |
The two short families therefore share replacement handling; the long family has an independent strain. All require BM/MM/TS thresholds. Doctor and short Fixer programs check VisualProfession368; long Fixer programs check real Profession60, and ten also have level criteria. Program and crystal predicate order can differ while expressing the same complete AND condition. Ordinary metadata includes flags0x10002/0x80010002 and school405=2. Tick count times interval equals lifetime for all 40. These definitions do not prove the historical server's first-tick phase or offline timing.
The other 62 positive-HP contracts include mixed/team effects, special Phoenix records and Mongo children; they cannot be admitted by executing only their HP portion. Ten passive HealDelta programs were retained separately. Their stat343 modifiers are not periodic Hit effects. Bulk TESTITEM uploaders are also separate from the forty individual crystals.
All forty ordinary programs and crystals now use the shared upload, casting, NCU and strain paths. Complete descriptors select periodic healing without program-ID branches. Doctor and Fixer short effects replace each other in strain 12 according to their NCU strength; long Fixer strain 255 coexists. Both original requirement expressions are retained. Real and visual profession criteria still have the existing false-profession limitation.
Friendly recovery uses living-player transactions, separate from hostile NPC damage, threat and kill outcomes. Each inclusive heal roll clamps to maximum HP. Due ticks commit HP and progress together before publishing the shared combat-safe health snapshot; full-health ticks still consume their progress. Cancellation, replacement and recipient death discard the old sequence. An unavailable caster does not stop an already applied effect on a living recipient.
Timing retains the explicit reconstruction policy used for other periodic nanos: first tick after one interval, chronological catch-up of overdue ticks, and a fresh phase on refresh. The last tick runs at the lifetime boundary before expiration. Recipient logout freezes both remaining duration and the partial tick interval. Checkpoints retain pending overdue ticks; cold-loaded player effects stay paused until world login resumes their deadlines. Offline time does not earn recovery. Original-server tick phase, downtime and caster lifecycle rules remain an open historical question in feature backlog.
Complete records, exact payloads, source hashes, the forty-program fixture and
an independent verifier are under local/nano-hot-research/catalog/. The
verifier reparsed 413 retained original resources, including all 312 programs
with repeated Hit, relevant uploaders and wrapper/reference candidates.
Upload milestone verification
Go tests cover exact BM/MM boundaries, profession and quality rejection, duplicate use, failed writes, failed COMMIT, concurrent uploads, private delivery and reload before any checkpoint. The shared crystal, medical-item and backpack tests also cover the owned-item dispatch change. The full Go suite, focused race checks and vet passed.
Two hardware Chromium WASM clients verified native rejection at BM 8, upload at BM 9/MM 7, one consumed crystal, one private program entry and preservation of the spare on a duplicate request. The native success/rejection acknowledgements were 1 and 2. Owner reconnect and an actual server restart restored the learned entry and spare crystal. The observer kept its empty learned list. Both runs had no client errors.
Screenshots, native probes, wire verification, SQL snapshots and cleanup
checks are retained under local/healing-upload-smoke/. Only owned test
characters and items were removed; unrelated rows were unchanged. The
published WASM bundle was unchanged.
Direct-heal verification
The independent census reparsed every original nano and item record, retained
the 227 single positive selected-target HP Hit candidates, then separated the
85 complete ordinary contracts and their individual uploaders. Exact decoded
records and hashes are in local/direct-healing/original-census.json; the
checked-in server/testdata/direct-healing-nanos.json supplies independent
expected endpoints, cost, timing, range, profession and crystal quality.
The implementation admits complete contracts without a program-ID list.
Go tests upload, cast and cold-load all 85. Focused tests cover exact Doctor requirements, insufficient nano, invalid targets, completion gates, clamping, friendly healing with full NCU, recharge, cancellation without a delayed result, and failed health writes, ignored updates and failed COMMIT followed by retry. The shared First Aid snapshot helper keeps its existing combat behavior.
TestBrowserImprovedHealingQueuedHit uses two controlled level 10 Doctors and
one ordinary Leet swing. Real browser input uploads crystal 28778, selects the
Medical program, cancels the first cast by moving, then completes a second cast
while the incoming result is pending. Both clients must display authoritative
healed HP before impact and retain it afterwards, with one genuine weapon result,
unchanged enemy deadlines, one completed nano and durable cost/recharge. This is
a controlled fixture, not earned progression. Native traces, screenshots and
server comparisons are retained in local/direct-healing/.
Only the nano scheduler and one combat swing advance; the caster loads last
to keep its unrelated regeneration phase outside this short sample.
go test ./server -run '^Test(DirectHealing|ImprovedHealing|HealingCrystal)' -count=1
AO_GAME_TEST=1 go test ./server -run '^TestBrowserImprovedHealingQueuedHit$' -count=1 -timeout=5m -v
Original-server heal distribution, cross-faction/PvP permissions, interruption rolls and charging/refund timing are not established by this implementation. Periodic healing uses the separate recovery scheduler described above.
Periodic-heal verification
The independent verifier reparses 413 retained original resources and reproduces the checked-in forty-program fixture exactly. A complete catalog census admits exactly those forty programs and forty crystals; the existing 85 direct-heal contracts remain admitted. Mixed/team effects and passive HealDelta are excluded.
Go checks exercise all forty uploads, original criteria and strict thresholds, first ticks, full sequences, clamping, expiry and cold persistence. Focused checks cover friendly recipients, shared short and independent long strains, refresh, weaker replacement refusal, NCU revalidation/refund, cancellation, recipient death, an unavailable caster, paused partial intervals and world-login resumption. Failed/ignored HP or progress writes and failed COMMIT publish no recovery; retry and concurrent visitors consume each tick once.
TestBrowserHealingOverTimeQueuedHit loads two controlled level 10 Fixers and
uploads original Basic Insurance Hack crystal 85273 through real browser input.
One production Leet swing is scheduled just before the first five-second tick.
Both native clients must show the authoritative recovered HP while that result
is queued and retain it after impact. The test checks one genuine weapon result,
unchanged enemy deadlines, the complete duration 20000 cs installation, cost 84,
39 remaining ticks and a durable paused interval after disconnect. This is a
controlled fixture, not earned progression. Evidence is in local/nano-hot/.
go test ./server -run '^TestHealingOverTime' -count=1
AO_GAME_TEST=1 go test ./server -run '^TestBrowserHealingOverTimeQueuedHit$' -count=1 -timeout=5m -v