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,318
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,190
35kB
Meorawr
06-28-11 10:47 AM
4.2.0a
1,137
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 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.
BaZERGer is offline Report comment to moderator  
Reply With Quote
Unread 05-08-12, 02:35 AM  
Lunyra
A Deviate Faerie Dragon

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

This is so complicated to setup.
Lunyra is offline 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
Silvanas is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: