before I start with the serious shit let me explain why I did this:
Yesterday I tried to script a small addon that helps me while I do some Multiboxing with 6 Characters. I had no idea how to do this so I had to google for addon development tutorials.
What should this addon do for me?:
-Assist the partyleader to get his target (I control the partyleader manually)
-Cast the Mage Flame-spell if the target is alive
Everything went fine until I tested this:
PHP Code:
function romboxer_OnUpdate()
--AssistUnit("party1")
if ( UnitIsDeadOrGhost("target") == false ) then
CastSpellByName("Flame")
DEFAULT_CHAT_FRAME:AddMessage("CSBN->Flame")
end
end

Looks like I can't do this -.- ... but damn it I want to!
I fired up IDA and f*cking(!) 8hours later I finally managed to find that damn peace of shit code that prevents the execution of 'CastSpellByName'. Now I can use my addon.
edit:
*removed the theorypart because it was crap*
Will post a LUA-dump when I get my hands on the new binary tomorrow.
This little lua-fix can be quite powerfull if you're an addondeveloper. PM me if you need it - but I want something good in return. I used this fix to create an addon that heals me and my party while I only move my character ... yes I'm lazy






