kemayo / wow-silverdragon

World of Warcraft addon to find rare mobs
24 stars 11 forks source link

LUA error on startup #255

Closed hollo6 closed 12 months ago

hollo6 commented 12 months ago

With v2023.7-4-g04418b8, getting the following LUA error on every login/reload:

3x SilverDragon/core.lua:138: table index is nil [string "@SilverDragon/core.lua"]:138: in function `RegisterMobData' [string "@SilverDragon/Data/Dragonflight/module.lua"]:27: in main chunk

Locals: self =

{ PlayerIsInteractive = defined @SilverDragon/core.lua:504 SetDefaultModuleLibraries = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:363 GetMobByCoord = defined @SilverDragon/core.lua:418 GetMobInfo = defined @SilverDragon/core.lua:364 EnableModule = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:328 modules =
{ } CancelTimer = defined @ArkInventory/Externals/Ace3/AceTimer/AceTimer-3.0.lua:147 IterateEmbeds = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:438 RegisterTreasureData = defined @SilverDragon/core.lua:143 IsMobInPhase = defined @SilverDragon/core.lua:405 GetXY = defined @SilverDragon/util.lua:285 Printf = defined @SellJunk/libs/AceConsole-3.0/AceConsole-3.0.lua:65 SetDefaultModulePrototype = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:405 defaultModuleState = true IsMobInZone = defined @SilverDragon/core.lua:371 IsEnabled = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:447 ScheduleTimer = defined @ArkInventory/Externals/Ace3/AceTimer/AceTimer-3.0.lua:94 DisableModule = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:346 DebugF = defined @SilverDragon/core.lua:32 RegisterMessage = defined @TomTom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80 GetArgs = defined @SellJunk/libs/AceConsole-3.0/AceConsole-3.0.lua:140 ShowDebugWindow = defined @SilverDragon/core.lua:36 RegisterHandyNotesData = defined @SilverDragon/core.lua:149 SetEnabledState = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:420 enabledState = true RenderStringList = defined @SilverDragon/util.lua:113 RegisterEvent = defined @TomTom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80 zone_names =
{ } IterateModules = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:433 events =
{ } NAMESPACE =
{ } datasources =
{ } RegisterChatCommand = defined @SellJunk/libs/AceConsole-3.0/AceConsole-3.0.lua:81 treasuresources =
{ } GetModule = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:206 defaultModuleLibraries =
{ } TimeLeft = defined @ArkInventory/Externals/Ace3/AceTimer/AceTimer-3.0.lua:172 SetCustom = defined @SilverDragon/core.lua:350 UnregisterChatCommand = defined @SellJunk/libs/AceConsole-3.0/AceConsole-3.0.lua:107 ScheduleRepeatingTimer = defined @ArkInventory/Externals/Ace3/AceTimer/AceTimer-3.0.lua:129 CancelAllTimers = defined @ArkInventory/Externals/Ace3/AceTimer/AceTimer-3.0.lua:160 GetName = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:275 RegisterCallback = defined @TomTom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80 GetClosestLocationForMob = defined @SilverDragon/util.lua:289 IdForMob = defined @SilverDragon/util.lua:251 UnregisterCallback = defined @TomTom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143 GetCoord = defined @SilverDragon/util.lua:281 NameForMob = defined @SilverDragon/util.lua:248 o

kemayo commented 12 months ago

Thanks for letting me know! That should be fixed now.

hollo6 commented 12 months ago

Indeed it is! Thanks!