View Single Post
01-04-21, 05:33 AM   #3
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Originally Posted by mazer665 View Post
i am currently looking for a way to get the "old" mapID.
for example, i am looking to get the id for Durotar which would be 14
as with patch 8.0.1 the ids as well as the api fuctions changed, the id of durotar will be 1411
There is WorldMapAreaID which was replaced in patch 8.0.1
But the "old" mapID 14 you're referring to here for Durotar is the AreaID

Originally Posted by mazer665 View Post
C_Map.GetMapInfo will return 1411 (while somewhere in Durotar)
That is a UiMapID for Classic, you should probably have mentioned that
https://wow.gamepedia.com/UiMapID/Classic

You'd need to make a table to map between UiMapIDs and (Parent)AreaIDs, depending on what you are trying to do

Last edited by Ketho : 01-04-21 at 05:41 AM.
  Reply With Quote