59 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
10 KiB
Native targeted spell/combat checkpoint
Current melee fixture follow-up — 2026-10-16
The later aura/range checkpoint cb028f2 verifies genuine Rend772 and three44-point ticks; see NATIVE_AURA_SLOTS.md. It deliberately stops autoattack after casting, so it does not verify player weapon-swing animation. The current user report about missing player animation remains open.
The first bounded autoattack trial reached source143/native4D0017, but its real distance was8.34598 yards and source145 reported out of range. Its three14A metadata events do not prove player damage. The subsequently flushed original WoWCombatLog confirms Northshire Guard/Rabid Shardtooth damage instead. A zero byte log while open was buffering, not proof that the log API failed.
A stationary Expert Training Dummy50516 fixture was then rejected before any attack: source template unit_class0/type10, catalog retained actual identity but sent=false/empty modern GUID. NativeEntityTranslation::npc_class accepts1/2/4/8. No unrelated class was substituted and the server template was not changed. Child cleanup correctly reported pending; wrapper restored character state but could not select the unrendered summon. Normal private-client close and restart of only disposable tortoise-docker-mangosd-1 cleared the temporary object. Saved baseline5859HP/rage0/money9701/flags55, sword11/300, Defense65/300, inventory and persistent spawn count were preserved. Cleanup journal: runtime/native-dummy-cleanup.json. No position/database/template writes.
Shared fixture guard now queries actual name/levels/rank/NPC flags/unit class and rejects unsupported or unmatched templates BEFORE GM setup/summoning. Both wrapper and child use it; child restoration flags propagate separately to the wrapper journal. Melee mode is distinct from casts and records original request, acknowledgment and bounded damage metadata plus standard log delta/screenshots. It leaves gameplay_effect_verified=false for actual ownership/effect review. Range diagnostics run AFTER starting melee, avoiding the earlier delay while a new hostile chased guards. This is not a movement/range protocol fix.
Full70/70 passed45.05s after guard changes; subsequent ordering-only harness change passed focused guards/traces/UI tests. Actual private836325 startup11.5s, genuine native character selection8.469s and world entry16.277s after cleanup; gateway remained stopped. No new executable patch, network implementation or authentication shortcut. Subsequent in-range actual836325 trial now verifies own melee: source distance 2.685658yd/1.310408surface, target5075->4537->4091, rage10->18->23; original Combat Log/My actions records136/238critical/146 own hits. Source143/native 4D0017 followed genuine3E011E, trace loss0/error0. The next required normal pre-build close flushed the original file: exactly three SWING_DAMAGE rows from Player-70-0000119D to the tested creature match 136/238/146. Both original UI and original file now supply own-attacker evidence. No total-loss/proc attribution. Actor occludes player, so animation is still unverified. Fixture restored baseline and only new source Rabies3150 was removed with legitimate .unaura3150; initial restoration rejection retained. Defense65->83 retained; sword11/300 restored. Evidence: evidence/gameplay/native-melee-range/. Animation, death and loot remain required acceptance checks.
Actual Forever70334 against local Tortoise1.18.1, external gateway stopped. Latest shared cast/form implementation095d8f7; this checkpoint adds reliable identity/trace diagnostics and actual targeted-cast evidence, not a new combat subsystem or NPC/character-specific translation rule.
Observed failure stages
- Original Rend attempt at range emitted target/attack only and showed Out of range. No CMSG_CAST_SPELL existed to lose in transport.
- A temporary matched creature readiness check failed because diagnostics exported only the first256 identities. Those ended at entry915; test7446 was outside that page. Cleanup confirmed Creature Removed, original rage/state restored, no persistent spawn or item modification. This was an automation false negative, not evidence of server visibility failure.
- Actual712180 with GM flags55 and source sword skill11/300 emitted targeted
Rend3E0176/76bytes; native accepted it and real START/GO arrived. Creature
remained full health and server
.list aurasreported0. Packet-path success was explicitly separated from effect acceptance. - Controlled skill300 comparison, GM flags55 unchanged: targeted path still worked but aura0/full health remained. Sword11/300 was restored. Low skill was real and can cause avoidance, but was not the sole test-state problem.
Source-backed normal combat preconditions
Player::SetGameMaster(true) sets faction35, marks hostile references offline
and stops combat. Disabling it restores the race faction and online hostile
references. Unit::Attack explicitly rejects GM-mode player victims;
Unit::IsTargetable also rejects GM players. A GM fixture is therefore unsuitable
for a normal retaliating PvE encounter. These are authentic server rules, not
an excuse to change faction templates or weaken creature restrictions.
The equipped19019 has source weapon class2/subclass7, matching source
ITEM_SUBCLASS_WEAPON_SWORD and SKILL_SWORDS43. Actual weapon skill11/300 and
defense5/300 were recorded before comparison. The creature is genuine template
7446/Rabid Shardtooth, normal beast level59–60. .npc summon uses TemporarySummon;
.npc add writes SaveToDB and is deliberately not used. Entry-guarded .npc delete calls TemporarySummon::UnSummon. No template, health or level override
makes the target artificially easy.
Actual effect result
Controlled normal visible player: original flags55 ->38, sword300, same real
gear, legitimate rage preparation. Account security/command permissions were
unchanged. Original /cast Rend used genuine learned772 from the earlier real
trainer purchase, without a GM spell grant or raw request.
Actual712180: targeted3E0176/76 ->source131/26 ->native START;
source132/32 ->native69002C/127. Adapter result0, loss0, observer error none.
Original server .list auras reported one aura:772/effect0/type3, duration7199,
maximum9000, periodic timer1199, caster Player Gatewaytest4509. Three real24E
periodic records/39bytes followed. The client target health changed5211->4972;
the later visible target bar was4926. Melee and periodic effects both occurred,
so the total health loss is not attributed entirely to Rend. The creature also
retaliated: original player health fell and source saved health4506 after
combat. This verifies a real targeted spell/aura/periodic effect and normal
retaliation, not creature death, loot or all spell mechanics.
Temporary creature was removed. Legitimate GM restoration healed the controlled
loss to5859/5859, rage0/100, flags55 and sword11/300. Saved money9701 and inventory
identities/counts unchanged; persistent spawn count unchanged. No remaining
new saved debuff: source auras2457/16380 match the original controlled baseline.
Defense legitimately advanced5->26 through combat and was retained, not reset.
All equipped items still have full source durability. Public evidence and
reviewed screenshots: evidence/gameplay/native-targeted-spell/.
This comparison establishes that the GM fixture prevented a normal encounter; source rules explain unavailable retaliation. Precise earlier GO miss reasons were not captured, so they are not invented. GM-on evade/reset is consistent with the observed full health/aura0, but is not a decoded earlier miss reason.
Reliable diagnostics
Native diagnostic ABI2 contains up to1024 cached creature/GO identities. Parent
inspection reads at most256 per RPC, with offsets0/256/512/768. Old ABI1 is still
readable. Source-cache truncation is explicit and read_catalog raises rather
than establishing absence. A live multi-page view is not atomic or a rendering
audit. Actual712180 returned282 unique identities in256+26 pages. New300/1025
fixtures cover the prior bound and overflow. No new engine call, callback,
network socket, transport or authentication-state manipulation was introduced.
During non-GM setup the creature cast its own spells. The old observer selected the first source START/GO since observation began, accidentally choosing those NPC events. Native code already correlates by authenticated caster/spell; the observer now requires the native response after the actual outgoing request and its immediately preceding source event. Correct source START22718/26 and GO22724/32 precede nativeGO22725. Earlier erroneous selections are retained in the evidence, corrected from the recorded trace without another fight. The new trace regression rejects earlier NPC casts and overwritten/unrelated source rows.
ops/native_targeted_cast_test.py is a bounded pipeline/fixture harness. Its
initial gameplay_effect_verified=false requires separate source/UI review; the
reviewed successful report records that review. It never interprets GO alone as
successful damage. Cleanup is in finally, with pending restoration flags on
failure. Optional --health-max explicitly restores controlled creature damage;
it is not a character-stat feature. Do not rerun to repair missing telemetry.
Checks and next dependencies
Full63/63 passed40.73s before actual paged deployment. After registering the new trace regression (now64 total), focused trace/specimen/entity/pipe tests4/4 passed0.14s. No mapped library was rebuilt with WowB alive. The complete64-test suite has not been rerun after adding that pure Python test; run it at the next required closed-client build checkpoint.
Rend's native tooltip still reports incorrect effect data, the usual debuff icon is not established, and real periodic24E combat-log translation is absent. Next shared response dependency is periodic aura logging and aura presentation, using authentic source structures and the original native writers. Death/loot, cast-time/channel/projectile spells, proc/set effects, all classes and guild send/receive remain required work. Preserve this bounded result without claiming complete combat or live Octo compatibility.