Thanks for all the posting from the members here. After reading almost all the posts,now i get my multi-boxing bot running.
Now I can control 5 charaters fighting in instances, and I think there will be more.
But I failed to order a mage or worlock to cast an aoe spell by programming, for such spells need to click on wow's screen .
The Lua fuction CastSpellByName only have two args : spellname and target,
though I am able to call this function by dll injection, it does nothing for aoe spells such as blizzard.
So where can I input the target position? Is there any other fuction working?
or I must simulate a mouse click on screen?
appreciate for any help!