Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(4 Kb)
Download
Updated: 10-19-14 06:34 PM
Addon for:
oUF.
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:10-19-14 06:34 PM
Created:04-25-09 05:40 PM
Downloads:9,680
Favorites:64
MD5:
6.0.2
oUF AuraWatch  Updated less than 3 days ago!  Popular! (More than 5000 hits)
Version: 1.6.8-8
by: Astromech [More]
This is an optional addon for oUF by haste. The latest version was verified to work with oUF 1.6.8.

oUF AuraWatch adds the ability to watch specific auras on any unit of your choice. All you need to know is the spell ID!

Some uses include:
  • Grid style HoT indicators.
  • Crowd control warnings.
  • DoT timers.
All integrated within your unit frames.

By default, when an aura is applied to a unit, oUF_AW will display an icon letting you know it has been applied. When the aura expires, oUF_AW will display a faded icon, letting you know to reapply that aura. These affects can be customized in your layout. All icons are cleared when combat ends, so you can start each fight fresh. oUF_AuraWatch used the GUID of players and targets, making sure correct information is shown.

oUF_AW does not display numerical timers on its own. However, it does create a cooldown frame which, when paired with OmniCC by Tuller (or a similar addon), will create a countdown for you.

Additional options as well as an example on how to set up oUF_AW are located in oUF_AuraWatch.lua.
1.6.8-8
-Removed some legacy code from spell ranks. Be sure you use the correct spell ID!

1.5.2-7
-Replaced the numerous frame options with a customIcons option, which gives control of frame creation to the user. This is not backwards compatible! If you previously used hideCount, hideCooldown, or custom textures, slight alterations to your layout will be needed.
-Added Override- and Post- ResetIcon and ExpireIcon fields, which allow the user to better control how frames look when these events occur.
-Updated to oUF version 1.5.2 element standard.

1.3.28-6
Added hideCount and hideCooldown options.
Added a strictMatching option, which will watch auras based on spell ids instead of spell names if true.
Improved documentation in oUF_AuraWatch.lua.
Use new embedding technique.
Slight code improvements.

1.3.14-5:
Added an anyUnit option, which, if true, will display an aura no matter what unit it is from.
Fixed an error in the icon creating code.

1.3.14-4:
Fixed some typos so that the addon works like the documentation says!

1.3.14-3:
Allowed the layout to specify showOnlyPresent and showOnlyMissing on a per aura basis if wanted.
Added a new fromUnits field which specifies which units an aura can originate from.

1.3.11-2:
Fixed global oUF referencing and embedding errors.

1.3.11-1:
Initial upload.
Archived Files (7)
File Name
Version
Size
Author
Date
1.5.2-7
4kB
Astromech
10-16-10 06:46 PM
1.3.28-6
4kB
Astromech
05-09-10 09:02 PM
1.3.14-5
3kB
Astromech
05-05-09 11:27 AM
1.3.14-4
3kB
Astromech
04-30-09 04:11 PM
1.3.14-3
3kB
Astromech
04-29-09 10:34 PM
1.3.11-2
3kB
Astromech
04-26-09 02:00 AM
1.3.11-1
3kB
Astromech
04-25-09 05:40 PM


Post A Reply Comment Options
Unread 10-19-14, 06:42 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 58
Uploads: 6
Re: Re: Re: 6.0

Hi Galaxy119, sorry for the long reply time. Had a busy week! But I resubscibed today and managed to fix one problem you may be encountering. Specifically, the Sacred Shield problem. Please let me know if you're still getting that bug.

About your raid frames, I don't know why AuraWatch would have problems with them. Maybe it has something to do with your layout? Can you take a screenshot?

As for your third question, your layout controls where AuraWatch displays any icons, so take a look there.
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 10-13-14, 04:08 PM  
Galaxy119
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Re: Re: 6.0

Originally Posted by Astromech
Originally Posted by Galaxy119
Icons don't show the shaded icon area for the ability cooldown timers, and one of the sacred shield buffs work normally, but the others are constantly displayed.
That is all for 6.0.2 currently on PTR.
Any chance for an update? I don't see any LUA errors relating to AuraWatch unfortunatly.

Secondly, Any chance for implementing aura watch for the ouf raid frames? As they stand now, the settings exist but if used in any way shape or form, they break the raid frames completly.
Thanks for the bug report! Unfortunately, I'm not in the beta or subscribed at the moment, so I'm out of the addon loop. I plan to start playing when 6.0 comes out and I'm sure I'll update then. In the meantime, if you or anyone else has fixed code, feel free to post it or message me and I'll upload it.
Unfortunatly I don't know what code is broken, as I'm not an addon developer, I just tinker with some settings in LUA's to customize them abit, lol. Good to know you'll be ontop of it tho! Great to hear.
I think I may have a lead on the problem. Well, part of the problem. There seems to be a glitch, when I use Sacred Shield, I set the 30sec duration buff in aurawatch as the buff to watch, it works fine on party members on my server, however, when used on a party member that is from another server, it displays the 6-sec duration buff instead, rather annoying.

And about the aurawatch on oUF raid frames, any idea what that's about? It breaks the raidframe UI when I turn on aurawatch for the raid frames. I'm usign RothUI if that makes any difference..


Also, a more advanced question, for the party frame aurawatch, is there a way to enforce icon positioning? As in asign specific locations for each spells icon when it is displayed? Or to make the vertical row end after X many icons and begin a second row? I have quite a few buffs I like to manage (sacred shielf, illuminated healing, beacon, hand spells, certain procs, ect) and I noticed they just infinitly stack in a vertical line, 2-3 is ok but more than 4-5 gets kinda wonky looking.
Last edited by Galaxy119 : 10-13-14 at 05:09 PM.
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 09-16-14, 04:38 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 58
Uploads: 6
Re: 6.0

Originally Posted by Galaxy119
Icons don't show the shaded icon area for the ability cooldown timers, and one of the sacred shield buffs work normally, but the others are constantly displayed.
That is all for 6.0.2 currently on PTR.
Any chance for an update? I don't see any LUA errors relating to AuraWatch unfortunatly.

Secondly, Any chance for implementing aura watch for the ouf raid frames? As they stand now, the settings exist but if used in any way shape or form, they break the raid frames completly.
Thanks for the bug report! Unfortunately, I'm not in the beta or subscribed at the moment, so I'm out of the addon loop. I plan to start playing when 6.0 comes out and I'm sure I'll update then. In the meantime, if you or anyone else has fixed code, feel free to post it or message me and I'll upload it.
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 09-15-14, 05:57 PM  
Galaxy119
A Kobold Labourer

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

Icons don't show the shaded icon area for the ability cooldown timers, and one of the sacred shield buffs work normally, but the others are constantly displayed.
That is all for 6.0.2 currently on PTR.
Any chance for an update? I don't see any LUA errors relating to AuraWatch unfortunatly.

Secondly, Any chance for implementing aura watch for the ouf raid frames? As they stand now, the settings exist but if used in any way shape or form, they break the raid frames completly.
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 02-19-12, 04:46 AM  
Xark
A Deviate Faerie Dragon

Forum posts: 14
File comments: 61
Uploads: 0
dont know if actually somebody is still using this addon / reading the comments, but i am total new to lua and dont get the addon to work with the skaarj layout for ouf... can anyone help me out?
Xark is offline Report comment to moderator  
Reply With Quote
Unread 09-07-11, 01:00 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 58
Uploads: 6
Originally posted by Nevian
Is there a way to always show the auras with missingAlpha (unless present, duh...) and that way not having them cleared when I leave combat or hidden when I log in?
You can set onlyShowMissing to true. That should do what you want!
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 09-07-11, 05:38 AM  
Nevian
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Is there a way to always show the auras with missingAlpha (unless present, duh...) and that way not having them cleared when I leave combat or hidden when I log in?
Nevian is offline Report comment to moderator  
Reply With Quote
Unread 10-15-10, 11:01 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 58
Uploads: 6
New version

1.3.28-6 actually works with oUF 1.5.x and WoW 4.0.1, but I'm working on a new version which better conforms to oUF's new plugin standard and even gives a little more control to the user. It should be up in a day or two.

@Pyrates,
I'm sorry for the late response, I thought I already replied!
You will need to create an OnUpdate script to do this. See
http://wowprogramming.com/docs/scripts/OnUpdate
http://wowprogramming.com/snippets/C...ing_OnUpdate_3

I would store the time remaining in a table for each aura and just subtract elasped on each update. AuraWatch isn't really optimized for this though, so it would be much simpler to just use something like OmniCC or TullaCooldownCount
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 09-26-10, 02:47 PM  
Pyrates
A Theradrim Guardian
 
Pyrates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 134
Uploads: 4
Originally posted by Astromech
[b]oUF_AuraWatch actually doesn't store of aura durations (if you have duration timers its actually coming from OmniCC or some similar addon). So, there isn't an easy way to do this without managing the aura durations yourself or modifying oUF_AuraWatch.

What you could do is modify oUF_AuraWatch to store the time remaining for each buff on its corresponding icon. Insert this after line 170 in oUF_AuraWatch.lua

icon.timeRemaining = remaining
Hey, I'm looking into this. I did as you told, and now I'm able to show the duration of an aura on the aura icon. The problem I have now that the function 'Update' is only called on "Unit_Aura", so updating the time left only happens when such an event is fired. So I guess I'd need to call 'Update' on every 'OnUpdate'? Could you tell me how to do that, I can't find out how
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Pyrates is offline Report comment to moderator  
Reply With Quote
Unread 08-28-10, 02:00 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 58
Uploads: 6
Originally posted by Silberbüchse
Hi Astro,
i tryed it but it didnt work. Anything i can do with ouf_aurawatch self and bring it in the background?
Unfortunately, there isn't a way to get a frame to show between a fontstring and its parent, which is why I had to create the separate "textFrame."

You could try manually setting the textFrame's level using :SetFrameLevel. Something like textFrame:SetFrameLevel(self.AuraWatch:GetFrameLevel() + 1) inserted after textFrame is created might do the trick.
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 08-28-10, 11:36 AM  
Silberbüchse
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 24
Uploads: 1
Hi Astro,
i tryed it but it didnt work. Anything i can do with ouf_aurawatch self and bring it in the background?
Last edited by Silberbüchse : 08-28-10 at 01:08 PM.
Silberbüchse is offline Report comment to moderator  
Reply With Quote
Unread 08-19-10, 03:13 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 58
Uploads: 6
Silberbüchse,

Try this:
http://pastey.net/139805-1ipq

I marked the areas I edited. Hope this helps!
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 08-17-10, 12:28 PM  
Silberbüchse
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 24
Uploads: 1
Ive tried it last night, but iam a bad coder. Here is a pastey to my ouf layout.
Can you tell me which piece of code i must change to make it happend?

http://pastey.net/139575
Last edited by Silberbüchse : 08-17-10 at 01:26 PM.
Silberbüchse is offline Report comment to moderator  
Reply With Quote
Unread 08-15-10, 12:27 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 58
Uploads: 6
Silberbüchse,

Oh, the problem is with your raid frames, right?

Without knowing your layout's code, what I would do is create another frame, let's call it the text frame, after you create your AuraWatch icon frames. Use this text frame as the parent of the name and health fontstrings. That way, since the text frame is created after the AuraWatch frames, your name/health text should appear above the AuraWatch icons. So for example, your style function might look something like this:

Code:
-- Code to create background bars, health/power and whatever.

-- Code to create AuraWatch icons

local textFrame = CreateFrame("Frame", nil, self)
local nameFontString = textFrame:CreateFontstring(nil, "OVERLAY")
local healthFontString = textFrame:CreateFontstring(nil, "OVERLAY")
-- Code to setup name and health tags
Of course the above is drycoded, but the general idea is there! Hope this helps.

strickland,

Sorry for the very late response. But, yes, AuraWatch can do that. Make sure you setup AuraWatch for the player frame.
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 08-13-10, 08:47 AM  
Silberbüchse
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 24
Uploads: 1
Hi Astro,
how can i move the debuff icons behind Player name/health ?

http://i36.tinypic.com/ve7oxw.jpg
Silberbüchse is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: