Quote:
Originally Posted by myrroddin
(Post 300591)
Where in Astrolabe's code is the bug found? Which API, Lua file, line number?
|
The bug is in TomTom's "AddZWaypoint" method, which is why addons are switching to its "AddMFWaypoint" method instead. The "Z" stands for zone, while "MF" stands for map and floor. AddZWaypoint takes a continent index and zone index, asks Astrolabe to translate those into a map and floor, and then calls AddMFWaypoint. Based on a quick look in Astrolabe, it looks like the bug is related to Astrolabe not having been updated (completely/properly/maybe at all) for the changes to GetMapContinents and GetMapZones in WoD.
Beyond that, though, I don't know anything, and don't feel any particular inclination to look into it any further. I'm not really sure why you'd use AddZWaypoint anyway... I'd guess all the addons affected were actually using AddWaypoint, which grabs the current continent and map and calls AddZWaypoint internally, so it's really just a lazy way of adding waypoints in the current zone without having to figure out which zone you're in. Not really a big deal to switch, though obviously it is a bug in Astrolabe that should probably get fixed. :p
|