Closed artlessknave closed 3 years ago
Happening to me too.
Changing line 188 from
if not mob.hidden then
to
if not mob.hidden and mob.locations ~= nil then
seems to stop it from throwing the error.
Adding
and mob.locations ~= nil
makes it skip the loop if there's no locations for that mob... Though why the mob doesn't have any locations is the real issue.
Date: 2019-10-20 04:50:57 ID: 1 Error occured in: Global Count: 1 Message: ..\AddOns\SilverDragon\mobs.lua line 189: bad argument #1 to 'pairs' (table expected, got nil) Debug: (tail call): ?
SilverDragon\mobs.lua:189: BuildMobList() SilverDragon\mobs.lua:114: SilverDragon\mobs.lua:50
...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:70: ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:65 ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:527: EnableAddon() ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:540: EnableAddon() ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:620: ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:605
..\FrameXML\UIParent.lua:448: UIParentLoadAddOn() ..\FrameXML\UIParent.lua:491: CombatLog_LoadUI() ..\FrameXML\UIParent.lua:1210: ..\FrameXML\UIParent.lua:1106 Locals: None AddOns: Swatter, v8.2.6377 (SwimmingSeadragon) WowheadLooter, v80200 AdvancedInterfaceOptions, v1.3.3 Altoholic, vr191 AltoholicCountHider, v1.07 Atlas, vv1.45.01.11302 AtlasBurningCrusade, vv1.45.00 AtlasCataclysm, vv1.45.00 AtlasLegion, vv1.45.01 AtlasMistsofPandaria, vv1.45.00 AtlasWarlordsofDraenor, vv1.45.00 AtlasWrathoftheLichKing, vv1.45.00 AtlasLoot, vv8.10.00 AtlasLootBattleforAzeroth, vv8.10.00 AtlasLootBurningCrusade, vv8.10.00 AtlasLootCataclysm, vv8.10.00 AtlasLootClasses, vv3.1 AtlasLootClassic, vv8.10.00 AtlasLootLegion, vv8.10.00 AtlasLootMistsofPandaria, vv8.10.00 AtlasLootWarlordsofDraenor, vv8.10.00 AtlasLootWrathoftheLichKing, vv8.10.00 AtlasMajorCitiesEnhanced, vv1.16 AucAdvanced, v8.2.6430 (SwimmingSeadragon) AucFilterBasic, v8.2.6364 (SwimmingSeadragon) AucStatHistogram, v8.2.6366 (SwimmingSeadragon) AucStatiLevel, v8.2.6370 (SwimmingSeadragon) AucStatPurchased, v8.2.6367 (SwimmingSeadragon) AucStatSimple, v8.2.6399 (SwimmingSeadragon) AucStatStdDev, v8.2.6369 (SwimmingSeadragon) AucUtilFixAH, v8.2.6371 (SwimmingSeadragon) AutoGear, v BagBrother, v Bagnon, v8.2.16 BagnonBoE, v1.0 BagnonChampion, v3.0 BagnonCurrencies, v1.0.0 BagnonFacade, v8.2.0 BagnonGarbage, v1.0 BagnonItemInfo, v1.0 BagnonItemLevel, v1.0 BagnonRequiredLevel, v1.9 BagnonScrap, v8.2.0 BagnonUncollected, v1.0 BankStack, vv11302.0 Bartender4, v4.8.8 BeanCounter, v8.2.6422 (SwimmingSeadragon) CensusPlus, v8.0. DataStore, vr66 DataStoreAchievements, vr48 DataStoreAgenda, vr30 DataStoreAuctions, vr51 DataStoreCharacters, vr44 DataStoreContainers, vr60 DataStoreCrafts, vr83 DataStoreCurrencies, vr39 DataStoreGarrisons, vr25 DataStoreInventory, vr54 DataStoreMails, vr53 DataStorePets, vr45 DataStoreQuests, vr47 DataStoreReputations, vr44 DataStoreSpells, vr33 DataStoreStats, vr32 DataStoreTalents, vr62 FriendsShare, v GatherMate2, v1.45.5 GatherMateSharing, vv1.12 HandyNotes, vv1.5.9 HandyNotesBattleForAzerothTreasures, v1 HandyNotesBrokenShore, vv1.31 HandyNotesDraenorTreasures, v1.21 HandyNotesEliteBattlePets, v1 HandyNotesLegionRaresTreasures, v1.1 HandyNotesLegionTownPortals, v0.0.1 HandyNotesLegionTreasures, v1 HandyNotesTimelessTreasures, v1.1.0 HandyNotesWarfrontRares, v0.5.0 HealBot, v8.2.5.3 HealBotTips, v8.2.5.3 HunterData, v1.0.4.1 Immersion, v1.2.2 ImprovedOptionsFrames, v1.5.6 ImprovedStableFrame, v3.3.1 LeatrixMaps, v8.2.09 LeatrixPlus, v8.2.12 LiteMount, v8.2.10 Mapster, v1.8.5 Masque, v8.2.7 MBB, v4.0 MonkeyBuddy, v MonkeyLibrary, v MonkeyQuest, v MonkeyQuestLog, v MonkeySpeed, vv3.4.0 MountSpy, v8.2.5-05 MoveAnything, v17.0.7 NPCScan, v8.0.1.13 Outfitter, v5.22.1 Quartz, v3.5.2 RangeDisplay, vv4.9.2 RareScanner, v5.6.6 ReloadUiButton, v8.2.0-final Scrap, v13.19 SexyMap, vv3-classic SilverDragon, vv4.0.17 SilverDragonClassic, vv11302.0 SilverDragonWrath, vv4.0.17 SlideBar, v8.2.6375 (SwimmingSeadragon) SpeedyAutoLoot, v2.0.23 StableGenius, v1.0.2 StopResetingMyCameraPlease, v Stubby, v8.2.6376 (SwimmingSeadragon) TomTom, vv80205-1.0.7 TradeSkillMaster, vv4.8.14 TradeSkillMasterAppHelper, vv4.0.5 BlizRuntimeLib_enUS v8.2.5.80205
(ck=cf4)