I converted over to ALZA's newest released UI a couple days ago, but I started getting a large amount of LUA errors while in combat in a raid. The errors came from oUF_ALZA\raid.lua (lines 16 and 18 ):
--[[ Aggro coloring ]]
local function ColorAggro(self, event, unit)
if(not unit) then return end
local s = UnitThreatSituation(self.unit)
if(s and s>0) then
local r, g, b = .8, 0, 0
if(s==1) then
r, g, b = 0.5, 0.5, 0
elseif(s==2) then
r, g, b = 0.5, 0, 0
end
[B]self.bd:SetBackdropBorderColor(r, g, b)[/B]
else
[B] self.bd:SetBackdropBorderColor(0, 0, 0)[/B]
end
end
Those lines are from the aggro coloring section. Being the LUA novice I am, I just commented out the whole section, as I don't particularly care for having aggro coloring on my raid frames anyways.
However, after that (or maybe simultaneously, I just didn't notice) I am now getting spammed with errors originating from oUF\ouf.lua
local oUF = {}
The exact error is:
oUF-1.3.16\ouf.lua:39: attempt to call field '?' (a nil value)
Locals:
---
The oUF version is 1.3.16; I am unable to update oUF without braking oUF_ALZA. Any ideas?
EDIT: The problem is definitely with the oUF_ALZA\raid.lua. Disabling that file in the ALZA TOC stops the oUF errors.
if(dfilter) then
local function PostUpdateAuraIcon(self, icons, unit, icon, index, offset, filter, debuff)
if(debuff) then
for _, value in ipairs(dblacklist) do
if (UnitAura(unit, index, filter) == GetSpellInfo(value)) then
icon:Hide()
end
end
end
end
end
What would I do? Put another IF in there checking the for the spell types I don't want? What would the code for that look like?
if(curse or disease or poison) then
icon:Hide()
end
I'm not really a coder and I just edit oUF LUAs from other players to suit my needs, so this is probably a very easy/dumb question, but here it is:
An oUF layout I'm using has a "blacklist" of debuffs that you can enable to prevent them from showing up under auras.
This is an example of the code.
local dblacklist = { -- use the spellID to hide a special debuff
[1] = 57723, -- Exhaustion
[2] = 11196, -- Recently Bandaged
}
What I'm wondering is if there is an easy way to blacklist an entire set of spells without having to individually look up every spellid and put them there (e.g. I don't want diseases, curses, or poisons to show up).
For some reason after the r60889, Grid won't even load for me. I've tried everything I know (deleted SVs, downloaded the new required Libs, etc). I also did a couple searches but couldn't find anything similar. Any ideas?
EDIT: I just deleted everything and downloaded someone else's UI with grid and now it loads, but I get a LUA error every time I try to change any setting with any version. It cites a different line everytime (depending on what i try to change), but the same general error I think: interface\addons\grid\gridlayout.lua: 989: attempt to index field 'frame' (a nil value).
I will also upload the unitframe textures from the previous WIP in the next day or so for those interested but not a full UI as I wasn't happy with it :(.
Sorry if this has been asked before, but what font is that? It works wonderfully.
You could probably define your own layout to do just that but you need to edit the mod's lua code for that.
Hint : check wiki for layout advanced options and edit GridLayoutLayout.lua.
If this seems too complicated for you then you shouldn't do it.
Yeah, that's what I've been messing with, but I can't seem to figure out the right combination to get a straight, vertical line. :P
EDIT: Finally got it, I think. Here's the code for anyone else that wants to use it:
0
Those lines are from the aggro coloring section. Being the LUA novice I am, I just commented out the whole section, as I don't particularly care for having aggro coloring on my raid frames anyways.
However, after that (or maybe simultaneously, I just didn't notice) I am now getting spammed with errors originating from oUF\ouf.lua
The exact error is:
The oUF version is 1.3.16; I am unable to update oUF without braking oUF_ALZA. Any ideas?
EDIT: The problem is definitely with the oUF_ALZA\raid.lua. Disabling that file in the ALZA TOC stops the oUF errors.
0
0
wouldn't work.
0
What would I do? Put another IF in there checking the for the spell types I don't want? What would the code for that look like?
Something like that?
0
An oUF layout I'm using has a "blacklist" of debuffs that you can enable to prevent them from showing up under auras.
This is an example of the code.
What I'm wondering is if there is an easy way to blacklist an entire set of spells without having to individually look up every spellid and put them there (e.g. I don't want diseases, curses, or poisons to show up).
0
Yeah, I looked at it. I don't think it's very updated.
0
I'm willing to trade sexual favors for that oUF asap. :P
0
Actually, he uploaded the UI he had in April on EJ:
http://elitistjerks.com/717972-post142.html
Screenshot and DL link there.
0
0
EDIT: I just deleted everything and downloaded someone else's UI with grid and now it loads, but I get a LUA error every time I try to change any setting with any version. It cites a different line everytime (depending on what i try to change), but the same general error I think: interface\addons\grid\gridlayout.lua: 989: attempt to index field 'frame' (a nil value).
EDIT 2: Fixed it, not sure how though.
0
that's incredible. any chance for a upload?
0
0
Raid - http://i7.tinypic.com/7xkxyk5.jpg
Solo - http://i4.tinypic.com/8au3x2r.jpg
0
Yeah, that's what I've been messing with, but I can't seem to figure out the right combination to get a straight, vertical line. :P
EDIT: Finally got it, I think. Here's the code for anyone else that wants to use it:
0
Is there any way to configure Grid to look like regular raid frames (i.e. all straight down)?
Like:
[1]
[1]
[1]
[1]
[1]
[2]
[etc]