View Single Post
Old 07/04/08, 6:37 PM   #1743 (permalink)
Zaldinar
Piston Honda
 
Zaldinar's Avatar
 
Human Mage
 
Runetotem
Originally Posted by manly View Post
Well, you can do a call to an addon like you typed in a macro. I don't know if you can call stopcasting in a mod (maybe you can since it does not trigger a gcd), but I know that thanks to the ChatEdit_HandleChatType exploit you can know every time a macro is ran, and 'remove' some lines that were meant to be executed. Like /cast fireball. Imagine that all your casts go through that method, and that method isn't allowed under any circumstance to add new stuff, or type new stuff (since it would be trivial to code conditional macros). However, theres conveniently a method that you can call at that level that removes the current active line. If I recall correctly its something along the lines of 'escape()'.
/script StopMacro(); spits back "hey dummy, stop using protected blizzard functions", so thats a nogo, since to call it in the addon function you'd need it to be executable in this fashion. That'd be a loophole that would get fixed anyway once it hit mass consumption.

Thats a nasty loophole in the ChatEdit object though, basically bypasses the no conditional macros system, since you can just have a macro with a list of actions and selectively remove them on execution.

To truly model the game, we first must research it.
http://forums.worldofwarcraft.com/th...icId=109841969
Proven TheoryCrafting Stuff, chain casting in a PTR near you soon.

http://forums.worldofwarcraft.com/th...Id=10043085137
Proven BETA TheoryCrafting Stuff, chain casting in a Beta near you
 
User is offline.