mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Turtle's core doesn't broadcast SMSG_SPELL_FAILURE or SMSG_SPELL_FAILED_OTHER on interrupt (verified by logging both handlers through live tests), so the SPELL_FAILED_OTHER co-hook never fired and interrupted enemy casts (Kick / Earth Shock / Counterspell) lingered as ghost bars. What actually stops the cast visual on Turtle is SuperWoW calling CGUnit_C::ClearCastingSpell (0x0060D040) directly. Co-hook that choke point instead: every unit-stopped-casting path funnels through it (failure packets, SPELL_GO completion, movement, death, animation events, local cancel), gated on the unit's live current-cast field at +0xC8C, so eviction is independent of which signal the server sends. Both failure-packet handlers stay co-hooked as backstops for servers that do broadcast them. Verified in-game: all three interrupts evict; non-interrupting damage doesn't false-evict. Also confirmed via a whole-protocol sniff on the NetClient message dispatch (FUN_NET_MESSAGE_DISPATCH = 0x00537AA0, documented for future use): SMSG_SPELL_DELAYED goes only to the affected caster -- observers receive no packet of any kind for pushback, so remote bars can't stretch. Documented as an inherent 1.12 protocol limitation.