Download
(35Kb)
Download
Updated: 07-08-11 06:15 AM
Addon for:
Power Auras Classic.
Pictures
File Info
Updated:07-08-11 06:15 AM
Created:11-10-10 04:30 PM
Downloads:13,261
Favorites:87
MD5:

Power Auras Classic: Buttons  Popular! (More than 5000 hits)

Version: 4.2.0a
by: Meorawr [More]

In the 4.0 patch, Blizzard introduced their own (very nice) spell overlays. These happened after specific talents or abilities became usable and put a nice graphic on your screen and make their associated buttons glow.

For example, if a Mage got Fingers of Frost then their Deep Freeze and Ice Lance buttons would get this cute little golden glow around them.

This plugin for Power Auras Classic adds that functionality. You can assign "actions", which are essentially spells, macros or items to specific auras. When the aura in question is shown, the associated actions will glow on your action bars. And when the aura is hidden, the glows would disappear.

The AddOn was designed to assist in replicating what a lot of players have been asking for; customizable spell alerts. While Power Auras already filled most of this niche with the epic graphics, it didn't make buttons look all pretty. Now it does through this plugin.

Actions can be one of three things, and any aura can have as many actions as it so desires.

  • Spell - This action type represents a spell on your action bars. You can simply put in the spell name or ID (like Frostbolt) and Frostbolt will look awesome when your aura shows. If you have the spell in a macro, this will also be highlighted.
  • Macro - If you have a macro that doesn't necessarily cast anything, you can include this too. Simply enter the name or ID of the macro and it'll glow like normal.
  • Item - Say you don't have a spell or macro on your bars. What else could you possibly have. Items! Same deal here, put in the item name or ID and let us take care of the glowy business for you.

If you're wondering how to get the ID of a spell or item without getting another seperate addon for that, find the thing on Wowhead. The ID is the number that comes in "item=50231" or "spell=831" on the URL.

If you have bug reports, suggestions or just want to give me a cookie, leave a comment

What's new in 4.0.3a?

4.0.3a is what 4.0.1e was supposed to be. The problem I found myself running into with the old code was mostly performance based, and it was becoming a mess. I wanted to move the code to a more modular design so it was rewritten and in the process got some significant changes.

The biggest change is that the PowerAurasButtons_Config folder is gone. You should remove the old one if you're updating - it's not needed now. If you used an auto-updater like MMOUI Minion, they should have removed this folder automatically. If not, please report it as a bug and I'll put up a small update which restores the folder but removes the actual code.

Rewriting the auras and button management code allowed me to create two new 'modules' as it were, or 'displays' which are the Timer/Stacks and Border modules.

The Timer/Stacks module will allow you to display the timer or stacks information from an aura in Power Auras directly on the button. Say you have a buff with 6 seconds remaining and 3 stacks - you can display the timer (and its 6 seconds) as well as the stacks on the button.

The Border module is currently in a beta stage and isn't fully bug free, but it allows you to set a colored border instead of a glow on a button when an aura is active. This is useful if you want say, a buff (Blessing of Kings) to gain a coloured border when it is active on yourself, and to glow when it's not.

If you don't see any need for these two features then don't worry - you can disable modules entirely.

In addition to the above, some of the (rather obsolete) configuration options have been removed. For example, Blizzard's standard glows will now always be applied to macros.

AddOn Compatibility

This plugin has been tested with the following AddOns and works fine from what I can tell. I don't make guarantees. Not after last time.
  • Power Auras Classic (4.15+)
  • Bartender4 (4.4.15)
  • Dominos (1.23.9)
  • Blizzard's standard action buttons and built in overlays. These all function as they did before.

Note that I don't run Dominos as part of my normal UI. I may be a little slow if some issue crops up during an update. Reporting bugs will of course get the fix thrown out a lot faster than waiting on me to develop something new, test it and realise nothing works in Dominos

How to configure an action
  1. Open your Power Auras Classic configuration window and select the aura you wish to apply an action to. Click the "Edit" button to open Power Auras effect editor.
  2. To the right of the effect editor is the action configuration window. Click the "Add new action..." row to add a new action.
  3. The new action will be added, by default it is of type "Spell" and has the ID 0. For this example, let's assume we want to make Frostbolt glow when this aura is active. First of all, select the newly created row and a new pane at the bottom should expand with several buttons. Simply edit the "Action ID/Name" text box and place in "Frostbolt", or your chosen spell name without quotes.
  4. Press enter and your spell should be saved. If you enter spells by name, you must have them learned and in your spellbook for this to work. If adding a spell, macro or item by name produces an error then try using the ID number instead.

How to report a bug

The best way to report bugs and errors is to leave a comment here on WoWInterface. I'm pretty damn quick in responding to comments, and fixing critical bugs. Make sure that you include the following in any bug reports, or I may just 'forget' you reported one though.
  • Copy/paste the error. This is one of the most important things you need to do. Without it, I have no idea about what has gone wrong.
  • The names of any action bar addons you may be running. It'll be easier if I know this is an error with Dominos than if I have to guess as to whether or not you're using any addons at all. (A full list of all your addons would be immensely helpful too!)
  • A description of what was going on at the time. Were you jumping into a vehicle? Did you log in and all of a sudden "BLAZAM!"?
  • A screenshot of when the error occured would be great too - but optional.

How To...
  • Display the glow only, but not any textures: In the effect editor of Power Auras simply set the aura texture to "Custom Textures" and leave the field blank. This will ensure no aura images pop up, but glows will still happen.

Future Features
  • None. Yet.

Things I won't add
  • Add an option to only make actions glow if they are currently usable (off cooldown, etc). Reason: You can chain auras in Power Auras to accomplish the same effect - simply apply the action to the last aura in the chain.
  • Allow inverting of actions. So you could set a macro to be highlighted when an aura is NOT active. Reason: Limited usefulness. Normally you only care when an aura is active. Plus you could do this from Power Auras too.

Known Issues
  • Spells which are in your spellbook but aren't learned may not be converted to ID's. (Likely won't fix unless pestered to)
  • The fact that Life is cruel and prevents me from updating and giving the AddOn the love and attention it deserves 100% of the time. This an issue with Life which should be resolved in 2.0 (release date: TBA).

4.2.0a

== ToC bump.
++ Added frame/button blacklist feature with experimental Optimize button, blacklisting a button will prevent it from being handled by the addon and thus improving performance. The Optimize button will scan your configuration and automatically disable/enable buttons that are used. Macro buttons are always enabled due to their volatile nature.
++ Experimental performance improvements, button updates are now confined to a single execution per frame. In addition, updates are only processed if slot data for the button changes.

4.1.0a

== ToC bump.
== Fixed a nil error + 2 minor bugs with LibSharedMedia.
-- Removed all legacy code.
++ 1 up!

4.0.3h

== Fix CPU spike with 4.0.3g release, reverted some button management code. Hopefully won't cause issues...

4.0.3g

== More bugfixes.

4.0.3f

== Incredibly weird and obscure bugfix for Auras module.

4.0.3e

== Attempted fix for an obscure macro bug that I cannot reproduce whatsoever. Edit: Fix confirmed.
== Possible performance enhancement in regard to button updates. Could also be a performance loss, more data needed.

4.0.3d

++ You can now disable Blizzard's built in glows. This is a beta feature and may cause buttons to "flash" for a fraction of a second, but I haven't noticed it doing that yet.
== Fixed multiple bugs with the TimerStacks configuration GUI.
== Fixed a bug with Timers trying to access something which doesn't exist.

4.0.3c
== Fixed a bug where auras that were off or disabled in Power Auras were still causing glows, timers and stacks to be processed.
== Fixed multiple bugs with Dominos and the buttons it uses.
== The configuration is a tiny bit more modular now.
== The PowerAurasButtons_Config folder has returned because people kept reporting bugs despite a nice paragraph on the front page telling them to remove it. It's a dummy folder with a TOC that loads nothing - deleting it or disabling it is entirely up to you.

4.0.3b

== Fixed a rather obscure bug where timers would be processed on actions with timers disabled if another action did have timers enabled and affected the same buttons as said actions. If that makes sense, well done.
== Actions should now be copied, moved and deleted with auras like before.

4.0.3a

++ Timer/Stacks Module: Displays timers and stack data directly on the button.
++ Border Module: Displays a colored border on buttons.
++ New configuration GUI: Configuration GUI was rewritten to complement the more modular design.
++ Multiple performance improvements.

-- Removing, moving or copying auras will not affect the actions assigned to those auras previously. This is partly a bug, and partly due to a bug. It might be fixed, not sure.

4.0.1d

== Fixed bugs with the configuration GUI. Deleting, moving, copying and creating auras should now also move/delete/copy their associated actions.

4.0.1c

== Helps if the Blizzard macro fix listens to events that are correctly spelled.
== Fixed the other bug where copying an aura would cause the action management frame to not update properly.

4.0.1b

== The action configuration UI was moved. It is now docked to the Effect Editor in Power Auras.
++ Update throttling. If you're running on a Hello Kitty toaster and are killing for as many performance savings as possible, you can limit the amount of mass updates in a specific time period. This is off by default.
++ Blizzard macros fix. Blizzard's built in auras don't highlight spells that are in macros. This fixes it.
Beta Files (2)
File Name
Version
Hits
Size
Author
Date
4.2.0a
1,463
35kB
Meorawr
06-28-11 10:47 AM
4.2.0a
1,406
33kB
Meorawr
06-27-11 09:27 AM


Post A Reply Comment Options
Unread 01-27-15, 04:54 PM  
Resike
A Pyroguard Emberseer
AddOn Author - Click to view AddOns

Forum posts: 1290
File comments: 246
Uploads: 12
Report comment to moderator  
Reply With Quote
Unread 12-28-14, 11:15 PM  
An_Hell
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hello, as of patch 6.0.3, is possible to get it to work? Or have we any alternative addon like this one?
Report comment to moderator  
Reply With Quote
Unread 03-04-13, 01:18 PM  
Silvanas
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 8
Uploads: 4
I managed to get it working again on patch 5.1 by changing 1 line

in PowerAurasButtons\Modules\ButtonsConfig.lua line 268
replace "UIPanelButtonTemplate2" by "UIPanelButtonTemplate" so basicly remove the 2
Report comment to moderator  
Reply With Quote
Unread 05-08-12, 02:35 AM  
Lunyra
A Deviate Faerie Dragon

Forum posts: 11
File comments: 51
Uploads: 0
Possible to make Soul Fire Button light up when Decimation Procs?

This is so complicated to setup.
Report comment to moderator  
Reply With Quote
Unread 03-23-12, 04:13 PM  
BaZERGer
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I'm experiencing issues with the display turning off, the border coloring turns off when i use any ability, and the highlight seems to turn off at specific abilities.

I'm thinking it's got to do with the default behavior of the client, i remember a while ago i had issues with the yellow border getting stuck on buttons often, they might've fixed that by making it turn them all off every time you use an ability, though it does light up again a few seconds after.

For the glow, using Hunter's Mark, Raptor Strike, or Kill Command as Hunter seems to turn them off, and even keep them turned off afterward. It seems using Focus Fire, or simply having Focus Fire light up on 5 stacks by the default interface, will turn them on again, as does Deterrence and Feign Death. Call Pet seems to make them glow, but turn off again a second later.


This happens even with no other addons running than the two required ones, and the displays that Power Auras Classic use are unaffected by any issues.

From the issues i'm guessing the addon works by just telling the client to turn on those displays, so the client turns them off again by just doing what it does.
Last edited by BaZERGer : 03-24-12 at 04:31 PM.
Report comment to moderator  
Reply With Quote
Unread 12-07-11, 08:02 PM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 6
Re: Bug

Originally Posted by Detvarjannik
64x <event>ADDON_ACTION_BLOCKED:AddOn 'PowerAurasButtons' tried to call the protected function 'CompactRaidFrame29:Hide()'.
<in C code>: in function `Hide'
Interface\FrameXML\CompactUnitFrame.lua:266: in function `CompactUnitFrame_UpateVisible':
Interface\FrameXML\CompactUnitFrame.lua:224: in function `CompactUnitFrame_UpdateAll':
Interface\FrameXML\CompactUnitFrame.lua:143: in function <Interface\FrameXML\CompactUnitFrame.lua:143>:
Dropdown taint, can't fix.
Report comment to moderator  
Reply With Quote
Unread 12-07-11, 07:58 PM  
Detvarjannik
A Murloc Raider

Forum posts: 9
File comments: 18
Uploads: 0
Bug

64x <event>ADDON_ACTION_BLOCKED:AddOn 'PowerAurasButtons' tried to call the protected function 'CompactRaidFrame29:Hide()'.
<in C code>: in function `Hide'
Interface\FrameXML\CompactUnitFrame.lua:266: in function `CompactUnitFrame_UpateVisible':
Interface\FrameXML\CompactUnitFrame.lua:224: in function `CompactUnitFrame_UpdateAll':
Interface\FrameXML\CompactUnitFrame.lua:143: in function <Interface\FrameXML\CompactUnitFrame.lua:143>:
Report comment to moderator  
Reply With Quote
Unread 10-11-11, 02:53 PM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 6
Originally posted by Valcry
Sorry, it was my fault. Please excuse any work you might have had with this matter.
No work done at all, so no problem there (I was going to take a look at it tomorrow)

Originally posted by Valcry
Trying this with http://www.wowhead.com/spell=47897 "Shadowflame" with "Action useable" or "my spell cooldown" (where ist the difference, by the way?)
Difference is that Action Usable requires the spell to be present on your action bars, and it doesn't play well with macros. Spell Cooldown doesn't have the restriction, but only works with spells (and not say, items).
Last edited by Meorawr : 10-11-11 at 02:54 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-11, 02:50 PM  
Valcry
A Deviate Faerie Dragon

Forum posts: 13
File comments: 55
Uploads: 1
Sorry, it was my fault. Please excuse any work you might have had with this matter.

Checked this matter again with http://www.wowhead.com/spell=32392 "Shadow Embrace". It's a Warlock-Debuff on the target stacking 3 times.

Both, the timer AND the Stacks will be shown on a button of my choice.
I Used "Debuff"-Setting in PowaAuras.

Trying this with http://www.wowhead.com/spell=47897 "Shadowflame" with "Action useable" or "my spell cooldown" (where ist the difference, by the way?) seems not working. Although Shadowflame is a dot/debuff on the target, I would like to see the cooldown (12 seconds) in the timer on the button. Therefore I choosed action useable.

Before, I only used the Glow after this 12 seconds, means glowing for a few seconds after the spell is ready again. I mistakenly added the timer to all of such spells. But this does not work, I have to reverse the Cooldown-Check in order to get a correct working timer. Now it works. Facepalm

The only thing I could say that it would be nice to have ist, a timer counting down the CD AND a glow after the timer has been elapsed. But...hey... as long as there is no number counting down, the spell is ready. So that's not a thing which must be realized. But the reason for my original request and the reason why I have done this incorrectly.

Thanks again for this very very usefull addon to PowerAuras.
__________________
Never let me down again
Last edited by Valcry : 10-11-11 at 02:51 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-11, 12:26 PM  
Valcry
A Deviate Faerie Dragon

Forum posts: 13
File comments: 55
Uploads: 1
Re: Re: No Timer shown?

Originally posted by Meorawr
I assume the timer is enabled on the action? If so, are you using any bar mods in particular (Bartender, Dominos, etc.)?
Wow, what a quick reply.
Yes, tried with active and without active Timer. Tried Aura with Text-output and Icon. Currently I'm using Bartender 4 with ButtonFacade. Could try Dominos or the Standardbuttons if you like.

The PA-Timer is visible, but not the timer within the button. Also tried transparent Background, but this does make no difference.

I will quickly check without ButtonFacade/Bartender.

Edit:

Strange: Disabled ButtonFacade without success. Dominos does not work also. Glow works, but no timer. With the Standard-UI there is no glow (but this doesn't matter from my end).

The interesting thing ist: While wie PA-Window is oben, the Dummy-Timer on the button will be shown correctly. Means, Test-Mode will clearly show your Timer on Bartender4-Button.
But the "real" timer while the Action is on CD and the window is closed will not be shown.

Please note my export. Maybe something is wrong with this, but I have no clue, what:

Version:4.22; icon:Ability_Warlock_ShadowFlame; buffname:Schattenflamme; bufftype:7; duration:5; mine:true; inVehicle:0; textaura:true; ismounted:0; timer.enabled:true

Edit 2: Disabled all Addons except Bartender und PowerAuras without any change.
__________________
Never let me down again
Last edited by Valcry : 10-11-11 at 12:58 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-11, 11:36 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 6
Re: No Timer shown?

Originally posted by Valcry
I'm currently not able to show the Timer within the specified button, although I enabled a Timer for the Aura. Tried a lot of different settings, but without success.

Are there any things I should take care of?

PS: Glow does work fine, that's not the problem. Just the timer will not be shown.
I assume the timer is enabled on the action? If so, are you using any bar mods in particular (Bartender, Dominos, etc.)?
Report comment to moderator  
Reply With Quote
Unread 10-11-11, 11:28 AM  
Valcry
A Deviate Faerie Dragon

Forum posts: 13
File comments: 55
Uploads: 1
No Timer shown?

I'm currently not able to show the Timer within the specified button, although I enabled a Timer for the Aura. Tried a lot of different settings, but without success.

Are there any things I should take care of?

PS: Glow does work fine, that's not the problem. Just the timer will not be shown.
__________________
Never let me down again
Last edited by Valcry : 10-11-11 at 11:29 AM.
Report comment to moderator  
Reply With Quote
Unread 07-20-11, 10:55 AM  
Mechanibull
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: Frost Disease Problem

Originally posted by Meorawr
Awesome bug report timing, just as my only monitor dies out

Can you try changing the aura settings so that they display a custom texture? (Just use a blank entry for that field, it'll give the same effect as not showing).

Also, are you using any bar mods like Bartender? And was/is this issue in a prior version? (4.1.0a works just fine in patch 4.2, downgrading to that might fix the issue - if it does then I can easily isolate the problem change and fix it).
Downgrading to 4.1.0a seems to have fixed the problem.
Last edited by Mechanibull : 07-20-11 at 11:04 AM.
Report comment to moderator  
Reply With Quote
Unread 07-18-11, 10:18 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 6
Re: Frost Disease Problem

Originally posted by Mechanibull
I have auras set up to show when diseases are not active.

I have buttons set up to flash Outbreak, Icy Touch, Howling Blast, and Chains of Ice when Frost Fever falls off, and Outbreak and Plague Strike when Blood Plague falls off.

The problem is this: when I use Chains of Ice or Howling Blast, it turns off the flash for Outbreak and Plague Strike, even though Blood Plague is not on the target. The auras from PAC work fine, however for this particular aura, I prefer to use a blank text aura, so that all I see is the button flash, and really would rather not clutter my screen with more auras.

I am using the most recent versions of PAC and Buttons.
Awesome bug report timing, just as my only monitor dies out

Can you try changing the aura settings so that they display a custom texture? (Just use a blank entry for that field, it'll give the same effect as not showing).

Also, are you using any bar mods like Bartender? And was/is this issue in a prior version? (4.1.0a works just fine in patch 4.2, downgrading to that might fix the issue - if it does then I can easily isolate the problem change and fix it).
Report comment to moderator  
Reply With Quote
Unread 07-18-11, 07:37 AM  
Mechanibull
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Frost Disease Problem

I have auras set up to show when diseases are not active.

I have buttons set up to flash Outbreak, Icy Touch, Howling Blast, and Chains of Ice when Frost Fever falls off, and Outbreak and Plague Strike when Blood Plague falls off.

The problem is this: when I use Chains of Ice or Howling Blast, it turns off the flash for Outbreak and Plague Strike, even though Blood Plague is not on the target. The auras from PAC work fine, however for this particular aura, I prefer to use a blank text aura, so that all I see is the button flash, and really would rather not clutter my screen with more auras.

I am using the most recent versions of PAC and Buttons.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: