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-29-11, 08:35 PM  
Tondef
A Cyclonian
 
Tondef's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 57
Uploads: 4
Re: error

Originally posted by Burber72
1x ...owerAurasButtons_Config\PowerAurasButtons_Config.lua:585: attempt to call method 'CheckSavedVars' (a nil value):

Locals:

---

i have this error when i login.
Ditto, same error everytime.
__________________
The strength of the wolf is the pack, and the strength of the pack is the wolf.
Report comment to moderator  
Reply With Quote
Unread 01-23-11, 11:53 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

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

Originally posted by Burber72
i have this error when i login. [/b]
Quoting from the front page. Any auto-updaters should have removed the folder automatically, but manually updating wouldn't have.

The biggest change is that the PowerAurasButtons_Config folder is gone. You should remove the old one if you're updating.
But could you help me, i want to make the button "word of pain : death" glow when the mobe 's life reach to 25 %. Do you know a way to do that?
Set up an aura to trigger on enemy target health hitting 25%. Here's a quick export for one that should do the trick...

Code:
Version:4.9; target:true; bufftype:8; isResting:0; inVehicle:0; threshold:25; combat:true; ismounted:0
Report comment to moderator  
Reply With Quote
Unread 01-23-11, 01:06 AM  
antonin
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
word of pain : death

Hello very nice idea to add this option to PA .
But could you help me, i want to make the button "word of pain : death" glow when the mobe 's life reach to 25 %. Do you know a way to do that?
Report comment to moderator  
Reply With Quote
Unread 01-22-11, 11:03 PM  
Burber72
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
error

1x ...owerAurasButtons_Config\PowerAurasButtons_Config.lua:585: attempt to call method 'CheckSavedVars' (a nil value):

Locals:

---

i have this error when i login.
Report comment to moderator  
Reply With Quote
Unread 01-22-11, 03:22 PM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 6
Originally posted by Poreo
I <3 you
I <3 you too

And you're right on the ugly icon part. I once spent about 30 minutes going through the icon list to find one for err...I think it was some sort of pet based macro. I kept finding ones and thinking "ugh, this one isn't good enough".
Report comment to moderator  
Reply With Quote
Unread 01-22-11, 03:20 PM  
Poreo
A Warpwood Thunder Caller

Forum posts: 94
File comments: 136
Uploads: 0
I <3 you

I hated the icon for dark transformation so I did a simple

#showtooltip Dark Transformation
/cast Dark Transformation

and picked out the coolest icon EVAR , but when I had enough stacks to use it, the macro icon didn't glow -> ( angry face )

EDIT : Now that I think about it , all of my macros are me replacing ugly icons
Last edited by Poreo : 01-22-11 at 03:20 PM.
Report comment to moderator  
Reply With Quote
Unread 01-10-11, 06:38 PM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 6
Re: good job

Originally posted by Bloodykiller86
im loving this addon. at first i hated bliz's proc glow and now im really liking it. i have it set up to glow on heroic strike when im over a certain amount of rage and it works great =D
Glad you're enjoying it
Report comment to moderator  
Reply With Quote
Unread 01-10-11, 06:37 PM  
Bloodykiller86
A Kobold Labourer

Forum posts: 1
File comments: 23
Uploads: 0
good job

im loving this addon. at first i hated bliz's proc glow and now im really liking it. i have it set up to glow on heroic strike when im over a certain amount of rage and it works great =D

edit: if u guys want it to only glow but dont want the power aura's picture just make it black and make sure u have glow active and put the transparency all the way down and its gone =P
Last edited by Bloodykiller86 : 01-10-11 at 06:38 PM.
Report comment to moderator  
Reply With Quote
Unread 01-07-11, 07:05 PM  
Moogul
A Kobold Labourer

Forum posts: 0
File comments: 34
Uploads: 0
Re: Re: Having trouble.

Originally posted by Meorawr
I'll see if I can make these myself tomorrow and if they work, I'll send the export/import codes in a PM. I've done something similar in the past with a health trigger, so I know it should work.
Wow, thanks for the fast reply!

I will look forward to them.
Report comment to moderator  
Reply With Quote
Unread 01-07-11, 06:51 PM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 6
Re: Having trouble.

Originally posted by Moogul
I am trying to set this up to have a glow effect around Enraged Regeneration when my HP is below 35% and it does not seem to work.

Another one that I cannot get to work is Berserker Rage. I want it to highlight whenever I am feared, sapped or cheap shotted.

Any ideas of what I might be missing?
I'll see if I can make these myself tomorrow and if they work, I'll send the export/import codes in a PM. I've done something similar in the past with a health trigger, so I know it should work.
Report comment to moderator  
Reply With Quote
Unread 01-07-11, 06:48 PM  
Moogul
A Kobold Labourer

Forum posts: 0
File comments: 34
Uploads: 0
Having trouble.

I am trying to set this up to have a glow effect around Enraged Regeneration when my HP is below 35% and it does not seem to work.

Another one that I cannot get to work is Berserker Rage. I want it to highlight whenever I am feared, sapped or cheap shotted.

Any ideas of what I might be missing?
Report comment to moderator  
Reply With Quote
Unread 01-02-11, 10:39 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 6
Originally posted by Darianfall
Nice addon, hope you eventually fix it. Cooldowns are broke as people have been reporting on curse. instead of the icon popping up when the ability is ready it just stays there.
Considering I never even uploaded the addon onto Curse, and the idea of an icon popping up isn't part of the addon...Yeah. I think you're on about the wrong addon
Report comment to moderator  
Reply With Quote
Unread 01-02-11, 05:02 AM  
Darianfall
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Nice addon, hope you eventually fix it. Cooldowns are broke as people have been reporting on curse. instead of the icon popping up when the ability is ready it just stays there.
Report comment to moderator  
Reply With Quote
Unread 12-11-10, 09:58 AM  
doktorstick
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 51
Uploads: 2
Re: Re: Not Quite Working w/ Macros

Originally posted by Meorawr
I think I identified an issue similar to this in 4.0.1e, which was fixed then. Said release was due out last week, but I've had a few issues crop up these past few weeks and I've had to delay it. I've got some limited time for the next few days so I'll try to push it out tonight or tomorrow - see if the issue persists then.
Alrighty. If you need me to test it in my setup, I would be happy to help. Cheers!
Report comment to moderator  
Reply With Quote
Unread 12-10-10, 02:13 PM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 6
Re: Not Quite Working w/ Macros

Originally posted by doktorstick
Howdy. I'm using the basic "fix macro" checkbox along with the "not using Blizzard standard frames" checkbox (updated moments ago). My actionbar mod is Bartender (updated this morning).

Whenever i proc Hand of Light (paladin), Templar's Verdict and Inquisition should light up. Inquisition does because it is not part of a macro. Templar's Verdict, however, is part of a macro and does not light up.

Code:
#showtooltip
/cast [mod:alt, @mouseover] [mod:alt, @target] [mod:alt] Repentance; Templar's Verdict
By default it shows Templar's Verdict on my action bar. Proc happens. No glow effect. Press and release "alt" making it flash to Repentance and back to Templar's Verdict. Button now glows. Buff fades, button still glows. Toggle "alt" again to get it to go away.

If you need any more info, let me know.
I think I identified an issue similar to this in 4.0.1e, which was fixed then. Said release was due out last week, but I've had a few issues crop up these past few weeks and I've had to delay it. I've got some limited time for the next few days so I'll try to push it out tonight or tomorrow - see if the issue persists then.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: