Thread Tools Display Modes
09-03-10, 01:14 PM   #1
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
Question Astrolabe for Cataclysm

http://wiki.esamynn.org/Astrolabe

My question is basically, how can I add the new Cataclysm zone data to it? If you look at "Astrolabe.lua" on line 1079 and beyond, you see that each parent (continent ID) has their children zones, where each child contains height, width, xOffset and yOffset.

How I see it is that the height and width are the zone physical dimensions in yards. Not the map "0 to 1.0" float coordinates addons generate. The other thing is a X and Y offset, probably the top-left corner of the zone, relative to the parent continent.

How exactly could I gather the data needed to construct the entries required for the new zones? I think I need to use some other method than the in-game API as it won't suffice...

Any clues?
 
09-03-10, 01:27 PM   #2
Xinhuan
A Chromatic Dragonspawn
 
Xinhuan's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 174
The information for zone sizes and offsets from the continent parent map are basically available in the .dbc files you can extract using an MPQ extractor. GatherMate and Routes (which I wrote) uses these data.

Astrolabe's data doesn't come from the .dbc files though, it comes from pure observation and testing of values and then tweaking them ingame until they fit. HandyNotes (which i wrote too) uses Astrolabe.

You can take a look at LibMapData-1.0 on wowace, where we are setting up a new library containing just map data and some conversion and zone name localisation functions for general use that we intend to use for the GatherMate/Routes/etc addons. Instead of using mapFile names as unique map identifiers, it uses the unique zone IDs introduced with Wintergrasp (data also available in the .dbc files) for every zone in the game. This includes instances.

LibMapData-1.0 will be built to also handle phasing maps (there are a number of zones where the zone map is different based on the phase you are in) as well as dungeon levels. The coordinates used internally is being expanded from 8 digits to 10, but we may expand this to 15 digits (the max integer that can be saved with accuracy).

[P.S. I'm not trying to advocate any library or data over another. Just giving some options and sources of data.]
__________________
Author of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, GatherMate2, Routes and Cartographer_Routes
 
09-03-10, 01:49 PM   #3
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
On a side note, blizzard really makes us go great lenghts just to for example make the world map quest icons show on the minimap. That's what I used Astrolabe for until Cataclysm came, so I am researching for alternatives. Preferably a library that let's me just tell it "show X on the minimap" and it handles orientation and position of the icon itself.

By all means share your knowledge, I like to learn and discover new things -including new libraries.
 
09-03-10, 02:03 PM   #4
MysticalOS
A Wyrmkin Dreamwalker
 
MysticalOS's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 54
yeah the fact i can track everything at once, and flight paths are on map now. it pretty much killed the need for handynotes for me. but i still love your works anyways

gathermate isn't going anywhere though.
 
09-03-10, 10:37 PM   #5
Xinhuan
A Chromatic Dragonspawn
 
Xinhuan's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 174
Yep. Basically, GatherMate is undergoing a revamp to handle phasing terrain. Currently undecided whether to call it GatherMate2 (and people who want to import data from GM1 (what for??) could use anther addon to do it), or just wipe all existing data and reuse GM1.
__________________
Author of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, GatherMate2, Routes and Cartographer_Routes
 
09-03-10, 11:08 PM   #6
MysticalOS
A Wyrmkin Dreamwalker
 
MysticalOS's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 54
i'm sure if you wipe it and stay GM you'll get QQers from the enivitable private servers from all those crazed "vanilla was greatest ever forget cataclysm" people.

but i say do it anyways

cause if you don't, you'll end up with poeple who dont clean up their interface folder when 4.0 launhes, install GM2 with curse client thinking it magically emoves GM1 for them, then fill up the ticket system with error reports saying GM2 is broken casue their GM1 is reporting errors.

vs Gm1 staying gathermate1 getting updated and replaced in 4.0 release
 
09-09-10, 08:59 AM   #7
Bluspacecow
Giver of walls of text :)
 
Bluspacecow's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 770
Originally Posted by MysticalOS View Post
i'm sure if you wipe it and stay GM you'll get QQers from the enivitable private servers from all those crazed "vanilla was greatest ever forget cataclysm" people.
People using addons on Private servers will not be supported by anyone on wowinterface.com

It's actually a standing and stickied rule.
__________________
tuba_man on Apple test labs : "I imagine a brushed-aluminum room with a floor made of keyboards, each one plugged into a different test box somewhere. Someone is tasked with tossing a box full of cats (all wearing turtlenecks) into this room. If none of the systems catch fire within 30 minutes, testing is complete. Someone else must remove the cats. All have iPods." (http://community.livejournal.com/tec...t/2018070.html)
 
09-09-10, 05:44 PM   #8
MysticalOS
A Wyrmkin Dreamwalker
 
MysticalOS's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 54
Originally Posted by Bluspacecow View Post
People using addons on Private servers will not be supported by anyone on wowinterface.com

It's actually a standing and stickied rule.
there's china too. which will probably be on wrath til 2013. then again cata doesn't have as many bones so who knows
 
09-09-10, 06:25 PM   #9
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
If you have Astrolabe information -or- alternative addon that provides same functionality, speak up. :P thanks. I.e. don't offtopic please.
 
09-09-10, 09:36 PM   #10
MysticalOS
A Wyrmkin Dreamwalker
 
MysticalOS's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 54
Originally Posted by Vladinator View Post
If you have Astrolabe information -or- alternative addon that provides same functionality, speak up. :P thanks. I.e. don't offtopic please.
pretty much anything you need is in (or will be in) http://www.wowace.com/addons/libmapdata-1-0/ like xin said. i don't think china (who only just now got wrath) is entirely off topic, when it comes to mapping based addons or libs, some compatiblity check for that will make sense
 
09-13-10, 05:04 PM   #11
SinusPi
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 13
Originally Posted by Vladinator View Post
If you have Astrolabe information -or- alternative addon that provides same functionality, speak up. :P thanks. I.e. don't offtopic please.
I needed Astrolabe updated as well, so ended up pretty much updating it myself. It only took flying through all the zones and recording two coordinates at each and cross-mapping them onto the world coordinates. The rest was just basic math. Tomorrow I'll have all the zones realigned and I'll contact the Astrolabe authors to see whether they want it or not ;P
 
09-13-10, 05:35 PM   #12
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
Originally Posted by SinusPi View Post
I needed Astrolabe updated as well, so ended up pretty much updating it myself. It only took flying through all the zones and recording two coordinates at each and cross-mapping them onto the world coordinates. The rest was just basic math. Tomorrow I'll have all the zones realigned and I'll contact the Astrolabe authors to see whether they want it or not ;P
I could have done that too if I just knew "basic math", I'm not a math guy, it's sad because I like math in general.
 
09-14-10, 03:35 PM   #13
SinusPi
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 13
Here you go. Astrolabe updated.

One Astrolabe updated for Cata beta, here you go.

http://pastebin.com/xg2tzGAj

Here's the coords block. No Maelstrom in yet, that's coming next as soon as I get to get there :]
 
10-21-10, 02:23 AM   #14
Esamynn
Featured Artist
Premium Member
Featured
Join Date: Jan 2005
Posts: 395
I just wanted to chime in to let people know that Astrolabe should be updated to support Cataclysm in the next couple of weeks. I've finally found (most) of the time I need to update it for the world changes and I'm intending to provide full support for instances and Battlegrounds in the new version as well.
__________________
"Never mistake ignorance for stupidity. Ignorance is curable; stupidity is not." - Unknown
 
10-21-10, 12:35 PM   #15
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Some additional info, since patch 4.0.1, most zone maps now have corner coordinates supplied through GetCurrentMapZone().

Example:
Code:
id, left, top, right, bottom = GetCurrentMapZone();
Note that world, continent, and instance maps don't supply usable data for these extra returns and may return nil or zero. Each continent also has their own origin point.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
 
10-21-10, 01:24 PM   #16
bmanta
A Defias Bandit
Join Date: Oct 2008
Posts: 2
Originally Posted by Esamynn View Post
I just wanted to chime in to let people know that Astrolabe should be updated to support Cataclysm in the next couple of weeks. I've finally found (most) of the time I need to update it for the world changes and I'm intending to provide full support for instances and Battlegrounds in the new version as well.
thats great news! thank you.
 
 

WoWInterface » AddOns, Compilations, Macros » Cataclysm Beta » Astrolabe for Cataclysm

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