- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
5,105 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks WoT Mods
- Top Starcraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Videos
- Forums
LibMapData-1.0
- 0 Likes
- World of Warcraft
- 587 Monthly Downloads
- Supports: 4.3
- 75,599 Total Downloads
- Updated 12/1/2011 6:30:04 PM
- Created 5/30/2010 10:06:59 AM
- 50 Favorites
- Project Site
- Comments
- Release Type: Release
- License: All Rights Reserved
- Newest File: 0.21-release
About LibMapData-1.0
Small library that provides mapfile data. it include width,height, upper left x,y and lower right x,y. This data includes multi-floor maps such as the new instances.
To get the mapfile names use GetMapInfo() on the current map. Filenames are constant across localizations.
Sample usage:
mapfiles = LibStub("LibMapData-1.0"); -- get the size of Coth defaulting to the first floor size local width,height = mapfiles:MapArea('CoTStratholme') -- get the size of the 8th floor of icc width,height = mapfiles:MapArea('IcecrownCitadel',8) -- get the size of the Arati mapfile. width,height = mapfiles:MapArea('Arathi')
The floors are optional and if a given floor is not found 0,0 will be returned. This lib came about as a result of several addons needing the data, and simply copying and pasting them in each copy occupies around 44k of memory.
LibMapData now supports Mapchanged callback event. Sample usage:
mapfiles = LibStub("LibMapData-1.0"); mapfiles:RegisterCallback("MapChanged",function(event,map,floor,w,h) print("Map is now "..map) end
------------------------------------------------------------------------
r100 | kagaro | 2011-12-02 00:28:58 +0000 (Fri, 02 Dec 2011) | 1 line
Changed paths:
A /tags/0.21-release (from /trunk:99)
Tagging as 0.21-release
------------------------------------------------------------------------
r99 | kagaro | 2011-12-02 00:27:41 +0000 (Fri, 02 Dec 2011) | 1 line
Changed paths:
M /trunk/library.lua
Updated lib from forum tests that shows game data incorrect
------------------------------------------------------------------------
r97 | kagaro | 2011-11-29 12:06:46 +0000 (Tue, 29 Nov 2011) | 1 line
Changed paths:
M /trunk/LibMapData-1.0.toc
toc bump
------------------------------------------------------------------------
r96 | kagaro | 2011-11-28 13:01:19 +0000 (Mon, 28 Nov 2011) | 1 line
Changed paths:
M /trunk/library.lua
Adding 4.3 zone data
------------------------------------------------------------------------
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| 0.21-release | Release | 4.3 | 23,907 | 12/1/2011 6:30:04 PM |
| 0.20-release | Release | 4.2 | 12,550 | 11/29/2011 6:08:29 AM |
| 0.19-release | Release | 4.2 | 15,673 | 7/2/2011 9:46:43 AM |
| 0.18-release | Release | 4.2 | 3,371 | 7/1/2011 7:16:45 PM |
| 0.17-release | Release | 4.2 | 4,242 | 6/30/2011 6:28:27 PM |
| 0.16-release | Release | 4.1 | 7,483 | 4/28/2011 6:43:07 AM |
| 0.15-release | Release | 4.0.6 | 2,120 | 4/24/2011 9:30:08 AM |
| 0.14-release | Release | 4.0.3a | 240 | 1/10/2011 5:19:02 PM |
| 0.13-release | Release | 4.0.3a | 81 | 1/9/2011 3:55:58 PM |
| 0.12-release | Release | 4.0.3a | 96 | 12/30/2010 11:15:18 AM |
| 0.11-release | Release | 4.0.3a | 236 | 12/9/2010 5:12:34 PM |
| 0.10-release | Release | 4.0.3a | 70 | 12/5/2010 11:47:50 AM |
| 0.09-release | Release | 4.0.1 | 162 | 10/12/2010 9:26:25 AM |
| 0.08-release | Release | 4.0.1 | 45 | 10/3/2010 2:50:57 PM |
| 0.07-release | Release | 3.3.5 | 114 | 10/2/2010 5:38:16 PM |
| 0.06-release | Release | 3.3.5 | 31 | 10/1/2010 3:02:37 PM |
| 0.05-release | Release | 3.3.5 | 83 | 7/27/2010 6:28:56 AM |
| 0.04-release | Release | 3.3.5 | 35 | 7/12/2010 7:46:42 PM |
| 0.03-release | Release | 3.3.5 | 63 | 6/11/2010 9:32:24 AM |
| 0.02-release | Release | 3.3.5 | 26 | 6/10/2010 1:43:50 PM |
| 0.1-release | Release | 3.3.5 | 32 | 6/7/2010 8:17:12 AM |
| 0.1-RC1 | Beta | 3.3.5 | 10 | 6/6/2010 2:03:48 PM |
| 0.1-Beta | Beta | 3.3.5 | 17 | 5/31/2010 1:12:56 PM |
Addon Packs Containing This...
Top Downloads
-
- Bagnon
- Bags & Inventory
- 380,324 Monthly Downloads
-
- Deadly Boss Mods
- Combat and Boss Encounters
- 302,560 Monthly Downloads
-
- Recount
- Combat
- 301,016 Monthly Downloads
-
- SpellFlash
- PvP, Buffs & Debuffs, Quests & Leveling, Action Bars, and Combat
- 282,737 Monthly Downloads
-
- GatherMate2_Data
- Achievements
- 210,508 Monthly Downloads
Comments
My Carbonite Installation evidently uses this for map data
Entering darkmoonfaire
LibMapData-1.0 is missing data for 823
Entering darkmoonfaire
LibMapData-1.0 is missing data for 823
Your data for Dragon Soul floors 2 and 3 seems to be incorrect. We measured the first four floors for DBM by using the mage blink method as the data from the game files seemed to be incorrect. Here are our results for floor 2 and 3:
Floor, size X, size Y
2, 397.49887572464, 264.99992263558, -- Maw of Go'rath
3, 427.50311666243, 285.00046747363, -- Maw of Shu'ma
The game files and your library contain the following information:
2, 223.75, 91.25,
3, 1352, 1209.5,
ill update it
mapData[820] = { ['floors'] = 6, ['name'] = "EndTime", ['rzti'] = 938, ['map_type'] = 1, ['continent'] = 4, ['transform'] = 0,
[1] = {3295.8331298829,2197.9165039063,-2260.4165039063,4697.9165039063,1035.4166259766,2500},[2] = {562.5,375,-231.25,2918.75,-793.75,3293.75},[3] = {865.62054443357,577.0803222656,-534.89825439453,3499.9997558594,-1400.5187988281,4077.080078125},[4] = {475,316.6665039063,-1181.25,4229.1650390625,-1656.25,4545.8315429688},[5] = {696.884765625,464.58984375,290.109375,2570.830078125,-406.775390625,3035.419921875},[6] = {453.13500976562,302.08984375,646.35900878906,3970.830078125,193.22399902344,4272.919921875}, }
mapData[816] = { ['floors'] = 0, ['name'] = "WellofEternity", ['rzti'] = 939, ['map_type'] = 1, ['continent'] = 4, ['transform'] = 0, [1] = {1252.0830078125,833.3332519532,4650,3766.6665039063,5902.0830078125,2933.3332519531}, }
mapData[819] = { ['floors'] = 2, ['name'] = "HourofTwilight", ['rzti'] = 940, ['map_type'] = 1, ['continent'] = 4, ['transform'] = 0, [1] = {3043.7498779297,2029.1665039062,-1791.6666259766,5327.0830078125,1252.0832519531,3297.9165039063}, [2] = {0,0,0,0,0,0}, }
mapData[824] = { ['floors'] = 7, ['name'] = "DragonSoul", ['rzti'] = 967, ['map_type'] = 2, ['continent'] = 0, ['transform'] = 0, [1] = { 3106.7084960938,2063.0651855469,833.5927734375,-565.0927734375,3940.3012695313,-2628.1579589844 }, [2] = { 223.75,91.25,2113.75, -1716.25,1890, -1625 }, [3] = { 1352,1209.5,3262, -2834.5, 1910, -1625 }, [4] = { 185.19921875,123.466796875,-13523.900390625, 13528.266601563,-13709.099609375,13651.733398438}, [5] = { 1.5,1,0.25, 0, -1.25, 1 }, [6] = { 1.5,1,0.25, 0, -1.25, 1 }, [7] = { 1108.3515625,738.900390625,-11427.07421875,-12254.900390625,-12535.42578125,-11516 }, }
I'll get it in tonight
Is it still up to date or do I have the wrong WorldMapArea.dbc? I'm not getting any of the new dungeons or even Firelands when I output to the console/text file.
I could only find one WorldMapArea.dbc and that was in locale-enUS.MPQ.
Mpq files. The data tools project has all the code
Thanks! Did you previously use in game script macros to get the data or did you examine the map files from the .mpq files. I found macros to help me in game.
At line 965, add this
mapData[800] = {
['floors'] = 3, ['name'] = "Firelands", ['rzti'] = 0, ['map_type'] = 2, ['continent'] = 0, ['transform'] = 0,
[1] = {0,0,1,1}, [2] = {0,0,1,1}, [3] = {0,0,1,1},
}
It will shut up the error at least, until we can get actual data and have it updated.