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)
Updated:10-19-14 06:34 PM
Created:04-25-09 05:40 PM
Downloads:9,887
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.
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 Yesterday, 12:37 AM  
Galaxy119
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
Multiple class OR adaptive icon locations.

Is there a way to either make aurawatch determine the class of the player, and display a set of spellIDs depending on what that class is, or a way to make the party/raid icons go to the lowest avalible icon location, rather than a set location based on the list number they are.

IE: If an icon is listed, and there are 4 before it, that makes it's position the 5th icon position on the aurawatch frame, even if the first 4 icons are not currently visible. Can this be changed?

As to the first one, a better explanation -

Code:
    --create aura watch func
      func.createAuraWatch = function(self)
     
        --start the PRIEST setup
        if cfg.playerclass == "MONK" then
     
          local auras = {}
          local spellIDs = {
            139, -- Renew
	    17, -- Power Word: Shield
 	    33076, -- Prayer of Mending
	    47515, -- Divine Ageis
     	    33206, -- Pain Suppression
	    109964, -- Spirit Shell
	    152118, -- Clairity of Will
          }

	else
          local auras = {}
          local spellIDs = {
            139, -- Renew
	    17, -- Power Word: Shield
 	    33076, -- Prayer of Mending
	    47515, -- Divine Ageis
     	    33206, -- Pain Suppression
	    109964, -- Spirit Shell
	    152118, -- Clairity of Will
	    124682, -- Enveloping Mist
	    115175, -- Soothing mist
    	    116849, -- Life Cocoon
	    115151, -- Renewing Mist
          }
     
          auras.onlyShowPresent = true
          auras.presentAlpha = 1
          auras.PostCreateIcon = func.createAuraIcon
     
          -- Set any other AuraWatch settings
          auras.icons = {}
          local columns = 2
        local xGrowth = 19
        local yGrowth = -20
        local parentAnchorPoint = "TOPRIGHT"
        local iconAnchorPoint = "TOPRIGHT"
          for i, sid in pairs(spellIDs) do
            local icon = CreateFrame("Frame", nil, self)
	    icon:SetFrameStrata("TOOLTIP")
            icon.spellID = sid
            -- set the dimensions and positions
            icon:SetSize(self.cfg.aurawatch.size,self.cfg.aurawatch.size)
            auras.icons[sid] = icon
         local xOffset = (i % columns) * xGrowth
         local yOffset = math.floor(i / columns) * yGrowth +60
        icon:SetPoint(iconAnchorPoint, self, parentAnchorPoint, xOffset, yOffset)
            -- Set any other AuraWatch icon settings
          end
          --call aurawatch
          self.AuraWatch = auras
        end
      end
I noticed the "start priest config" thing, and was trying to test it, however, when on a priest, it makes aurawatch show no auras at all, wheter listed in that section or not.
If that could be fixed, it would be nice. Also, how would I add more classes to that? if I simply add a second if/then/else function, wether outside of the first, or in the else section of the first, it breats the entire oUF addon.
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 12-13-14, 11:34 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 6
Re: Re: Re: Raid - Icon Frame Level

Sure go ahead. Glad it's working!
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 12-13-14, 07:06 PM  
Galaxy119
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
Re: Re: Raid - Icon Frame Level

Originally Posted by Astromech
Oops sorry! I gave you the wrong function. It should be

Lua Code:
  1. icon:SetFrameStrata("TOOLTIP")
I should have known to try that myself..
*facepalm*

Working perfectly now. Thanks!!!

<3

With your permission I'll forward some of these changes to the developer of ouf_Diablo so he can integrate them if he sees fit.
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 12-13-14, 05:16 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 6
Re: Raid - Icon Frame Level

Oops sorry! I gave you the wrong function. It should be

Lua Code:
  1. icon:SetFrameStrata("TOOLTIP")
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 12-11-14, 12:36 PM  
Galaxy119
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
Raid - Icon Frame Level

Ok, after trying the
Code:
	  icon:SetFrameLevel("TOOLTIP")
I kept getting a blank raid frame with white health/mana bars.


Here is the snippet of code from the raid.lua file in the ouf_Diablo folder. It controls everything for the aurawatch relating to raid frames.

Code:
  --create aura watch func
  local createAuraWatch = function(self)

    if cfg.playerclass == "PRIEST" then
      local auras = {}
      local spellIDs = {
        139, -- Renew
      }
    else
      local auras = {}
      local spellIDs = {
        148039, -- Sacred Shield
        53563, -- Beacon of Light
        157007, -- Beacon of Insight
        86273, -- Illuminated Healing
        6940, -- Hand of Sacrifice
        114039, -- Hand of Purity
        156910, -- Beacon of Faith
      }

      local dir = {
        [1] = {size = 15, pos = "CENTER",       x = 0, y = 3 },
        [2] = {size = 15, pos = "CENTER",       x = 15, y = 3 },
        [5] = {size = 15, pos = "CENTER",       x = -15, y = 3 },
        [4] = {size = 15, pos = "CENTER",       x = 30, y = 3 },
        [3] = {size = 15, pos = "CENTER",       x = -30, y = 3 },
        [6] = {size = 15, pos = "CENTER",       x = -30, y = 3 },
        [7] = {size = 15, pos = "CENTER",       x = 15, y = 3 },
      }

      auras.onlyShowPresent = true
      auras.presentAlpha = 1

      auras.PostCreateIcon = function(self, icon, sid)
        if icon.cd then
          icon.cd:SetPoint("TOPLEFT", 1, -1)
          icon.cd:SetPoint("BOTTOMRIGHT", -1, 1)
        end
        --count hack for lifebloom
        if sid == 33763 and icon.count then
          icon.count:SetFont("Interface\\AddOns\\oUF_Diablo\\media\\visitor1.ttf",8,"THINOUTLINE, MONOCHROME")
          icon.count:ClearAllPoints()
          icon.count:SetPoint("CENTER", 3, 3)
          icon.count:SetParent(icon.cd)
        end
      end

      -- 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.size = dir[i].size
        icon:SetSize(dir[i].size,dir[i].size)
        --position icon
        icon:SetPoint(dir[i].pos, self, dir[i].pos, dir[i].x, dir[i].y)
        --make indicator
        if dir[i].indicator then
          local tex = icon:CreateTexture(nil, "OVERLAY")
          tex:SetAllPoints(icon)
          tex:SetTexture("Interface\\AddOns\\oUF_Diablo\\media\\indicator")
          tex:SetVertexColor(dir[i].color.r,dir[i].color.g,dir[i].color.b)
          icon.icon = tex
        end

        auras.icons[sid] = icon
        -- Set any other AuraWatch icon settings
      end
      --call aurawatch
      self.AuraWatch = auras
    end
  end
There is only one mention of the CreateFrame and when I put the icon:SetFrameLevel beneath it, I get this LuA Error:
Code:
Message: Interface\AddOns\oUF_Diablo\units\raid.lua:164: Usage: <unnamed>:SetFrameLevel(level)
Time: 12/11/14 10:33:18
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:426: in main chunk

Locals:
I wish this was in BASH script because I would have been able to solve all these problems in a matter of hours on my own.. Unfortunatly I don't know the first thing about Lua. T_T
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 12-10-14, 04:16 PM  
Galaxy119
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
Originally Posted by Astromech
Glad it's working!

To move the icons up, change

Lua Code:
  1. local yOffset = math.floor(i / columns) * yGrowth

to

Lua Code:
  1. local yOffset = math.floor(i / columns) * yGrowth + x

just replace x with some number until it's in the right place.

To change to the tooltip layer, after

Lua Code:
  1. local icon = CreateFrame("Frame", nil, self)

add

Lua Code:
  1. icon:SetFrameLevel("TOOLTIP")

That should do it!
YOUR THE BEST!! <3 Thanks much!

If I have any other problems I'll let you know, but that seems to be it for now!!
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 12-09-14, 06:30 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 6
Glad it's working!

To move the icons up, change

Lua Code:
  1. local yOffset = math.floor(i / columns) * yGrowth

to

Lua Code:
  1. local yOffset = math.floor(i / columns) * yGrowth + x

just replace x with some number until it's in the right place.

To change to the tooltip layer, after

Lua Code:
  1. local icon = CreateFrame("Frame", nil, self)

add

Lua Code:
  1. icon:SetFrameLevel("TOOLTIP")

That should do it!
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 12-08-14, 08:48 AM  
Galaxy119
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
Originally Posted by Astromech
I just kind of collapsed the two for loops together. I hope this will fix things for you!
PERFECT!!! EXACTLY WHAT I WANTED!!!!!

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 Galaxy119 : 12-08-14 at 08:59 AM.
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 12-05-14, 03:57 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 6
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:
  1. --create aura watch func
  2.   func.createAuraWatch = function(self)
  3.  
  4.     --start the PRIEST setup
  5.     if cfg.playerclass == "PRIEST" then
  6.  
  7.       local auras = {}
  8.       local spellIDs = {
  9.         139, -- Renew
  10.       }
  11.     else
  12.    
  13.       local auras = {}
  14.       local spellIDs = {
  15.         86273, -- Illuminated Healing
  16.         53563, -- Beacon of Light
  17.         114039, -- Hand of Purity
  18.         6940, -- Hand of Sacrifice
  19.         148039, -- Sacred Shield
  20.         156910, -- Beacon of Faith
  21.         114917, -- Stay of Execution
  22.         157047, -- Saved by the Light
  23.         114163, -- Eternal Flame
  24.         157007, -- Beacon of Insight
  25.         54597, -- Glyph of FoL
  26.         31821, -- Devotion Aura
  27.       }
  28.  
  29.       auras.onlyShowPresent = true
  30.       auras.presentAlpha = 1
  31.       auras.PostCreateIcon = func.createAuraIcon
  32.  
  33.       -- Set any other AuraWatch settings
  34.       auras.icons = {}
  35.       local columns = 4
  36.     local xGrowth = 16
  37.     local yGrowth = -16
  38.     local parentAnchorPoint = "TOPRIGHT"
  39.     local iconAnchorPoint = "TOPLEFT"
  40.       for i, sid in pairs(spellIDs) do
  41.         local icon = CreateFrame("Frame", nil, self)
  42.         icon.spellID = sid
  43.         -- set the dimensions and positions
  44.         icon:SetSize(self.cfg.aurawatch.size,self.cfg.aurawatch.size)
  45.         auras.icons[sid] = icon
  46.      local xOffset = (i % columns) * xGrowth
  47.      local yOffset = math.floor(i / columns) * yGrowth
  48.     icon:SetPoint(iconAnchorPoint, self, parentAnchorPoint, xOffset, yOffset)
  49.         -- Set any other AuraWatch icon settings
  50.       end
  51.       --call aurawatch
  52.       self.AuraWatch = auras
  53.     end
  54.   end

I just kind of collapsed the two for loops together. I hope this will fix things for you!
__________________
- Astromech
Astromech is offline Report comment to moderator  
Reply With Quote
Unread 11-19-14, 06:43 AM  
Galaxy119
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
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 Galaxy119 : 11-19-14 at 07:19 AM.
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 11-16-14, 03:28 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 6
Thank you!

In general, if you want to set rows of icons, I would do something like this:
Lua Code:
  1. -- Assumes there is some list of icons to position, called icons
  2. -- Also, a parent frame (the party frame health bar for example) called parent
  3. local columns = 4
  4. local xGrowth = 16
  5. local yGrowth = -16
  6. local parentAnchorPoint = "TOPRIGHT"
  7. local iconAnchorPoint = "TOPLEFT"
  8. for i, icon in ipairs(icons) do
  9.  local xOffset = (i % columns) * xGrowth
  10.  local yOffset = math.floor(i / columns) * yGrowth
  11.  icon:SetPoint(iconAnchorPoint, parent, parentAnchorPoint, xOffset, yOffset)
  12. end

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 is offline Report comment to moderator  
Reply With Quote
Unread 11-13-14, 10:13 PM  
Galaxy119
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
Originally Posted by Astromech
I'll look into the duration spiral!
Thanks for that! I love devs that pay attention to these comments <3 You're one of my favs.

Originally Posted by Astromech

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 see how it's handled in the raid frames (he sets 1 icon in each corner, limited to 4 icons by default but I've successfully moved them about and added up to 12 (then ran out of room, heh) but when I try the same method for the party frames, it doesn't work.

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)
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 11-12-14, 11:23 PM  
Astromech
A Kobold Labourer
 
Astromech's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 6
Originally Posted by Galaxy119
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.
Glad it's fixed! I thought your oUF layout might have had something to do with it.

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 is offline Report comment to moderator  
Reply With Quote
Unread 11-10-14, 07:59 PM  
Galaxy119
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
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 Galaxy119 : 11-10-14 at 08:13 PM.
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Unread 11-10-14, 07:37 PM  
Galaxy119
A Kobold Labourer

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

Originally Posted by Astromech
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.
Sorry for SUPER LATE reply.
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)"
This one is constant.
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"
Galaxy119 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: