- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,102 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top StarCraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
LibMapData-1.0
- 0 Likes
- World of Warcraft
- 2,417 Monthly Downloads
- Supports: 5.2.0
- 126,060 Total Downloads
- Updated 03/05/2013
- Created 05/30/2010
- 62 Favorites
- Project Site
- Comments
- Release Type: Release
- License: All Rights Reserved
- Newest File: 0.28-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
------------------------------------------------------------------------
r128 | kagaro | 2013-03-05 15:45:56 +0000 (Tue, 05 Mar 2013) | 1 line
Changed paths:
A /tags/0.28-release (from /trunk:127)
Tagging as 0.28-release
------------------------------------------------------------------------
r127 | kagaro | 2013-03-05 15:44:47 +0000 (Tue, 05 Mar 2013) | 1 line
Changed paths:
M /trunk/LibMapData-1.0.toc
M /trunk/library.lua
5.2 update
------------------------------------------------------------------------
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| 0.28-release | Release | 5.2.0 | 8,954 | 03/05/2013 |
| 0.27-release | Release | 5.1.0 | 9,845 | 11/30/2012 |
| 0.26-release | Release | 5.0.5 | 10,553 | 09/24/2012 |
| 0.25-release | Release | 5.0.5 | 312 | 09/24/2012 |
| 0.24-release | Release | 5.0.4 | 7,071 | 08/28/2012 |
| 0.23-release | Release | 4.3.4 | 4,805 | 07/09/2012 |
| 0.22-release | Release | 4.3.4 | 3,664 | 06/02/2012 |
| 0.21-release | Release | 4.3 | 24,030 | 12/01/2011 |
| 0.20-release | Release | 4.2 | 12,552 | 11/29/2011 |
| 0.19-release | Release | 4.2 | 15,688 | 07/02/2011 |
| 0.18-release | Release | 4.2 | 3,371 | 07/01/2011 |
| 0.17-release | Release | 4.2 | 4,242 | 06/30/2011 |
| 0.16-release | Release | 4.1 | 7,512 | 04/28/2011 |
| 0.15-release | Release | 4.0.6 | 2,138 | 04/24/2011 |
| 0.14-release | Release | 4.0.3a | 243 | 01/10/2011 |
| 0.13-release | Release | 4.0.3a | 81 | 01/09/2011 |
| 0.12-release | Release | 4.0.3a | 96 | 12/30/2010 |
| 0.11-release | Release | 4.0.3a | 257 | 12/09/2010 |
| 0.10-release | Release | 4.0.3a | 70 | 12/05/2010 |
| 0.09-release | Release | 4.0.1 | 164 | 10/12/2010 |
| 0.08-release | Release | 4.0.1 | 47 | 10/03/2010 |
| 0.07-release | Release | 3.3.5 | 167 | 10/02/2010 |
| 0.06-release | Release | 3.3.5 | 31 | 10/01/2010 |
| 0.05-release | Release | 3.3.5 | 83 | 07/27/2010 |
| 0.04-release | Release | 3.3.5 | 35 | 07/12/2010 |
| 0.03-release | Release | 3.3.5 | 63 | 06/11/2010 |
| 0.02-release | Release | 3.3.5 | 27 | 06/10/2010 |
| 0.1-release | Release | 3.3.5 | 32 | 06/07/2010 |
| 0.1-RC1 | Beta | 3.3.5 | 10 | 06/06/2010 |
| 0.1-Beta | Beta | 3.3.5 | 18 | 05/31/2010 |
Addon Packs Containing This...
Top Downloads
-
- Deadly Boss Mods
- Combat, PvP, and Boss Encounters
- 999,752 Monthly Downloads
-
- Bagnon
- Bags & Inventory
- 466,028 Monthly Downloads
-
- Auctioneer
- Mail, Tooltip, Bags & Inventory, Professions, and Auction & Economy
- 340,607 Monthly Downloads
-
- Recount
- Combat
- 314,809 Monthly Downloads
-
- HealBot Continued
- Healer and Unit Frames
- 293,027 Monthly Downloads
Comments
An update for Throne of Thunder for 5.2 would be nice, tyvm
will be pushed when it goes live im having issues with ptr data being accurate.
Thank you,
Any progress on map for Sha of Fear HM?
ill see if I can extract the data for it. some of those 'phases' arent really maps in game sense but a screen overlay effect and doesnt return x,y for those areas but ill investigate since im working on 5.2 ptr data as well.
Hey, Sha of Fear heroic last phase is missing here, would be nice if you could add it.
Message: ..\AddOns\LibMapData-1.0\library.lua line 60:
unexpected symbol near '/'
LouCypher, all fixed, sorry about that i forgot a luac before the tagging.
its fixed now.
Yup! There is the bug with - Everyquest Quest Givers (part of addon) Here is spaming at login wall of text that I've posted before
use build r110 from wowace
Same bugs, at login and after spaming 823 (r110 from wowace and tried same from curse)
libmapdata-1.0 is missing data for 820 - Darkmoon Faire
make sure your addons are updated as the darkmoon faire info is in the library.
You might have some odler version installed that is missing teh data be sure if your using tomtom to update to the latest as it had an old copy of the library
Ok, I'll try to check other addons
if you grab the alpha of libmapdata and still seeing spam, that means you have an older version embedded in one fo your addons as I removed the warning messages in the alpha completly