Thread Tools Display Modes
12-15-22, 01:13 PM   #1
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
New areaID m+ dungeon code

Hi all,

I am trying to update my addon to works with the new season m+ dungeons.

I was looking for the right areaID for them, but I was unable to find easily.
I got them crawling some weakauras.

Lua Code:
  1. local mapIDs = {
  2.     [433] = {"ALGE",    "Algeth'ar Academy"},
  3.     [430] = {"RUBY",    "Ruby Life Pools"},
  4.     [428] = {"AZURE",   "The Azure Vault"},
  5.     [400] = {"NOKH",    "The Nokhud Offensive"},
  6.     [252] = {"COURT",   "Court of Stars"},
  7.     [240] = {"HALLS",   "Halls of Valor"},
  8.     [223] = {"GROUND""Shadowmoon Burial Grounds"},
  9.     [201] = {"JADE",    "Temple of the Jade Serpent"},
  10. }

But I am not sure they are right :/

Probably "The Nokhud Offensive" is right having me a +2 key and it works ...



Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.

Last edited by gmarco : 12-15-22 at 01:19 PM.
  Reply With Quote
12-15-22, 11:58 PM   #2
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Hi,

I found something here:
https://wowpedia.fandom.com/wiki/KeystoneString.

That reports some areaID values different from the ones I found in the weakaura I checked.
The problem is there are no info on DF dungeons.

If someone of you have a m+ key and can run this command on his/her chat:
Lua Code:
  1. /run print(C_MythicPlus.GetOwnedKeystoneChallengeMapID())

giving me back the number and also the name of the key it will be much appreciated.

Thanks and sorry for the noise
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote
12-16-22, 01:56 AM   #3
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Hi all again,

actually I found and collect these, but I am not so sure for the DF dungeons:

Lua Code:
  1. [169] = { "DOCKS",      "Iron Docks" },
  2.     [166] = { "RAIL",       "Grimrail Depot"},
  3.     [165] = { "GROUND",     "Shadowmoon Burial Grounds" },
  4.    
  5.     [197] = { "EYE" ,       "Eye of Azhara" },
  6.     [198] = { "DHT",        "Darkhearth Thicket" },
  7.     [199] = { "BH",         "Blackrook Hold" },
  8.     [200] = { "HoV",        "Halls of Valor" },
  9.     [206] = { "NL",         "Neltharion's Lair" },
  10.     [207] = { "VoW",        "Vault of the Wardens" },
  11.     [208] = { "MoS",        "Maw of Souls" },
  12.     [209] = { "TARC",       "The Arcway" },
  13.     [210] = { "COURT",      "Court of Stars" },
  14.     [227] = { "LOW",        "Return to Karazhan: Lower" },
  15.     [233] = { "CATH",       "Cathedral of Eternal Night" },
  16.     [234] = { "UPPER",      "Return to Karazhan: Upper" },
  17.     [239] = { "SoT",        "The Seat of the Triumvirate" },
  18.  
  19.     [244] = { "AD",         "Atal'Dazar" },
  20.     [245] = { "FH",         "Freehold" },
  21.     [246] = { "TD",         "Tol Dagor" },
  22.     [247] = { "ML",         "The Motherlode" },
  23.     [248] = { "WM",         "Waycrest Manor" },
  24.     [249] = { "KR",         "King's Rest" },
  25.     [250] = { "TOS",        "Temple of Sethraliss" },
  26.     [251] = { "UNDR",       "The Underrot" },
  27.     [252] = { "SOTS",       "Shrine of the Storm" },
  28.     [353] = { "SIEGE",      "Siege of Boralus" },
  29.     [369] = { "YARD",       "Operation Mechagon - Junkyard" },
  30.     [370] = { "WORK",       "Operation Mechagon - Workshop" },
  31.  
  32.     [375] = { "MIST",       "Mists of Tirna Scithe" },
  33.     [376] = { "NW",         "The Necrotic Wake" },
  34.     [377] = { "DOS",        "De Other Side" },
  35.     [378] = { "HOA",        "Halls of Atonement" },
  36.     [379] = { "PLAGUE",     "Plaguefall" },
  37.     [380] = { "SD",         "Sanguine Depths" },
  38.     [381] = { "SPIRE",      "Spires of Ascension" },
  39.     [382] = { "TOP",        "Theater of Pain" },
  40.     [391] = { "TSOW",       "Tazavesh: Streets of Wonder" },
  41.     [392] = { "TSG",        "Tazavesh: So'leah's Gambit" },
  42.  
  43.     [2]   = { "JADE",       "Temple of the Jade Serpent" },
  44.    
  45.     [399] = { "RUBY",       "Ruby Life Pools" },
  46.     [400] = { "NOKH",       "The Nokhud Offensive" },
  47.     [???] = { "AZURE",      "The Azure Vault" },
  48.     [402] = { "ALGE",       "Algeth'ar Academy" },

Thanks again.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.

Last edited by gmarco : 12-16-22 at 11:34 AM.
  Reply With Quote
12-16-22, 12:01 PM   #4
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Hi all,

the search for dungeon areaID is almost over. I need only The azure vault then I think I have correctly mapped the 8 dungeons.

Just one question now.

I'd like to have an array made in this way:


Lua Code:
  1. [197] = { "EYE" }

where 197 is areaID code of the dungeon and EYE is a short memonic to print in databroker.

I'd like to use the areaID code to found in some way the dungeon name so avoiding the need to write the record in this way:

Lua Code:
  1. [197] = { "EYE" ,       "Eye of Azhara" },

and to have the need of the localization strings.

The problem is that I am not able to associate in any way that areaID with the dungeon name.

I use the areaID code in functions:
https://wowpedia.fandom.com/wiki/Cat...s/C_MythicPlus

But there is not anything to retrieve dungeon name.

So I thought to add another (different) number (journalInstanceID) from here in the record :
https://wowpedia.fandom.com/wiki/API_EJ_GetInstanceInfo

and use that to call and get the name of the dungeon .

Do you think I have a better approach to do this thing ?
Thanks. Really appreciated.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote
12-17-22, 12:13 AM   #5
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Hi all,

I have solved and I wanted to share if someone else finds the same kinds of problems.

The big mistake I made was to consider m+ run as normal dungeon and so I continue to google for dungeons but they are not :/

They are the old challenge_mode .

Once understood (or remembered) it everything is so simple
The page I was looking for is this:
https://wowpedia.fandom.com/wiki/Cat..._ChallengeMode

And having the areaID of the m+ dungeon to get the name is simple as:
Lua Code:
  1. C_ChallengeMode.GetMapUIInfo(mapID)

Another valuable page I found that helps me so much is this:
https://wow.tools/dbc/?dbc=mapchalle...5.47186#page=1

Where the first colum is the relevant ID I need to fill all the m+ dungeons areaID code.
Now I got everything

Thanks so much for attention and sorry for spamming
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » New areaID m+ dungeon code

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off