Thread Tools Display Modes
06-19-24, 11:50 AM   #1
Ssesmar
A Deviate Faerie Dragon
Join Date: Oct 2023
Posts: 17
Zone ids for Fog of War Addons

hey, I have a question regarding FogOfWar info. Eg ElvUI Fog of War. Where and how do they get the zone IDs? Since these are not the uiMapIDs of the zones but always + / - a number. For example, with this addon the actual ID of Durotar is not used, i.e. “1”, but rather “2”.
Lua Code:
  1. [2] = { -- Durotar
  2.             [89070981210552] = "440583",
  3.             [105565468041622] = "271426",
  4.             [114359748968448] = "271427",
  5.             [115462146474282] = "271440",
  6.             [120960911204400] = "271439",
  7.             [123160539553949] = "271421",
  8.             [129755528814652] = "271428",
  9.             [134155319066798] = "440584",
  10.             [136350047518984] = "271422",
  11.             [139655293305144] = "271443,440585",
  12.             [142397831290880] = "271435,271442",
  13.             [181436534858141] = "271437,440582",
  14.         },
The Tanaan Jungle has the uiMapID "534" but is used here with "551", for example.
Lua Code:
  1. [551] = { -- Tanaan Jungle
  2.             [95671470924143] = "1126684",
  3.             [103923581313086] = "1126693,1126694",
  4.             [114915406774536] = "1126692",
  5.             [122607830630587] = "1126689",
  6.             [130857255739563] = "1126706",
  7.             [135254562374015] = "1126703",
  8.             [136360515420514] = "1126704,1126705",
  9.             [148448032203065] = "1126701,1126702",
  10.             [150649938297026] = "1126707,1126708",
  11.             [179786326458630] = "1126690,1126691",
  12.             [183098017816712] = "1126680,1126681,1126682,1126683",
  13.             [185834511188062] = "1126699,1126700",
  14.             [188583964418440] = "1126685,1126686,1126687,1126688",
  15.             [200679397326871] = "1126695,1126696,1126697,1126698",
  16.         },
I wanted to add the Emerald Dream map (uiMapID 2200) to ElvUI Fog of War.
Lua Code:
  1. [????] = { -- Emerald Dream
  2.         [474496456303785] = "5393987,5393988,5393989,5393990,5393991,5393992,5393993,5393994,5393995,5393996,5393997,5393998,5393999,5394000,5394001,5394002",
  3.         [517377203389166] = "5393887,5393888,5393889,5393890,5393891,5393892,5393893,5393894,5393895,5393896,5393897,5393898,5393899,5393900,5393901,5393902",
  4.         [535539555845197] = "5393943,5393944,5393945,5393946,5393947,5393948,5393949,5393950,5393951,5393952,5393953,5393954,5393955,5393956,5393957,5393958,5393959,5393960,5393961,5393962",
  5.         [545421406102344] = "5393927,5393928,5393929,5393930,5393931,5393932,5393933,5393934,5393935,5393936,5393937,5393938,5393939,5393940,5393941,5393942",
I've already read out the data for it, but I can't find the appropriate ID so that it can also be displayed on this map.
  Reply With Quote
06-19-24, 05:59 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,921
I don't know about ElvUI but maybe check if it lists this as a lib
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote
06-20-24, 12:47 AM   #3
Ssesmar
A Deviate Faerie Dragon
Join Date: Oct 2023
Posts: 17
Originally Posted by Fizzlemizz View Post
I don't know about ElvUI but maybe check if it lists this as a lib
hey, no, there was nothing there.
thanks, figured it out, thanks to you

Last edited by Ssesmar : 06-20-24 at 08:02 AM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Zone ids for Fog of War Addons


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