Go to Page... |
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,071 |
Favorites: | 63 |
MD5: |
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:
Comment Options |
Astromech |
View Public Profile |
Send a private message to Astromech |
Find More Posts by Astromech |
Add Astromech to Your Buddy List |
02-19-12, 04:46 AM | |
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 |
View Public Profile |
Send a private message to Xark |
Find More Posts by Xark |
Add Xark to Your Buddy List |
09-15-14, 05:57 PM | |
|
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. |
|
Joker119 |
View Public Profile |
Send a private message to Joker119 |
Find More Posts by Joker119 |
Add Joker119 to Your Buddy List |
09-16-14, 04:38 PM | ||
|
Re: 6.0
__________________
- Astromech |
|
|
Astromech |
View Public Profile |
Send a private message to Astromech |
Find More Posts by Astromech |
Add Astromech to Your Buddy List |
10-13-14, 04:08 PM | |||
|
Re: Re: 6.0
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 Joker119 : 10-13-14 at 05:09 PM.
|
||
|
Joker119 |
View Public Profile |
Send a private message to Joker119 |
Find More Posts by Joker119 |
Add Joker119 to Your Buddy List |
10-19-14, 06:42 PM | |
|
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 |
View Public Profile |
Send a private message to Astromech |
Find More Posts by Astromech |
Add Astromech to Your Buddy List |
11-10-14, 07:37 PM | ||
|
Re: Re: Re: Re: 6.0
I honestly have been so busy IRL I forgot all about this.. heh.. Anyways.. The SS issue appears to be fixed, tho it still acts funky, sometimes I have to /reload inorder for it to start tracking SS after joining a dungeon, sometimes it works fine, but either way, a reload is a simple fix and hasn't failed me yet. (since the update you did) Turning aura watch on for the raid frame still breaks the raid frames, will include Screenies for visual proof. Here's a copy of all relevant(ish?) LUA errors I get. These first 2 are only when i have raid aurawatch enabled... Code:
Message: Interface\AddOns\oUF_Diablo\units\raid.lua:362: attempt to call global 'createAuraWatch' (a nil value) Time: 11/10/14 17:17:05 Count: 8 Stack: [C]: ? [C]: ? Interface\FrameXML\RestrictedFrames.lua:604: in function <Interface\FrameXML\RestrictedFrames.lua:603> Interface\FrameXML\RestrictedFrames.lua:742: in function `CallMethod' [string " local header = self:GetParent()..."]:52: in function <[string " local header = self:GetParent()..."]:1> (tail call): ? [C]: ? Interface\FrameXML\RestrictedExecution.lua:441: in function <Interface\FrameXML\RestrictedExecution.lua:412> Interface\FrameXML\SecureGroupHeaders.lua:116: in function <Interface\FrameXML\SecureGroupHeaders.lua:110> Interface\FrameXML\SecureGroupHeaders.lua:166: in function <Interface\FrameXML\SecureGroupHeaders.lua:123> Interface\FrameXML\SecureGroupHeaders.lua:488: in function <Interface\FrameXML\SecureGroupHeaders.lua:387> [C]: in function `Show' Interface\FrameXML\SecureStateDriver.lua:100: in function <Interface\FrameXML\SecureStateDriver.lua:95> Interface\FrameXML\SecureStateDriver.lua:164: in function <Interface\FrameXML\SecureStateDriver.lua:146> [C]: in function `SetAttribute' Interface\FrameXML\SecureStateDriver.lua:11: in function `RegisterAttributeDriver' Interface\AddOns\oUF\ouf.lua:530: in function `SpawnHeader' Interface\AddOns\oUF_Diablo\units\raid.lua:446: in main chunk Locals: Code:
Message: Interface\FrameXML\UIPanelTemplates.lua:119: attempt to perform arithmetic on field 'cursorOffset' (a nil value) Time: 11/10/14 17:33:54 Count: 1 Stack: Interface\FrameXML\UIPanelTemplates.lua:119: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:96: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:604: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:551: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\AddOns\rActionButtonStyler\core.lua:240: in function <Interface\AddOns\rActionButtonStyler\core.lua:224> Locals: self = ScriptErrorsFrameScrollFrameText { 0 = <userdata> text = "Message: Interface\AddOns\oUF_Diablo\units\raid.lua:362: attempt to call global 'createAuraWatch' (a nil value) Time: 11/10/14 17:33:52 Count: 8 Stack: [C]: ? [C]: ? Interface\FrameXML\RestrictedFrames.lua:604: in function <Interface\FrameXML\RestrictedFrames.lua:603> Interface\FrameXML\RestrictedFrames.lua:742: in function `CallMethod' [string " local header = self:GetParent()..."]:52: in function <[string " local header = self:GetParent()..."]:1> (tail call): ? [C]: ? Interface\FrameXML\RestrictedExecution.lua:441: in function <Interface\FrameXML\RestrictedExecution.lua:412> Interface\FrameXML\SecureGroupHeaders.lua:116: in function <Interface\FrameXML\SecureGroupHeaders.lua:110> Interface\FrameXML\SecureGroupHeaders.lua:166: in function <Interface\FrameXML\SecureGroupHeaders.lua:123> Interface\FrameXML\SecureGroupHeaders.lua:488: in function <Interface\FrameXML\SecureGroupHeaders.lua:387> [C]: in funct handleCursorChange = true } elapsed = 0 scrollFrame = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } height = 194.00001525879 range = 0 scroll = 0 size = 194.00001525879 cursorOffset = nil (*temporary) = nil (*temporary) = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } (*temporary) = 0 (*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)" Code:
Message: Interface\AddOns\oUF_Diablo\units\raid.lua:102: ERROR: <unnamed>:SetFont(): invalid fontHeight: 0, height must be > 0 Time: 11/10/14 17:30:59 Count: 1 Stack: [C]: in function `SetFont' Interface\AddOns\oUF_Diablo\units\raid.lua:102: in function `PostCreateIcon' Interface\AddOns\oUF\elements\aura.lua:130: in function <Interface\AddOns\oUF\elements\aura.lua:83> Interface\AddOns\oUF\elements\aura.lua:159: in function <Interface\AddOns\oUF\elements\aura.lua:141> Interface\AddOns\oUF\elements\aura.lua:293: in function <Interface\AddOns\oUF\elements\aura.lua:287> Interface\AddOns\oUF\elements\aura.lua:325: in function <Interface\AddOns\oUF\elements\aura.lua:314> Interface\AddOns\oUF\elements\aura.lua:430: in function `func' Interface\AddOns\oUF\ouf.lua:158: in function `UpdateAllElements' Interface\AddOns\oUF\ouf.lua:58: in function <Interface\AddOns\oUF\ouf.lua:38> Interface\AddOns\oUF\ouf.lua:81: in function <Interface\AddOns\oUF\ouf.lua:74> [C]: in function `SetAttribute' Interface\FrameXML\SecureGroupHeaders.lua:203: in function <Interface\FrameXML\SecureGroupHeaders.lua:123> Interface\FrameXML\SecureGroupHeaders.lua:488: in function `SecureGroupHeader_Update' Interface\FrameXML\SecureGroupHeaders.lua:71: in function <Interface\FrameXML\SecureGroupHeaders.lua:66> [C]: in function `SetAttribute' Interface\FrameXML\SecureStateDriver.lua:101: in function <Interface\FrameXML\SecureStateDriver.lua:95> Interface\FrameXML\SecureStateDriver.lua:127: in function <Interface\FrameXML\SecureStateDriver.lua:119> Locals: (*temporary) = <unnamed> { 0 = <userdata> } (*temporary) = "Fonts\FRIZQT__.TTF" (*temporary) = 0 (*temporary) = "THINOUTLINE" |
|
|
Joker119 |
View Public Profile |
Send a private message to Joker119 |
Find More Posts by Joker119 |
Add Joker119 to Your Buddy List |
11-10-14, 07:59 PM | |
|
After all that, I solved the problem myself...
It was not an error in your addon, but rather in the parent addon creating the frames. where func.createAuraWatch(self) was present under Party, target, focus, and anything inbetween it was missing the "func." on the raid frames. Adding it has solved the afformentioned problem with breaking the raid frames, and is working correctly. I have messaged the created of the parent addon so he can apply this fix to his next update. On a side not: How can i position aurawatch icons in specific locations? IE: 1 on every corner of the raid frame? Or allowing 2 rows of them on the party frames? And any idea how to/when you can restore the ability duration shader to the icons? 6.0 broke that to.
Last edited by Joker119 : 11-10-14 at 08:13 PM.
|
|
Joker119 |
View Public Profile |
Send a private message to Joker119 |
Find More Posts by Joker119 |
Add Joker119 to Your Buddy List |
11-12-14, 11:23 PM | ||
|
Positioning icons is also done in your layout, oUF_Diablo, so you'll need to see how the author handles it. Look for code that says SetPoint - that's where positions are set. I'll look into the duration spiral!
__________________
- Astromech |
|
|
Astromech |
View Public Profile |
Send a private message to Astromech |
Find More Posts by Astromech |
Add Astromech to Your Buddy List |
11-13-14, 10:13 PM | |||
|
Basically I want 2 rows of icons for the party frames, and limit each row to 4-5 icons (i know how to make which spell appear in which spot, just not how to directly assign icon positions for icons # 1-8, as I said, when i try the method employed in the raid frames, it simply has no effect. I can't even get the icons to resize with the same options.. I'm using oUF_Diablo if that helps you any? If needed I can post the code used to set icon positions on the raid frames and you can see why it wont/what to change so it can work for party frames aswell? I do have 1 thing I'm going to try, and i'll post back tomorrow if it works or not (and what I did if it does, for future refrences) |
||
|
Joker119 |
View Public Profile |
Send a private message to Joker119 |
Find More Posts by Joker119 |
Add Joker119 to Your Buddy List |
11-16-14, 03:28 PM | |
|
Thank you!
In general, if you want to set rows of icons, I would do something like this: Lua Code:
You should be able to insert this where oUF_Diablo positions the AuraWatch icons for the party frames. Just make sure you set the parent and icons variables. You can mess around with columns, xGrowth, yGrowth, parentAnchorPoint and iconAnchorPoint to change how things look. Hope this helps!
__________________
- Astromech |
|
Astromech |
View Public Profile |
Send a private message to Astromech |
Find More Posts by Astromech |
Add Astromech to Your Buddy List |
11-19-14, 06:43 AM | |
|
I had an initial problem with it, because in ouf_Diablo the icons in the table are refered to as "spellIDs" not "icon" and the table inwhich they are held is reffered to as "sid" not "icons" but I worked that out.
I'm having another problem tho. I have the starting position for the icons figured out, however, only 1 icon will show at a time.. in the order they are listed in the list of spells to track. IE the first one on the list will show over any ones that come after it. It doesn't want to display multiple icons, did I do something wrong? here's a copy of the aurawatch function from the ouf_diablo, I know enough basics to fix minor problems (like the ones I ran into above) but I'm afraid this one is beyond me. Code:
--create aura watch func func.createAuraWatch = function(self) --start the PRIEST setup if cfg.playerclass == "PRIEST" then local auras = {} local spellIDs = { 139, -- Renew } else local auras = {} local spellIDs = { 86273, -- Illuminated Healing 53563, -- Beacon of Light 114039, -- Hand of Purity 6940, -- Hand of Sacrifice 148039, -- Sacred Shield 156910, -- Beacon of Faith 114917, -- Stay of Execution 157047, -- Saved by the Light 114163, -- Eternal Flame 157007, -- Beacon of Insight 54597, -- Glyph of FoL 31821, -- Devotion Aura } auras.onlyShowPresent = true auras.presentAlpha = 1 auras.PostCreateIcon = func.createAuraIcon -- Set any other AuraWatch settings auras.icons = {} for i, sid in pairs(spellIDs) do local icon = CreateFrame("Frame", nil, self) icon.spellID = sid -- set the dimensions and positions icon:SetSize(self.cfg.aurawatch.size,self.cfg.aurawatch.size) auras.icons[sid] = icon local columns = 4 local xGrowth = 16 local yGrowth = -16 local parentAnchorPoint = "TOPRIGHT" local iconAnchorPoint = "TOPLEFT" for i, sid in pairs(spellIDs) do local xOffset = (i % columns) * xGrowth local yOffset = math.floor(i / columns) * yGrowth icon:SetPoint(iconAnchorPoint, self, parentAnchorPoint, xOffset, yOffset) end -- Set any other AuraWatch icon settings end --call aurawatch self.AuraWatch = auras end end
Last edited by Joker119 : 11-19-14 at 07:19 AM.
|
|
Joker119 |
View Public Profile |
Send a private message to Joker119 |
Find More Posts by Joker119 |
Add Joker119 to Your Buddy List |
12-05-14, 03:57 PM | |
|
Hi! Sorry for the long wait! I've been busy with Thanksgiving.
The problem with your above code is that you have two "for" loops, one inside the other. I think you might be able to fix the problem by just removing the second for loop. Try this: Lua Code:
I just kind of collapsed the two for loops together. I hope this will fix things for you!
__________________
- Astromech |
|
Astromech |
View Public Profile |
Send a private message to Astromech |
Find More Posts by Astromech |
Add Astromech to Your Buddy List |
12-08-14, 08:48 AM | ||
|
Ok now I have 2 more quick questions. In the above segment, how, other than the "TOPRIGHT" , can I position the icon start point? They are alittle lower than I'd like. I want to move the icons up to about halfway to the top of the players portrait. Note: I changed the iconAnchorPoint to TOPRIGHT as TOPLEFT for some reason has it too close to the next players frame, and the edge of the icons overlapped the other players frame. Also, I changed the column limit from 4 to 2. Second question relates to the Raid Frames, tho i'm sure it's a universal setting somewhere, I need to make the icons be on the "TOOLTIP" frame layer, the reason is to make one of the icons I position on the raid frames be ontop of the healthbar, as it is the main one I'd like to be able to easily track. The other 4 icons i'm tracking on raid frames aren't as important.
Last edited by Joker119 : 12-08-14 at 08:59 AM.
|
|
|
Joker119 |
View Public Profile |
Send a private message to Joker119 |
Find More Posts by Joker119 |
Add Joker119 to Your Buddy List |
12-09-14, 06:30 PM | |
|
Glad it's working!
To move the icons up, change Lua Code:
to Lua Code:
just replace x with some number until it's in the right place. To change to the tooltip layer, after Lua Code:
add Lua Code:
That should do it!
__________________
- Astromech |
|
Astromech |
View Public Profile |
Send a private message to Astromech |
Find More Posts by Astromech |
Add Astromech to Your Buddy List |