Quantcast WoWInterface - View Single Post - Was there changes to GetMapOverlayInfo ?
View Single Post
11-11-16, 02:33 PM   #1
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 154
Question Was there changes to GetMapOverlayInfo ?

I'm having an issue with MozzFullWorldMap where it breaks on 6/7 return values.
Code:
local texture, width, height, xOfs, yOfs, mapX, mapY = GetMapOverlayInfo( i );
would return (boolean)mapX and mapY = nil.
I've turned the debug print off for now (which is causing grief) but I'd like to get a more permanent solution.
The entire backtrace is
Code:
Date: 2016-11-11 23:06:00
ID: -1
Error occured in: Global
Count: 10
Message: ...terface\AddOns\MozzFullWorldMap\MozzFullWorldMap.lua line 531:
   attempt to concatenate a boolean value
Debug:
   ...terface\AddOns\MozzFullWorldMap\MozzFullWorldMap.lua:531:
      ...terface\AddOns\MozzFullWorldMap\MozzFullWorldMap.lua:380
   ...terface\AddOns\MozzFullWorldMap\MozzFullWorldMap.lua:599:
      ...terface\AddOns\MozzFullWorldMap\MozzFullWorldMap.lua:597
   [C]: WorldMapFrame_Update()
   ..\FrameXML\WorldMapFrame.lua:2809: WorldMapFrame_UpdateMap()
   ..\FrameXML\WorldMapFrame.lua:436:
      ..\FrameXML\WorldMapFrame.lua:422
   [C]: ProcessMapClick()
   ..\FrameXML\WorldMapFrame.lua:2242:
      ..\FrameXML\WorldMapFrame.lua:2222
   TomTom\TomTom.lua:458:
      TomTom\TomTom.lua:432
Locals:
detailFrame = WorldMapDetailFrame {
 0 = <userdata>
}
overlayName = "WorldMapOverlay"
scaling = 1
alpha = nil
mapFileName = "Highmountain"
continent = 8
zone = 4
numOverlays = 8
mapLevel = 0
prefix = "Interface\WorldMap\"
overlayData = <table> {
 IRONHORNENCLAVE = <table> {
 }
 STONEHOOFWATCH = <table> {
 }
 FROSTHOOFWATCH = <table> {
 }
 SYLVANFALLS = <table> {
 }
 FELTOTEM = <table> {
 }
 RIVERBEND = <table> {
 }
 THUNDERTOTEM = <table> {
 }
 SHIPWRECKCOVE = <table> {
 }
 PINEROCKBASIN = <table> {
 }
 TRUESHOTLODGE = <table> {
 }
 ROCKAWAYSHALLOWS = <table> {
 }
 BLOODHUNTHIGHLANDS = <table> {
 }
 SKYHORN = <table> {
 }
}
enabled = true
showKnownData = false
debug = true
labelPanels = false
panelCache = <table> {
 1 = MFWM_WorldMapOverlay1 {
 }
 2 = MFWM_WorldMapOverlay2 {
 }
 3 = MFWM_WorldMapOverlay3 {
 }
 4 = MFWM_WorldMapOverlay4 {
 }
 5 = MFWM_WorldMapOverlay5 {
 }
 6 = MFWM_WorldMapOverlay6 {
 }
 7 = MFWM_WorldMapOverlay7 {
 }
 8 = MFWM_WorldMapOverlay8 {
 }
 9 = MFWM_WorldMapOverlay9 {
 }
 10 = MFWM_WorldMapOverlay10 {
 }
 11 = MFWM_WorldMapOverlay11 {
 }
 12 = MFWM_WorldMapOverlay12 {
 }
 13 = MFWM_WorldMapOverlay13 {
 }
 14 = MFWM_WorldMapOverlay14 {
 }
 15 = MFWM_WorldMapOverlay15 {
 }
 16 = MFWM_WorldMapOverlay16 {
 }
 17 = MFWM_WorldMapOverlay17 {
 }
 18 = MFWM_WorldMapOverlay18 {
 }
 19 = MFWM_WorldMapOverlay19 {
 }
 20 = MFWM_WorldMapOverlay20 {
 }
 21 = MFWM_WorldMapOverlay21 {
 }
 22 = MFWM_WorldMapOverlay22 {
 }
 23 = MFWM_WorldMapOverlay23 {
 }
 24 = MFWM_WorldMapOverlay24 {
 }
 25 = MFWM_WorldMapOverlay25 {
 }
 26 = MFWM_WorldMapOverlay26 {
 }
 27 = MFWM_WorldMapOverlay27 {
 }
 28 = MFWM_WorldMapOverlay28 {
 }
 29 = MFWM_WorldMapOverlay29 {
 }
 30 = MFWM_WorldMapOverlay30 {
 }
 31 = MFWM_WorldMapOverlay31 {
 }
 32 = MFWM_WorldMapOverlay32 {
 }
 33 = MFWM_WorldMapOverlay33 {
 }
 34 = MFWM_WorldMapOverlay34 {
 }
 35 = MFWM_WorldMapOverlay35 {
 }
 36 = MFWM_WorldMapOverlay36 {
 }
 37 = MFWM_WorldMapOverlay37 {
 }
 38 = MFWM_WorldMapOverlay38 {
 }
 39 = MFWM_WorldMapOverlay39 {
 }
 40 = MFWM_WorldMapOverlay40 {
 }
 41 = MFWM_WorldMapOverlay41 {
 }
 42 = MFWM_WorldMapOverlay42 {
 }
 43 = MFWM_WorldMapOverlay43 {
 }
 44 = MFWM_WorldMapOverlay44 {
 }
 45 = MFWM_WorldMapOverlay45 {
 }
 46 = MFWM_WorldMapOverlay46 {
 }
 47 = MFWM_WorldMapOverlay47 {
 }
 48 = MFWM_WorldMapOverlay48 {
 }
 49 = MFWM_WorldMapOverlay49 {
 }
 50 = MFWM_WorldMapOverlay50 {
 }
 51 = MFWM_WorldMapOverlay51 {
 }
 52 = MFWM_WorldMapOverlay52 {
 }
 53 = MFWM_WorldMapOverlay53 {
 }
 54 = MFWM_WorldMapOverlay54 {
 }
 55 = MFWM_WorldMapOverlay55 {
 }
 56 = MFWM_WorldMapOverlay56 {
 }
 57 = MFWM_WorldMapOverlay57 {
 }
 58 = MFWM_WorldMapOverlay58 {
 }
 59 = MFWM_WorldMapOverlay59 {
 }
 60 = MFWM_WorldMapOverlay60 {
 }
 61 = MFWM_WorldMapOverlay61 {
 }
 62 = MFWM_WorldMapOverlay62 {
 }
 63 = MFWM_WorldMapOverlay63 {
 }
 64 = MFWM_WorldMapOverlay64 {
 }
 65 = MFWM_WorldMapOverlay65 {
 }
 66 = MFWM_WorldMapOverlay66 {
 }
 67 = MFWM_WorldMapOverlay67 {
 }
 68 = MFWM_WorldMapOverlay68 {
 }
 69 = MFWM_WorldMapOverlay69 {
 }
 70 = MFWM_WorldMapOverlay70 {
 }
 71 = MFWM_WorldMapOverlay71 {
 }
 72 = MFWM_WorldMapOverlay72 {
 }
 73 = MFWM_WorldMapOverlay73 {
 }
 74 = MFWM_WorldMapOverlay74 {
 }
}
labelCache = <table> {
}
panelCount = 0
knownOverlays = <table> {
 CAVEA = true
 IRONHORNENCLAVE = true
 STONEHOOFWATCH = true
 PINEROCKBASIN = true
 THUNDERTOTEM = true
 SYLVANFALLS = true
 SKYHORN = true
 RIVERBEND = true
}
(for index) = 8
(for limit) = 8
(for step) = 1
i = 8
texture = "Interface\WorldMap\Highmountain\CAVEA"
width = 110
height = 98
xOfs = 445
yOfs = 190
mapX = true
mapY = nil
key = "CAVEA"
overlay = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
 1 = "==== MFWM Update WorldMapOverlay: Northrend / 1033 (8,11) / Map Level = 0 / Discovered Overlays = 10 / Map File = Valsharah ===="
 2 = "Validated: ANDUTALAH"
 3 = "Validated: DREAMGROVE"
 4 = "Validated: GROVEOFCENARIUS"
 5 = "Validated: LORLATHIL"
 6 = "Validated: MISTVALE"
 7 = "Validated: MOONCLAWVALE"
 8 = "Validated: SHALANIR"
 9 = "Validated: SMOLDERHIDE"
 10 = "(apparently truncated)