SilverDragon - Rare Scanner

SilverDragon - Rare Scanner

20M Downloads

Lua error "attempt to compare nil with number"

Pingumania opened this issue ยท 1 comments

commented

Not sure how to reproduce this. Happened in Zereth Mortis.

1x SilverDragon\util.lua:263: attempt to compare nil with number
[string "@SilverDragon\util.lua"]:263: in function `GetClosestLocationForMob'
[string "@SilverDragon\targets\module.lua"]:235: in function `GetPositionFromData'
[string "@SilverDragon\targets\popup.lua"]:440: in function <SilverDragon\targets\popup.lua:431>

Locals:
self = <table> {
 GetMobLabel = <function> defined @SilverDragon\core.lua:364
 GetMobByCoord = <function> defined @SilverDragon\core.lua:351
 GetMobInfo = <function> defined @SilverDragon\core.lua:297
 EnableModule = <function> defined @BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
 modules = <table> {
 }
 CancelTimer = <function> defined @Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:147
 IterateEmbeds = <function> defined @BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
 RegisterTreasureData = <function> defined @SilverDragon\core.lua:120
 IsMobInPhase = <function> defined @SilverDragon\core.lua:338
 GetXY = <function> defined @SilverDragon\util.lua:242
 Printf = <function> defined @BetterWardrobe\Libs\AceConsole-3.0\AceConsole-3.0.lua:69
 SetDefaultModulePrototype = <function> defined @BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
 defaultModuleState = true
 IsMobInZone = <function> defined @SilverDragon\core.lua:304
 IsEnabled = <function> defined @BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
 ScheduleTimer = <function> defined @Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:94
 DisableModule = <function> defined @BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
 DebugF = <function> defined @SilverDragon\core.lua:29
 RegisterMessage = <function> defined @BetterWardrobe\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 GetArgs = <function> defined @BetterWardrobe\Libs\AceConsole-3.0\AceConsole-3.0.lua:144
 ShowDebugWindow = <function> defined @SilverDragon\core.lua:33
 db = <table> {
 }
 SetEnabledState = <function> defined @BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
 enabledState = true
 RenderStringList = <function> defined @SilverDragon\util.lua:88
 RegisterEvent = <function> defined @BetterWardrobe\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 zone_names = <table> {
 }
 IterateModules = <function> defined @BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:437
 events = <table> {
 }
 NAMESPACE = <table> {
 }
 datasources = <table> {
 }
 RegisterChatCommand = <function> defined @BetterWardrobe\Libs\AceConsole-3.0\AceConsole-3.0.lua:85
 treasuresources = <table> {
 }
 GetModule = <function> defined @BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:210
 defaultModuleLibraries = <table> {
 }
 TimeLeft = <function> defined @Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:172
 SetCustom = <function> defined @SilverDragon\core.lua:283
 UnregisterChatCommand = <function> defined @BetterWardrobe\Libs\AceConsole-3.0\AceConsole-3.0.lua:111
 ScheduleRepeatingTimer = <function> defined @Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:129
 CancelAllTimers = <function> defined @Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:160
 baseName = "SilverDragon"
 GetName = <function> defined @BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:279
 RegisterCallback = <function> defined @BetterWardrobe\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 GetClosestLocationForMob = <function> defined @SilverDragon\util.lua:246
 IdForMob = <function> defined @SilverDragon\util.lua:208
 UnregisterCallback = <function> defined @BetterWardrobe\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 GetCoord = <function> defined @SilverDragon\util.lua:238
 NameForMob = <function> defined @SilverDragon\util.lua:189
 orderedModules = <table> {
 }
 FormatLastSeen = <function> defined @SilverDragon\util.lua:146
 Disable = <function> defined @BetterWardrobe\Libs\Ace
commented

Should be fixed by 7908a73.