Weapon special notifications
Accepted Fast Attack147 and Fling Shot150 now return CharSecSpecAttackIIR
0x51492120 to the owner and visible observers when the player is already
fighting the requested target. The action precedes SpecialAttackInfo and the
owner's skill lock. All messages follow the existing atomic outcome commit.
Duplicate, invalid and failed requests publish no action.
This is a deliberately bounded part of the special implementation. Idle startup, target changes and casting presentation still need their historical rules established. The handler preserves existing server attack, recharge and cast clocks.
Original client contract
Original14.9.1 kkr.dll has SHA256
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.
The retained evidence and complete exports are in
docs/research-notes/special-animation-research/native/README.md.
- Sender1002c090 constructs the IIR through1007d8e0, then calls
SendIIRToObservers. The original
llr.dllchain1001a610 ->1001a300 ->1001dc20 ->10024450 serializes and sends it without local activation. The owner needs the returned notification too. - Activation1007da30 ->10078a40 queues one skill if the queue is empty and the skill is unlocked. It ignores the payload target and uses the actor's existing combat target later. Applying the skill lock first suppresses it.
- Fight visual10086390 ->1007b2d0 selects the special animation through 1007adc0 ->1007b260 ->100504d0. Fast uses token0x19 and Fling0x1c. Holder10079700 consumes the queued skill and dispatches item event0. That dispatch can contain authored effects; it is not a second authoritative server hit calculation.
- SpecialAttackInfo100b2cb0 separately applies the supplied damage once, named feedback, ammunition and death. It does not queue the special animation.
No original server capture establishes the total action/result/lock ordering. Action before lock is required by activation; action -> result -> lock is the current publication order.
Idle and target limits
The notification does not install a combat target or start ordinary attacks. Stop10079250 clears the special queue. Starting10078fc0 from idle does not unconditionally clear it; native selection changes do not retarget its entry.
An exploratory two-client WASM run confirmed the idle hazard: a15-point Fast Attack changed both clients' target health to85, but both attacker copies retained queue count1/skill147 with holder state1 and target0. Returning the notification for every accepted idle special would leave work for a later fight. The server therefore sends it only for an established matching fight. It does not introduce an unverified automatic attack or client timer reset.
Period October2002 two-computer observations
describe general weapon damage preceding animation. They do not establish
Fast/Fling idle startup or exact casting-phase behavior. The source ledger in
local/special-animation-research/sources/ records those limits.
Verification
server/weapon_special_animation_test.go checks exact owner/observer action
bytes before result/lock, duplicate suppression, unavailable observers and a
different current fight target. Existing Fast/Fling tests cover idle outcomes,
invalid uses and unchanged attack/cast clocks. Transaction-failure cases also
exercise an existing fight, where a successful outcome would send the action.
server/fling_crash_test.go kills real processes before commit or at the first
post-commit action write, for living and killing Fast/Fling outcomes. Reopen
and duplicate retries must recover exactly one damage, lock, contribution,
corpse and progression outcome before even the animation can be published.
Two GPU WASM clients using the published bundle received one11-point Fling and one6-point Fast result, with matching notifications before result/lock. Read-only sampling observed each skill queue once, its consumption and authored mesh resources30980/10181 on both clients. Repeated L/N sent no second request; stopping cleared the queues. A combat weapon-swap rejection preserved both instances; after ending combat, a normal inventory/equipment round trip also preserved their identities, counts and remaining ammunition. The final run had no page errors, unsupported adapters or renderer exits.
Fling's later native target-HP captures both read57. Fast's non-simultaneous captures read54/51 while the NPC still retaliated. A subsequent simultaneous two-client run reproduced a three-point difference when their independent native recovery counters crossed120 at different times, with empty player weapon/special queues. After both combatants stopped, quiet corrections reconciled HP through100 on both clients and SQLite. Fast/Fling regression tests now require both stops before the correction. The general healing/hit-order audit remains open. Ordinary nonlethal damage remains on checkpoints, so its intermediate SQL snapshots can lag live HP. See the recovery comparison.
Validation passed: full Go suite733.402s (gamedata7.570s), final browser/special
checks79.754s, focused race checks107.991s, and vet. One crash child exceeded its
two-minute startup deadline while the initial race suite overlapped builds;
that exact case passed alone187.497s including its parent initialization.
The regular full suite passed all eight forced-termination cases. Native
graphics/surface/device checks and the WASM device suite also passed, including
12 projective-transform cases. Captures and the verifier are in
local/special-animation-smoke/; the published uncompressed module SHA256 is
d27a2f9f0fb7db8d76259767579f77bfa7182cbf01f6ff91efca88c660bbf703.
Both test contexts were closed; owned characters/items and their NPC references
were removed with foreign-key/integrity checks. Existing players8/24 and
unrelated rows were preserved. The single preview retains its default ports.