World Quest Tracker

World Quest Tracker

70M Downloads

error with WQT - color

gaveer opened this issue ยท 4 comments

commented
1x ...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:492: attempt to index local 'color' (a nil value)
[string "@WorldQuestTracker\WorldQuestTracker_Tracker.lua"]:492: in function <...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:476>
[string "@WorldQuestTracker\WorldQuestTracker_Tracker.lua"]:609: in function <...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:600>
commented
9x ...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:492: attempt to index local 'color' (a nil value)
[string "@WorldQuestTracker\WorldQuestTracker_Tracker.lua"]:492: in function <...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:476>
[string "@WorldQuestTracker\WorldQuestTracker_Tracker.lua"]:609: in function <...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:600>

Locals:
self = WorldQuestTracker_Tracker1 {
 0 = <userdata>
 Shadow = <unnamed> {
 }
 QuestInfomation = <table> {
 }
 OnBackdropLoaded = <function> defined @SharedXML\Backdrop.lua:205
 worldQuest = true
 GetBackdropColor = <function> defined @SharedXML\Backdrop.lua:443
 SetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:475
 TimeLeft = <unnamed> {
 }
 ApplyBackdrop = <function> defined @SharedXML\Backdrop.lua:347
 SetBackdrop = <function> defined @SharedXML\Backdrop.lua:382
 ClearBackdrop = <function> defined @SharedXML\Backdrop.lua:335
 GetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:462
 GetBackdrop = <function> defined @SharedXML\Backdrop.lua:400
 RightBackground = <unnamed> {
 }
 SetBorderBlendMode = <function> defined @SharedXML\Backdrop.lua:319
 Arrow = <unnamed> {
 }
 NextTimeUpdate = 59.752000
 NextArrowUpdate = -0.000000
 NextPositionUpdate = 0.252000
 questX = 0.566912
 SetupTextureCoordinates = <function> defined @SharedXML\Backdrop.lua:267
 OnBackdropSizeChanged = <function> defined @SharedXML\Backdrop.lua:235
 HasBackdropInfo = <function> defined @SharedXML\Backdrop.lua:331
 ArrowDistance = <unnamed> {
 }
 Icon = <unnamed> {
 }
 IconButton = WorldQuestTracker_Tracker1IconButton {
 }
 Circle = <unnamed> {
 }
 GetEdgeSize = <function> defined @SharedXML\Backdrop.lua:241
 RewardAmount = <unnamed> {
 }
 numObjectives = 1
 info = <table> {
 }
 TomTomTrackerIcon = <unnamed> {
 }
 questID = 51406
 AnimationFrame = WorldQuestTracker_Tracker1Animation {
 }
 Zone = <table> {
 }
 questMapID = 895
 Title = <table> {
 }
 YardsDistance = <unnamed> {
 }
 SetupPieceVisuals = <function> defined @SharedXML\Backdrop.lua:299
 SetBackdropColor = <function> defined @SharedXML\Backdrop.lua:452
 SuperTracked = <unnamed> {
 }
 questY = 0.264975
}
questID = 51406
title = "Die Jagd des Lords"
factionID = 2160
capped = true
tagID = <table> {
 quality = 0
 isElite = false
 worldQuestType = 2
 tagID = 109
 displayExpiration = true
 tagName = "Weltquest"
}
tagName = nil
worldQuestType = nil
rarity = nil
isElite = nil
tradeskillLineIndex = nil
color = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = GameTooltip {
 BottomLeftCorner = <unnamed> {
 }
 OnBackdropLoaded = <function> defined @SharedXML\Backdrop.lua:205
 SetExistingSocketGem = <function> defined =[C]:-1
 SetHyperlink = <function> defined =[C]:-1
 RightEdge = <unnamed> {
 }
 ClearBackdrop = <function> defined @SharedXML\Backdrop.lua:335
 SetLootItem = <function> defined =[C]:-1
 numMoneyFrames = 1
 SetBuybackItem = <function> defined =[C]:-1
 SetMerchantItem = <function> defined =[C]:-1
 SetupTextureCoordinates = <function> defined @SharedXML\Backdrop.lua:267
 BottomOverlay = <unnamed> {
 }
 SetPoint = <function> defined @MUI_Core\Modules\MovableFrames.lua:125
 GetEdgeSize = <function> defined @SharedXML\Backdrop.lua:241
 updateTooltip = 0.200000
 SetInventoryItem = <function> defined =[C]:-1
 TopEdge = <unnamed> {
 }
 SetLootRollItem = <function> defined =[C]:-1
 SetBagItem = <function> defined =[C]:-1
 BottomRightCorner = <unnamed> {
 }
 SetBackdropColor = <function> defined @SharedXML\Backdrop.lua:452
 LeftEdge = <unnamed> {
 }
 textLeft1Font = "GameTooltipHeaderText"
 progressBarPool = <table> {
 }
 SetGuildBankItem = <function> defined =[C]:-1
 hasMoney = 1
 SetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:475
 Hide = <function> defined =[C]:-1
 textRight2Font = "GameTooltipText"
 ApplyBackdrop = <function> defined @SharedXML\Backdrop.lua:347
 SetBackdrop = <function> defined @SharedXML\Backdrop.lua:382
 TopOverlay = <unnamed> {
 }
 GetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:462
 GetBackdrop = <function> defined @SharedXML\Backdrop.lua:400
 SetItemByID = <function> defined =[C]:-1
 SetQuestItem = <function> defined =[C]:-1
 SetBo
commented

any news about this ? i keep getting on loop now

commented

Here is a FIX

commented

Thanks for your efforts in developing this awesome add-on. :) Here's a stack trace I'm getting, just in case it helps.

Message: ...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:492: attempt to index local 'color' (a nil value)
Time: Sat Oct 24 08:56:52 2020
Count: 3
Stack: ...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:492: attempt to index local 'color' (a nil value)
[string "@Interface\AddOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua"]:492: in function <...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:476>
[string "@Interface\AddOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua"]:609: in function <...dOns\WorldQuestTracker\WorldQuestTracker_Tracker.lua:600>

Locals: self = WorldQuestTracker_Tracker1 {
 0 = <userdata>
 Shadow = <unnamed> {
 }
 QuestInfomation = <table> {
 }
 OnBackdropLoaded = <function> defined @Interface\SharedXML\Backdrop.lua:205
 worldQuest = true
 GetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:443
 SetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:475
 TimeLeft = <unnamed> {
 }
 ApplyBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:347
 SetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:382
 ClearBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:335
 GetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:462
 GetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:400
 RightBackground = <unnamed> {
 }
 SetBorderBlendMode = <function> defined @Interface\SharedXML\Backdrop.lua:319
 Arrow = <unnamed> {
 }
 NextTimeUpdate = 53.798000
 NextArrowUpdate = -0.000000
 NextPositionUpdate = -5.702000
 questX = 0.296375
 SetupTextureCoordinates = <function> defined @Interface\SharedXML\Backdrop.lua:267
 OnBackdropSizeChanged = <function> defined @Interface\SharedXML\Backdrop.lua:235
 HasBackdropInfo = <function> defined @Interface\SharedXML\Backdrop.lua:331
 ArrowDistance = <unnamed> {
 }
 Icon = <unnamed> {
 }
 IconButton = WorldQuestTracker_Tracker1IconButton {
 }
 Circle = <unnamed> {
 }
 GetEdgeSize = <function> defined @Interface\SharedXML\Backdrop.lua:241
 RewardAmount = <unnamed> {
 }
 numObjectives = 1
 info = <table> {
 }
 TomTomTrackerIcon = <unnamed> {
 }
 questID = 56387
 AnimationFrame = WorldQuestTracker_Tracker1Animation {
 }
 Zone = <table> {
 }
 questMapID = 1355
 Title = <table> {
 }
 YardsDistance = <unnamed> {
 }
 SetupPieceVisuals = <function> defined @Interface\SharedXML\Backdrop.lua:299
 SetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:452
 SuperTracked = <unnamed> {
 }
 questY = 0.497407
}
questID = 56387
title = "Ravenous Scalespawn"
factionID = 2373
capped = true
tagID = <table> {
 quality = 0
 isElite = false
 worldQuestType = 4
 tagID = 115
 displayExpiration = true
 tagName = "Battle Pet World Quest"
}
tagName = nil
worldQuestType = nil
rarity = nil
isElite = nil
tradeskillLineIndex = nil
color = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = GameTooltip {
 BottomLeftCorner = <unnamed> {
 }
 OnBackdropLoaded = <function> defined @Interface\SharedXML\Backdrop.lua:205
 textLeft1Font = "GameTooltipHeaderText"
 ItemTooltip = <unnamed> {
 }
 statusBarPool = <table> {
 }
 hasMoney = 1
 SetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:475
 RightEdge = <unnamed> {
 }
 textRight2Font = "GameTooltipText"
 0 = <userdata>
 BottomEdge = <unnamed> {
 }
 SetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:382
 ClearBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:335
 TopOverlay = <unnamed> {
 }
 GetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:462
 GetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:400
 SetUnitDebuff = <function> defined =[C]:-1
 GetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:443
 TopLeftCorner = <unnamed> {
 }
 SetQuestItem = <function> defined =[C]:-1
 TextRight1 = GameTooltipTextRight1 {
 }
 SetBorderBlendMode = <function> defined @Interface\SharedXML\Backdrop.lua:319
 ApplyB