• 0

    posted a message on Recount
    Quote from gabestah
    This error is actually showing because you're using RecountGuessedAbsorbs still, which was deprecated a while ago. Note the following line from the error:


    Simply uncheck RecountGuessedAbsorbs in your addons panel (or ideally uninstall it altogether) and you'll be error free.


    lol my bad : (
    Posted in: General AddOns
  • 0

    posted a message on Recount
    Yeah I downloaded 1151, restarted wow, everything still getting this error.

    152x Recount-r1151\Tracker.lua:907: bad argument #1 to "bit_band" (number expected, got string)
    <in C code>
    Recount-r1151\Tracker.lua:907: in function "CheckRetentionFromFlags"
    GuessedAbsorbs_Mode.lua:225: in funfction "?"
    Ace3-r1023\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
    <string>:"safecall Dispatcher[14]":4: in function <string>:"safecall Dispatcher[14]":4
    <in C code>
    <string>:"safecall Dispatcher[14]":13: in function "?"
    Ace3-r1023\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
    Ace3-r1023\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals:
    nil

    since its on lne 907 and not 905 it is reading the
    if not nameFlags then return end -- Since 4.1 this can be nil, to be explored why
    bandaid your put on it.
    Posted in: General AddOns
  • 0

    posted a message on Recount
    I am
    Posted in: General AddOns
  • 0

    posted a message on Recount
    81x Recount-v4.1.0 release\Tracker.lua:907: bad argument #1 to "bit_band" (number expected, got string)
    <in C code>
    Recount-v4.1.0 release\Tracker.lua:907: in function "CheckRetentionFromFlags"
    GuessedAbsorbs_Mode.lua:225: in function "?"
    Ace3-r1023\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
    <string>:"safecall Dispatcher[17]":4: in function <string>:"safecall Dispatcher[17]":4
    <in C code>
    <string>:"safecall Dispatcher[17]":13: in function "?"
    Ace3-r1023\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
    Ace3-r1023\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals:
    nil
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    [PHP] -- change settings
    self.db.profile.TooltipBorder = {r = borderr, g = borderg, b = borderb, a = 1}
    self.db.profile.BackdropBorder = {r = borderr, g = borderg, b = borderb, a = 1}
    self.db.profile.Backdrop = {r = backdropr, g = backdropg, b = backdropb, a = 1}
    self.db.profile.BdDefault = false
    self.db.profile.BdFile = "None"
    self.db.profile.BdEdgeFile = "None"
    self.db.profile.BdTexture = "ElvUI Blank"
    self.db.profile.BdBorderTexture = "ElvUI GlowBorder"
    self.db.profile.BdTileSize = 0
    self.db.profile.BdEdgeSize = 1
    self.db.profile.BdInset = -1
    self.db.profile.Gradient = {enable = false, invert = false, rotate = false, char = true, ui = true, npc = true, skinner = true, texture = "Elvui Blank"}
    self.db.profile.Buffs = false
    self.db.profile.Nameplates = false
    self.db.profile.ChatEditBox = {skin = false, style = 1}
    self.db.profile.StatusBar = {texture = "ElvUI Norm", r = .23, g = .23, b = .23, a = .7}
    self.db.profile.WorldMap = {skin = false, size = 1}[/PHP]
    Fixed the transparency issue in ElvUI, it was a simple texture naming issue. unfortunately the textures are case sensitive and Elvui isnt the name :o its ElvUI.

    So on line 88, 89 and 97 it should be

    [PHP]
    self.db.profile.BdTexture = "ElvUI Blank"
    self.db.profile.BdBorderTexture = "ElvUI GlowBorder"
    ........................
    self.db.profile.StatusBar = {texture = "ElvUI Norm", r = .23, g = .23, b = .23, a = .7}
    [/PHP]

    and not

    [PHP]
    self.db.profile.BdTexture = "Elvui Blank"
    self.db.profile.BdBorderTexture = "Elvui GlowBorder"
    ........................
    self.db.profile.StatusBar = {texture = "Elvui Norm", r = .23, g = .23, b = .23, a = .7}
    [/PHP]

    even though he has

    [PHP] if not C.media.blank then
    self.LSM:Register("background","Elvui Blank", [[Interface\BUTTONS\WHITE8X8]])
    end
    if not C.media.glowTex then
    self.LSM:Register("border", "Elvui GlowBorder", [[Interface\AddOns\ElvUI\media\textures\glowTex.tga]])
    end
    if not C.media.normTex then
    self.LSM:Register("statusbar","Elvui Norm", [[Interface\AddOns\ElvUI\media\textures\normTex.tga]])
    end[/PHP]

    it wasnt adding the textures as the Elvui form of the names cause C["media"].normTex, glowTex, blank existed and thus the if statement wasnt executed.

    Though since ElvUI has built in LSM support those lines of code arent even really needed since they will never run.
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Love the update, but i was wondering if you could change your tukui skin function aObj:TukuiInit() to this.
    [PHP]-- The following code handles the Initial setup of Skinner when the TukUI is loaded
    function aObj:TukuiInit()
    if IsAddOnLoaded("Tukui") then
    local T, C, L = unpack(Tukui)
    borderr, borderg, borderb = unpack(C["media"].bordercolor)
    backdropr, backdropg, backdropb = unpack(C["media"].backdropcolor)
    else
    borderr, borderg, borderb = .6,.6,.6
    backdropr, backdropg, backdropb = .1, .1, .1
    end

    self:RawHook(self, "OnInitialize", function(this)
    -- Do these before we run the function

    -- setup the default DB values and register them
    self:checkAndRun("Defaults", true)
    self.Defaults = nil -- only need to run this once

    -- Register Textures
    self.LSM:Register("background", "Tukui Background", [[Interface\AddOns\Tukui\medias\textures\blank]])
    self.LSM:Register("border", "Tukui Border", [[Interface\AddOns\Tukui\medias\textures\blank]])
    self.LSM:Register("statusbar", "Tukui StatusBar", [[Interface\AddOns\Tukui\medias\textures\normTex]])

    -- create and use a new db profile called Tukui
    local dbProfile = self.db:GetCurrentProfile()
    if dbProfile ~= "Tukui" then
    self.db:SetProfile("Tukui") -- create new profile
    self.db:CopyProfile(dbProfile) -- use settings from previous profile

    -- change settings
    self.db.profile.TooltipBorder = {r = borderr, g = borderg, b = borderb, a = 1}
    self.db.profile.BackdropBorder = {r = borderr, g = borderg, b = borderb, a = 1}
    self.db.profile.Backdrop = {r = backdropr, g = backdropg, b = backdropb, a = 1}
    self.db.profile.BdDefault = false
    self.db.profile.BdFile = "None"
    self.db.profile.BdEdgeFile = "None"
    self.db.profile.BdTexture = "Tukui Background"
    self.db.profile.BdBorderTexture = "Tukui Border"
    self.db.profile.BdTileSize = 0
    self.db.profile.BdEdgeSize = 1
    self.db.profile.BdInset = -1
    self.db.profile.Gradient = {enable = false, invert = false, rotate = false, char = true, ui = true, npc = true, skinner = true, texture = "Tukui Background"}
    self.db.profile.Buffs = false
    self.db.profile.Nameplates = false
    self.db.profile.ChatEditBox = {skin = false, style = 1}
    self.db.profile.StatusBar = {texture = "Tukui StatusBar", r = 0, g = 0.5, b = 0.5, a = 0.5}
    self.db.profile.WorldMap = {skin = false, size = 1}
    end
    ....... not whole function but shows what i changed.
    [/PHP]


    That way if people use this skin have tukui installed, and have custom edits with custom coloring Skinner will pick up on that coloring and use the new colors instead of the default ones, like me :o.
    Posted in: General AddOns
  • 0

    posted a message on BigWigs
    Thanks got it all working now : ) .
    Posted in: Raid AddOns
  • 0

    posted a message on BigWigs
    Seems I got it working.


    [PHP]local T, C, L = unpack(select(2, ...)) -- Import: T - functions, constants, variables; C - config; L - locales

    local f = CreateFrame("Frame")
    f:RegisterEvent("ADDON_LOADED")


    -- TukUI Bar Styler
    local function createBackground()
    local bg = CreateFrame("Frame")
    bg:SetTemplate("",true)
    return bg
    end

    local function freeStyle(bar)
    local bg = bar:Get("bigwigs:tukui:bg")
    if not bg then return end
    bg:SetParent(UIParent)
    bg:Hide()
    end

    local function styleBar(bar)
    local bg = nil
    bg = createBackground()
    bg:SetParent(bar)
    bg:ClearAllPoints()
    bg:SetPoint("TOPLEFT", bar, "TOPLEFT", -2, 2)
    bg:SetPoint("BOTTOMLEFT", bar, "BOTTOMLEFT", -2, -2)
    bg:SetPoint("BOTTOMRIGHT", bar, "BOTTOMRIGHT", 2, 2)
    bg:SetFrameStrata("BACKGROUND")
    bg:Show()
    bar:Set("bigwigs:tukui:bg", bg)
    end

    local function registerMyStyle()
    f:UnregisterEvent("ADDON_LOADED")
    BigWigs:GetPlugin("Bars"):RegisterBarStyle("Methylui", {
    apiVersion = 1,
    version = 1.2,
    GetSpacing = function(bar) return 8 end,
    ApplyStyle = styleBar,
    BarStopped = freeStyle,
    GetStyleName = function() return "MethylUI" end,
    })
    end

    local reason = nil

    f:SetScript("OnEvent", function(self, event, msg)
    if event == "ADDON_LOADED" then
    if not reason then reason = (select(6, GetAddOnInfo("BigWigs_Plugins"))) end
    if reason == "MISSING" and msg == "BigWigs" then
    registerMyStyle()
    for k, v in pairs(barStyles) do
    barStyleRegister[k] = v:GetStyleName()
    end
    BigWigs:GetPlugin("Bars"):SetBarStyle("Methylui")
    elseif msg == "BigWigs_Plugins" then
    registerMyStyle()
    for k, v in pairs(barStyles) do
    barStyleRegister[k] = v:GetStyleName()
    end
    BigWigs:GetPlugin("Bars"):SetBarStyle("Methylui")
    end
    end
    end)[/PHP]

    But to get this working i had to make barStyles, barStyleRegister Global. I dont know if i am doing a round about way to getting it to work, but it works i guess. Also every time I open the config menu I see
    [PHP]BigWigs_Plugins-r8161\Bars.lua:809: No style with the ID "Methylui" has been registered. Reverting to default style.[/PHP]
    Posted in: Raid AddOns
  • 0

    posted a message on BigWigs
    Yeah made those changes and it still not working, I even just took the api from the barstyles.txt and copy pasted that over my code and tried to add that and i still didnt see a barstyle other then the base 3.

    I must be doing something seriously wrong? do you think it would be better if it was its own addon called BigWigs_customstyles instead of a embedded module of the Tukui?
    Posted in: Raid AddOns
  • 0

    posted a message on BigWigs
    I have a question about the 3rd party skinning? Since Tukui V13 came out i edited the Bigwigs built in skin to pull their custom coloring functions from their addon engine.

    [PHP]do
    local T, C, L = unpack(Tukui)
    mult=T.mult

    -- TukUI Bar Styler
    local function createBackground()
    local bg = CreateFrame("Frame")
    bg:SetTemplate("",true)
    return bg
    end

    local function freeStyle(bar)
    local bg = bar:Get("bigwigs:tukui:bg")
    if not bg then return end
    bg:SetParent(UIParent)
    bg:Hide()
    end

    local function styleBar(bar)
    local bg = nil
    bg = createBackground()
    bg:SetParent(bar)
    bg:ClearAllPoints()
    bg:SetPoint("TOPLEFT", bar, "TOPLEFT", -2, 2)
    bg:SetPoint("BOTTOMLEFT", bar, "BOTTOMLEFT", -2, -2)
    bg:SetPoint("BOTTOMRIGHT", bar, "BOTTOMRIGHT", 2, 2)
    bg:SetFrameStrata("BACKGROUND")
    bg:Show()
    bar:Set("bigwigs:tukui:bg", bg)
    end

    barStyles.TukUI = {
    apiVersion = 1,
    version = 1,
    GetSpacing = function(bar) return 8 end,
    ApplyStyle = styleBar,
    BarStopped = freeStyle,
    GetStyleName = function() return "TukUI" end,
    }
    end[/PHP]

    My question is since this is my own little skinning edit, and i highly doubt yall would want to put it in base line since it assumes you have Tukui installed, everytime i try to make it into a 3rd party skinning addon using the API in barstyles.txt It does not add the custom skin via the registerMyStyle() function. I confirm the function is running but its not adding anything into the Bigwigs Bars styles plugin.

    [PHP]local T, C, L = unpack(select(2, ...))

    local f = CreateFrame("Frame")
    f:RegisterEvent("ADDON_LOADED")

    local reason = nil

    -- TukUI Bar Styler
    local function createBackground()
    local bg = CreateFrame("Frame")
    bg:SetTemplate("",true)
    return bg
    end

    local function freeStyle(bar)
    local bg = bar:Get("bigwigs:tukui:bg")
    if not bg then return end
    bg:SetParent(UIParent)
    bg:Hide()
    end

    local function styleBar(bar)
    local bg = nil
    bg = createBackground()
    bg:SetParent(bar)
    bg:ClearAllPoints()
    bg:SetPoint("TOPLEFT", bar, "TOPLEFT", -2, 2)
    bg:SetPoint("BOTTOMLEFT", bar, "BOTTOMLEFT", -2, -2)
    bg:SetPoint("BOTTOMRIGHT", bar, "BOTTOMRIGHT", 2, 2)
    bg:SetFrameStrata("BACKGROUND")
    bg:Show()
    bar:Set("bigwigs:tukui:bg", bg)
    end

    f:UnregisterEvent("ADDON_LOADED")

    local function registerMyStyle()
    BigWigs:GetPlugin("Bars"):RegisterBarStyle("TukUIV13", {
    apiVersion = 1,
    version = 1,
    GetSpacing = function(bar) return 8 end,
    ApplyStyle = styleBar,
    BarStopped = freeStyle,
    GetStyleName = function() return "TukUIV13" end,
    })
    end

    f:SetScript("OnEvent", function(self, event, msg)
    if event == "ADDON_LOADED" then
    if not reason then reason = (select(6, GetAddOnInfo("BigWigs_Plugins"))) end
    if reason == "MISSING" and msg == "BigWigs_Core" then
    registerMyStyle()
    print("Hello")
    elseif msg == "BigWigs_Plugins" then
    registerMyStyle()
    print("Hello")
    end
    end
    end)[/PHP]

    I am just wondering what I am doing wrong, >___> since i would rather not edit every alpha build..... lol.

    Also Love the addon, and haters gonna hate.
    Posted in: Raid AddOns
  • 0

    posted a message on Skinner
    1x Skinner-b4.13561.1\Skinner.lua:861: attempt to call method 'SetStatusBarTexture' (a nil value)
    Skinner-b4.13561.1\CharacterFrames2.lua:652: in function <Skinner\CharacterFrames2.lua:636>
    (tail call): ?:
    <in C code>: in function `xpcall'
    Skinner-b4.13561.1\UtilFuncs.lua:88: in function <Skinner\UtilFuncs.lua:86>
    (tail call): ?:
    Skinner-b4.13561.1\AddonFrames.lua:244: in function <Skinner\AddonFrames.lua:237>
    (tail call): ?:
    <in C code>: ?
    <string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?:
    AceTimer-3.0-5 (BigWigs):164: in function <...ce\AddOns\BigWigs\Libs\AceTimer-3.0\AceTimer-3.0.lua:138>

    ---
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    1x Skinner-b4.13164.4\Skinner.lua:1095: attempt to perform arithmetic on local 'yOfs' (a nil value)
    Skinner-b4.13164.4\SkinMe\Pawn.lua:46: in function <Skinner\SkinMe\Pawn.lua:3>
    (tail call): ?:
    <in C code>: in function `xpcall'
    Skinner-b4.13164.4\UtilFuncs.lua:86: in function <Skinner\UtilFuncs.lua:84>
    Skinner-b4.13164.4\UtilFuncs.lua:149: in function `checkAndRunAddOn'
    Skinner-b4.13164.4\AddonFrames.lua:141: in function <Skinner\AddonFrames.lua:96>
    (tail call): ?:
    <in C code>: ?
    <string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?:
    AceTimer-3.0-5 (DualSpeccer):164: in function <...ddOns\DualSpeccer\libs\AceTimer-3.0\AceTimer-3.0.lua:138>

    ---
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Quote from Jncl
    Hi VQKatsuko,
    Thanks for pointing this out, it has now been fixed and the next update will include them. Sorry about that.


    D: i know how annoying missing the little things can be and i like to help when i can!
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    You forgot to add

    L["Disable Addon Skins"] = true
    L["DisabledSkins"] = true

    to the locales in version b3.12340.7
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    1x Skinner-b3.12213.1\Skinner.lua:552: attempt to index local 'frame' (a nil value)
    Skinner-b3.12213.1\SkinMe\Chatter.lua:35: in function <Skinner\SkinMe\Chatter.lua:3>
    (tail call): ?:
    <in C code>: in function `xpcall'
    Skinner-b3.12213.1\UtilFuncs.lua:84: in function <Skinner\UtilFuncs.lua:82>
    Skinner-b3.12213.1\UtilFuncs.lua:133: in function `?'
    Skinner-b3.12213.1\AddonFrames.lua:122: in function <Skinner\AddonFrames.lua:54>
    (tail call): ?:
    <in C code>: ?
    <string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?:
    AceTimer-3.0-5 (Recount):164: in function <...ce\AddOns\Recount\Libs\AceTimer-3.0\AceTimer-3.0.lua:138>

    ---

    I get this message with 3.3.5.
    Posted in: General AddOns
  • To post a comment, please or register a new account.