r169
Details
-
FilenameLibTourist-3.0-r169.zip
-
Uploaded by
-
UploadedNov 2, 2014
-
Size36.60 KB
-
Downloads377
-
MD5207ab6852ab082096665e469f718a2d9
Supported WoW Retail Versions
- 6.0.3
Changelog
------------------------------------------------------------------------
r169 | Odica | 2014-11-02 19:21:26 +0000 (Sun, 02 Nov 2014) | 16 lines
Changed paths:
M /trunk/LibTourist-3.0.lua
This version supports duplicate zone names. The duplicate zones introduced in 6.0.2 (Nagrand and Shadowmoon Valley) have had their localized continent name added to the zone name: "Nagrand (Draenor)" and "Shadowmoon Valley (Draenor)". In order to look up data for these two zones, those values have to be passed to the LibTourist API. The names "Nagrand" and "Shadowmoon Valley" will return data for the Outland versions of the zones.
To facilitate this, two new API functions have been added:
- Tourist:GetUniqueZoneNameForLookup(zoneName, continentID)
This will return the new localized zone name for a duplicate zone, otherwise zoneName is returned unchanged.
example:
local fishing = Tourist:GetFishingLevel(Tourist:GetUniqueZoneNameForLookup(zoneName, continentID))
- Tourist:GetMapNameByIDAlt(zoneAreaID)
Alternative for GetMapNameByID, returns a unique localized zone name to be used to lookup data in LibTourist (uses GetUniqueZoneNameForLookup).
Other changes:
- Added Frostwall and Lunarfall (ticket 41)
- Corrected battle pet level for Timeless Isle
------------------------------------------------------------------------
r168 | Odica | 2014-10-29 20:58:42 +0000 (Wed, 29 Oct 2014) | 6 lines
Changed paths:
M /trunk/LibTourist-3.0.lua
- added Draenor portal connections
- placed all transports in a collection to reduce the number of local variables
- fix: Tanaan Jungle and Ashran no longer return a list of instances with no items (return no list instead)
- fix: added caching mechanism to GetMapZonesAlt to avoid the map going beserk when this function is called when the map is open (as it uses SetMapZoom)
- API change: made GetMapZonesAlt(continentID) public. This function returns ALL zones in a continent (GetMapZones does not), but without the map IDs (like GetMapzones did before 6.0.2)
- API change: made GetMapContinentsAlt() public. This function returns all continents, but without the map IDs (like GetMapContinents did before 6.0.2)
------------------------------------------------------------------------
r167 | Odica | 2014-10-23 19:20:10 +0000 (Thu, 23 Oct 2014) | 20 lines
Changed paths:
M /trunk/LibTourist-3.0.lua
M /trunk/LibTourist-3.0.toc
- Updated TOC to 60000
- Made a method to cope with the changed output of GetMapContinents, replacing temporary code of r166
- Implemented an alternative for GetMapZones because it no longer returns all zones on a continent, which makes the output unusable for SetMapZoom
- Partial fix to be able to cope with duplicate zone names (Nagrand, Shadowmoon Valley)
- Added Draenor continent, zones, cities and instances
- Added Upper Blackrock Spire as separate lvl90 5-man instance
- Removed 10-man instance from Blackrock Spire
- Made some improvements to the mechanism that searches for zones on submaps (like Stranglethorn Vale)
- The Maelstrom continent data is no longer overwritten by the data of the zone with the same name
- Minor improvements and some code cleanup
TODO's:
- Change the way zone data is stored so it can handle duplicate zone names
- Draenor portals
- Figure out what to do with the Draenor fishing levels
- Instance entrance coordinates
- Localization (need some help here!)
KNOWN ISSUE:
- Currently, the data for the Outland zones Nagrand and Shadowmoon Valley is overwritten by the data for the Draenor zones with the same names
------------------------------------------------------------------------
r166 | Odica | 2014-10-06 17:24:03 +0000 (Mon, 06 Oct 2014) | 1 line
Changed paths:
M /trunk/LibTourist-3.0.lua
Fix for ticket 40 to avoid an error in WoD (PTR).
------------------------------------------------------------------------
r165 | Odica | 2013-09-11 20:49:05 +0000 (Wed, 11 Sep 2013) | 3 lines
Changed paths:
M /trunk/LibTourist-3.0.lua
M /trunk/LibTourist-3.0.toc
- updated TOC to 50400
- added Timeless Isle
------------------------------------------------------------------------