• 0

    posted a message on Bartender4 - Official Topic
    I've got the same problem. No bars, when I do /bt, the only options I can access are for bag bar and micro bar, and I get errors when I try to access any options to try to fix bt4.

    EDIT: Nevermind, fixed it. Apparently it didn't like the fact that I was missing the keybind lib and another lib.
    Posted in: General AddOns
  • 0

    posted a message on kgPanels Offical Thread
    OMG, thank you. That's exactly what the problem was.
    Posted in: General AddOns
  • 0

    posted a message on kgPanels Offical Thread
    I went back to fiddling with my frames because I've been getting this really odd problem. When I initially load in, some of my frames will randomly appear, and some of the scripted panels will not work (onclick events, when I am NOT in combat.), but if I do a /reload, everything goes to how it should be/starts working.

    kgPanels-1.0\kgPanels.lua:743: in function `SetupScript'
    kgPanels-1.0\kgPanels.lua:538: in function `InitScripts'
    kgPanels-1.0\kgPanels.lua:459: in function `ApplyLayout'
    kgPanels-1.0\kgPanels.lua:361: in function <Interface\AddOns\kgPanels\kgPanels.lua:357>

    Are the errors that Bugsack has come up with. :[

    Additionally, I went back to trying to get the color script that you helped me out with to load, and I get this error when I hit apply to save it/when I load in.

    <string>:"Buffs_OnLoad":11: attempt to call method 'SetBackgroundColor' (a nil value)

    The code in question is

    local _, class = UnitClass("player");
    	if class == "WARRIOR" then
            self:SetBackgroundColor(0.95, 0.23, 0.23, 0.00)
    	elseif class == "PRIEST" then
            self:SetBackgroundColor(1, 0.96, 0.98, 0.00)
    	elseif class == "MAGE" then
            self:SetBackgroundColor(0.00, 1, 1, 0.00)
    	elseif class == "DRUID" then
            self:SetBackgroundColor(1, 0.49, 0.04, 0.00)
    	elseif class == "PALADIN" then
            self:SetBackgroundColor(0.92, 0.22, 0.46, 0.00)
    	elseif class == "HUNTER" then
            self:SetBackgroundColor(0.33, 0.86, 0.00, 0.00)
    	elseif class == "ROGUE" then
            self:SetBackgroundColor(1, 0.94, 0.16, 0.00)
    	elseif class == "SHAMAN" then
            self:SetBackgroundColor(0.13, 0.42, 1, 0.00)
    	elseif class == "WARLOCK" then
            self:SetBackgroundColor(0.36, 0.18, 1, 0.00)
    	end
    Posted in: General AddOns
  • 0

    posted a message on kgPanels Offical Thread
    Thank you very much for the help! However, I still cannot get the script to fire. Would I need to turn off the color setting on the frame, or no?
    Posted in: General AddOns
  • 0

    posted a message on kgPanels Offical Thread
    Looking for a bit of help; I've been trying to get this script working, but I get nothing. No errors, no print to the chat saying what's wrong, and obviously, it doesn't do what I intended for it to. I'm just wondering if I have the wrong event handler chosen, or if I've translated the script over from eepanels incorrectly.

    I've read through the thread, and none of what's here has helped so.. any ideas? I just need one specific frame background to change colors on login depending on the players class.

    function kgPanels:PlayerFrameVisibility(self, event, ...)
    	local _, class = UnitClass("player");
    	if class == "WARRIOR" then
            kgPanel17:SetBackgroundColor(0.95, 0.23, 0.23, 0.00)
    	elseif class == "PRIEST" then
            kgPanel17:SetBackgroundColor(1, 0.96, 0.98, 0.00)
    	elseif class == "MAGE" then
            kkgPanel17:SetBackgroundColor(0.00, 1, 1, 0.00)
    	elseif class == "DRUID" then
            kgPanel17:SetBackgroundColor(1, 0.49, 0.04, 0.00)
    	elseif class == "PALADIN" then
            kgPanel17:SetBackgroundColor(0.92, 0.22, 0.46, 0.00)
    	elseif class == "HUNTER" then
            kgPanel17:SetBackgroundColor(0.33, 0.86, 0.00, 0.00)
    	elseif class == "ROGUE" then
            kgPanel17:SetBackgroundColor(1, 0.94, 0.16, 0.00)
    	elseif class == "SHAMAN" then
            kgPanel17:SetBackgroundColor(0.13, 0.42, 1, 0.00)
    	elseif class == "WARLOCK" then
            kgPanel17:SetBackgroundColor(0.36, 0.18, 1, 0.00)
    	end
    end
    kgPanels:RegisterEvent("PLAYER_ENTERING_WORLD", kgPanels.TargetFrameVisibility)
    Posted in: General AddOns
  • 0

    posted a message on PitBull 2.0
    This is going to sound REALLY odd, but is there a way to suppress certain self buffs? Aka, paladin seal/aura/blessing (that you cast.) Backwards buff-filtering, I guess?

    edit: best I could do was turn off most of the options in Global Settings > Aura, but that's not quite what I want, since it means I can't see auras/blessings from other paladins. I'd also like to be able to suppress one particular debuff, (forbearance) on just myself, since I use another addon to track it.
    Posted in: Unit Frames
  • To post a comment, please or register a new account.