WoW:InstanceMapID: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page InstanceMapID to InstanceMapID without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapitype}}
{{wowapitype|toc=1}}


These are unique numeric identifiers for instance maps. They can be obtained by calling the [[API GetInstanceInfo|GetInstanceInfo]] API function, or from the tables below. These values can be used as a locale-independent way to identify instances. InstanceMapIDs are used in the default UI by [[API GetChallengeModeMapTimes|GetChallengeModeMapTimes]](InstanceMapID). The continents themselves are treated as instances and have unique IDs as well.
InstanceMapIDs, or InstanceIDs, are unique numeric identifiers for instance maps in WoW. These values can be also used as a locale-independent way to identify instances. InstanceMapIDs are not interchangeable with [[MapID]]s. The [[API GetInstanceInfo|GetInstanceInfo]] function can be used to get the details of the current instance including the InstanceMapID for the instance the player is currently standing in.


InstanceMapIDs are not interchangeable with [[MapID]]s despite many similarities. The map name returned by GetInstanceInfo() is not necessarily the same as the name returned by GetRealZoneText() and GetMapNameByID(). When denoted below, Zone Name is the normal map display name, and Instance Name is the name returned by GetInstanceInfo().
  /run print((select(8,GetInstanceInfo())))


To help fill in this list, go into an instance and use the command
== Details ==
InstanceMapIDs are separate from [[MapID]]s, where instead MapIDs are more like IDs of zones within an instance. InstanceMapIDs are typically thought of as a special instance map id for a dungeon or raid. However, the continents themselves are treated as instances, and also have unique instance map IDs. [[API GetChallengeModeMapTimes|GetChallengeModeMapTimes]](InstanceMapID) uses the InstanceMapID. The name of the instance may be different than the outer zone that covers that instance, and the map name returned by GetInstanceInfo() is not necessarily the same as the name returned by GetRealZoneText() or GetMapNameByID(). When denoted below, Zone Name is the normal map display name, and Instance Name is the name returned by GetInstanceInfo().
 
If you want to help fill in this list, you can go into an instance and use the command:
/run local t = {GetInstanceInfo()}; print(t[1], "=", t[8])
Which will show just the real instance name, and the InstanceMapID
 
or use
  /dump GetInstanceInfo()
  /dump GetInstanceInfo()
The number shown in slot [8] of the output is the [[InstanceMapID]], which can be added to the table below.
Which will show all of the instance details. Slot [8] is the [[InstanceMapID]], which can be added to the table below.


or
or use
/run local id = GetCurrentMapAreaID(); local n,_,_,_,_,_,_,iid = GetInstanceInfo(); print(iid, GetZoneText().."/"..GetRealZoneText(), n, id,  GetMapNameByID(id))  
<pre class="wrap">
Which is: ID, Zone Name, Instance Name, MapID, Map Name  
/run local mid,t = GetCurrentMapAreaID(), {GetInstanceInfo()}; print(t[8], t[1], mid, GetMapNameByID(mid), GetZoneText().."/"..GetRealZoneText())
</pre>
Which will show: InstanceMapID, Instance Name, MapID, Map Name, Zone Name / Real Zone Name


== Legend ==
== Legend ==
 
* IID - the actual [[InstanceMapID]] or Instance ID.
* ID - The actual [[InstanceMapID]] map ID.
* Zone Name - Zone name returned by [[API GetZoneText|GetZoneText()]] or [[API GetRealZoneText|GetRealZoneText()]]
* Instance Name - the actual instance name as returned by [[API GetInstanceInfo|GetInstanceInfo()]]
* Instance Name - the actual instance name as returned by [[API GetInstanceInfo|GetInstanceInfo()]]
* MapID - the [[MapID]] as returned by [[API GetCurrentMapAreaID|GetCurrentMapAreaID()]]
* MapID - the [[MapID]] as returned by [[API GetCurrentMapAreaID|GetCurrentMapAreaID()]]
* Map Name -  the actual Map name as returned by [[API GetMapNameByID|GetMapNameByID()]]
* Map Name -  the actual Map name as returned by [[API GetMapNameByID|GetMapNameByID()]]
* Zone Name - Zone name returned by [[API GetZoneText|GetZoneText()]] or [[API GetRealZoneText|GetRealZoneText()]]
* LfgID - Looking for Group dungeon ID as used by [[API GetLFGDungeonInfo|GetLFGDungeonInfo()]]
* LfgID - Looking for Group dungeon ID as used by [[API GetLFGDungeonInfo|GetLFGDungeonInfo()]]
* Lfg Name - Looking for Group dungeon name
* Lfg Name - Looking for Group dungeon name


== Continents ==
== Continents and Areas ==
 
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name!!style="text-align:left|Instance Name!!style="text-align:left|MapID!!style="text-align:left|Map Name
! IID !! Instance Name !! MapID !! Map Name !! Expansion
{{Cd/Rows|Instances|InstanceType|0|istable=1
|wiki=<nowiki>{{#invoke:Cd|GetRows|Maps|InstanceID|{{#var:InstanceID}}|AreaID|0|istable=1
|wiki=@nowiki@ ^-
^ {{#var:InstanceID}} ^^ {{#var:InstanceName}}
^ {{#var:MapID}} ^^ [[{{#var:InstanceName}}]]
^ {{Expansion|{{#var:ExpansionID}}|sort=1}} @/nowiki@}} </nowiki> }}
{{Cd/Rows|Maps|InstanceID|65535|istable=1
|wiki=<nowiki>{{#invoke:Cd|GetRows|Areas|AreaID|{{#var:AreaID}}|istable=1
|wiki=@nowiki@{{#invoke:Cd|GetRows|Instances|InstanceID|{{#var:InstanceID}}|istable=1
|wiki=@!nowiki@! ^-
^ {{#var:InstanceID}} ^^ {{#var:InstanceName}} ^^ {{#var:MapID}} ^^ [[{{#var:AreaName}}]]
^ {{Expansion|{{#var:ExpansionID}}|sort=1}} @!/nowiki@!}} @/nowiki@}} </nowiki> }}
|-
|-
| 0 || Eastern Kingdoms
| 646 || Deepholm || || ||
|-
|-
| 1 || Kalimdor
| 860 || The Wandering Isle || || ||
|-
|}
| 530 || Outlands
 
|-
== Battlegrounds ==
| 571 || Northrend
{| class="darktable sortable zebra"
|-
| 646 || Deepholm
|-
|-
| 860 || The Wandering Isle || The Wandering Isle || 808 || The Wandering Isle
! IID !! Instance Name !! MapID !! Map Name !! Expansion
{{Cd/Rows|Instances|InstanceType|3|istable=1|wiki=<nowiki>
|-
|-
| 870 || Pandaria
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}}
| {{Expansion|{{#var:ExpansionID}}|hidesort=1}} </nowiki> }}
|}
|}


== Arenas ==
== Arenas ==
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name
! IID !! Instance Name !! Expansion
|-
{{Cd/Rows|Instances|InstanceType|4|wiki=<nowiki>
| 8482 || Blade's Edge Arena
|-
| 4378 || Dalaran Arena
|-
| 3698 || Nagrand Arena
|-
| 3968 || Ruins of Lordaeron
|-
|-
| 4406 || The Ring of Valor
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Expansion|{{#var:ExpansionID}}|hidesort=1}} </nowiki> }}
|}
|}


== Battlegrounds ==
== Garrisons ==
 
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name
! IID !! Instance Name !! Expansion
|-
{{Cd/Rows|Instances|InstanceType|1|istable=1|wiki=<nowiki>{{#ifeq:{{#var:Flags1&67108864}}|0||^-
| 2597 || Alterac Valley
^-
|-
^ {{#var:InstanceID}} ^^ {{#var:InstanceName}}
| 3358 || Arathi Basin
^ {{Expansion|{{#var:ExpansionID}}|hidesort=1}} }}</nowiki> }}
|-
| 3820 || Eye of the Storm
|-
| 4710 || Isle of Conquest
|-
| 4384 || Strand of the Ancients
|-
| 5449 || The Battle for Gilneas
|-
| 5031 || Twin Peaks
|-
| 3277 || Warsong Gulch
|}
|}


== Classic Dungeons ==
== Classic Dungeons ==
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name!!style="text-align:left|Instance Name!!style="text-align:left|MapID!!style="text-align:left|Map Name
! IID !! Instance Name !! MapID !! Map Name !! Zone Name !! Max Players
|-
{{Cd/Rows|Instances|ExpansionID|0|InstanceType|1|istable=1|wiki=<nowiki>
| 48 || Blackfathom Deeps || Blackfathom Deeps || 688 || Blackfathom Deeps
|-
| ? || Blackrock Depths
|-
| ? || Blackrock Spire
|-
| ? || Dire Maul
|-
|-
| ? || Gnomeregan
| {{#var:InstanceID}} || {{#var:InstanceName}}
|-
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| ? || Maraudon
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}}
|-
| {{#switch:{{#var:InstanceID}}
| 389 || Ragefire Chasm || Ragefire Chasm || 680 || Ragefire Chasm
|48=Blackfathom Deeps
|-
|389=Ragefire Chasm
| ? || Razorfen Downs
|36=The Deadmines
|-
|34=Stormwind Stockade
| ? || Razorfen Kraul
|43=The Wailing Caverns}}
|-
| {{#var:MaxPlayers}} </nowiki> }}
| ? || Scarlet Monastery
|-
| ? || Scholomance
|-
| ? || Shadowfang Keep
|-
| ? || Stratholme
|-
| 36 || The Deadmines || Deadmines || 756 || The Deadmines ||  || Deadmines
|-
| 34 || Stormwind Stockade || Stormwind Stockade || 690 || The Stockade
|-
| ? || The Temple of Atal'Hakkar
|-
| ? || Uldaman
|-
| 43 || The Wailing Caverns || Wailing Caverns || 749 || Wailing Caverns
|-
| ? || Zul'Farrak
|}
|}


== Classic Raids ==
== Classic Raids ==
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name
! IID !! Instance Name !! MapID !! Map Name !! Max Players
|-
{{Cd/Rows|Instances|ExpansionID|0|InstanceType|2|istable=1|wiki=<nowiki>
| ? || Blackwing Lair
|-
| ? || Molten Core
|-
|-
| ? || Ruins of Ahn'Qiraj
| {{#var:InstanceID}} || {{#var:InstanceName}}
|-
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| 531 || Temple of Ahn'Qiraj
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|}
|}


== Burning Crusade Dungeons ==
== Burning Crusade Dungeons ==
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name
! IID !! Instance Name !! MapID !! Map Name !! Max Players
|-
{{Cd/Rows|Instances|ExpansionID|1|InstanceType|1|istable=1|wiki=<nowiki>
| ? || Auchenai Crypts
|-
| ? || Hellfire Ramparts
|-
| ? || Magisters' Terrace
|-
| ? || Mana-Tombs
|-
| ? || Old Hillsbrad Foothills
|-
| ? || Sethekk Halls
|-
| ? || Shadow Labyrinth
|-
| ? || The Arcatraz
|-
| ? || The Black Morass
|-
| ? || The Blood Furnace
|-
| ? || The Botanica
|-
| ? || The Mechanar
|-
| ? || The Shattered Halls
|-
| ? || The Slave Pens
|-
| ? || The Steamvault
|-
|-
| ? || The Underbog
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|}
|}


== Burning Crusade Raids ==
== Burning Crusade Raids ==
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name
! IID !! Instance Name !! MapID !! Map Name !! Max Players
{{Cd/Rows|Instances|ExpansionID|1|InstanceType|2|istable=1|wiki=<nowiki>
|-
|-
| ? || Black Temple
| {{#var:InstanceID}} || {{#var:InstanceName}}
|-
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| ? || Gruul's Lair
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|-
| ? || Hyjal Summit
|-
| 532 || Karazhan
|-
| ? || Magtheridon's Lair
|-
| ? || Serpentshrine Cavern
|-
| ? || Sunwell Plateau
|-
| ? || The Eye
|}
|}


== Wrath Dungeons ==
== WotLK Dungeons ==
 
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name
! IID !! Instance Name !! MapID !! Map Name !! Max Players
|-
{{Cd/Rows|Instances|ExpansionID|2|InstanceType|1|istable=1|wiki=<nowiki>
| 619 || Ahn'kahet: The Old Kingdom
|-
| 601 || Azjol-Nerub
|-
| 600 || Drak'Tharon Keep
|-
| 604 || Gundrak
|-
| 602 || Halls of Lightning
|-
| ? || Halls of Reflection
|-
| 599 || Halls of Stone
|-
| ? || Pit of Saron
|-
| ? || The Culling of Stratholme
|-
|-
| ? || The Forge of Souls
| {{#var:InstanceID}} || {{#var:InstanceName}}
|-
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| 576 || The Nexus
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|-
| 578 || The Oculus
|-
| 608 || The Violet Hold
|-
| ? || Trial of the Champion
|-
| 574 || Utgarde Keep
|-
| 575 || Utgarde Pinnacle
|}
|}


== Wrath Raids ==
== WotLK  Raids ==
 
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name
! IID !! Instance Name !! MapID !! Map Name !! Max Players
{{Cd/Rows|Instances|ExpansionID|2|InstanceType|2|istable=1|wiki=<nowiki>
|-
|-
| 631  || Icecrown Citadel
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|-
|-
| 533 || Naxxramas
| ? || Onyxia's Lair || || ||  
|-
| ? || Onyxia's Lair
|-
| 616 || The Eye of Eternity
|-
| ? || The Obsidian Sanctum
|-
| ? || The Ruby Sanctum
|-
| ? || Trial of the Crusader
|-
| 603 || Ulduar
|-
| ? || Vault of Archavon
|}
|}


== Cataclysm Dungeons ==
== Cataclysm Dungeons ==
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name
! IID !! Instance Name !! MapID !! Map Name !! Max Players
{{Cd/Rows|Instances|ExpansionID|3|InstanceType|1|istable=1|wiki=<nowiki>
|-
|-
| || Blackrock Caverns
| {{#var:InstanceID}} || {{#var:InstanceName}}
|-
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| ? || End Time
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|-
| ? || Grim Batol
|-
| ?  || Halls of Origination
|-
| ? || Hour of Twilight
|-
| ? || Lost City of the Tol'vir
|-
| ? || The Stonecore
|-
| ? || The Vortex Pinnacle
|-
| ? || Throne of the Tides
|-
| ? || Well of Eternity
|-
| ? || Zul'Aman
|-
| ? || Zul'Gurub
|}
|}


== Cataclysm Raids ==
== Cataclysm Raids ==
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name
! IID !! Instance Name !! MapID !! Map Name !! Max Players
|-
{{Cd/Rows|Instances|ExpansionID|3|InstanceType|2|istable=1|wiki=<nowiki>
| ? || Baradin Hold
|-
| ? || Blackwing Descent
|-
| ? || Dragon Soul
|-
| ? || Firelands
|-
| ? || The Bastion of Twilight
|-
|-
| ? || Throne of the Four Winds
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|}
|}


== Pandaria Dungeons ==
== Pandaria Dungeons ==
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name!!style="text-align:left|Instance Name!!style="text-align:left|MapID!!style="text-align:left|Map Name!!style="text-align:left|LfgID!!style="text-align:left|Lfg Name
! IID !! Instance Name !! MapID !! Map Name !! Max Players
{{Cd/Rows|Instances|ExpansionID|4|InstanceType|1|istable=1|wiki=<nowiki>
|-
|-
| ? || Gate of the Setting Sun
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|}
 
== Pandaria Raids ==
{| class="darktable sortable zebra"
|-
|-
| ? || ? || Mogu'shan Palace || 885 || Mogu'shan Palace || ? || Mogu'shan Palace
! IID !! Instance Name !! MapID !! Map Name !! Max Players
{{Cd/Rows|Instances|ExpansionID|4|InstanceType|2|istable=1|wiki=<nowiki>
|-
|-
| ? || ? || Shado-Pan Monastery || 877 || Shado-Pan Monastery || ? || Shado-Pan Monastery
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|}
 
== Warlords Dungeons ==
{| class="darktable sortable zebra"
|-
|-
| ? || Siege of Niuzao Temple
! IID !! Instance Name !! MapID !! Map Name !! Max Players
{{Cd/Rows|Instances|ExpansionID|5|InstanceType|1|istable=1|wiki=<nowiki>{{#ifeq:{{#var:Flags1&201326592}}|0|
^-
^ {{#var:InstanceID}} ^^ {{#var:InstanceName}}
^ {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
^ {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} ^^ {{#var:MaxPlayers}} }}</nowiki> }}
|}
 
== Warlords Raids ==
{| class="darktable sortable zebra"
|-
|-
| ? || Stormstout Brewery
! IID !! Instance Name !! MapID !! Map Name !! Max Players
{{Cd/Rows|Instances|ExpansionID|5|InstanceType|2|istable=1|wiki=<nowiki>
|-
|-
| 960 || Temple of the Jade Serpent
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|}
|}


== Pandaria Raids ==
== Legion Dungeons ==
 
{| class="darktable sortable zebra"
{| class="darktable sortable zebra"
|-
|-
!style="text-align:left"|ID!!style="text-align:left|Zone Name!!style="text-align:left|Instance Name!!style="text-align:left|MapID!!style="text-align:left|Map Name
! IID !! Instance Name !! MapID !! Map Name !! Max Players
{{Cd/Rows|Instances|ExpansionID|6|InstanceType|1|istable=1|wiki=<nowiki>
|-
|-
| ? || Heart of Fear
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|}
 
== Legion Raids ==
{| class="darktable sortable zebra"
|-
|-
| 1008 || Mogu'shan Vaults
! IID !! Instance Name !! MapID !! Map Name !! Max Players
{{Cd/Rows|Instances|ExpansionID|6|InstanceType|2|istable=1|wiki=<nowiki>
|-
|-
| ? || Terrace of Endless Spring
| {{#var:InstanceID}} || {{#var:InstanceName}}
| {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}}
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} || {{#var:MaxPlayers}} </nowiki> }}
|}
|}
== Sources ==
* {{Wowpedia credit|InstanceMapID|date=14-Mar-2013}}

Latest revision as of 04:48, 15 August 2023

API types

InstanceMapIDs, or InstanceIDs, are unique numeric identifiers for instance maps in WoW. These values can be also used as a locale-independent way to identify instances. InstanceMapIDs are not interchangeable with MapIDs. The GetInstanceInfo function can be used to get the details of the current instance including the InstanceMapID for the instance the player is currently standing in.

/run print((select(8,GetInstanceInfo())))

Details[edit]

InstanceMapIDs are separate from MapIDs, where instead MapIDs are more like IDs of zones within an instance. InstanceMapIDs are typically thought of as a special instance map id for a dungeon or raid. However, the continents themselves are treated as instances, and also have unique instance map IDs. GetChallengeModeMapTimes(InstanceMapID) uses the InstanceMapID. The name of the instance may be different than the outer zone that covers that instance, and the map name returned by GetInstanceInfo() is not necessarily the same as the name returned by GetRealZoneText() or GetMapNameByID(). When denoted below, Zone Name is the normal map display name, and Instance Name is the name returned by GetInstanceInfo().

If you want to help fill in this list, you can go into an instance and use the command:

/run local t = {GetInstanceInfo()}; print(t[1], "=", t[8])

Which will show just the real instance name, and the InstanceMapID

or use

/dump GetInstanceInfo()

Which will show all of the instance details. Slot [8] is the InstanceMapID, which can be added to the table below.

or use

/run local mid,t = GetCurrentMapAreaID(), {GetInstanceInfo()}; print(t[8], t[1], mid, GetMapNameByID(mid), GetZoneText().."/"..GetRealZoneText())

Which will show: InstanceMapID, Instance Name, MapID, Map Name, Zone Name / Real Zone Name

Legend[edit]

Continents and Areas[edit]

IID Instance Name MapID Map Name Expansion
  1. REDIRECT Template:CommonData/Rows
  2. REDIRECT Template:CommonData/Rows
646 Deepholm
860 The Wandering Isle

Battlegrounds[edit]

IID Instance Name MapID Map Name Expansion
  1. REDIRECT Template:CommonData/Rows

Arenas[edit]

IID Instance Name Expansion
  1. REDIRECT Template:CommonData/Rows

Garrisons[edit]

IID Instance Name Expansion
  1. REDIRECT Template:CommonData/Rows

Classic Dungeons[edit]

IID Instance Name MapID Map Name Zone Name Max Players
  1. REDIRECT Template:CommonData/Rows

Classic Raids[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

Burning Crusade Dungeons[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

Burning Crusade Raids[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

WotLK Dungeons[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

WotLK Raids[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows
? Onyxia's Lair

Cataclysm Dungeons[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

Cataclysm Raids[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

Pandaria Dungeons[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

Pandaria Raids[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

Warlords Dungeons[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

Warlords Raids[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

Legion Dungeons[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows

Legion Raids[edit]

IID Instance Name MapID Map Name Max Players
  1. REDIRECT Template:CommonData/Rows