Download
(164Kb)
Download
Updated: 10-12-10 10:12 PM
Pictures
File Info
Updated:10-12-10 10:12 PM
Created:05-12-10 07:07 PM
Downloads:4,435
Favorites:10
MD5:

AuraAlarm

Version: 1.6b
by: starlon [More]

AuraAlarm alerts you to buffs and debuffs by playing sounds or flashing the background a certain color. Also an icon of the buff is shown. It has two modes of operation: normal mode and light mode. Normal mode has more features.

To deal with this there are Sets, and you can change into a set through a slashcommand/macro (/auraalarm getset Default). For each set you can specify a target's name. This way you can switch into a Lich King set simply by targeting LK himself.

One of normal mode's features is collision handling. To deal with two or more alarms intersecting, the alarms' individual colors are alpha blended together. You can also prioritize alarms so that when two or more alarms intersect only the important alarm's color shows up. To set up priorities you use layers and the alarm's alpha value. By setting a layer 1 alarm red and fully opaque and a layer 2 alarm that is blue, you have caused the layer 1 alarm to cover up entirely the second layer alarm. The background is entirely red, no matter how many alarms are on layer 2 or deeper.

Normal mode's biggest difference is that it will catch every buff and debuff. Light mode may miss auras that never show up in the combat log, such as Lich King's necrotic plague. Also it doesn't have collision behavior, so if one alarm interrupts another, the behavior is undefined.

When you want alerted to a stackable buff, but don't care what stack it is, use 0 for the stack parameter. Also use 0 for non-stacking auras.

Note that when copying one alarm's properties, only these attributes are shared: color, mode, soundFile, soundPersist, soundRate, showIcon, and layer.

You can set a keybind. How this works is you hover your mouse over a buff/debuff and hit the bound key. An alarm for that aura will be added. For some reason this doesn't work with bound mouse buttons, at least with my limited testing. If it works for you, please let me know.

If you want to be informed when an aura is about to expire, AuraAlarm can sort of do that by delaying the screen flash.

If you would like to help with translations, please head on over to: http://wow.curseforge.com/addons/aur.../localization/

1.6b:
Update UI version for patch.

---
------------------------------------------------------------------------
r185 | starlon | 2010-07-17 19:54:17 +0000 (Sat, 17 Jul 2010) | 1 line
Changed paths:
A /tags/1.5.21b (from /trunk:184)

Tagging as 1.5.21b
------------------------------------------------------------------------
r184 | starlon | 2010-07-17 19:52:53 +0000 (Sat, 17 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Bug fixes
------------------------------------------------------------------------
r183 | starlon | 2010-07-17 03:41:32 +0000 (Sat, 17 Jul 2010) | 1 line
Changed paths:
A /tags/1.5.20b (from /trunk:182)

Tagging as 1.5.20b
------------------------------------------------------------------------
r182 | starlon | 2010-07-17 03:41:05 +0000 (Sat, 17 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Give normalRate a default. This setting may be going away in the future, however.
------------------------------------------------------------------------
r180 | starlon | 2010-07-16 00:33:28 +0000 (Fri, 16 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Delete sleepTimer when clearing current alarms so it's stopped and recycled properly.
------------------------------------------------------------------------
r178 | starlon | 2010-07-14 16:55:21 +0000 (Wed, 14 Jul 2010) | 2 lines
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua

- Finalized new design
- There's now a flash duration config option. This indicates how long in seconds to display background when "Flash Once" alarms fire.
------------------------------------------------------------------------
r177 | starlon | 2010-07-11 19:29:15 +0000 (Sun, 11 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Move the blending and icon loops outside the alarm loop.
------------------------------------------------------------------------
r176 | starlon | 2010-07-11 19:07:33 +0000 (Sun, 11 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Alpha release for testing
------------------------------------------------------------------------
r175 | starlon | 2010-07-10 03:09:09 +0000 (Sat, 10 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Remove stray code
------------------------------------------------------------------------
r173 | starlon | 2010-07-09 09:30:46 +0000 (Fri, 09 Jul 2010) | 1 line
Changed paths:
A /trunk/Localization_deDE.lua

- Add German translations
------------------------------------------------------------------------
r172 | starlon | 2010-07-09 09:25:56 +0000 (Fri, 09 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua

- Change how you define delayed alarms. This way only requires one field -- seconds till end.
------------------------------------------------------------------------
r170 | starlon | 2010-07-08 11:53:43 +0000 (Thu, 08 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua

- You can now specify a delay before flashing the screen. This is useful for notifying you when an aura is about to expire. You must provide two fields -- the aura's duration in seconds and how long to delay before firing the alarm.
------------------------------------------------------------------------
r168 | starlon | 2010-07-07 10:18:48 +0000 (Wed, 07 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Cleanup
------------------------------------------------------------------------
r167 | starlon | 2010-07-07 10:11:01 +0000 (Wed, 07 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua
M /trunk/bindings.xml

The keybind now functions. How this works is you hover your mouse over a buff/debuff and hit the bound key to add an alarm for that aura. For some reason it won't work with bound mouse buttons.
------------------------------------------------------------------------
r165 | starlon | 2010-07-07 08:17:19 +0000 (Wed, 07 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Show aura descriptions on captured aura buttons
------------------------------------------------------------------------
r163 | starlon | 2010-07-06 08:58:26 +0000 (Tue, 06 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Bug fixes related to normal mode.
------------------------------------------------------------------------
r162 | starlon | 2010-07-06 05:52:15 +0000 (Tue, 06 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua

Grammar correction
------------------------------------------------------------------------
r161 | starlon | 2010-07-05 13:38:49 +0000 (Mon, 05 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Print aura name instead of ID when adding a captured aura.
------------------------------------------------------------------------
r159 | starlon | 2010-07-05 13:10:09 +0000 (Mon, 05 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua

- Removed memory options since I inadvertently plugged a memory leak earlier
------------------------------------------------------------------------
r157 | starlon | 2010-07-05 10:57:17 +0000 (Mon, 05 Jul 2010) | 4 lines
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua

- You can now copy properties from one alarm to another. Note that not all properties are copied.
- You can now specify the duration indicator's precision -- either in seconds or one decimal place.
- Bug fixes

------------------------------------------------------------------------
r156 | starlon | 2010-07-05 08:35:54 +0000 (Mon, 05 Jul 2010) | 1 line
Changed paths:
M /trunk/.pkgmeta
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua
M /trunk/embeds.xml

Share alarms with other players. Needs testing.
------------------------------------------------------------------------
r155 | starlon | 2010-07-05 07:16:55 +0000 (Mon, 05 Jul 2010) | 1 line
Changed paths:
D /trunk/Localization_deDE.lua
D /trunk/Localization_koKR.lua
D /trunk/Localization_zhCN.lua
D /trunk/Localization_zhTW.lua

Remove incomplete locale files. They were confusing people.
------------------------------------------------------------------------
r153 | starlon | 2010-07-05 06:08:02 +0000 (Mon, 05 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua

Database profiles for sharing alarms between toons
------------------------------------------------------------------------
r151 | starlon | 2010-07-04 10:09:17 +0000 (Sun, 04 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua

Allow specifying of aura ID. Note that an ID will override the name, so as long as you provide an ID, you can name the alarm whatever you want.
------------------------------------------------------------------------
r148 | starlon | 2010-07-01 03:18:34 +0000 (Thu, 01 Jul 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua

Update to LibStub version of LibFlash
------------------------------------------------------------------------
r146 | starlon | 2010-06-30 08:15:41 +0000 (Wed, 30 Jun 2010) | 1 line
Changed paths:
M /trunk/AuraAlarm.lua
M /trunk/Localization_enUS.lua

Bug fixes
------------------------------------------------------------------------
Optional Files (0)


Post A Reply Comment Options
Unread 07-07-10, 05:03 AM  
starlon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 107
File comments: 39
Uploads: 3
Originally posted by khurzog
quick question before i try this out, say i have my slice and dice up, and i want to be warned 3 seconds before it expires... is this addon capable of that? thanks
Not currently. After thinking about it for a few minutes, this doesn't fit well with AuraAlarm's design. This addon's meant to track when an aura is first applied. I'll have to give this some thought. Right now I'm too tired.

Edit: Actually, now that I think about it, this may not be so hard. You would have to specify two values -- one a delay before flashing the screen, and the other the aura's complete duration. Check back in a few days and I'll see what I can do.
Last edited by starlon : 07-07-10 at 05:06 AM.
Report comment to moderator  
Reply With Quote
Unread 07-07-10, 04:15 AM  
khurzog
A Frostmaul Preserver
 
khurzog's Avatar

Forum posts: 266
File comments: 194
Uploads: 0
quick question before i try this out, say i have my slice and dice up, and i want to be warned 3 seconds before it expires... is this addon capable of that? thanks
Report comment to moderator  
Reply With Quote
Unread 05-18-10, 01:54 AM  
starlon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 107
File comments: 39
Uploads: 3
Originally posted by vard
How do I configure it to sound an alarm if an enemy - say, in arena - happens to use DIVINE SHIELD or NATURE'S SWIFTNESS or the like?

Do I just set unit to enemy?

Or do I have to have them targeted?

Or does it only work on friendly targets
If they gain a buff from it, you can use your target as the unit. I wrote an addon that could do that, but I don't suggest using it. I've abandoned it.

To answer what you can use as target. You can watch anything you can actually targe and see a unit framet. So if you target even a critter, you can watch for buff or debuff. The main units are target, focus, and player. You also have others like raid1, party1, etc... If you've ever configured a unit frames addon like Pitbull, then there's a unit name for each type of frame you could make, such as pet, party1, raid1, and the ones already mentioned.

Be sure and grab the latest file.
Report comment to moderator  
Reply With Quote
Unread 05-15-10, 10:30 AM  
vard
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 59
Uploads: 1
How do I configure it to sound an alarm if an enemy - say, in arena - happens to use DIVINE SHIELD or NATURE'S SWIFTNESS or the like?

Do I just set unit to enemy?

Or do I have to have them targeted?

Or does it only work on friendly targets
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: