kemayo / wow-silverdragon

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

[BC Classic] 'Silverdragon: Map Overlays' module breaking default World Map #131

Closed alphabitnz closed 3 years ago

alphabitnz commented 3 years ago

Version: Burning Crusade Classic

Some code in the 'Silverdragon: Map Overlays' module is preventing the Blizzard World Map's zone/continent from showing the correct map/graphic, can confirm the bug happens regardless of whether Mapster is loaded. No issue happens when the SD Map Overlays module is disabled.

Only started happening within the last 1-2 days.

Error output below:

1x SilverDragon_Overlay\worldmap.lua:122: attempt to index field 'poiQuantizer' (a nil value)
[string "@SilverDragon_Overlay\worldmap.lua"]:122: in function `?'
[string "@Blizzard_MapCanvas\Blizzard_MapCanvas.lua"]:508: in function `CallMethodOnPinsAndDataProviders'
[string "@Blizzard_MapCanvas\Blizzard_MapCanvas.lua"]:552: in function `OnCanvasSizeChanged'
[string "@Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua"]:223: in function `SetCanvasSize'
[string "@Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua"]:421: in function `OnCanvasSizeChanged'
[string "@Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua"]:407: in function `SetMapID'
[string "@Blizzard_MapCanvas\Blizzard_MapCanvas.lua"]:35: in function `SetMapID'
[string "@Blizzard_WorldMap\Blizzard_WorldMap.lua"]:144: in function <...rfaceBlizzard_WorldMap\Blizzard_WorldMap.lua:142>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@BlizzMove\Libs\AceHook-3.0\AceHook-3.0-9.lua"]:95: in function <...ceBlizzMove\Libs\AceHook-3.0\AceHook-3.0.lua:87>
[string "=[C]"]: in function `Show'
[string "@Mapster\Mapster-1.9.3.lua"]:110: in function <Mapster\Mapster.lua:110>
[string "=(tail call)"]: ?
[string "@Blizzard_WorldMap\Blizzard_WorldMap.lua"]:182: in function `ToggleWorldMap'
[string "TOGGLEWORLDMAP"]:1: in function <[string "TOGGLEWORLDMAP"]:1>

Locals:
self = <table> {
 SignalEvent = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:97
 owningMap = WorldMapFrame {
 }
 OnCanvasPanChanged = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:54
 OnCanvasScaleChanged = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:50
 OnGlobalAlphaChanged = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:66
 ConnectPins = <function> defined @SilverDragon_Overlay\worldmap.lua:106
 AddRoute = <function> defined @SilverDragon_Overlay\worldmap.lua:80
 Ping = <function> defined @SilverDragon_Overlay\worldmap.lua:126
 OnHide = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:34
 OnShow = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:30
 GetMap = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:70
 OnCanvasSizeChanged = <function> defined @SilverDragon_Overlay\worldmap.lua:120
 OnMapInsetSizeChanged = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:38
 RefreshAllData = <function> defined @SilverDragon_Overlay\worldmap.lua:34
 OnEvent = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:62
 RegisterEvent = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:79
 OnMapInsetMouseEnter = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:42
 OnRemoved = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:9
 OnAdded = <function> defined @SilverDragon_Overlay\worldmap.lua:13
 OnMapChanged = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:74
 OnMapInsetMouseLeave = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:46
 UnregisterEvent = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:90
 RemoveAllData = <function> defined @SilverDragon_Overlay\worldmap.lua:23
}
ratio = 1.500000
(*temporary) = nil
(*temporary) = nil
(*temporary) = 1
(*temporary) = 668
(*temporary) = "attempt to index field 'poiQuantizer' (a nil value)"
kemayo commented 3 years ago

That means you've got the Shadowlands version of the addon installed on BCC. The BCC version still uses the Handynotes integration, and so that Overlay module doesn't even exist.