View Single Post
04-23-18, 10:34 AM   #13
Rythal
Featured Artist
Featured
Join Date: Aug 2012
Posts: 1,458
Originally Posted by ircdirk View Post
UnitPosition works in BfA so if we know lengths of maps we could rewrite GetPlayerMapPosition...

Also there is https://github.com/tomrus88/Blizzard...dMapAreaID.lua which maps old mapids to new uimapids.
For overland that will work, but for scenario's, dungeons, micros, and instances the old drawing methods will no longer work since dungeon levels are gone. That means we can no longer draw the entire thing tiny and zoom/scale to it adjusting based on your dungeon level. It also no longer provides the filenames of the maps being drawn, so that will have to be mined and added for every possible map we want to manually create (as far as I can tell so far).

Overland will also have problems as when you enter a microdungeon, your mapid doesn't change only your dungeon level so carb knows your still in the particular zone.. in the alpha it'll be an entirely new mapid so it won't know your still in vale of eternal blossoms instead of shrine of seven stars as the get current map will return 392 for first level, 393 for second level, 390 for in the zone itself and not the shrine.. each with it's own map that carb will need to handle, and table conversions to know what zone you actually are in.
  Reply With Quote