Overriding API like this will result in taint that will break any secure environment it is used in, and you won't be able to use items in combat eventually, not if UseContainerItem is involved.
hooksecurefunc it if you want but you gotta think an alternative way to achieve what you wanna achieve.
securecall only works from Blizzards own code, as a mean to try execute stuff that might be tainted, so when you use it it has no effect, hehe. :P
Last edited by Vlad : 01-31-13 at 05:05 PM.
|