
Ara_Broker_Reputations.lua:616: attempt to call method 'SetGradientAlpha' (a nil value)
Ookami313 opened this issue ยท 4 comments
Running r56 and using with Bazooka. I'm getting the following error when I mouse over the LDB element on the Bazooka bar. Thanks.
8x ...ns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua:616: attempt to call method 'SetGradientAlpha' (a nil value)
[string "@Interface/AddOns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua"]:616: in function <...ns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua:596>
[string "@Interface/AddOns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua"]:644: in function OnEnter' [string "@Interface/AddOns/Bazooka/Bazooka.lua"]:1582: in function
showTip'
[string "@Interface/AddOns/Bazooka/Bazooka.lua"]:1387: in function <Interface/AddOns/Bazooka/Bazooka.lua:1378>
Locals:
cfg =
if_iconSize = 113
classification_rare = "%s|r (Rare) "
classification_rareelite = "+%s|r (Rare) "
classification_elite = "+%s "
optionsBottom = 773.500000
left = 1782.166748
showGuildRank = true
top = 138.666855
optionsLeft = 784.666870
targetYouText = "<>"
classification_trivial = "~%s "
classification_minus = "-%s "
classification_worldboss = "%s|r (Boss) "
showPlayerGender = true
classification_normal = "%s "
}
(*temporary) = nil
(*temporary) = Texture {
0 =
}
(*temporary) = "VERTICAL"
(*temporary) = 0
(*temporary) = 0
(*temporary) = 0
(*temporary) = 0
(*temporary) = 0.800000
(*temporary) = 0.800000
(*temporary) = 0.800000
(*temporary) = 0.200000
(*temporary) = "attempt to call method 'SetGradientAlpha' (a nil value)"
config =
blizzColorsDefault = false
Argent Dawn - Alteryx =
}
Cenarius - Nimriel =
}
textValues = false
Cenarius - Lysra =
}
Cenarius - Illyriana =
}
textPerc = true
Cenarius - Cryska =
}
barTexture = "TargetingFrame\UI-StatusBar"
textStanding = false
Wyrmrest Accord - Crythe =
}
asciiBar = "dualColors"
Cenarius - Illinari =
}
Argent Dawn - Luciferhawk =
}
textBlock = "factionNameColor"
scale = 1
blizzColorsInsteadBroker = false
Cenarius - Hoshino =
}
blizzardColors =
}
showRepToGo = true
textFactionColor = true
Cenarius - Neirenn =
}
autoSwitch = true
Argent Dawn - Kythaela =
}
showParagonCount = true
useTipTacSkin = true
Cenarius - Darcsen =
}
blockDisplay = "text"
Argent Dawn - Aurelia =
}
asciiColors =
}
textSession = false
textFaction = true
blizzColorsInstead = false
showSessionGain = true
textParagon = false
Cenarius - Ravenwood =
}
showRawInstead = true
textToGo = false
showSeparateValues = true
Argent Dawn - Neisa =
}
Wyrmrest Accord - Alteryx =
}
Cenarius - Celandine =
}
}
tiptacBG =
bgFile = "Buttons\WHITE8X8"
tile = false
edgeSize = 14
edgeFile = "Tooltips\UI-Tooltip-Border"
insets =
}
}
f = AraReputation {
0 =
Center = Texture {
}
TopLeftCorner = Texture {
}
onBlock = true
PLAYER_ENTERING_WORLD = defined @Interface/AddOns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua:1071
OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152
AddModule = defined @Interface/AddOns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua:107
BottomEdge = Texture {
}
GetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:390
SetupTextureCoordinates = defined @Interface/SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @Interface/SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:422
RightEdge = Texture {
}
BottomRightCorner = Texture {
}
SetupConfigMenu = defined @Interface/AddOns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua:871
GetEdgeSize = defined @Interface/SharedXML/Backdrop.lua:188
BottomLeftCorner = Texture {
}
TopRightCorner = Texture {
}
TopEdge = Texture {
}
ApplyBackdrop = defined @Interface/SharedXML/Backdrop.lua:294
SetBackdrop = defined @Interface/SharedXML/Backdrop.lua:329
ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282
backdropInfo =
}
GetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:409
GetBackdrop = defined @Interface/SharedXML/Backdrop.lua:347
CHAT_MSG_COMBAT_FACTION_CHANGE = defined @Interface/AddOns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua:840
SetupPieceVisuals = defined @Interface/SharedXML/Backdrop.lua:246
SetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
SetBorderB
Inspiration for fix see here: frozn/TipTac#121 (comment)
Hey I am the guy from the tiptac thread, with Frozn's tips , I did the following =
In Ara_Broker_Reputation.lua on line 608::
Replace
tiptacGradient:SetTexture(1,1,1,1)
with
tiptacGradient:SetTexture([[Interface\AddOns\TipTac\media\gradient]])
then on line 610::
tiptacGradient:SetGradientAlpha("VERTICAL",0,0,0,0,unpack(cfg.gradientColor))
with
tiptacGradient:SetVertexColor(unpack(cfg.gradientColor))
It may help, I am not getting the error i listed in that thread, and my reps display upon mouseover.
I use ChocolateBar for reference too.
PS. Course I'll mention the error will also go away if you disable Tiptac completely or in the Tiptac options under the 'background' tab you deselect 'show gradient tooltips'