WoW:InstanceMapID: Difference between revisions
(→Arenas) |
|||
Line 1: | Line 1: | ||
{{wowapitype}} | {{wowapitype|toc=1}} | ||
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. | |||
/run print((select(8,GetInstanceInfo()))) | |||
== 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() | ||
Which will show all of the instance details. Slot [8] is the [[InstanceMapID]], which can be added to the table below. | |||
or | or use | ||
<pre class="wrap"> | |||
Which | /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. | |||
* | |||
* 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" | ||
|- | |- | ||
! | ! 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> }} | |||
|- | |- | ||
| | | 646 || Deepholm || || || | ||
|- | |- | ||
| | | 860 || The Wandering Isle || || || | ||
| | |} | ||
| | |||
| | == Battlegrounds == | ||
{| class="darktable sortable zebra" | |||
| | |||
|- | |- | ||
| | ! IID !! Instance Name !! MapID !! Map Name !! Expansion | ||
{{Cd/Rows|Instances|InstanceType|3|istable=1|wiki=<nowiki> | |||
|- | |- | ||
| | | {{#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" | ||
|- | |- | ||
! | ! IID !! Instance Name !! Expansion | ||
| | {{Cd/Rows|Instances|InstanceType|4|wiki=<nowiki> | ||
| | |||
|- | |- | ||
| | | {{#var:InstanceID}} || {{#var:InstanceName}} | ||
| {{Expansion|{{#var:ExpansionID}}|hidesort=1}} </nowiki> }} | |||
|} | |} | ||
== | == Garrisons == | ||
{| class="darktable sortable zebra" | {| class="darktable sortable zebra" | ||
|- | |- | ||
! | ! IID !! Instance Name !! Expansion | ||
| | {{Cd/Rows|Instances|InstanceType|1|istable=1|wiki=<nowiki>{{#ifeq:{{#var:Flags1&67108864}}|0||^- | ||
| | ^- | ||
| | ^ {{#var:InstanceID}} ^^ {{#var:InstanceName}} | ||
| | ^ {{Expansion|{{#var:ExpansionID}}|hidesort=1}} }}</nowiki> }} | ||
| | |||
| | |||
|} | |} | ||
== Classic Dungeons == | == Classic Dungeons == | ||
{| class="darktable sortable zebra" | {| class="darktable sortable zebra" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Zone Name !! Max Players | ||
| | {{Cd/Rows|Instances|ExpansionID|0|InstanceType|1|istable=1|wiki=<nowiki> | ||
| | |||
|- | |- | ||
| | | {{#var:InstanceID}} || {{#var:InstanceName}} | ||
| | | {{Cd/Row|Maps|InstanceID|{{#var:InstanceID}}|wiki=@nowiki@ {{#var:MapID}}{{#var:!AreaID}} @/nowiki@}} | ||
| {{Cd|Areas|AreaID|{{#var:AreaID}}|AreaName}} | |||
| {{#switch:{{#var:InstanceID}} | |||
|48=Blackfathom Deeps | |||
| | |389=Ragefire Chasm | ||
| | |36=The Deadmines | ||
| | |34=Stormwind Stockade | ||
| | |43=The Wailing Caverns}} | ||
| | | {{#var:MaxPlayers}} </nowiki> }} | ||
| | |||
| 36 | |||
| 34 | |||
| 43 | |||
| | |||
|} | |} | ||
== Classic Raids == | == Classic Raids == | ||
{| class="darktable sortable zebra" | {| class="darktable sortable zebra" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
| | {{Cd/Rows|Instances|ExpansionID|0|InstanceType|2|istable=1|wiki=<nowiki> | ||
| | |||
| | |||
|- | |- | ||
| | | {{#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 Dungeons == | == Burning Crusade Dungeons == | ||
{| class="darktable sortable zebra" | {| class="darktable sortable zebra" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
| | {{Cd/Rows|Instances|ExpansionID|1|InstanceType|1|istable=1|wiki=<nowiki> | ||
| | |||
| | |||
|- | |- | ||
| | | {{#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" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
{{Cd/Rows|Instances|ExpansionID|1|InstanceType|2|istable=1|wiki=<nowiki> | |||
|- | |- | ||
| | | {{#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> }} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|} | |} | ||
== | == WotLK Dungeons == | ||
{| class="darktable sortable zebra" | {| class="darktable sortable zebra" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
| | {{Cd/Rows|Instances|ExpansionID|2|InstanceType|1|istable=1|wiki=<nowiki> | ||
| | |||
| | |||
| | |||
|- | |- | ||
| | | {{#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> }} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|} | |} | ||
== | == WotLK Raids == | ||
{| class="darktable sortable zebra" | {| class="darktable sortable zebra" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
{{Cd/Rows|Instances|ExpansionID|2|InstanceType|2|istable=1|wiki=<nowiki> | |||
|- | |- | ||
| | | {{#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> }} | |||
|- | |- | ||
| ? || Onyxia's Lair || || || | |||
| ? || Onyxia's Lair | |||
| | |||
| | |||
|} | |} | ||
== Cataclysm Dungeons == | == Cataclysm Dungeons == | ||
{| class="darktable sortable zebra" | {| class="darktable sortable zebra" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
{{Cd/Rows|Instances|ExpansionID|3|InstanceType|1|istable=1|wiki=<nowiki> | |||
|- | |- | ||
| | | {{#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> }} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|} | |} | ||
== Cataclysm Raids == | == Cataclysm Raids == | ||
{| class="darktable sortable zebra" | {| class="darktable sortable zebra" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
| | {{Cd/Rows|Instances|ExpansionID|3|InstanceType|2|istable=1|wiki=<nowiki> | ||
| | |||
| | |||
| | |||
|- | |- | ||
| | | {{#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" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
{{Cd/Rows|Instances|ExpansionID|4|InstanceType|1|istable=1|wiki=<nowiki> | |||
|- | |- | ||
| | | {{#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" | |||
|- | |- | ||
| | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
{{Cd/Rows|Instances|ExpansionID|4|InstanceType|2|istable=1|wiki=<nowiki> | |||
|- | |- | ||
| | | {{#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" | |||
|- | |- | ||
| | ! 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" | |||
|- | |- | ||
| | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
{{Cd/Rows|Instances|ExpansionID|5|InstanceType|2|istable=1|wiki=<nowiki> | |||
|- | |- | ||
| | | {{#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 Dungeons == | ||
{| class="darktable sortable zebra" | {| class="darktable sortable zebra" | ||
|- | |- | ||
! | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
{{Cd/Rows|Instances|ExpansionID|6|InstanceType|1|istable=1|wiki=<nowiki> | |||
|- | |- | ||
| | | {{#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" | |||
|- | |- | ||
| | ! IID !! Instance Name !! MapID !! Map Name !! Max Players | ||
{{Cd/Rows|Instances|ExpansionID|6|InstanceType|2|istable=1|wiki=<nowiki> | |||
|- | |- | ||
| | | {{#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> }} | |||
|} | |} | ||
Revision as of 21:45, 29 September 2017
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
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
- IID - the actual InstanceMapID or Instance ID.
- Instance Name - the actual instance name as returned by GetInstanceInfo()
- MapID - the MapID as returned by GetCurrentMapAreaID()
- Map Name - the actual Map name as returned by GetMapNameByID()
- Zone Name - Zone name returned by GetZoneText() or GetRealZoneText()
- LfgID - Looking for Group dungeon ID as used by GetLFGDungeonInfo()
- Lfg Name - Looking for Group dungeon name
Continents and Areas
IID | Instance Name | MapID | Map Name | Expansion
|
---|---|---|---|---|
646 | Deepholm | |||
860 | The Wandering Isle |
Battlegrounds
IID | Instance Name | MapID | Map Name | Expansion
|
---|
Arenas
IID | Instance Name | Expansion
|
---|
Garrisons
IID | Instance Name | Expansion
|
---|
Classic Dungeons
IID | Instance Name | MapID | Map Name | Zone Name | Max Players
|
---|
Classic Raids
IID | Instance Name | MapID | Map Name | Max Players
|
---|
Burning Crusade Dungeons
IID | Instance Name | MapID | Map Name | Max Players
|
---|
Burning Crusade Raids
IID | Instance Name | MapID | Map Name | Max Players
|
---|
WotLK Dungeons
IID | Instance Name | MapID | Map Name | Max Players
|
---|
WotLK Raids
IID | Instance Name | MapID | Map Name | Max Players
|
---|---|---|---|---|
? | Onyxia's Lair |
Cataclysm Dungeons
IID | Instance Name | MapID | Map Name | Max Players
|
---|
Cataclysm Raids
IID | Instance Name | MapID | Map Name | Max Players
|
---|
Pandaria Dungeons
IID | Instance Name | MapID | Map Name | Max Players
|
---|
Pandaria Raids
IID | Instance Name | MapID | Map Name | Max Players
|
---|
Warlords Dungeons
IID | Instance Name | MapID | Map Name | Max Players
|
---|
Warlords Raids
IID | Instance Name | MapID | Map Name | Max Players
|
---|
Legion Dungeons
IID | Instance Name | MapID | Map Name | Max Players
|
---|
Legion Raids
IID | Instance Name | MapID | Map Name | Max Players
|
---|