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.
I have installed this lib and now I have Pet Level and Zone Leveling Info showing in the in-game map. Is there a way to also enable showing Zone Instances/Raids Info?
In reply to Holobit:
In reply to Odica:
I could swear my map didn't show any pet level info before, but you are right, id does.
In reply to Holobit:
Is there any eta for this ? I realise thats big ask but i see lots of my broken adons using this lib .I only ask so i dont have to check for progress on my broken addons each day and to get some perspective how hard is to fix it when something so esential is broken with Blizz changes.
In reply to Radoznali:
In reply to Odica:
In reply to Radoznali:
Quote from Blizzard regarding API changes in 8.0.1:
World Map Changes
The World Map has been almost entirely re-written, and all map API was removed. It’s being replaced but we are currently still transitioning. worldMapAreaID, dungeonMapID, dungeonFloor have all been removed and replaced with just uiMapID.
As you can imagine, this had quite some impact on LibTourist.
I am currently working on adapting LibTourist to these changes - please be patient...
Thanks,
Odica
In reply to Odica:
In reply to txag:
I have posted a first alpha version: r199. Be sure to read the changelog carefully!
Any help on the open issues is appreciated.
Odica
Thanks for your time and effort!
Titan Rec Zone broken due to this file in 7.3:
2x ...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0-90190.lua:326: attempt to compare boolean with number
...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0-90190.lua:326: in function `GetLegionZoneLevel'
...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0-90190.lua:159: in function `UpdateCachedLegionZoneLevels'
...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0-90190.lua:132: in function <...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:120>
...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0-90190.lua:2584: in function <...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:2583>
Locals:
self = <table> {
GetUniqueZoneNameForLookup = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:255
TransposeZoneCoordinate = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:639
IterateEasternKingdoms = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1159
IsInKalimdor = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1351
GetBestZoneCoordinate = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:754
IterateAlliance = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1081
IterateSanctuaries = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1117
HasRecommendedInstances = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1261
GetInstanceZone = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:926
IsZoneOrInstance = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1288
IterateZoneInstances = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:886
IterateBrokenIsles = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1245
IsInstance = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1265
GetInstanceGroupSizeString = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1395
IterateHostile = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1095
IterateDraenor = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1230
IteratePvPZones = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1067
GetType = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1284
IterateContested = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1131
IterateComplexes = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1053
IsZone = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1270
GetLevelString = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:335
IterateZoneComplexes = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:906
DoesZoneHaveComplexes = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:966
IterateHorde = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1095
GetComplex = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1280
IterateArenas = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1039
GetEnglishZoneFromTexture = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1459
IterateZones = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:997
frame = LibTourist-3.0Frame {
}
GetFishingLevel = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:314
IsInBrokenIsles = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1379
IsComplex = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1298
IterateRecommendedZones = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1253
GetTexture = <function> defined @TitanRecZone\Libs\LibTou
Any chance of a fix??? TIA
In reply to marblex:
In reply to Odica: Thanks for the response and the update.
Prior to your upload, I did temporarily fix the Libtourist.lua file:
Changed everything after = in line starting with:
playerLevel =
to:
(level and level ~= true) and level or UnitLevel("player")
Thanks to benik30 and Veyska.
Cheers!
In reply to marblex:
In reply to Odica:
In reply to marblex:
In reply to Odica:
In reply to Odica:
2x ...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0-90178.lua:143: attempt to compare number with boolean
...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0-90178.lua:143: in function <...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:118>
...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0-90178.lua:2338: in function <...\TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:2337>
Locals:
self = <table> {
GetUniqueZoneNameForLookup = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:234
TransposeZoneCoordinate = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:580
IterateEasternKingdoms = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1097
IsInKalimdor = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1258
GetBestZoneCoordinate = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:695
IterateAlliance = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1019
IterateSanctuaries = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1055
HasRecommendedInstances = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1168
GetInstanceZone = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:864
IsZoneOrInstance = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1195
IterateZoneInstances = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:824
IsInstance = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1172
IterateHostile = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1033
GetInstanceAltGroupSize = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1286
IteratePvPZones = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1005
GetType = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1191
IterateContested = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1069
IterateComplexes = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:991
IsZone = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1177
GetLevelString = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:280
IterateZoneComplexes = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:844
DoesZoneHaveComplexes = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:904
IterateHorde = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1033
GetComplex = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1187
IterateArenas = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:977
GetEnglishZoneFromTexture = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1326
IterateZones = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:935
frame = LibTourist-3.0Frame {
}
GetFishingLevel = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:271
IsComplex = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1205
IterateRecommendedZones = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1160
GetTexture = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1290
IsArena = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:1215
DoesZoneHaveInstances = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist-3.0.lua:900
GetContinent = <function> defined @TitanRecZone\Libs\LibTourist-3.0\LibTourist