Thread Tools Display Modes
10-26-20, 12:39 PM   #1
Cherio
A Fallenroot Satyr
Join Date: Mar 2009
Posts: 23
Quest Item BAR setbackdrop fix request

I had a version of this addon working till last patch 9.01 the unique thing about Quest Item bar was ability to drag and drop any Item I need to monitor on the fly

its now giving mainly setback error that is causing other errors on Core.lua

would be great is someone could guide on how to fix the setback error

Error 1) Original lines

87 local overlay = CreateFrame("Frame", f:GetName() .. "Overlay", f)
88 f.overlay = overlay
89 overlay:EnableMouse(true)
90 overlay:SetBackdrop({
91 bgFile = "Interface\\Tooltips\\UI-Tooltip-Background",
92 tile = true,
93 tileSize = 16,
94 --edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
95 --edgeSize = 16,
96 --insets = {left = 3, right = 3, top = 3, bottom = 3}
97 })
98 overlay:SetBackdropColor(0,0,0,1)
99 overlay:SetBackdropBorderColor(0.3,0.3,0.3,1)


Error 1 Bug in game :

1x QuestItemBar\Core.lua:90: attempt to call method 'SetBackdrop' (a nil value)
[string "@QuestItemBar\Core.lua"]:90: in function `CreateAnchor'
[string "@QuestItemBar\Core.lua"]:360: in function <QuestItemBar\Core.lua:354>
[string "=[C]"]: ?
[string "@ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <...s\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:498: in function `InitializeAddon'
[string "@ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:623: in function <...s\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>
  Reply With Quote
10-26-20, 03:18 PM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
Lua Code:
  1. local overlay=CreateFrame("frame",f:GetName().."Overlay",f,"BackdropTemplate")
  Reply With Quote
10-28-20, 03:45 AM   #3
Cherio
A Fallenroot Satyr
Join Date: Mar 2009
Posts: 23
man thanks a lot
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Quest Item BAR setbackdrop fix request

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off