aorecomp

Anarchy Online classic in the browser

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


docs/research-notes/weapon-impact-research/common-dispatch.md (6762B)


Common N3 message scheduling follow-up

This pass answers the separate common-base scheduling question left after the weapon ring investigation. It changes no production source, game server, browser, or database. Both owned REA sessions were exported and closed.

Targets and retained evidence

Common wire base: no execution clock

llr!n3InfoItemRemote_t::Construct (100240b0) reads the class key, allocates that registered class, reads destination Identity at object +4, reads its pass-on flag at +0xc, then invokes virtual ReadSubClass at +0x18. The writer 10024450 emits that same sequence: key, identity, pass-on flag, subclass. There is no common execution timestamp, attack sequence, impact deadline, absolute-health mode, or pending-weapon fence in this serialization. The pass-on flag is used by ToBePassedOn (10024400) to decide forwarding to observers after activation; it is not an activation-order control.

Evidence: ev_71d95ed959577d163199ad0cc82ab666b854abb97935419ec043aab29eb5bc65, ev_752ad1d3c73fe5bbdd1d5e3cd46b4e5c3459cbde3f20dc60ba36b9a844dc482c. The flag is passed to BinaryStream's character/bool overload; this pass does not independently re-establish that overload's wire width. The existing server's proven 29-byte native N3 framing is unchanged.

FIFO activation precedes the frame's root update

AddNetWorkMessage (1001bf40, continuation 1001bfb0) constructs each item and calls EnqueueSelfMessageFromNet (1001c010), appending it to the network FIFO at engine +0x4c. EnqueueSelfMessage (1001bff0) uses FIFO +0x48. RunEngine (1001bea0) calls DoExternalInput before the root's virtual update (+0x24).

DoExternalInput (1001c380) appends the network FIFO to the ordinary FIFO, transfers ready/retry items, then dequeues each item. It calls item virtual +4 (PollStatus), and for ready state 1 immediately calls virtual +8 (Activate). There is no intervening weapon-animation update between those calls. After activation it invokes engine ContinueInputProcessingAfter, then forwarding or deletion. Nonready items are moved to retry FIFO +0x50. TransferOrTimeOutIIR (1001c2b0) retries those on later engine updates. Its timeout helper counts unsuccessful polls, rather than reading a transmitted execution time.

Evidence: ev_71d95ed959577d163199ad0cc82ab666b854abb97935419ec043aab29eb5bc65, ev_4f0c2a46a39e63df38dd309b3d93d4745ab79db6756c78a7725fc64f3f3d7100, ev_1deecc7f8ef97fd3c00ac64a290c505c3b8ad8decbd41d3c5f1a177f0c57f6a0, ev_752ad1d3c73fe5bbdd1d5e3cd46b4e5c3459cbde3f20dc60ba36b9a844dc482c.

The concrete combat messages are immediately ready

The AttackInfo constructor kkr!100aeba0 installs vtable 1017496c. HealthDamage constructor 100b0960 installs 10174b30. Both tables have 1015f9d0 at slot +4. This exact instruction is an import jump through 1016ffcc to LLR.DLL::n3InfoItem_t::PollStatus; the original llr function 100136f0 unconditionally returns ready state 1. AttackInfo's +8 activation is 100aecb0; HealthDamage's is 100b0a50, agreeing with the existing protocol evidence. Neither class overrides PollStatus to await an attack, animation, queue drain, timestamp, or another health message.

Evidence: constructors ev_947e072ec5b8d078299cfb2ab2a632e3df5060ae745eac9e8b824dafd0424e11, ev_9d1ad1d7a5f16de977af1d16bf186dff405118d253c855c429928e33f2081911; complete table bytes ev_96997c33e101006e158f358d38aa415c8a7b286c7defe71bbd068a831b267f5b, ev_5c3fdccb98623133992aeebf3467e212f3c038f8e751e3af25ef31ceef6bdc4b; import instruction/symbol ev_d6c4aefd64c7a45281910a0d1c807621bc3d624eeeffe1a26fa7d33abfc22cf9, ev_096d5ae3e5bab273da0b9220f8f91b3d0c9223198c1b3a37cfa7d9118b90c26f; base PollStatus ev_71d95ed959577d163199ad0cc82ab666b854abb97935419ec043aab29eb5bc65.

The Anarchy engine's input throttle is unrelated to weapon impacts

n3EngineClientAnarchy_t constructor 1001ecc0 installs vtable 10170760. Its engine slots +0x44/+0x48/+0x4c point to StartInputProcessing 10029f80, ContinueInputProcessingAfter 1002a010, and StopInputProcessing 1002a0d0. The overrides count processed messages and throttle bulk full-character and full-playfield updates under their frame/counter conditions. The continuation checks RTTI for those two snapshot classes. It does not inspect weapon holders, HealthDamage, AttackInfo, attack animations, native result indices, or a transmitted time. This is not a health-correction impact barrier.

Evidence: constructor ev_9d1ad1d7a5f16de977af1d16bf186dff405118d253c855c429928e33f2081911; engine table ev_82412a73054a6d9e952550acb853e1b228b7f215d616b6af2721ab3919f4aa88; overrides ev_5addd8df010f038ae3b1896f5af3e741193b62903616ee3abae21bc56cc83b12.

Conclusion and scope

The common N3 base and the selected concrete dispatch path provide no missing clock or native barrier that would make an absolute heal wait for previously queued weapon outcomes. Sending both messages in one transport batch does not add such a barrier: eligible items still activate in FIFO order during input processing before the later root update. Packet order can order the AttackInfo enqueue and health assignment, but cannot order that assignment after an arbitrary future animation drain.

This closes that concrete scheduling lead. It does not prove that no distinct healing message exists anywhere in the client; it also does not reconstruct the original server's damage-resolution time or packet ordering. The outer transport/network headers and all unrelated subclasses were not exhaustively traced here. No correlated original-server combat/heal capture was available. The existing First Aid/self-heal delivery TODO must remain open. There is no new evidence justifying synthetic zero results, StopFight, deferring healing until incoming combat stops, changing authored Hit53002 into a modifier, or changing native WASM behavior.