Lua Error Upon Turning In Some Quests
Tykwer opened this issue · 2 comments
I have been coming across this error when turning in my weeklies on the Vindicar. Thanks for your help!
Date: 2018-07-20 16:43:21
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\SavedInstances\SavedInstances.lua line 1978:
attempt to call global 'GetCurrentMapAreaID' (a nil value)
Debug:
SavedInstances\SavedInstances.lua:1978: GetCurrentMapAreaID()
SavedInstances\SavedInstances.lua:2043:
SavedInstances\SavedInstances.lua:1989
[C]: GetQuestReward()
..\FrameXML\QuestFrame.lua:161:
..\FrameXML\QuestFrame.lua:147
Locals:
self =
GetCurrentMapAreaID = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1977
GetServerOffset = defined @interface\AddOns\SavedInstances\SavedInstances.lua:918
oi_cache =
}
questdebug = defined @interface\AddOns\SavedInstances\SavedInstances.lua:523
QuestInfo = defined @interface\AddOns\SavedInstances\SavedInstances.lua:453
pvpdesertids =
}
icon =
}
FindInstance = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1094
UpdateToonData = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1701
GetRegion = defined @interface\AddOns\SavedInstances\SavedInstances.lua:934
InGroup = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3116
chatMsg = defined @interface\AddOns\SavedInstances\SavedInstances.lua:463
CategorySize = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1181
formatNumber = defined @interface\AddOns\SavedInstances\SavedInstances.lua:582
GetNextDailyResetTime = defined @interface\AddOns\SavedInstances\SavedInstances.lua:959
OrderedCategories = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1375
instanceException = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1280
db =
}
diff_strings =
}
LFRInstances =
}
transInstance =
}
IsDetached = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3651
config =
}
QuestIsDarkmoonMonthly = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1963
SkinFrame = defined @interface\AddOns\SavedInstances\SavedInstances.lua:832
Categories =
}
histTextUpdate = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3320
HistoryEvent = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3151
InstanceCategory = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1161
histReapTime = 3600
resetDetect = SavedInstancesResetDetectHiddenFrame {
}
HideDetached = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3654
UpdateInstanceData = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1474
GetNextWeeklyResetTime = defined @interface\AddOns\SavedInstances\SavedInstances.lua:985
WorldBosses =
}
region = "US"
core =
}
activeHolidays =
}
LDB =
}
plantName = defined @interface\AddOns\SavedInstances\SavedInstances.lua:2211
PlayedTime = 1532130177
UpdateInstance = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1604
resetDays =
}
delayUpdate = 1532130178
debug = defined @interface\AddOns\SavedInstances\SavedInstances.lua:468
LookupInstance = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1130
oc_cache =
}
histLimit = 10
Indicators =
}
version = "8.0.1"
UpdateCurrency = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1913
OrderedInstances = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1362
updateSpellTip = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1682
currency =
}
idtext = defined @interface\AddOns\SavedInstances\config.lua:42
normalizeName = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1068
instancesUpdated = true
L =
}
specialQuests = defined @interface\AddOns\SavedInstances\SavedInstances.lua:316
dbmhook = true
BonusRollShow = defined @interface\AddOns\SavedInstances\SavedInstances.lua:5146
scaleCache =
}
ShowDetached = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3665
HistoryUpdate = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3235
ColoredToon = defined @interface\Ad
AddOns:
SavedInstances, v8.0.1
(Truncated)
My mistake. This was one of the other map functions that broke. I was confusing with a different one. I have added a fix for this. You can wait till others review my changes and merge it. If it's super annoying, you can grab from my fork temporarily: https://github.com/Roddd/SavedInstances/blob/master/SavedInstances/SavedInstances.lua
The pull request for the fix here is: #136