Thread Tools Display Modes
06-13-18, 01:35 PM   #41
Voxxel
A Chromatic Dragonspawn
Join Date: Mar 2009
Posts: 193
I found an old thread of mine asking the same question:

http://www.wowinterface.com/forums/s...ad.php?t=54172

... answered by many nice people. Semlar gave a working solution (4th post) to print out the map IDs used by wowdb/wowhead/others so the numbers I'm looking for were in the game once:

Code:
/script print(GetAreaMapInfo(GetCurrentMapAreaID()))
It's second return is / was the number that dataminer sites use. However, I can't get it to return anything in BfA beta. If this script could be "converted" to BfA-compatible maybe I can get the numbers?
  Reply With Quote
06-13-18, 05:49 PM   #42
Nimhfree
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 267
There is a mapping from the old map/dungeon levels to the new mapIds, which can be found in a BfA system if you dump the Blizzard code at AddOns/Blizzard_Deprecated/UIMapIDToWorldMapAreaID.lua

If you determine the mapping from the map/dungeon levels to the values used on the sites in a live system, and then use this BfA information, you can then make your mapping from the new BfA mapIDs to the values used on the sites. Not fun, but I bet when you are done if you make it available others may appreciate the work you put into it.
  Reply With Quote
06-14-18, 12:56 AM   #43
Voxxel
A Chromatic Dragonspawn
Join Date: Mar 2009
Posts: 193
Since 67.66% of your post seems chinese to me, it won't be me who reaps vast rewards here.
  Reply With Quote
06-14-18, 07:27 AM   #44
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Originally Posted by Voxxel View Post
Since 67.66% of your post seems chinese to me, it won't be me who reaps vast rewards here.
Is that worse than being all greek ?

Anyhow .. I'll try and break that post down to a chinglish level :P

This link explains how to export the blizzard art and code to your hard drive, in case you hadn't done this in a long while, it helped me.
https://wow.gamepedia.com/Viewing_Bl...interface_code

Once you have done that you should find the following file in your respective Wow folder, here's mine.
G:\Blizzard\World of Warcraft Beta\BlizzardInterfaceCode\Interface\AddOns\Blizzard_Deprecated

The file is very long which is why it wasn't posted in it's entirety but here are the first few lines to show you what was meant. However, a quick search does not reveal the number 8567 or any 4 digit number starting with 856x.

Code:
-- This is for the 8.x map transition. 
-- Previously maps were represented by either by a pair of WorldMapAreaID and DungeonFloor, or a DungeonMapID.
-- In the new system all maps are represented by a UiMapID. 
-- The CSV formatted comment below holds mapping between the two systems at the time of transition.
-- This file will be removed in a future patch.


--[[
UiMapID,WorldMapAreaID,DungeonMapID,DungeonFloor
1,4,,0
2,4,598,8
3,4,602,10
4,4,603,11
5,4,604,12
6,4,657,19
7,9,,0
8,9,570,6
9,9,575,7
10,11,,0
11,11,690,20
12,13,,0
13,14,,0
14,16,,0
15,17,,0
16,17,695,18
17,19,,0
18,20,,0
19,20,592,13
20,20,976,25
The next suggestion was for you to use this list to create a lookup function of the old id to the new id and vice versa so that you can use Blizzard functionality to reveal the old zone equivalents that the websites appear to still be using.

I hope that makes Nimh's posting a bit more clearer.
__________________
  Reply With Quote
06-14-18, 01:52 PM   #45
dssd
A Fallenroot Satyr
Join Date: May 2016
Posts: 25
There's some confusion between UI maps and maps. UI maps are what you view when you press M.

Maps (or sometimes seen in Blizzard's code as continentID) are the physical areas that we run around in. A UI map is a view onto one or more physical maps. It doesn't make sense to say that a creature spawns in a UI map.

The deprecated table is a mapping between the old UI map system and the new UI map system. It won't help much if you're looking for physical map data. There's the function C_Map.GetWorldPosFromMapPos(uiMapID, mapPosition) -> continentID, worldPosition which can help you convert between the two.
  Reply With Quote
06-14-18, 06:48 PM   #46
Nimhfree
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 267
Here is an example that hopefully helps.

On a live server if you are in Stormwind and you do:

/dump GetCurrentMapAreaID()

you get:

[1]=301,
[2]=false

Blizzard indicates that the mapId is 301 for Stormwind City.

If you do:

/dump GetAreaMapInfo(301)

you get a bunch of stuff which includes:

[2]=1519

This 1519 is the zone value that is used on a site like wowhead for Stormwind City.

If you look in the UIMapIDToWorldMapAreaID.lua file dumped from a BfA beta system you will see a line:

84,301,,0

This means that BfA beta considers the mapID 84 to be the same that live called 301.

Now you have the three pieces of information you wanted:

Live mapID: 301
Live zoneID: 1519
BfA mapID: 84

You can create any mapping you want, e.g., you can say that BfA map 84 really is the same as zone 1519 on wowhead.

Now the BfA map transition is a bit of a pain since we tend to store map data using its old mapID or possibly a combination of mapID and dungeon level. So if we are to transition old map data to new we need to use that UIMapIDToWorldMapAreaID.lua to change values.

However, the new BfA map stuff is really useful for at least two reasons:

(1) There is no longer a dungeon level concept. Each map has its own ID. Therefore, if you have a dungeon with three levels, you have three unique map IDs.

(2) A character is in more than one map at the same time. For example, all at the same time a character can be in a dungeon, in a city, in a zone, in a continent, on a world. On each map the coordinates will be different. When one looks at a map at any level one can easily see where the character is (assuming the map shows the character).
  Reply With Quote
06-15-18, 02:58 AM   #47
arith
A Cyclonian
 
arith's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 45
The following event is also no longer valid:
  • TRADE_CLOSE
  Reply With Quote
06-15-18, 05:13 PM   #48
thomasjohnshannon
A Theradrim Guardian
 
thomasjohnshannon's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 68
Originally Posted by arith View Post
The following event is also no longer valid:
  • TRADE_CLOSE
Just add a D to it. TRADE_CLOSED
__________________
Thomas aka Urnn
  Reply With Quote
06-16-18, 06:21 PM   #49
kaytotes
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 18
Code:
HasSoulstone()
Appears to be gone. Not sure of the work around yet.
  Reply With Quote
06-16-18, 07:56 PM   #50
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
From the 7.3.5 Deprecated.lua
Code:
-- Use C_DeathInfo.GetSelfResurrectOptions instead
function HasSoulstone()
	local options = GetSortedSelfResurrectOptions();
	return options and options[1] and options[1].name;
end
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote
06-16-18, 10:14 PM   #51
kaytotes
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 18
Where is that deprecated.lua?
  Reply With Quote
06-16-18, 10:27 PM   #52
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
After you export the UI code files

[WoW]\BlizzardInterfaceCode\Interface\AddOns\Blizzard_Deprecated

See the notes in the .toc file.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote
09-19-18, 02:46 PM   #53
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 156
Is there a replacement for PARTY_CONVERTED_TO_RAID ?
My google-foo seems to be inadequate.
  Reply With Quote
09-21-18, 10:08 PM   #54
Thrumbar
A Chromatic Dragonspawn
Join Date: Jan 2005
Posts: 157
Only thing I could find is..

https://www.townlong-yak.com/framexm...umentation.lua

Name = "GroupRosterUpdate",
Type = "Event",
LiteralName = "GROUP_ROSTER_UPDATE"

Name = "InstanceGroupSizeChanged",
Type = "Event",
LiteralName = "INSTANCE_GROUP_SIZE_CHANGED",

Just to list 2...
  Reply With Quote
09-22-18, 04:04 PM   #55
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 156
Thank you.
Seems like I'm in for a lot of wrapping.
  Reply With Quote

WoWInterface » PTR » PTR API and Graphics Changes » Missing Frames, Events and Functions in Battle For Azeroth

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