View Single Post
07-10-15, 06:23 AM   #5
alikim
A Fallenroot Satyr
Join Date: Jul 2015
Posts: 27
Originally Posted by rowaasr13 View Post
No, you're reprogramming it - you're altering its state by and how mouse would interract with it by hiding. Just imagine having buttons for ALL your spells stacked in one position spell and you dynamically hide all of them except one with best combat spell for current situation and here you'd have your mini-combat bot based on clicking the same spot on screen. You cannot alter SECURE frame from insecure code in combat, period. That's the point of entire system.

I can't remember from top of my head, but you might have some success with doing that from inside secure environment itself where you don't have functions that'd let you check combat status - i.e. your button can have secure script to always hide itself right after click.

You can have secure button to throw item in combat - it's pretty much same as spell button, but you won't be able to react to environment changes - e.g. leaving zone that gave you extra action - while in combat. The most you can do is to note relevant changes from events, save them somewhere and do actual modification after PLAYER_REGEN_ENABLED is fired.

You can't duplicate EAB functionality completely because it can change action or appear/disappear in middle in combat. This can only be done from secure Blizzard's code.
mmm... do you mean to create a hooksecurefunc on some original button call to turn off my button?
  Reply With Quote