Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(35 Kb)
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:10,286
Favorites:95
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,185
35kB
Meorawr
06-28-11 10:47 AM
4.2.0a
1,127
33kB
Meorawr
06-27-11 09:27 AM


Archived Files (3)
File Name
Version
Size
Author
Date
4.1.0a
32kB
Meorawr
04-27-11 07:35 AM
4.0.3h
34kB
Meorawr
02-18-11 07:58 PM
4.0.3g
33kB
Meorawr
02-17-11 07:05 PM


Post A Reply Comment Options
Unread 02-08-11, 05:37 PM  
formi
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Originally posted by Meorawr
Right, it's something to do with macros and multiple macros being matched...I know exactly where to look now. I'll be putting out a small update (4.0.3-whatever-letter-we're-at-now) in a few minutes to fix a couple of bugs I created yesterday. It also has the option to disable Blizzard's glows.

4.0.3e will pop up when I fix this bug, and will probably contain a few performance improvements.

Edit: Alright, here's hoping it works.
It works!

Thanks so muck 4 ur help - good work!

Disabling the Blizzard glows also works fine.

best regards, formi

/edit: Version: 4.0.3d
/edit2: have some strange flash repetitions, 'll try e tomorrow.
/edit3: e: no problems at all!
Last edited by formi : 02-09-11 at 04:38 PM.
formi is offline Report comment to moderator  
Reply With Quote
Unread 02-08-11, 10:13 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 2
Originally posted by formi
Tried with
Power Aaras Classic
Power Auras Classic: Buttons
and Power Auras Classic: Buttons Config only
no help at all.
Right, it's something to do with macros and multiple macros being matched...I know exactly where to look now. I'll be putting out a small update (4.0.3-whatever-letter-we're-at-now) in a few minutes to fix a couple of bugs I created yesterday. It also has the option to disable Blizzard's glows.

4.0.3e will pop up when I fix this bug, and will probably contain a few performance improvements.

Edit: Alright, here's hoping it works.
Last edited by Meorawr : 02-08-11 at 12:37 PM.
Meorawr is offline Report comment to moderator  
Reply With Quote
Unread 02-08-11, 09:58 AM  
formi
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Originally posted by Meorawr
There I was waiting for the notification to open in my inbox with the word "fixed" inside of it. I'll give it another bash, and see if I can throw that feature in too.

Just one more question, were you running any other addons at the same time when you posted the bug report? In particular, anything that may have something to do with buttons (InlineAura springs to mind, it does have hooks to do with the glows and may be interfering).
Tried with
Power Aaras Classic
Power Auras Classic: Buttons
and Power Auras Classic: Buttons Config only
no help at all.
formi is offline Report comment to moderator  
Reply With Quote
Unread 02-08-11, 09:11 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 2
Originally posted by formi
Hey Meorawr,
Thanks for trying to fix the problem.
But the bug still occurs.

A possibility to deactivate the default glows and lightnings, that works with this addon, would be absolutely great, too!
There I was waiting for the notification to open in my inbox with the word "fixed" inside of it. I'll give it another bash, and see if I can throw that feature in too.

Just one more question, were you running any other addons at the same time when you posted the bug report? In particular, anything that may have something to do with buttons (InlineAura springs to mind, it does have hooks to do with the glows and may be interfering).
Meorawr is offline Report comment to moderator  
Reply With Quote
Unread 02-08-11, 07:07 AM  
formi
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Hey Meorawr,
Thanks for trying to fix the problem.
But the bug still occurs.

A possibility to deactivate the default glows and lightnings, that works with this addon, would be absolutely great, too!
formi is offline Report comment to moderator  
Reply With Quote
Unread 02-07-11, 11:22 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 2
On the subject of that bug, I just found out that disabled auras are still causing glows and for some reason my macro isn't lighting up in Dominos. I'll patch these up and put out a release to see if that helps you.

Edit: Wow, I must have been incredibly absent minded when I tested Dominos; 4.0.3c fixes a few issues with it and (probably) the default action buttons. I'm uploading it now-ish.

If the bug still persists, let me know and I'll have another look. I want that damn thing nailed
Last edited by Meorawr : 02-07-11 at 11:56 AM.
Meorawr is offline Report comment to moderator  
Reply With Quote
Unread 02-07-11, 10:02 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 2
Originally posted by formi
I performed some tests:
The bug only occurs when one or more Auras, along with ur addon, are active in Power Auras.

Code:
button 1: Greater Heal (cast)
button 2: Flash Heal (cast)
button 3: Renew (instant)
button 4: Heal (cast)
button 5: Penance (channeled)
button 6: Binding Heal (instant)
button 7: Prayer of Mending (instant)
button 8: Prayer of Healing (cast)
button 9: Hymn of Hope (channeled)
button 10: Divine Hymn (channeled)
button 11: Archangel (instant)
button 12: Power Word: Barrier (instant)
None of them with the exception of Archangel, what doesn't matter whether it's active or inactive (both testet), is lighting up by the blizzard-ui.

An example string I use with 'Spell' or 'Macro' and 'Display Glow'.
Code:
Version:4.9; icon:Spell_Holy_Penance; buffname:Penance; bufftype:15; texture:0; isResting:0; inVehicle:0; exact:true; spec2:false; customtex:true; combat:true; size:0.25; texmode:2
The bug also occurs on Blizzard default Actionbars when Dominos is disabled!
I'll see if I can reproduce it now, thanks for the report. If I can, I'll get a fix out for it probably tonight or tomorrow.
Meorawr is offline Report comment to moderator  
Reply With Quote
Unread 02-07-11, 08:26 AM  
formi
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Originally posted by Meorawr
What actions are on these buttons? I'll fire up WoW when I get some time tomorrow and try to see if I can figure out any situation which would cause random buttons to get lit; which off the top of my head seems impossible, but then again this could be similar to the cross-button timers bug I fixed.

Only situations I can think of in advance are:
1) The buttons lighting up may be lighting up because of the Blizzard overlays (which if so, I might consider adding an option to ignore them entirely).
2) Your actions actually are somehow affecting these buttons, whether it be some sort of type-checking bug or some other complicated explanation that I really can't think of right now.
3) Dominos decided to break again for mysterious and unknown reasons.
I performed some tests:
The bug only occurs when one or more Auras, along with ur addon, are active in Power Auras.

Code:
button 1: Greater Heal (cast)
button 2: Flash Heal (cast)
button 3: Renew (instant)
button 4: Heal (cast)
button 5: Penance (channeled)
button 6: Binding Heal (instant)
button 7: Prayer of Mending (instant)
button 8: Prayer of Healing (cast)
button 9: Hymn of Hope (channeled)
button 10: Divine Hymn (channeled)
button 11: Archangel (instant)
button 12: Power Word: Barrier (instant)
None of them with the exception of Archangel, what doesn't matter whether it's active or inactive (both testet), is lighting up by the blizzard-ui.

An example string I use with 'Spell' or 'Macro' and 'Display Glow'.
Code:
Version:4.9; icon:Spell_Holy_Penance; buffname:Penance; bufftype:15; texture:0; isResting:0; inVehicle:0; exact:true; spec2:false; customtex:true; combat:true; size:0.25; texmode:2
The bug also occurs on Blizzard default Actionbars when Dominos is disabled!
formi is offline Report comment to moderator  
Reply With Quote
Unread 02-06-11, 06:33 PM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 2
Originally posted by formi
I use Dominos 1.23.9.
There are always the same buttons lighting up:
in actionbar 1 (the default one)
button 1
button 2
button 6
button 8
until I use one of them.

It's independent of casting time.
What actions are on these buttons? I'll fire up WoW when I get some time tomorrow and try to see if I can figure out any situation which would cause random buttons to get lit; which off the top of my head seems impossible, but then again this could be similar to the cross-button timers bug I fixed.

Only situations I can think of in advance are:
1) The buttons lighting up may be lighting up because of the Blizzard overlays (which if so, I might consider adding an option to ignore them entirely).
2) Your actions actually are somehow affecting these buttons, whether it be some sort of type-checking bug or some other complicated explanation that I really can't think of right now.
3) Dominos decided to break again for mysterious and unknown reasons.
Meorawr is offline Report comment to moderator  
Reply With Quote
Unread 02-06-11, 04:53 PM  
formi
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Originally posted by Meorawr
Are you using any bar mods (Bartender4, Dominos, etc.), and if so which one? And is it always the same buttons lighting up or completely random ones each time?
I use Dominos 1.23.9.
There are always the same buttons lighting up:
in actionbar 1 (the default one)
button 1
button 2
button 6
button 8
until I use one of them.

It's independent of casting time.
formi is offline Report comment to moderator  
Reply With Quote
Unread 02-06-11, 07:27 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 113
Uploads: 2
Originally posted by formi
Hi,
first of all, thanks for this awesome addon.
However, I've a problem so that sometimes in combat buttons, for which I haven't created any settings, light up.
But not all of 'em do - just some...
Unfortunately there are no lua-errors.

yours sincerely, formi
Are you using any bar mods (Bartender4, Dominos, etc.), and if so which one? And is it always the same buttons lighting up or completely random ones each time?
Meorawr is offline Report comment to moderator  
Reply With Quote
Unread 02-06-11, 06:41 AM  
formi
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Hi,
first of all, thanks for this awesome addon.
However, I've a problem so that sometimes in combat buttons, for which I haven't created any settings, light up.
But not all of 'em do - just some...
Unfortunately there are no lua-errors.

yours sincerely, formi
formi is offline Report comment to moderator  
Reply With Quote
Unread 01-30-11, 08:33 AM  
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

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

Originally posted by Tondef
Ditto, same error everytime.
Quoting what I said in the previous comment...

The biggest change is that the PowerAurasButtons_Config folder is gone. You should remove the old one if you're updating.
By that I mean go to your World of Warcraft AddOns directory and delete the PowerAurasButtons_Config folder. Or just disable that bit from within WoW itself.
Last edited by Meorawr : 01-30-11 at 08:40 AM.
Meorawr is offline Report comment to moderator  
Reply With Quote
Unread 01-29-11, 08:35 PM  
Tondef
An Aku'mai Servant
 
Tondef's Avatar
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 56
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.
Tondef is offline 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: 2
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
Meorawr is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: