aorecomp

Anarchy Online classic in the browser

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


docs/research-notes/heal-timing-followup/publish/README.md (8132B)


Weapon result publication and native impact clocks

Independent REA step 6 question: can the ordinary weapon producer, rather than the already-audited HP setter, supply a native impact receipt or a server health-resolution gate?

Read-only reuse of retained original KKR evidence and matching maintained C. No binary was opened, native session created, new proprietary export made, client started, DB changed or tracked file edited. Original 14.9.1 KKR SHA-256 is a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0. Original addresses use base 10000000; maintained instructions use 36000000. sources.json links 26 original procedures to exact retained Evidence IDs, 8 complete maintained function extracts to source hashes/lines, and hashes the prior ledgers. All 38 records in the supplied controller inventory were revalidated against both their source and extract digests.

Findings

  1. Receipt accepts an ordinary result independently of local attack time. Reader100aec00 supplies damage, ammo, slot, target, death reason and result; known-attacker activation100aecb0 calls1007a660. The receiver neither reads shared controller actor+184 nor tests a weapon attack deadline. It appends damage/result immediately, with the already-documented dead/idle/backlog immediate-drain branches. There is no subclass timestamp or result sequence. Therefore an early server result is allowed by these concrete consumers. This is not proof that the original server normally published results early. Evidence ev_09336905396f52f8c1b2ec8b2c106292e61c364911d3b8fc741c8e7b13b42bf5.

  2. The normal player animation depends on result availability, without a timer-complete veto in that branch. Pump1007b2d0's player path checks the slot, movement/weapon eligibility and ammo, then at1007b3ae..1007b3c6 tests unread result, invokes1007adc0(slot,0), and releases hold with1007a920. Earlier1007b36f calls1007a8f0(slot), which wraps the timer-hold/retry/LOS predicate100ab740, but its return is not tested before the subsequent ammo/special/ordinary branches. The maintained instruction transcript confirms this detail; treating that call as an admission condition would misread the producer. The separate virtual+2c branch processes an already queued special action, with virtual+64 bound to10079700. It is not an ordinary hit receipt or an ordinary per-swing request. Evidence ev_84fd218144454091ba7871485b83fbc537daff7c0289b319dff12431d29c6305, ev_9081c9ee969a3f64c9cfb5aec6a5d90477aa638090d6ed38e5791a3d0d58eeda, ev_2ee9c0b0efb064b9c2b8f70798f1ed8ae7797a3a383ea40f0f695c510dbaf92c.

  3. NPC animation has a different timer gate, and can precede its result. The NPC branch of1007b2d0 tests100ab740 before selecting the animation: completed-attack hold0x20, modulo5 retry becoming1, and LOS. In1007adc0, absence of a queued result only rejects when the holder range predicate also fails. Thus an in-range NPC can schedule an animation before its AttackInfo arrives. A local NPC windup/impact cannot be inferred merely from that packet's arrival. Nor does supplying a result cause all clients to consume it in the same frame. Timer startup randomness, local frame progression, animation state and queue backlog remain separate variables. Evidence same pump/retry records and ev_a1da62ef7361ff44e99f4fae29cc61cbcc0e5355e4d27dafe23b0429f5a1ba21.

  4. Timer release occurs at animation selection, before HP consumption. 1007a920 resolves a slot and100ab7a0 clears only timer flag0x20. It has no network send, result sequence, health value or impact callback. The shared controller advances local attack/recharge phases; it does not resolve authoritative HP. Releasing this hold must not be interpreted as evidence that100ab5a0 already consumed the supplied result. Evidence ev_9081c9ee969a3f64c9cfb5aec6a5d90477aa638090d6ed38e5791a3d0d58eeda, ev_f120a1426717ed115aa79a77780cfb3668302f621243f5c5877df308e4523215.

  5. The actual ordinary impact paths provide no receipt to the server. Selection1007adc0 embeds slot in an animation tag. Event11 follows 1004db10 ->10059c70 ->1007a260 ->weapon effect100918a0/100ac610 ->100ab5a0. The generic callback's cast event0x42 instead invokes100665e0; this separate cast path is not a weapon result completion report. Animation replacement/completion follows1004da40 ->10059c40 ->1007a2e0 ->100ab5a0. Draining loops over all unread pairs, not one sequence per callback. The selected ordinary producer, hold release, event11 branch, weapon effects, completion callback, pop and drain contain no outbound ordinary-impact IIR acknowledgement. This corroborates the prior callback audit without reopening the already-closed HP-setter subscriber question. Evidence ev_a1da62ef7361ff44e99f4fae29cc61cbcc0e5355e4d27dafe23b0429f5a1ba21, ev_839516fbf9737749e969200bc7698259fa6decf43f39b3025dc440c60acd95f3, ev_1a72dd74cf4558d8f8bcc8be6cddf4c38658d2afdbb67b1ce99c59e87b5dbf06. The complete retained effect bodies and their own IDs are in sources.json.

  6. The explicit ordinary outgoing producer is an encounter request. Maintained1007bee0 checks holder pending+71, sets it, constructsAttackIIR through10087590 and sends through imported slot17004c. It carries target and byte, rather than a popped result or impact clock. This contrasts with the no-send1007a920 local hold release. Public DefaultAttack's existing request audit calls this helper; the normal animation paths above do not call it for each ordinary swing. Existing retained packet audit independently found no impact acknowledgement in its particular live session. This does not enumerate every possible unrelated sender in KKR or its imports.

What this establishes for implementation

Result announcement, native presentation impact, and authoritative server HP resolution are distinct boundaries. The client permits a result to be queued before its local timer or animation completes, and the NPC can start a local animation before a result. Those facts leave multiple historical publication policies possible. They do not recover an original server attack-start versus attack-end publication rule, an authoritative heal ordering, or a safe global delay after which every replica has consumed an announced result.

Moving Go AttackInfo earlier/later can be tested as an explicitly labelled timing experiment, but cannot yet be called a canonical fix or an exact heal barrier. Waiting for1007a920 is unavailable to Go and would be too early even if it were visible. No newly recovered native per-impact receipt justifies a server wait-for-receipt design. No native queue change follows from this pass.

The strongest next evidence remains correlated original-server combat/First Aid traffic plus visible or read-only native impact timing. For a bounded modern experiment, capture source request, Attack start, AttackInfo arrival, timer phase, animation selection/keyframe, ring drain and absolute heal on both clients; do not conflate a server deadline with a native hit. Such an experiment can reject an implementation hypothesis but cannot prove the original server's inaccessible commit time.

Question Status
Does receive code reject results before windup completes? Answered for inspected receiver: no timer gate
Is early publication the original server policy? Unresolved
Does player animation wait for ordinary result? Answered for normal branch: yes, with other state/weapon gates
Can NPC animation start without a result? Answered for inspected in-range branch: yes
Does ordinary timer release acknowledge impact? Answered: no; release precedes later consumption
Do enumerated ordinary producers/callbacks send an impact ACK? No such send found within complete selected bodies
Does any unrelated mechanism anywhere synchronize server HP? Unresolved; exhaustive whole-program proof not claimed
Is canonical combat healing now solved? No