LibTourist-3.0
LibTourist is a library that provides information about zones, instances, transports and more.
For zones, instances, complexes (like Caverns of Time), arenas and battlegrounds, LibTourist can provide level range, faction, size, location and connections with other zones, as well as instance group sizes, instance entrance portal coordinates and battle pet level ranges, if applicable. LibTourist supports localization.
Color-coding for level ranges and zone names is available.
Relationships between continents, zones and instances can be provided, i.e. which instances are located in a specific complex, in which continent resides a zone and so on. In addition, a large number of iterations is available allowing addons to browse through subsets of the zone data.
The library contains information about connections between zones, including transports like zeppelins, boats and portals. These connections can be used to calculate a route between two zones. LibTourist can also be used for distance calculations between coordinates.
Furthermore, LibTourist can provide data about flight nodes and gathering profession skills (Mining, Herbalism, Skinning).
An extensive API allows the addon developer to query LibTourist in many ways.
See the API Reference page for detailed information.
NOTE: LibTourist should not be installed separately as it does not add anything to the game on its own. LibTourist is not an addon but a library, to be referenced and used by addons (like ZoneInfo 2).
WoW Cataclysm Classic:
Please refer to the LibTourist Classic (Cataclysm) page for the Cataclysm Classic version of LibTourist.
WoW Classic Era:
Please refer to the LibTourist Classic Era page for the Classic Era version of LibTourist.
Not sure if this fits into you goal but Pet Battle Levels might be something you want to include. 85 - 90's will be bouncing all over the world hoping to get a rare this or that but making sure that the companions you have are ready for the level you are going enter is going to be a thing.
@Odica
thank you
This library is being updated. A beta release for MoP can be expected soon. For those who can't wait, visit the developer site for the latest alpha version, but be aware that alpha versions are work in progress.
http://www.wowace.com/addons/libtourist-3-0/
@next96
Try r146.
4x LibTourist-3.0\LibTourist-3.0-90145.lua:2113: table index is nil LibTourist-3.0\LibTourist-3.0-90145.lua:2113: in main chunk
login error
Please help me
1x TravelAgent-4.3.0-1.1.1\Libs\LibTourist-3.0\LibTourist-3.0-90137.lua:4523: attempt to index field "?" (a nil value)
TravelAgent-4.3.0-1.1.1\Libs\LibTourist-3.0\LibTourist-3.0-90137.lua:4523: in main chunk
Locals:
@ iceeagle: You have PM...
@ Ackis: GetMapNameByID can not be used as an alternative for all names in LibBabble-Zone, so it's not that magical. Babble-Zone contains a lot of translations for zones/areas that have no mapID, 28 of these are used in LibTourist.
@Odica: I finished updating my addons and still have some free time. If you can delegate some tasks so I can help you update this for MOP let me know in a PM.
Is this addon ever going to be updated? Or should I just remove it?
From LibBabble-Zone: Consider using the GetMapNameByID API instead of Babble-Zone, it'll work magically! Babble-Zone will be faded out in the future.
@burny_dd
Maybe I could, but I think it's a lot of work. At the moment compatibility with MoP has priority. I'd like you to create an 'Enhancement' ticket so I can take a look at it after the MoP upgrade is completed and tested.
For an addon I'm working on I need the information of all adjacent zones. IterateBorderZones(zone, zonesOnly) is based on paths which can be traversed 'on foot' and leaves out neighboring zones that can be reached on a flying mount. Any chance you could extend the library to provide that information?
@ABCdario007
LibTourist uses LibBabble-Zone for localization.
do you plan any localization? if so, i would be redy to help with spanish ES/es
LibTourist-3.0 its blocking the progress on the loading
need to set alpha on preferences to work out correctly
Wetlands 25-30 20-25
Northern Stranglethorn 25-35 25-30
Burning Steppes 50-58 50-52
Swamp of Sorrows 52-55 52-54
http://www.wowace.com/addons/libtourist-3-0/tickets
for that?
Thanks
A quick fix is to add some code to LibTourist and LibBabble-Zone to account for this.
In LibTourist-3.0.lua --
Line 42, change to:
local Kalimdor, Eastern_Kingdoms, Outland, Northrend, The_Maelstrom = GetMapContinents()
After line 48, add:
if not The_Maelstrom then
The_Maelstrom = "The Maelstrom"
end
After line 1084, add:
zones[BZ["The Maelstrom"]] = {
type = "Continent",
yards = 15000,
x_offset = 0,
y_offset = 0,
continent = The_Maelstrom,
}
In LibBabble-Zone-3.0.lua --
After line 206, add:
["The Maelstrom"] = "The Maelstrom",
(If you use a non-enUS localization, you will also want to add your local translation of this to one of the arrays further down in the file)
Note: I have no idea what the "yards" value for The Maelstrom should be, but this does get rid of the error when loading Fubar_GuildFu.
BTW, LibTourist requires the latest version of LibBabble-Zone-3.0.