Lua error on 7.2.5
Tykwer opened this issue ยท 3 comments
Hi,
Thanks so much for maintaining this addon. I am getting the following error as of 7.2.5 and was wondering if you would be willing to take a look at a fix.
Date: 2017-06-14 02:50:00
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\SavedInstances\SavedInstances.lua line 1816:
attempt to index local 'texture' (a number value)
Debug:
SavedInstances\SavedInstances.lua:1816: QuestIsDarkmoonMonthly()
SavedInstances\SavedInstances.lua:1841:
SavedInstances\SavedInstances.lua:1835
[C]: GetQuestReward()
..\FrameXML\QuestFrame.lua:161:
..\FrameXML\QuestFrame.lua:147
Locals:
self =
GetCurrentMapAreaID = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1823
GetServerOffset = defined @interface\AddOns\SavedInstances\SavedInstances.lua:773
oi_cache =
}
questdebug = defined @interface\AddOns\SavedInstances\SavedInstances.lua:401
QuestInfo = defined @interface\AddOns\SavedInstances\SavedInstances.lua:333
pvpdesertids =
}
icon =
}
histLiveCount = 0
FindInstance = defined @interface\AddOns\SavedInstances\SavedInstances.lua:981
UpdateToonData = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1573
GetRegion = defined @interface\AddOns\SavedInstances\SavedInstances.lua:789
InGroup = defined @interface\AddOns\SavedInstances\SavedInstances.lua:2830
chatMsg = defined @interface\AddOns\SavedInstances\SavedInstances.lua:343
CategorySize = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1068
formatNumber = defined @interface\AddOns\SavedInstances\SavedInstances.lua:459
GetNextDailyResetTime = defined @interface\AddOns\SavedInstances\SavedInstances.lua:814
OrderedCategories = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1261
instanceException = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1166
db =
}
diff_strings =
}
LFRInstances =
}
transInstance =
}
IsDetached = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3363
config =
}
QuestIsDarkmoonMonthly = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1809
SkinFrame = defined @interface\AddOns\SavedInstances\SavedInstances.lua:687
Categories =
}
histTextUpdate = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3034
HistoryEvent = defined @interface\AddOns\SavedInstances\SavedInstances.lua:2865
SetupVersion = defined @interface\AddOns\SavedInstances\SavedInstances.lua:2606
InstanceCategory = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1048
histReapTime = 3600
resetDetect = SavedInstancesResetDetectHiddenFrame {
}
HideDetached = defined @interface\AddOns\SavedInstances\SavedInstances.lua:3366
currency_sort = defined @interface\AddOns\SavedInstances\SavedInstances.lua:2477
updatetooltip_throttle = 0.26700001396239
UpdateInstanceData = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1360
headerfont = SavedInstancedTooltipHeaderFont {
}
GetNextWeeklyResetTime = defined @interface\AddOns\SavedInstances\SavedInstances.lua:873
WorldBosses =
}
revision = 550
oc_cache =
}
region = "US"
histOldest = "n/a"
resetDays =
}
core =
}
activeHolidays =
}
LDB =
}
scaleCache =
}
PlayedTime = 1497433763
UpdateInstance = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1476
delayUpdate = 1497433783
debug = defined @interface\AddOns\SavedInstances\SavedInstances.lua:347
firstupdate = false
LookupInstance = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1017
GetSeasonCurrency = defined @interface\AddOns\SavedInstances\SavedInstances.lua:2375
version = "7.0.8"
idtext = defined @interface\AddOns\SavedInstances\config.lua:45
Indicators =
}
UpdateCurrency = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1759
OrderedInstances = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1248
updateSpellTip = defined @interface\AddOns\SavedInstances\SavedInstances.lua:1554
currency =
}
normalizeName = defined @interface\AddOns\SavedInstances\SavedInstances.lua:955
BonusRollShow = defined @interface\AddOns\SavedInstances\SavedInstances.lua:4754
instancesUpdated = true
L =
AddOns:
(truncated)
Thanks for your help!
Matt
Search for
if texture:find("ticket_darkmoon") then
replace it with
if texture == 134481 then
This should fix the issue
Credit goes to
https://mods.curse.com/addons/wow/saved_instances?comment=818