Questie

Questie

116M Downloads

Lua Error while Questing

Gogo1951 opened this issue ยท 8 comments

commented

1x ...ceQuestie/Modules/Tracker/QuestieTracker.lua:1464: attempt to perform arithmetic on a nil value
[string "@Questie/Modules/Tracker/QuestieTracker.lua"]:1464: in function UpdateFormatting' [string "@Questie/Modules/Tracker/QuestieTracker.lua"]:1381: in function Update'
[string "@Questie/Modules/Tracker/TrackerUtils.lua"]:760: in function `func'
[string "@Questie/Modules/Libs/QuestieCombatQueue.lua"]:25: in function <...eQuestie/Modules/Libs/QuestieCombatQueue.lua:17>

Locals:
self =

{
UpdateAchieveTrackerCache = defined @Questie/Modules/Tracker/QuestieTracker.lua:1834
MoveDurabilityFrame = defined @Questie/Modules/Tracker/QuestieTracker.lua:266
Enable = defined @Questie/Modules/Tracker/QuestieTracker.lua:339
Expand = defined @Questie/Modules/Tracker/QuestieTracker.lua:387
IsTrackedAchievement = defined =[C]:-1
UIPanelScrollBar_OnValueChanged = defined @SharedXML/SecureUIPanelTemplates.lua:63
RemoveQuestWatch = defined @Questie/Modules/Tracker/QuestieTracker.lua:1695
started = true
alreadyHooked = true
AQW_Insert = defined @Questie/Modules/Tracker/QuestieTracker.lua:1748
UntrackAchieveId = defined @Questie/Modules/Tracker/QuestieTracker.lua:1866
Initialize = defined @Questie/Modules/Tracker/QuestieTracker.lua:65
GetNumTrackedAchievements = defined =[C]:-1
Disable = defined @Questie/Modules/Tracker/QuestieTracker.lua:351
GetNumQuestWatches = defined =[C]:-1
RemoveTrackedAchievement = defined @Questie/Modules/Tracker/QuestieTracker.lua:1819
Unhook = defined @Questie/Modules/Tracker/QuestieTracker.lua:1518
RemoveQuest = defined @Questie/Modules/Tracker/QuestieTracker.lua:1680
UntrackQuestId = defined @Questie/Modules/Tracker/QuestieTracker.lua:1719
QuestItemLooted = defined @Questie/Modules/Tracker/QuestieTracker.lua:301
private =
{
}
CheckDurabilityAlertStatus = defined @Questie/Modules/Tracker/QuestieTracker.lua:282
alreadyHookedSecure = true
last_aqw = 26
HookBaseTracker = defined @Questie/Modules/Tracker/QuestieTracker.lua:1549
UpdateFormatting = defined @Questie/Modules/Tracker/QuestieTracker.lua:1429
Update = defined @Questie/Modules/Tracker/QuestieTracker.lua:394
HasQuest = defined @Questie/Modules/Tracker/QuestieTracker.lua:319
Toggle = defined @Questie/Modules/Tracker/QuestieTracker.lua:368
Collapse = defined @Questie/Modules/Tracker/QuestieTracker.lua:379
TrackAchieve = defined @Questie/Modules/Tracker/QuestieTracker.lua:1873
UpdateWidth = defined @Questie/Modules/Tracker/QuestieTracker.lua:1496
IsQuestWatched = defined =[C]:-1
ResetDurabilityFrame = defined @Questie/Modules/Tracker/QuestieTracker.lua:259
ResetLocation = defined @Questie/Modules/Tracker/QuestieTracker.lua:244
}
trackerVarsCombined = 305
(*temporary) = defined =[C]:-1
(*temporary) = Frame {
0 =
}
(*temporary) = 305
(*temporary) = nil
(*temporary) = nil
(*temporary) = Button {
0 =
SetVerticalPadding = defined @Questie/Modules/Tracker/TrackerLinePool.lua:151
SetQuest = defined @Questie/Modules/Tracker/TrackerLinePool.lua:95
SetMode = defined @Questie/Modules/Tracker/TrackerLinePool.lua:920
expandZone = Button {
}
SetZone = defined @Questie/Modules/Tracker/TrackerLinePool.lua:86
label = FontString {
}
SetObjective = defined @Questie/Modules/Tracker/TrackerLinePool.lua:113
SetOnClick = defined @Questie/Modules/Tracker/TrackerLinePool.lua:165
expandQuest = Button {
}
mode = "zone"
OnUpdate = defined @Questie/Modules/Tracker/TrackerLinePool.lua:117
}
(*temporary) = "attempt to perform arithmetic on a nil value"
allowFormattingUpdate = true
TrackerLinePool =
{
GetLine = <funct

commented

Based on your debug stack [string "@Questie/Modules/Tracker/TrackerUtils.lua"]:760: in function func'`

This line in within the questProximityTimer where QuestieTracker:Update() is called. It's also wrapped in the CombatQueue so it wouldn't have fired an update while in combat.

I goofed with this on a new toon for several quests while using the Proximity sort feature. No issues...

commented

There was another bug I just fixed that pertained to the Sort by Proximity. Maybe my fix fixes this one too. I can't tell how it was triggered simply by looking at the debug stack. There was also an issue where the tracker was being updated and WHILE it was updating, player enters combat, and the tracker goes nuts. I.E. starts painting duplicate entries. I just fixed this one too. It looked like one issue, but it was in fact two separate issues.

commented

Looting a quest object while in combat?

commented

Classic wow?

commented

Wrath Classic.

commented

Thanks!

commented

@Gogo1951 new version of Questie is out. Please retest. :)

commented

I didn't seen this bug yesterday. Cheers!