[Bug] attempt to compare number with nil
Silvereyes1372 opened this issue ยท 2 comments
As requested, I am making another post regarding this error.
I received this error when I logged in. It may be related to MAX_PLAYER_LEVEL being nil.
7x .../XIV_Databar_Continued/Mainline/modules/currency.lua:76: attempt to compare number with nil
[string "@XIV_Databar_Continued/Mainline/modules/currency.lua"]:76: in function `Refresh'
[string "@XIV_Databar_Continued/Mainline/modules/currency.lua"]:41: in function <.../XIV_Databar_Continued/Mainline/modules/currency.lua:32>
[string "=[C]"]: ?
[string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...aceMasque/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:536: in function `EnableAddon'
[string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...aceMasque/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>
[string "=[C]"]: ?
[string "=[C]"]: in function `LoadAddOn'
[string "@Blizzard_UIParent/Mainline/UIParent.lua"]:422: in function `UIParentLoadAddOn'
[string "@Blizzard_UIParent/Mainline/UIParent.lua"]:627: in function `MajorFactions_LoadUI'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:103: in function `SetUpMajorFactionList'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:96: in function `RefreshMajorFactionList'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:91: in function `RefreshOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:83: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:79>
[string "=[C]"]: in function `CreateFrame'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function `CreateOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:78: in function `RefreshExpansionOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:37: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:35>
Locals:
self = <table> {
curText = <table> {
}
modules = <table> {
}
defaultModuleLibraries = <table> {
}
xpBarBg = Texture {
}
xpText = FontString {
}
xpIcon = Texture {
}
xpFrame = Button {
}
currencyFrame = Frame {
}
curIcons = <table> {
}
curButtons = <table> {
}
intToOpt = <table> {
}
name = "XIV_Databar_Continued_CurrencyModule"
orderedModules = <table> {
}
baseName = "XIV_Databar_Continued"
xpBar = StatusBar {
}
hooks = <table> {
}
enabledState = true
rerollItems = <table> {
}
defaultModuleState = true
moduleName = "CurrencyModule"
}
db = <table> {
modules = <table> {
}
selectedHearthstones = <table> {
}
general = <table> {
}
color = <table> {
}
text = <table> {
}
hearthstonesList = <table> {
}
dalaran_hs_string = "Pierre de foyer de Dalaran"
}
iconSize = 15
(*temporary) = 70
(*temporary) = nil
(*temporary) = 3
(*temporary) = Button {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
xb = <table> {
defaults = <table> {
}
modules = <table> {
}
baseName = "XIV_Databar_Continued"
fontFlags = <table> {
}
defaultModuleState = true
frames = <table> {
}
miniTextPosition = "TOP"
db = <table> {
}
enabledState = true
Changelog = <table> {
}
name = "XIV_Databar_Continued"
orderedModules = <table> {
}
LSM = <table> {
}
constants = <table> {
}
timerRefresh = false
defaultModuleLibraries = <table> {
}
L = <table> {
}
}
Heya, version 3.0.2 should fix that issue ๐
Thank you again for the feedbacks and enjoy the start of the new expac !