Usage sample

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, location and connections with other zones, as well as instance group sizes, instance entrance portal coordinates, battle pet level ranges and required fishing skills, if applicable.

Color-coding for level ranges and zone names is available.

Relationships between zones can be provided, i.e. which instances are located in a specific complex, and in which zone resides the complex, vice versa.

The library contains information about all known cross-zone transports: zeppelins, boats, portals etcetera. It can also be used for distance calculations between coordinates.

An extensive API allows the addon developer to query LibTourist in many ways.

LibTourist supports localization.

See the API Reference page for detailed information.


A few notes about the fishing skills in LibTourist:

- All fishing skills are now set to the skill required to fish 100% junk-free. If your skill, including the effect of lures and other enhancements, is below that, you will catch a certain percentage of junk, which can be up to 100%.

- These values are valid for open water, because fishing pools requires skill 1 since WoW patch 3.3.0, regardless of the zone they're in.

- If multiple values apply for a zone, generally the lowest is used. For example, for Northern Stranglethorn a higher skill is required to fish the South Seas (300) compared to other waters (150), so it's value in LibTourist is set to 150.

- Zones that have a fishing skill of 1, allow fishing in lava or acid only. Don't expect to catch anything useful here, except for an incidental Elemental Fire from lava.

- Zones without a fishing skill should contain no fishable water.

- Fishing in Draenor works differently. Depending on your skill you will catch Small, 'normal' or Enormous fish. For all Draenor zones the fishing skill is set to 950, which is the skill required to catch nothing but Enormous Fish.


You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of twobits twobits Oct 28, 2012 at 13:57 UTC - 0 likes

    Would it make any sense to add an IterateRecommendedBattlegrounds()

    I guess it does not matter that the max_level for the Battlegrounds is still set to 85?

    Maybe these should be made auto adjusting?

    something like

    local current_max_level = MAX_PLAYER_LEVEL_TABLE[GetExpansionLevel()]

    then use current_max_level for the max_level = in the Battlegrounds.

  • Avatar of Odica Odica Oct 10, 2012 at 18:22 UTC - 0 likes

    @nickyjean01: Go

    I'm sorry, I missed your comment somehow, but in the meantime a ticket has been created for this idea. I'll look into it, I think it would be a valuable addition.

  • Avatar of nickyjean01 nickyjean01 Sep 09, 2012 at 05:55 UTC - 1 like

    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.

  • Avatar of next96 next96 Sep 04, 2012 at 10:59 UTC - 0 likes

    @Odica: Go

    thank you

  • Avatar of Odica Odica Sep 02, 2012 at 21:58 UTC - 0 likes

    @next96: Go

    Try r146.

  • Avatar of next96 next96 Sep 02, 2012 at 09:49 UTC - 0 likes

    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

  • Avatar of Odica Odica Aug 30, 2012 at 08:20 UTC - 0 likes

    @ 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.

  • Avatar of iceeagle iceeagle Aug 30, 2012 at 07:07 UTC - 1 like

    @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.

  • Avatar of Ackis Ackis Aug 29, 2012 at 16:29 UTC - 0 likes

    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.


  • Avatar of Odica Odica Aug 08, 2012 at 09:29 UTC - 0 likes

    @burny_dd: Go

    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.


Date created
Jul 20, 2008
Last update
Jul 17, 2015
Development stage
  • enUS
MIT License
Curse link
Reverse relationships
Recent files
  • A: r181 for 6.2.0 Jul 17, 2015
  • A: r180 for 6.1.0 Feb 25, 2015
  • R: WoW-6.0-release1 for 6.0.3 Dec 16, 2014
  • A: r178 for 6.0.3 Dec 16, 2014
  • A: r177 for 6.0.3 Dec 10, 2014



Embedded library