Map errors when entering DMF
tflo opened this issue ยท 3 comments
As soon as I enter the Darkmoon Faire map instance (407, subzone text "Darkmoon Path"), BugSack collects these 2 errors:
Error 1
3x LastSeen/Handlers/Map.lua:58: attempt to index local 'map' (a nil value)
[string "@LastSeen/Handlers/Map.lua"]:58: in function <LastSeen/Handlers/Map.lua:42>
Locals:
isInCombat = nil
mapID = 407
map = nil
(*temporary) = <table> {
1699 = "Sinfall"
418 = "Krasarang Wilds"
641 = "Val'sharah"
895 = "Tiragarde Sound"
422 = "Dread Wastes"
525 = "Frostfire Ridge"
1707 = "Elysian Hold"
1530 = "Vale of Eternal Blossoms"
433 = "The Veiled Stair"
1700 = "Sinfall"
535 = "Talador"
942 = "Stormsong Valley"
539 = "Shadowmoon Valley"
862 = "Zuldazar"
543 = "Gorgrond"
371 = "The Jade Forest"
2023 = "Ohn'ahran Plains"
864 = "Vol'dun"
127 = "Crystalsong Forest"
1671 = "Oribos"
376 = "Valley of the Four Winds"
1161 = "Boralus"
1543 = "The Maw"
379 = "Kun-Lai Summit"
115 = "Dragonblight"
2133 = "Zaralek Cavern"
630 = "Azsuna"
1525 = "Revendreth"
634 = "Stormheim"
114 = "Borean Tundra"
1701 = "Heart of the Forest"
1533 = "Bastion"
2024 = "The Azure Span"
896 = "Drustvar"
390 = "Vale of Eternal Blossoms"
84 = "Stormwind City"
1536 = "Maldraxxus"
116 = "Grizzly Hills"
1670 = "Oribos"
85 = "Orgrimmar"
118 = "Icecrown"
117 = "Howling Fjord"
550 = "Nagrand"
2151 = "The Forbidden Reach"
2025 = "Thaldraszus"
542 = "Spires of Arak"
2112 = "Valdrakken"
1698 = "Seat of the Primus"
863 = "Nazmir"
119 = "Sholazar Basin"
388 = "Townlong Steppes"
680 = "Suramar"
650 = "Highmountain"
120 = "The Storm Peaks"
37 = "Elwynn Forest"
1165 = "Dazar'alor"
627 = "Dalaran"
121 = "Zul'Drak"
125 = "Dalaran"
1565 = "Ardenweald"
2022 = "The Waking Shores"
}
(*temporary) = <table> {
SetDefaultModuleLibraries = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:363
AddCreatureFromNameplate = <function> defined @LastSeen/Handlers/Creature.lua:39
OnInitialize = <function> defined @LastSeen/LastSeen.lua:17
RegisterChatCommand = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:81
EnableModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:328
modules = <table> {
}
GetModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:206
IterateEmbeds = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:438
defaultModuleLibraries = <table> {
}
UnregisterChatCommand = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:107
mainOptions = Frame {
}
Printf = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:65
SetDefaultModulePrototype = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:405
name = "LastSeen"
IsEnabled = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:447
orderedModules = <table> {
}
DisableModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:346
GetBestMapForUnit = <function> defined @LastSeen/Handlers/Map.lua:41
GetArgs = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:140
Print = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:50
IsModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:464
SetDefaultModuleState = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:383
SetEnabledState = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:420
MinimapIcon = <function> defined @LastSeen/Settings.lua:6
enabledState = true
baseName = "LastSeen"
KeyBind = <function> defined @LastSeen/Keybinds.lua:6
Item = <function> defined @LastSeen/Handlers/Loot.lua:33
AddCreatureFromMouseover = <function> defined @LastSeen/Handlers/Creature.lua:15
Enable = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:290
GetParentMap = <function> defined @LastSeen/Handlers/Map.lua:14
IterateModules = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:433
NewModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:231
GetMapPosition = <function> defined @LastSeen/Handlers/Map.lua:25
Disable = <f
Error 2
3x LastSeen/Handlers/Map.lua:16: attempt to index local 'map' (a nil value)
[string "@LastSeen/Handlers/Map.lua"]:16: in function `GetParentMap'
[string "@LastSeen/Handlers/Map.lua"]:20: in function <LastSeen/Handlers/Map.lua:19>
Locals:
self = <table> {
SetDefaultModuleLibraries = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:363
AddCreatureFromNameplate = <function> defined @LastSeen/Handlers/Creature.lua:39
OnInitialize = <function> defined @LastSeen/LastSeen.lua:17
RegisterChatCommand = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:81
EnableModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:328
modules = <table> {
}
GetModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:206
IterateEmbeds = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:438
defaultModuleLibraries = <table> {
}
UnregisterChatCommand = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:107
mainOptions = Frame {
}
Printf = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:65
SetDefaultModulePrototype = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:405
name = "LastSeen"
IsEnabled = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:447
orderedModules = <table> {
}
DisableModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:346
GetBestMapForUnit = <function> defined @LastSeen/Handlers/Map.lua:41
GetArgs = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:140
Print = <function> defined @Ace3/AceConsole-3.0/AceConsole-3.0.lua:50
IsModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:464
SetDefaultModuleState = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:383
SetEnabledState = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:420
MinimapIcon = <function> defined @LastSeen/Settings.lua:6
enabledState = true
baseName = "LastSeen"
KeyBind = <function> defined @LastSeen/Keybinds.lua:6
Item = <function> defined @LastSeen/Handlers/Loot.lua:33
AddCreatureFromMouseover = <function> defined @LastSeen/Handlers/Creature.lua:15
Enable = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:290
GetParentMap = <function> defined @LastSeen/Handlers/Map.lua:14
IterateModules = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:433
NewModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:231
GetMapPosition = <function> defined @LastSeen/Handlers/Map.lua:25
Disable = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:310
GetName = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:275
SlashCommandHandler = <function> defined @LastSeen/Handlers/Command.lua:55
defaultModuleState = true
}
mapID = 0
map = nil
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'map' (a nil value)"
Until now I observed this on 4 different toons. (Not sure if the errors are 100% identical, but it seems so.)
LastSeen 4.0.6, WoW 10.1
Fixed in 267e17e.