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 Mists of Pandaria Classic:
Please refer to the LibTourist Classic (Mists of Pandaria) page for the Mists of Pandaria Classic version of LibTourist.
WoW Classic Era:
Please refer to the LibTourist Classic Era page for the Classic Era version of LibTourist.
-
View User Profile
-
Send Message
Posted Aug 12, 2018I 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?
-
View User Profile
-
Send Message
Posted Aug 12, 2018In reply to Holobit:
-
View User Profile
-
Send Message
Posted Aug 13, 2018In reply to Odica:
I could swear my map didn't show any pet level info before, but you are right, id does.
-
View User Profile
-
Send Message
Posted Aug 13, 2018In reply to Holobit:
-
View User Profile
-
Send Message
Posted Aug 2, 2018Is 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.
-
View User Profile
-
Send Message
Posted Aug 3, 2018In reply to Radoznali:
-
View User Profile
-
Send Message
Posted Aug 3, 2018In reply to Odica:
-
View User Profile
-
Send Message
Posted Aug 3, 2018In reply to Radoznali:
-
View User Profile
-
Send Message
Posted Jul 20, 2018Quote 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
-
View User Profile
-
Send Message
Posted Jul 21, 2018In reply to Odica:
-
View User Profile
-
Send Message
Posted Jul 24, 2018In 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
-
View User Profile
-
Send Message
Posted Nov 30, 2017Thanks for your time and effort!
Date: 2017-11-30 14:33:22 ID: 1 Error occured in: Global Count: 1 Message: ...ns\FishingAce\Libs\LibTourist-3.0\LibTourist-3.0.lua line 143: attempt to compare number with boolean Debug: [C]: ? ...ns\FishingAce\Libs\LibTourist-3.0\LibTourist-3.0.lua:143: ...ns\FishingAce\Libs\LibTourist-3.0\LibTourist-3.0.lua:118 ...ns\FishingAce\Libs\LibTourist-3.0\LibTourist-3.0.lua:2338: ...ns\FishingAce\Libs\LibTourist-3.0\LibTourist-3.0.lua:2337 Locals: AddOns: Swatter, v7.5.5724 (TasmanianThylacine) AskMrRobot, v55 AucAdvanced, v7.5.5724 (TasmanianThylacine) AucFilterBasic, v7.5.5724 (TasmanianThylacine) AucFilterOutlier, v7.5.5724.5459(7.5/embedded) AucMatchUndercut, v7.5.5724.5585(7.5/embedded) AucStatHistogram, v7.5.5724 (TasmanianThylacine) AucStatiLevel, v7.5.5724 (TasmanianThylacine) AucStatPurchased, v7.5.5724 (TasmanianThylacine) AucStatSales, v7.5.5724.5598(7.5/embedded) AucStatSimple, v7.5.5724 (TasmanianThylacine) AucStatStdDev, v7.5.5724 (TasmanianThylacine) AucStatWOWEcon, v7.5.5724.5613(7.5/embedded) AucUtilAHWindowControl, v7.5.5724.5575(7.5/embedded) AucUtilAppraiser, v7.5.5724.5719(7.5/embedded) AucUtilAskPrice, v7.5.5724.5599(7.5/embedded) AucUtilAutoMagic, v7.5.5724.5686(7.5/embedded) AucUtilCompactUI, v7.5.5724.5715(7.5/embedded) AucUtilEasyBuyout, v7.5.5724.5576(7.5/embedded) AucUtilFixAH, v7.5.5724 (TasmanianThylacine) AucUtilItemSuggest, v7.5.5724.5651(7.5/embedded) AucUtilPriceLevel, v7.5.5724.5633(7.5/embedded) AucUtilScanButton, v7.5.5724.5631(7.5/embedded) AucUtilScanFinish, v7.5.5724.5720(7.5/embedded) AucUtilScanProgress, v7.5.5724.4979(7.5/embedded) AucUtilScanStart, v7.5.5724.5347(7.5/embedded) AucUtilSearchUI, v7.5.5724.5721(7.5/embedded) AucUtilSimpleAuction, v7.5.5724.5705(7.5/embedded) AucUtilVendMarkup, v7.5.5724.4828(7.5/embedded) Babylonian, v5.1.DEV.332(/embedded) Bartender4, v4.7.10 BeanCounter, v7.5.5724 (TasmanianThylacine) BrokerEverything, v2.22.2-release BrokerKeystones, v7.3-11 ChocolateBar, vv3.0.5 Configator, v5.1.DEV.431(/embedded) DBMCore, v7.3.7 DBMDefaultSkin, v DBMStatusBarTimers, v DBMVPVEM, v7.3.3 DebugLib, v5.1.DEV.337(/embedded) Decursive, v2.7.5.7 Enchantrix, v7.5.5724 (TasmanianThylacine) EnchantrixBarker, v7.5.5724 (TasmanianThylacine) FishingAce, v0.8.5 GTFO, v4.43.7 Hekili, vc433c96 HereBeDragons10, v1.19-release HideRaidFrame, vv1.9 Informant, v7.5.5724 (TasmanianThylacine) LibExtraTip, v5.12.DEV.430(/embedded) OmniCC, v7.3 PetTracker, v7.3.0 PetTrackerBreeds, v7.3.0 PetTrackerSwitcher, v7.3.0 PetTrackerUpgrades, v7.3.0 Postal, vv3.5.8 Quartz, v3.3.6 QuartzProcs, v3.49 Skada, v1.7.2 Stubby, v7.5.5724 (TasmanianThylacine) TipHelper, v5.12.DEV.405(/embedded) TomTom, vv70300-1.0.0 WhichBossesAreLeft, vv3.2 WorldQuestsList, v48 ZPerl, v5.4.6 ZPerlArcaneBar, v ZPerlParty, v ZPerlPartyPet, v ZPerlPlayer, v ZPerlPlayerBuffs, v ZPerlPlayerPet, v ZPerlRaidAdmin, v ZPerlRaidFrames, v ZPerlRaidHelper, v ZPerlRaidPets, v ZPerlTarget, v ZPerlTargetTarget, v BlizRuntimeLib_enUS v7.3.2.70300 <none> (ck=a85)-
View User Profile
-
Send Message
Posted Aug 31, 2017Titan 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
-
View User Profile
-
Send Message
Posted Sep 2, 2017In reply to marblex:
-
View User Profile
-
Send Message
Posted Sep 3, 2017In 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!
-
View User Profile
-
Send Message
Posted Sep 4, 2017In reply to marblex:
-
View User Profile
-
Send Message
Posted Sep 4, 2017In reply to Odica:
-
View User Profile
-
Send Message
Posted Sep 4, 2017In reply to marblex:
-
View User Profile
-
Send Message
Posted Sep 5, 2017In reply to Odica:
-
View User Profile
-
Send Message
Posted Sep 8, 2017In 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