View Single Post
04-21-18, 07:23 PM   #8
VincentSDSH
Non-Canadian Luzer!
 
VincentSDSH's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 350
Originally Posted by Nevcairiel View Post
A translation from MapAreaId/Floor => UiMapId is not available in-game, however we've been given this data to do the translation manually, or include them in an addon.
UIMapIDToWorldAreaID.lua in the /addons/Blizzard_Depricated export directory contains a mapping of new to old.

Lua Code:
  1. -- This is for the 8.x map transition.
  2. -- Previously maps were represented by either by a pair of WorldMapAreaID and DungeonFloor, or a DungeonMapID.
  3. -- In the new system all maps are represented by a UiMapID.
  4. -- The CSV formatted comment below holds mapping between the two systems at the time of transition.
  5. -- This file will be removed in a future patch.
  6.  
  7.  
  8. --[[
  9. UiMapID,WorldMapAreaID,DungeonMapID,DungeonFloor
  10. 1,4,,0
  11. 2,4,598,8
  12. 3,4,602,10
  13. 4,4,603,11
  14. 5,4,604,12
  15. 6,4,657,19
  16. ....
__________________
AddonsExecutive Assistant User Configurable To-Do ListLegible Mail Choose the Font for Your Mail
  Reply With Quote