Open Nils89 opened 1 year ago
are you sure you're using the latest version?
------ Original Message ------ From: "Glow" @.> To: "Tercioo/World-Quest-Tracker" @.> Cc: "Subscribed" @.***> Sent: 29-Nov-22 6:55:59 AM Subject: [Tercioo/World-Quest-Tracker] Lua error with newest update (Issue #66)
Hi got this error during the game:
1246x bad argument #2 https://github.com/Tercioo/World-Quest-Tracker/issues/2 to '?' (Usage: C_Timer.After(seconds, callback)) [string "=[C]"]: in function After' [string @./WorldQuestTracker_Core.lua"]:377: in function <WorldQuestTracker/WorldQuestTracker_Core.lua:376> [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: in function Hide' [string @./UIParent.lua"]:2828: in function SetUIPanel' [string @./UIParent.lua"]:2859: in function MoveUIPanel' [string @./UIParent.lua"]:2902: in function HideUIPanel' [string @./UIParent.lua"]:2556: in function <FrameXML/UIParent.lua:2548> [string "=[C]"]: in function SetAttribute' [string @./UIParent.lua"]:3170: in function HideUIPanel' [string @./UIParent.lua"]:3326: in function CloseWindows' [string @./UIParent.lua"]:3364: in function <FrameXML/UIParent.lua:3362> [string "=[C]"]: in function securecall' [string @.***/UIParent.lua"]:4013: in function ToggleGameMenu'
Locals: (*temporary) = "bad argument #2 https://github.com/Tercioo/World-Quest-Tracker/issues/2 to '?' (Usage: C_Timer.After(seconds, callback))"
— Reply to this email directly, view it on GitHub https://github.com/Tercioo/World-Quest-Tracker/issues/66, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEVKWHXX4ZOBEZRZLZTH6DWKXHK7ANCNFSM6AAAAAASOI4UTE. You are receiving this because you are subscribed to this thread.Message ID: @.***>
toc file:
thank you, I'll take a look again tonight
------ Original Message ------ From: "Glow" @.> To: "Tercioo/World-Quest-Tracker" @.> Cc: "Tercio Jose" @.>; "Comment" @.> Sent: 29-Nov-22 9:49:52 AM Subject: Re: [Tercioo/World-Quest-Tracker] Lua error with newest update (Issue #66)
toc file:
Interface: 100000Title: World Quest TrackerNotes: An addon by Terciob. Make more easy to see world questsSavedVariables: WQTrackerDBSavedVariablesPerCharacter: WQTrackerDBChrX-Curse-Project-ID: 100610X-Wago-ID: lQNlrEKeVersion: v10.0.2.455-Retail — Reply to this email directly, view it on GitHub https://github.com/Tercioo/World-Quest-Tracker/issues/66#issuecomment-1330604450, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEVKWBYUSKKR2EW5CB47PTWKX3XBANCNFSM6AAAAAASOI4UTE. You are receiving this because you commented.Message ID: @.***>
with the latest update is is not gone, only the lines are changed:
644x bad argument #2 to '?' (Usage: C_Timer.After(seconds, callback)) string "=[C]": in function `After' [string "@WorldQuestTracker/WorldQuestTracker_Core.lua"]:379: in function <WorldQuestTracker/WorldQuestTracker_Core.lua:378>
string "=[C]": in function Hide' [string "@FrameXML/UIParent.lua"]:2837: in function
SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2917: in function HideUIPanel' [string "@FrameXML/UIParent.lua"]:2565: in function <FrameXML/UIParent.lua:2557> [string "=[C]"]: in function
SetAttribute'
[string "@FrameXML/UIParent.lua"]:3179: in function HideUIPanel' [string "@FrameXML/QuestLogOwnerMixin.lua"]:101: in function
SetDisplayState'
[string "@FrameXML/QuestLogOwnerMixin.lua"]:41: in function HandleUserActionToggleSelf' [string "@Blizzard_WorldMap/Blizzard_WorldMap.lua"]:440: in function <...rfaceBlizzard_WorldMap/Blizzard_WorldMap.lua:439> [string "=[C]"]: in function
ToggleWorldMap'
ok seams to be a add-on skin problem from my add-on, I hook to that function and that seams to cause this issue but I do not know why:
hooksecurefunc(WorldQuestTrackerAddon, "RefreshTrackerWidgets", function() addWQTTrackerQuest(fWQT) end)
@Tercioo ok this error can be fixed if you change the C_Timer.After function which called the "RefreshTrackerWidgets" to this one:
C_Timer.After (0.2, function() WorldQuestTracker.RefreshTrackerWidgets() end)
Can you maybe do this in this two places? WorldQuestTracker_Core.lua line 380 & 437
Thanks in advance :)
Hi got this error during the game:
1246x bad argument #2 to '?' (Usage: C_Timer.After(seconds, callback)) string "=[C]": in function `After' [string "@WorldQuestTracker/WorldQuestTracker_Core.lua"]:377: in function <WorldQuestTracker/WorldQuestTracker_Core.lua:376>
string "=[C]": in function
Hide' [string "@FrameXML/UIParent.lua"]:2828: in function
SetUIPanel' [string "@FrameXML/UIParent.lua"]:2859: in functionMoveUIPanel' [string "@FrameXML/UIParent.lua"]:2902: in function
HideUIPanel' [string "@FrameXML/UIParent.lua"]:2556: in function <FrameXML/UIParent.lua:2548> string "=[C]": in functionSetAttribute' [string "@FrameXML/UIParent.lua"]:3170: in function
HideUIPanel' [string "@FrameXML/UIParent.lua"]:3326: in functionCloseWindows' [string "@FrameXML/UIParent.lua"]:3364: in function <FrameXML/UIParent.lua:3362> [string "=[C]"]: in function
securecall' [string "@FrameXML/UIParent.lua"]:4013: in function `ToggleGameMenu'Locals: (*temporary) = "bad argument #2 to '?' (Usage: C_Timer.After(seconds, callback))"