TipTac Reborn

TipTac Reborn

1M Downloads

Stolen Present

OttoDeFe opened this issue · 4 comments

commented

Describe the bug

When I turn in "You're A Mean One..." and receive the Stolen Present, I get the following error:

5x TipTac/ttCore.lua:3148: attempt to call method 'SetBackdropBorderColor' (a nil value) [string "@TipTac/ttCore.lua"]:3148: in function SetBackdropBorderColorLocked'
[string "@TipTac/ttCore.lua"]:3224: in function ?' [string "@TipTac/libs/LibFroznFunctions-1.0-37/LibFroznFunctions-1.0.lua"]:1398: in function FireGroupEvent'
[string "@TipTacItemRef/ttItemRef.lua"]:2376: in function SetBackdropBorderColorLocked' [string "@TipTacItemRef/ttItemRef.lua"]:2930: in function currency'
[string "@TipTacItemRef/ttItemRef.lua"]:1061: in function <TipTacItemRef/ttItemRef.lua:1054>
[string "=[C]"]: in function `SetCurrencyByID'
[string "@AllTheThings/src/Modules/Tooltip.lua"]:854: in function <AllTheThings/src/Modules/Tooltip.lua:851>
[string "@AllTheThings/lib/Callback.lua"]:22: in function <AllTheThings/lib/Callback.lua:16>

Locals:
self = TipTac {
RightEdge = Texture {
}
TopEdge = Texture {
}
BottomRightCorner = Texture {
}
LeftEdge = Texture {
}
BottomEdge = Texture {
}
BottomLeftCorner = Texture {
}
close = Button {
}
TopLeftCorner = Texture {
}
Center = Texture {
}
backdropInfo =

{
}
TopRightCorner = Texture {
}
text = FontString {
}
}
tip = SortedDataTooltip {
infoList =
{
}
processingInfo =
{
}
ATT_AttachComplete = true
updateTooltipTimer = 0.200000
StatusBar = SortedDataTooltipStatusBar {
}
TextRight1 = SortedDataTooltipTextRight1 {
}
supportsDataRefresh = true
textRight1Font = "GameTooltipHeaderText"
BottomOverlay = Texture {
}
NineSlice = Frame {
}
textLeft1Font = "GameTooltipHeaderText"
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
layoutType = "TooltipDefaultLayout"
TextLeft1 = SortedDataTooltipTextLeft1 {
}
textLeft2Font = "GameTooltipText"
TextRight2 = SortedDataTooltipTextRight2 {
}
TextLeft2 = SortedDataTooltipTextLeft2 {
}
}
r = 0.639216
g = 0.207843
b = 0.933333
a = 1
frameParams = nil
(*temporary) = nil
(*temporary) = SortedDataTooltip {
infoList =
{
}
processingInfo =
{
}
ATT_AttachComplete = true
updateTooltipTimer = 0.200000
StatusBar = SortedDataTooltipStatusBar {
}
TextRight1 = SortedDataTooltipTextRight1 {
}
supportsDataRefresh = true
textRight1Font = "GameTooltipHeaderText"
BottomOverlay = Texture {
}
NineSlice = Frame {
}
textLeft1Font = "GameTooltipHeaderText"
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
layoutType = "TooltipDefaultLayout"
TextLeft1 = SortedDataTooltipTextLeft1 {
}
textLeft2Font = "GameTooltipText"
TextRight2 = SortedDataTooltipTextRight2 {
}
TextLeft2 = SortedDataTooltipTextLeft2 {
}
}
(*temporary) = 0.639216
(*temporary) = 0.207843
(*temporary) = 0.933333
(*temporary) = 1
(*temporary) = "attempt to call method 'SetBackdropBorderColor' (a nil value)"
isSettingBackdropBorderColorLocked = true
TT_CacheForFrames =
{
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
=
{
}
}
`
The border color from then on is only white.

Steps to Reproduce

See Above - Sttolenn Present reward from @​Winter Veil.

Expected behavior

No response

Additional context

No response

Version of TipTac Reborn

24.12.19

Flavor/Version of WoW

Retail.

commented

Unfortuantely I can't reproduce this. I installed addon AllTheThings and did the quest you mentioned for myself but this error doesn't pop up.

I looked in the code of AllTheThings and the function SetCurrencyByID() will only be triggered for the GameTooltip, which should have the method SetBackdropBorderColor(), which seems to be missing in the error message.

I will add some checks before calling SetBackdropBorderColor(), but normally this method should always be available.

commented

Fix will be included in the next release.

commented

Thank you - sorry for the delay. Festivities and work had me tied up.

commented

No problem 😉