• 0

    posted a message on oUF_ALZA error spam
    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.
    Posted in: AddOn HELP!
  • 0

    posted a message on Easy, dumb question
    Thank you both very much. :)
    Posted in: Lua Code Discussion
  • 0

    posted a message on Easy, dumb question
    How would I go about using that? I'm assuming
    if(debuffType ~= "magic") then
        icon:Hide()
    end
    wouldn't work.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Easy, dumb question
    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

    Something like that?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Easy, dumb question
    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).
    Posted in: Lua Code Discussion
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from ObbleTemp
    I do believe the code is on the wowi svn, dunno how up to date it is though ;)

    Yeah, I looked at it. I don't think it's very updated.
    Posted in: General Chat
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from Phanx
    Raid, combat, casting, with target, showing BigWigs timer:


    Raid, combat, with target, showing tooltip and MSBT, I has teh aggros:


    snip


    I'm willing to trade sexual favors for that oUF asap. :P
    Posted in: General Chat
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from bizong »

    bummer well you should benea! :D

    Actually, he uploaded the UI he had in April on EJ:
    http://elitistjerks.com/717972-post142.html
    Screenshot and DL link there.
    Posted in: General Chat
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from Benea »

    WIP, sorry no fighting shot, I forgot to take it >< http://i31.tinypic.com/okwqie.png

    edit: testing recount 2.
    I think this is your best variation yet. Very cool buff and action bar borders/textures.
    Posted in: General Chat
  • 0

    posted a message on Grid
    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).

    EDIT 2: Fixed it, not sure how though.
    Posted in: Grid & Grid2
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from savantido »

    Latest WIP


    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.
    Posted in: General Chat
  • 0

    posted a message on UI Screenshots - Show us what you use!
    My newest minimal attempt:
    Raid - http://i7.tinypic.com/7xkxyk5.jpg
    Solo - http://i4.tinypic.com/8au3x2r.jpg
    Posted in: General Chat
  • 0

    posted a message on Grid
    Quote from Mokhtar »

    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:
    GridLayout:AddLayout(L["VerticalRaidFrames"], {
      [1] = {
        groupBy = "GROUP",
        groupingOrder = "1,2,3,4,5,6,7,8",
        unitsPerColumn = 40,
        maxColumns = 1,
        columnAnchorPoint = "TOP",
        columnSpacing = 2,
      },
    })
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    I'm sorry if this has been asked/answered some where else, but nothing similar really came up when I searched.

    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]
    Posted in: Grid & Grid2
  • To post a comment, please or register a new account.