• 0

    posted a message on Skinner

    Something wrong about minimap.

    using Basicminimap

    & Skinning NovaWorldBuffs Minimap Layer, plz

    Posted in: General AddOns
  • 0

    posted a message on Skinner

    Thank you but some Error remain

     

    1x ...eBartender4\libs\AceHook-3.0\AceHook-3.0-9.lua:180: Attempting to rehook already active hook OnShow.
    ...eBartender4\libs\AceHook-3.0\AceHook-3.0-9.lua:180: in function <...eBartender4\libs\AceHook-3.0\AceHook-3.0.lua:118>
    ...eBartender4\libs\AceHook-3.0\AceHook-3.0-9.lua:411: in function `SecureHookScript'
    Skinner\AddonSkins\ClassicQuestLog.lua:8: in function <Skinner\AddonSkins\ClassicQuestLog.lua:6>
    (tail call): ?
    [C]: in function `xpcall'
    Skinner\Core\UtilFuncs.lua:51: in function <Skinner\Core\UtilFuncs.lua:45>
    (tail call): ?
    Skinner\Core\AddonFrames.lua:131: in function `AddonFrames'
    Skinner\Core\Skinner-beta9.36949.6.lua:496: in function <Skinner\Core\Skinner.lua:496>

     

    Posted in: General AddOns
  • 0

    posted a message on Skinner

    Happy New Year!

    Skinning follow addon, plz

     

    MissingTradeSkillsList

     

    NovaInstanceTracker

    NovaInstanceTracker Main

    NovaInstanceTracker Character

    NovaInstanceTracker TradeLog

     

    NovaWorldBuffs

    NovaWorldBuffs

     

     

    Posted in: General AddOns
  • 0

    posted a message on Skinner

    Classic Quest log for Classic Error

     

    1x Skinner\AddonSkins\ClassicQuestLog.lua:9: attempt to index field 'log' (a nil value)
    Skinner\AddonSkins\ClassicQuestLog.lua:9: in function <Skinner\AddonSkins\ClassicQuestLog.lua:7>
    (tail call): ?
    [C]: ?
    [C]: in function `Show'
    FrameXML\UIParent.lua:2087: in function `SetUIPanel'
    FrameXML\UIParent.lua:1932: in function `ShowUIPanel'
    FrameXML\UIParent.lua:1793: in function <FrameXML\UIParent.lua:1789>
    [C]: in function `SetAttribute'
    FrameXML\UIParent.lua:2535: in function `ShowUIPanel'
    ...rfaceClassic Quest Log\Classic Quest Log-1.4.5-Classic.lua:696: in function `?'
    ...rfaceClassic Quest Log\Classic Quest Log-1.4.5-Classic.lua:681: in function `ToggleWindow'
    [string "CLASSIC_QUEST_LOG_TOGGLE"]:1: in function <[string "CLASSIC_QUEST_LOG_TOGGLE"]:1>

    Locals:
    this = ClassicQuestLog {
    0 = <userdata>
    close = <unnamed> {
    }
    SelectQuestIndex = <function> defined @Classic Quest Log\Classic Quest Log.lua:576
    portraitIcon = <unnamed> {
    }
    UpdateLogList = <function> defined @Classic Quest Log\Classic Quest Log.lua:193
    Inset = ClassicQuestLogInset {
    }
    emptyLog = <unnamed> {
    }
    OnShow = <function> defined @Classic Quest Log\Classic Quest Log.lua:115
    TitleBg = ClassicQuestLogTitleBg {
    }
    HandleObjectiveTracker = <function> defined @Classic Quest Log\Classic Quest Log.lua:820
    BotRightCorner = ClassicQuestLogBotRightCorner {
    }
    count = <unnamed> {
    }
    RecurseRecolor = <function> defined @Classic Quest Log\Classic Quest Log.lua:908
    RightBorder = ClassicQuestLogRightBorder {
    }
    UpdateLog = <function> defined @Classic Quest Log\Classic Quest Log.lua:198
    TopRightCorner = ClassicQuestLogTopRightCorner {
    }
    lastViewedQuestID = 321
    Bg = ClassicQuestLogBg {
    }
    OnLoad = <function> defined @SharedXML\SharedUIPanelTemplates.lua:860
    mapButton = <unnamed> {
    }
    ListEntryOnClick = <function> defined @!KalielsTracker\Modules\Addon_Others.lua:102
    push = <unnamed> {
    }
    overridingKey = "L"
    OnSizeChanged = <function> defined @Classic Quest Log\Classic Quest Log.lua:105
    TitleText = ClassicQuestLogTitleText {
    }
    portrait = ClassicQuestLogPortrait {
    }
    update = <unnamed> {
    }
    UpdateControlButtons = <function> defined =[C]:-1
    ShowMap = <function> defined @Classic Quest Log\Classic Quest Log.lua:630
    TopLeftCorner = ClassicQuestLogTopLeftCorner {
    }
    optionsFrame = <unnamed> {
    }
    UpdateQuestDetail = <function> defined @Classic Quest Log\Classic Quest Log.lua:404
    options = <unnamed> {
    }
    RecoloredFontStrings = <table> {
    }
    UpdateOverrides = <function> defined @Classic Quest Log\Classic Quest Log.lua:652
    questID = 321
    UpdateDocking = <function> defined @Classic Quest Log\Classic Quest Log.lua:786
    ToggleWindow = <function> defined @Classic Quest Log\Classic Quest Log.lua:680
    SealMaterialBG = <unnamed> {
    }
    oldToggleQuestLog = <function> defined @FrameXML\QuestLogFrame.lua:21
    abandon = <unnamed> {
    }
    GetWarCampaignHeader = <function> defined @Classic Quest Log\Classic Quest Log.lua:986
    SkinForAurora = <function> defined @Classic Quest Log\Classic Quest Log.lua:952
    OptionOnEnter = <function> defined @Classic Quest Log\Classic Quest Log.lua:741
    resizeGrip = <unnamed> {
    }
    PortraitFrame = ClassicQuestLogPortraitFrame {
    }
    LeftBorder = ClassicQuestLogLeftBorder {
    }
    RecolorDetailText = <function> defined @Classic Quest Log\Classic Quest Log.lua:893
    RecolorObjectivesText = <function> defined @Classic Quest Log\Classic Quest Log.lua:875
    track = <unnamed> {
    }
    ToggleWatch = <function> defined @!KalielsTracker\Modules\Addon_Others.lua:108
    UpdateDetailColors = <function> defined @Classic Quest Log\Classic Quest Log.lua:848
    ShowWindow = <function> defined @Classic Quest Log\Classic Quest Log.lua:692
    ListEntryOnEnter = <function> defined @Classic Quest Log\Classic Quest Log.lua:476
    UpdateOptionsForSkins = <function> defined @Classic Quest Log\Classic Quest Log.lua:811
    ExpandAllOnClick = <function> defined @!KalielsTracker\Modules\Addon_Others.lua:99
    UpdateBackgrounds = <function> defined @Classic Quest Log\Classic Quest Log.lua:796
    expanded = true
    scrollFrame = ClassicQuestLogScrollFrame {
    }
    HideWindow = <function> defined @Classic Quest Log\Classic Quest Log.lua:684
    OptionsUpdate = <function> defined @Classic Quest Log\Classic Quest Log.lua:771
    TopBorder = ClassicQuestLogTopBorder {
    }
    TopTileStreaks = ClassicQuestLogTopTileStreaks {
    }
    OnHide = <function> defined @Classic Ques

     

    Posted in: General AddOns
  • 0

    posted a message on Skinner

    In reply to Jncl:

     

    auctionator-classicfix

    here it is

    Posted in: General AddOns
  • 0

    posted a message on Skinner

    some error when open auction (trade frame)

     

    10:43 Interface\AddOns\Skinner\AddonSkins\Auctionator-100.0.7.lua:9: attempt to index field 'State' (a nil value)
    10:43 Interface\AddOns\Skinner\AddonSkins\Auctionator-100.0.7.lua:9: in function <Interface\AddOns\Skinner\AddonSkins\Auctionator.lua:7>
    [C]: ?
    ...ker\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:29: in function <...ker\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
    ...ker\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:64: in function `Fire'
    Interface\AddOns\Skinner\AddonFrames.lua:236: in function `?'
    ...tie\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:145: in function <...tie\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
    [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
    [C]: ?
    [string "safecall Dispatcher[1]"]:13: in function `?'
    ...tie\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:90: in function `Fire'
    ...ce\AddOns\Questie\Libs\AceEvent-3.0\AceEvent-3.0-4.lua:120: in function <...ce\AddOns\Questie\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>

     

    Posted in: General AddOns
  • 0

    posted a message on Skinner

    In reply to Jncl:

      CompactRaidFrameManager of InvenRaidFrame3Fanfix isn't same with CompactRaidFrameManager of  bilzzard 

     

    add, plz

    Posted in: General AddOns
  • 0

    posted a message on Skinner

    add CompactRaidFrameManager of InvenRaidFrame3Fanfix

    plz

     

    Manager.lua

    --[[--[[인벤 레이드 프레임 공격대 관리자 스크립트]]
    local _G = _Glocal IRF3 = _G[...]local texturePath = "Interface\\AddOns\\"..(...).."\\Texture\\"local onPetBattle = false
    -- 와우 기본 공격대 프레임 및 설정창 숨기기
     CompactRaidFrameManager:UnregisterAllEvents() CompactRaidFrameManager:SetAlpha(0) CompactRaidFrameManager:SetScale(0.00001) CompactRaidFrameManagerToggleButton:EnableMouse(nil) PartyMemberFrame1:ClearAllPoints() PartyMemberFrame1:SetPoint("TOPLEFT", UIParent, "TOPLEFT", 18, -160) CompactUnitFrameProfiles:UnregisterAllEvents() local _ for _, button in pairs(InterfaceOptionsFrameCategories.buttons) do  if button.element and button.element.name == CompactUnitFrameProfiles.name then  button:SetScale(0.00001)  button:SetAlpha(0)  end end
    --[[function IRF3_HockCRFLoad()  SetRaidProfileOption(GetActiveRaidProfile(), "shown", false);  CompactRaidFrameManager_SetSetting("IsShown", false);  --IRF3_HockCRFLoad = nilendhooksecurefunc("CompactUnitFrameProfiles_ValidateProfilesLoaded", IRF3_HockCRFLoad)]]IRF3.manager = InvenRaidFrames3Manager
    local function checkMode() if IsInRaid() then if IRF3.manager.mode ~= "raid" then IRF3.manager.mode = "raid" return true end elseif IsInGroup() then if IRF3.manager.mode ~= "party" then IRF3.manager.mode = "party" return true end elseif IRF3.manager.mode ~= "solo" then IRF3.manager.mode = "solo" return true end return nilend
    local function updateCount() CRF_CountStuff() if IsInGroup() then --IRF3.manager.content.label:SetFormattedText("%s%d %s%d %s%d %s%d", "|TInterface\\LFGFrame\\LFGRole:14:14:0:0:64:16:32:48:0:16|t", RaidInfoCounts.totalRoleTANK, "|TInterface\\LFGFrame\\LFGRole:14:14:0:0:64:16:48:64:0:16|t", RaidInfoCounts.totalRoleHEALER, "|TInterface\\LFGFrame\\LFGRole:14:14:0:0:64:16:16:32:0:16|t", RaidInfoCounts.totalRoleDAMAGER, "|TInterface\\RaidFrame\\ReadyCheck-NotReady:14:14:0:0|t", RaidInfoCounts.totalRoleNONE) IRF3.manager.content.label:SetText("IRF 파티원") else IRF3.manager.content.label:SetText("IRF 공격대 관리자") end IRF3.manager.content.memberCountLabel:SetFormattedText("%d/%d", RaidInfoCounts.totalAlive, RaidInfoCounts.totalCount)end
    IRF3.manager:SetScript("OnEvent", function(self, event, ...) if event == "PLAYER_ENTERING_WORLD" then checkMode() IRF3:SetManagerMode() elseif event == "DISPLAY_SIZE_CHANGED" or event == "UI_SCALE_CHANGED" then IRF3:SetManagerPosition() elseif event == "GROUP_ROSTER_UPDATE" then if checkMode() then if self.run then IRF3:SetManagerMode() end elseif self.run and self.isExpand then updateCount() end elseif event == "RAID_TARGET_UPDATE" or event == "PLAYER_TARGET_CHANGED" then if self.run and self.isExpand then CompactRaidFrameManager_UpdateRaidIcons() end elseif self.run and self.isExpand then -- PARTY_LEADER_CHANGED, PLAYER_REGEN_ENABLED, PLAYER_REGEN_DISABLED IRF3:SetManagerMode() endend)
    IRF3.manager.toggleButton:RegisterForClicks("LeftButtonUp")IRF3.manager.toggleButton:SetScript("OnClick", function(self) self = self:GetParent() self.isExpand = not self.isExpand IRF3:SetManagerMode()end)
    IRF3.manager.content.lockButton:SetScript("OnClick", function(self) IRF3.db.lock = not IRF3.db.lock self:SetText(IRF3.db.lock and UNLOCK or LOCK) if IRF3.optionFrame.lockMenu and IRF3.optionFrame.lockMenu:IsVisible() then IRF3.optionFrame.lockMenu:Update() endend)
    IRF3.manager.content.hideButton:SetScript("OnClick", function(self) IRF3:SetAttribute("run", not IRF3.db.run) InvenRaidFrames3Overlord:GetScript("PostClick")(InvenRaidFrames3Overlord)end)
    function IRF3:ToggleManager() if self.db.useManager then self.manager:RegisterEvent("PLAYER_ENTERING_WORLD") self.manager:RegisterEvent("DISPLAY_SIZE_CHANGED") self.manager:RegisterEvent("UI_SCALE_CHANGED") self.manager:RegisterEvent("GROUP_ROSTER_UPDATE") self.manager:RegisterEvent("PARTY_LEADER_CHANGED") self.manager:RegisterEvent("RAID_TARGET_UPDATE") self.manager:RegisterEvent("PLAYER_TARGET_CHANGED")-- self.manager:RegisterEvent("PLAYER_REGEN_ENABLED") self.manager:RegisterEvent("PLAYER_REGEN_DISABLED")-- self.manager:RegisterEvent("PLAYER_REGEN_ENABLED")-- self.manager:RegisterEvent("PET_BATTLE_OPENING_START")-- self.manager:RegisterEvent("PET_BATTLE_CLOSE") checkMode() self:SetManagerMode() else self.manager.run, self.manager.mode, self.manager.isExpand = nil self.manager:UnregisterAllEvents() self.manager:Hide() endend
    local inCombat
    function IRF3:SetManagerMode() if (self.db.use == 1 or (self.db.use == 2 and self.manager.mode ~= "solo") or (self.db.use == 3 and self.manager.mode == "raid") or (self.db.use == 4 and self.manager.mode == "party")) and not onPetBattle then self.manager.run = true self.manager:Show() self:SetManagerPosition() if self.manager.isExpand then inCombat = InCombatLockdown() or UnitAffectingCombat("player") self.manager.content:Show() updateCount() CompactRaidFrameManager_UpdateRaidIcons() if self:IsLeader() then self.manager.content.readyCheckButton:Enable() self.manager.content.readyCheckButton:SetAlpha(1) --if HasLFGRestrictions() then -- self.manager.content.everyoneIsAssistButton:Disable() -- self.manager.content.everyoneIsAssistButton:SetAlpha(0.5) --else self.manager.content.everyoneIsAssistButton:Enable() self.manager.content.everyoneIsAssistButton:SetAlpha(1) --end else self.manager.content.readyCheckButton:Disable() self.manager.content.readyCheckButton:SetAlpha(0.5) self.manager.content.everyoneIsAssistButton:Disable() self.manager.content.everyoneIsAssistButton:SetAlpha(0.5) end self.manager.content.lockButton:SetText(self.db.lock and UNLOCK or LOCK) self.manager.content.hideButton:SetText(self.db.run and HIDE or SHOW) if inCombat then self.manager.content.hideButton:Disable() self.manager.content.hideButton:SetAlpha(0.5) else self.manager.content.hideButton:Enable() self.manager.content.hideButton:SetAlpha(1) end self:UpdateManagerGroupFilter() else self.manager.content:Hide() end else self.manager.run, self.manager.isExpand = nil self.manager:Hide() endend
    function IRF3:SetManagerPosition() if not self.manager.run then return end self.manager:ClearAllPoints() self.manager.toggleButton:ClearAllPoints() if self.db.managerPos < 45 or self.db.managerPos > 315 then self.manager.pos = "LEFT" self.manager:SetSize(186, self.manager.mode == "raid" and 221 or 147) self.manager.toggleButton:SetSize(15, 64) self.manager.toggleButton:SetPoint("RIGHT", -2, 0) self.manager.toggleButton:SetHitRectInsets(5, 0, 6, 6) self.manager.toggleButton.normal:SetTexture("Interface\\RaidFrame\\RaidPanel-Toggle") if self.manager.isExpand then self.manager:SetPoint("LEFT", UIParent, -5, -(self.manager:GetHeight() / 2 - select(2, UIParent:GetCenter())) * ((self.db.managerPos - (self.db.managerPos >= 315 and 360 or 0)) / 44)) self.manager.toggleButton.normal:SetTexCoord(0.53125, 1, 0, 1) self.manager.content:ClearAllPoints() self.manager.content:SetPoint("TOP", self.manager.bg, 0, 0) self.manager.content:SetPoint("LEFT", UIParent, 2, 0) self.manager.content:SetPoint("BOTTOMRIGHT", self.manager.bg, -8, 3) else self.manager:SetPoint("RIGHT", UIParent, "LEFT", 12, -(self.manager:GetHeight() / 2 - select(2, UIParent:GetCenter())) * ((self.db.managerPos - (self.db.managerPos >= 315 and 360 or 0)) / 44)) self.manager.toggleButton.normal:SetTexCoord(0, 0.46875, 0, 1) end elseif self.db.managerPos > 135 and self.db.managerPos < 225 then self.manager.pos = "RIGHT" self.manager:SetSize(186, self.manager.mode == "raid" and 221 or 147) self.manager.toggleButton:SetSize(15, 64) self.manager.toggleButton:SetPoint("LEFT", 2, 0) self.manager.toggleButton:SetHitRectInsets(0, 5, 6, 6) self.manager.toggleButton.normal:SetTexture("Interface\\RaidFrame\\RaidPanel-Toggle") if self.manager.isExpand then self.manager:SetPoint("RIGHT", UIParent, 5, (self.manager:GetHeight() / 2 - select(2, UIParent:GetCenter())) * ((self.db.managerPos - 180) / 44)) self.manager.toggleButton.normal:SetTexCoord(1, 0.53125, 0, 1) self.manager.content:ClearAllPoints() self.manager.content:SetPoint("TOP", self.manager.bg, 0, 0) self.manager.content:SetPoint("RIGHT", UIParent, -2, 0) self.manager.content:SetPoint("BOTTOMLEFT", self.manager.bg, 8, 3) else self.manager:SetPoint("LEFT", UIParent, "RIGHT", -12, (self.manager:GetHeight() / 2 - select(2, UIParent:GetCenter())) * ((self.db.managerPos - 180) / 44)) self.manager.toggleButton.normal:SetTexCoord(0.46875, 0, 0, 1) end elseif self.db.managerPos >= 45 and self.db.managerPos <= 135 then self.manager.pos = "TOP" self.manager:SetSize(184, self.manager.mode == "raid" and 231 or 156) self.manager.toggleButton:SetSize(64, 15) self.manager.toggleButton:SetPoint("BOTTOM", 0, 3) self.manager.toggleButton:SetHitRectInsets(6, 6, 5, 0) self.manager.toggleButton.normal:SetTexture(texturePath.."ManagerToggleHoriz") if self.manager.isExpand then self.manager:SetPoint("TOP", UIParent, -(self.manager:GetWidth() - UIParent:GetCenter() * 2) * ((self.db.managerPos - 90) / 90), 5) self.manager.toggleButton.normal:SetTexCoord(0, 1, 0.53125, 1) self.manager.content:ClearAllPoints() self.manager.content:SetPoint("TOP", UIParent, 0, 0) self.manager.content:SetPoint("LEFT", self.manager.bg, 2, 0) self.manager.content:SetPoint("BOTTOMRIGHT", self.manager.bg, -2, 12) else self.manager:SetPoint("BOTTOM", UIParent, "TOP", -(self.manager:GetWidth() - UIParent:GetCenter() * 2) * ((self.db.managerPos - 90) / 90), -13) self.manager.toggleButton.normal:SetTexCoord(0, 1, 0, 0.46875) end else self.manager.pos = "BOTTOM" self.manager:SetSize(184, self.manager.mode == "raid" and 223 or 148) self.manager.toggleButton:SetSize(64, 15) self.manager.toggleButton:SetPoint("TOP", 0, -4) self.manager.toggleButton:SetHitRectInsets(6, 6, 0, 5) self.manager.toggleButton.normal:SetTexture(texturePath.."ManagerToggleHoriz") if self.manager.isExpand then self.manager:SetPoint("BOTTOM", UIParent, -(self.manager:GetWidth() - UIParent:GetCenter() * 2) * ((270 - self.db.managerPos) / 90), -5) self.manager.toggleButton.normal:SetTexCoord(0, 1, 1, 0.53125) self.manager.content:ClearAllPoints() self.manager.content:SetPoint("TOPLEFT", self.manager.bg, 2, 0) self.manager.content:SetPoint("TOPRIGHT", self.manager.bg, -2, 0) self.manager.content:SetPoint("BOTTOM", UIParent, 0, 3) else self.manager:SetPoint("TOP", UIParent, "BOTTOM", -(self.manager:GetWidth() - UIParent:GetCenter() * 2) * ((270 - self.db.managerPos) / 90), 13) self.manager.toggleButton.normal:SetTexCoord(0, 1, 0.46875, 0) end endend
    local partyGroupPosTable = { { "TOPLEFT", 1, 0 }, { "TOP", -21, 0 }, { "TOP", 21, 0 }, { "TOPRIGHT", -1, 0 }, { "BOTTOMLEFT", 1, 0 }, { "BOTTOM", -21, 0 }, { "BOTTOM", 21, 0 }, { "BOTTOMRIGHT", -1, 0 },}
    local function groupSetPos(self) self:SetUserPlaced(nil) self:ClearAllPoints() self:SetUserPlaced(nil) self:SetPoint(unpack(partyGroupPosTable[IRF3.db.grouporder[self:GetID()]])) self:SetUserPlaced(nil) self:SetFrameLevel(14)end
    local function groupOnClick(self) IRF3.db.groupshown[self:GetID()] = not IRF3.db.groupshown[self:GetID()] if IRF3.db.groupshown[self:GetID()] then self.selectedHighlight:Show() else self.selectedHighlight:Hide() end IRF3:UpdateGroupFilter()end
    local function groupOnDragStart(self) IRF3.manager.group.drag = self self:SetFrameLevel(15) self:SetUserPlaced(nil) self:StartMoving()end
    local function groupOnHide(self) if IRF3.manager.group.drag == self then IRF3.manager.group.drag = nil self:StopMovingOrSizing() groupSetPos(self) return true end return nilend
    local function groupOnDragStop(self) if groupOnHide(self) then self:GetScript("OnMouseUp")(self) for i = 1, 8 do if self:GetID() ~= i and IRF3.manager.group[i]:IsMouseOver() then IRF3.db.grouporder[self:GetID()], IRF3.db.grouporder[i] = IRF3.db.grouporder[i], IRF3.db.grouporder[self:GetID()] groupSetPos(self) groupSetPos(IRF3.manager.group[i]) IRF3:UpdateGroupFilter() break end end endend
    IRF3.manager.group = {}for i = 1, 8 do IRF3.manager.group[i] = IRF3.manager.content.partyGroup["group"..i] IRF3.manager.group[i]:RegisterForDrag("LeftButton") IRF3.manager.group[i]:SetScript("OnClick", groupOnClick) IRF3.manager.group[i]:SetScript("OnDragStart", groupOnDragStart) IRF3.manager.group[i]:SetScript("OnDragStop", groupOnDragStop) IRF3.manager.group[i]:SetScript("OnHide", groupOnHide)end
    local function classOnClick(self) IRF3.db.classshown[self.class] = not IRF3.db.classshown[self.class] if IRF3.db.classshown[self.class] then self.selectedHighlight:Show() else self.selectedHighlight:Hide() end IRF3:UpdateGroupFilter()end
    local function lookupTable(tbl, value) for i = 1, #tbl do if tbl[i] == value then return i end end return nilend
    local classGroupPosTable = { { "TOPLEFT", 3, 0 }, { "TOPLEFT", 31, 0 }, { "TOPLEFT", 59, 0 }, { "TOPLEFT", 87, 0 }, { "TOPLEFT", 115, 0 }, { "TOPLEFT", 143, 0 }, { "BOTTOMLEFT", 3, 0 }, { "BOTTOMLEFT", 31, 0 }, { "BOTTOMLEFT", 59, 0 }, { "BOTTOMLEFT", 87, 0 }, { "BOTTOMLEFT", 115, 0 }, { "BOTTOMLEFT", 143, 0 },}
    local function classSetPos(self, index) index = index or lookupTable(IRF3.db.classorder, self.class) self:SetUserPlaced(nil) self:ClearAllPoints() self:SetUserPlaced(nil) self:SetPoint(unpack(classGroupPosTable[index])) self:SetUserPlaced(nil) self:SetFrameLevel(14)end
    local function classOnDragStart(self) IRF3.manager.group.drag = self self:SetFrameLevel(15) self:SetUserPlaced(nil) self:StartMoving()end
    local function classOnHide(self) if IRF3.manager.group.drag == self then IRF3.manager.group.drag = nil self:StopMovingOrSizing() classSetPos(self) return true end return nilend
    local function classOnDragStop(self) if classOnHide(self) then self:GetScript("OnMouseUp")(self) for i, class in ipairs(IRF3.db.classorder) do if self.class ~= class and IRF3.manager.group[class]:IsMouseOver() then local index = lookupTable(IRF3.db.classorder, self.class) IRF3.db.classorder[index], IRF3.db.classorder[i] = IRF3.db.classorder[i], IRF3.db.classorder[index] classSetPos(self, i) classSetPos(IRF3.manager.group[class], index) IRF3:UpdateGroupFilter() break end end endend
    for i, class in ipairs(IRF3.classes) do IRF3.manager.group[class] = IRF3.manager.content.classGroup[class] IRF3.manager.group[class]:GetHighlightTexture():SetAlpha(0.25) IRF3.manager.group[class].class = class IRF3.manager.group[class]:SetSize(28, 24) IRF3.manager.group[class].tex = IRF3.manager.group[class]:CreateTexture(nil, "OVERLAY", nil, 1) IRF3.manager.group[class].tex:SetPoint("CENTER", 0, 0) IRF3.manager.group[class].tex:SetSize(18, 18) IRF3.manager.group[class].tex:SetTexture("Interface\\WorldStateFrame\\Icons-Classes") IRF3.manager.group[class].tex:SetTexCoord(CLASS_ICON_TCOORDS[class][1], CLASS_ICON_TCOORDS[class][2], CLASS_ICON_TCOORDS[class][3], CLASS_ICON_TCOORDS[class][4]) IRF3.manager.group[class]:RegisterForDrag("LeftButton") IRF3.manager.group[class]:SetScript("OnClick", classOnClick) IRF3.manager.group[class]:SetScript("OnDragStart", classOnDragStart) IRF3.manager.group[class]:SetScript("OnDragStop", classOnDragStop) IRF3.manager.group[class]:SetScript("OnHide", classOnHide)end
    function IRF3:UpdateManagerGroupFilter() if self.manager.group.drag then self.manager.group.drag:StopMovingOrSizing() self.manager.group.drag:SetUserPlaced(nil) self.manager.group.drag = nil end if self.manager.run and self.manager.isExpand then if self.manager.mode == "raid" then self.manager.content.everyoneIsAssistButton:Show() self.manager.content.groupLine:Show() inCombat = InCombatLockdown() or UnitAffectingCombat("player") if IRF3.db.groupby == "GROUP" then self.manager.content.partyGroup:Show() self.manager.content.classGroup:Hide() for i = 1, 8 do groupSetPos(self.manager.group[i]) if inCombat then self.manager.group[i]:Disable() self.manager.group[i]:SetAlpha(0.5) self.manager.group[i].selectedHighlight:SetDesaturated(true) else self.manager.group[i]:Enable() self.manager.group[i]:SetAlpha(1) self.manager.group[i].selectedHighlight:SetDesaturated(nil) end if IRF3.db.groupshown[i] then self.manager.group[i].selectedHighlight:Show() else self.manager.group[i].selectedHighlight:Hide() end end else self.manager.content.partyGroup:Hide() self.manager.content.classGroup:Show() for i, class in ipairs(self.db.classorder) do classSetPos(self.manager.group[class], i) if inCombat then self.manager.group[class]:Disable() self.manager.group[class]:SetAlpha(0.5) self.manager.group[class].tex:SetDesaturated(true) self.manager.group[class].selectedHighlight:SetDesaturated(true) else self.manager.group[class]:Enable() self.manager.group[class]:SetAlpha(1) self.manager.group[class].selectedHighlight:SetDesaturated(nil) self.manager.group[class].tex:SetDesaturated(not self.db.classshown[class]) end if self.db.classshown[class] then self.manager.group[class].selectedHighlight:Show() else self.manager.group[class].selectedHighlight:Hide() end end end else self.manager.content.everyoneIsAssistButton:Hide() self.manager.content.groupLine:Hide() self.manager.content.partyGroup:Hide() self.manager.content.classGroup:Hide() end endend

     

     

     

    Posted in: General AddOns
  • 0

    posted a message on Skinner

    cause Auctionator

    15:51 Interface\AddOns\Skinner\AddonSkins\Auctionator-100.0.6.lua:11: attempt to index field 'AuctionatorButtonFrame' (a nil value)
    15:51 Interface\AddOns\Skinner\AddonSkins\Auctionator-100.0.6.lua:11: in function <Interface\AddOns\Skinner\AddonSkins\Auctionator.lua:7>
    [C]: ?
    ...ker\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:29: in function <...ker\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
    ...ker\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:64: in function `Fire'
    Interface\AddOns\Skinner\AddonFrames.lua:236: in function `?'
    ...tie\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:145: in function <...tie\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
    [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
    [C]: ?
    [string "safecall Dispatcher[1]"]:13: in function `?'
    ...tie\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:90: in function `Fire'
    ...ce\AddOns\Questie\Libs\AceEvent-3.0\AceEvent-3.0-4.lua:120: in function <...ce\AddOns\Questie\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>

     

    Posted in: General AddOns
  • To post a comment, please or register a new account.