Download
(4Kb)
Download
Updated: 10-19-14 06:34 PM
Addon for:
oUF.
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-19-14 06:34 PM
Created:04-25-09 05:40 PM
Downloads:13,072
Favorites:63
MD5:

oUF AuraWatch  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.
Post A Reply Comment Options
Unread 09-26-10, 02:47 PM  
Pyrates
A Cliff Giant
 
Pyrates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 77
File comments: 280
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."
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: 73
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
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.
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: 73
Uploads: 6
Silberbüchse,

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

I marked the areas I edited. Hope this helps!
__________________
- Astromech
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.
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: 73
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
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
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 02:30 PM  
strickland
A Cyclonian

Forum posts: 40
File comments: 195
Uploads: 0
hey, I've tried using this but didn't work, you can track auras on target okay but I was actually trying to track auras/procs on my self, for example, as warrior, Sudden death proc, can it work for that?
Report comment to moderator  
Reply With Quote
Unread 01-13-10, 09:09 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 73
Uploads: 6
By default, oUF_AuraWatch only displays auras which came from you, your pet, or your vehicle. Make sure your layout is not setting the anyUnit field to true.
__________________
- Astromech
Report comment to moderator  
Reply With Quote
Unread 01-10-10, 08:36 AM  
pekaziz
A Kobold Labourer
 
pekaziz's Avatar

Forum posts: 0
File comments: 126
Uploads: 0
Hello,

I'm currently trying to set up a UI for my resto druid and it's mainly based on Neav UI.

I've changed the spell IDs to track my hots but couldn't find a way yet to hide hots casted by other druids.

Is there a way to fix this problem?

Thanks.
Report comment to moderator  
Reply With Quote
Unread 01-09-10, 10:06 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 73
Uploads: 6
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

Alternatively, you could set up a function in your layout to run every UNIT_AURA event, which stores the time remaining of auras.

Either way, you could then get the remaining time and update the colored squares appropriately.

That's probably not a perfect solution but should get you started
__________________
- Astromech
Report comment to moderator  
Reply With Quote
Unread 01-06-10, 10:10 AM  
Waterdark
A Defias Bandit

Forum posts: 3
File comments: 6
Uploads: 0
Hi there,

I am currently trying out some ouf raid frames using ouf_aurawatch. In particular, I'd like to customize Neav's layout, as I'm playing mainly a resto druid.

I'd like to know if there's a way to access a buff's remaining duration for ouf_Aurawatch. In particular, I'd like to write a few lines of code to show my HoTs remaining duration as different coloured squares (like in GridStatusHots).

I'm not very experienced with LUA editing, but the logic behind the colour change should be fairly simple, i'm only quite confused as to what can reference what in the code :P

any general tips? I'll post more specific troubles as soon as I can figure out the matter
Report comment to moderator  
Reply With Quote
Unread 12-08-09, 01:05 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 73
Uploads: 6
Re: i think i broke it :'(

One thing I noticed is that you didn't set a point, width, and height for the AuraWatch frame, which makes it invisible. Since the icons are parented to the AuraWatch frame, it could make them hide too! What you actually set for the AuraWatch frame doesn't really matter, since you don't anchor anything to it. You could just do :SetAllPoints(self)

Try that out and let me know if it works.

oUF_Aurawatch should work with any layout, although the setup might be slightly different.

As for the spellIDs, yes that's right
__________________
- Astromech
Report comment to moderator  
Reply With Quote
Unread 12-07-09, 12:57 PM  
majellah
A Kobold Labourer
 
majellah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 2
i think i broke it :'(

I am trying to use oUF-Neav's raid layout for my priest, but I cannot for the life of me get AuraWatch to work. After switching the spellIDs to my priest's, nothing shows up.

http://www.pastey.net/129894-bpad

Do you think hiding the rest of Neav's layout and using Freeb's frames for my player/target frames would cause AW to poop out on me?

P.S. The highlighted part is the correct number I should be putting into the code, right?

Thank you~

-Kattyl
Report comment to moderator  
Reply With Quote
Unread 08-05-09, 12:32 AM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 73
Uploads: 6
My apologies for the late replies.

berkz, I would recommend posting your question in the oUF section of the forums here. I'm not familiar with Caellian's layout.

Kaidroth, you can set most of the options on a per-aura basis if you want. Just set onlyShowPresenton the aura icon instead of the aura table.

auras.icons[1].onlyShowPresent = true

instead of

auras. onlyShowPresent = true

for example.
__________________
- Astromech
Last edited by Astromech : 08-09-09 at 03:57 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: