FarstriderLib v1.5.0
What's new
1.5.0
New Features
FarstriderLib_API.RegisterRebuildCallback(callback): addons are notified after every rebuild of the travel graph, for example after learning a flight path or levelling up- Isolated regions: the data package can mark circular areas in world coordinates that are only reachable through their connections, optionally only while you are not flying
FindTrailToinside a dungeon or raid where the game hides your position starts with a "Leave <instance name>" step (EdgeType.LEAVE_INSTANCE, costed at a minute, with the action optionleave_instanceand the instance map ID) and continues from the instance's entrance, as if you stood there. The instance is the oneGetInstanceInfo()reports and its entrance comes from FarstriderLibData 1.6.0 or later, so this works on every game version, including Classic Era and WoW Forever, which have no map inside instances, and TBC Classic, which has no Encounter Journal. Hearthstones, Astral Recall, teleport spells and teleport items can also start the route right inside the instance, with the same conditions and costs, whenever that is quicker than walking out; such a step is placed at the entrance, and teleports into the entrance's zone are left out as in the open world. The housing teleports are only planned from the entrance. Without entrance data the route starts as beforeEdgeType.TRAM(1008) for the Deeprun Tram, with the fallback text "Take the Deeprun Tram to %s"
Changes
- On Classic Era, WoW Forever, TBC, Wrath and Cataclysm Classic, travel times use running and mount speeds for your level (and flying speeds on Cataclysm Classic from level 60) instead of retail skyriding speed, and update when you level up. Ground travel is costed at 1.3 times the straight-line distance, and on Classic Era, WoW Forever and TBC riding between flight masters (or the towns around them, also right after a Hearthstone) that a known flight connects costs at least twice that flight, so routes fly instead of riding over mountains. Retail and Mists Classic are unchanged. TBC and Wrath still use ground speeds where your character can fly in Outland or Northrend
- Route steps use zone map coordinates instead of continent coordinates, so TomTom arrows and map pins land on the right spot
- Building the travel graph needs far fewer map lookups, so rebuilds stay quick on every game version
Fixes
- A trip made of several connecting flights points you at the flight master you depart from, not at a stop along the way
- Routes no longer skip a portal, boat or zeppelin when you are standing right on its departure point
FarstriderLib_API.Rebuild()no longer throws an error- The Hearthstone and Astral Recall are costed from where they land straight to your destination. Before, they were only linked to the nearest portal, boat or known flight master, so a bind point with none of those nearby looked far slower than it is. A Horde character in Orgrimmar bound to Cenarion Hold now hearths there to reach the Temple of Ahn'Qiraj instead of taking the long way
- Teleport spells, mage portals and teleport items, including the Hearthstone, are no longer offered when they land in the zone or city map the route starts in. Both the map's bounds and the game's own map lookup must place the landing there, so a Hearthstone into a neighbouring zone whose map overlaps yours is still offered. A mage in Orgrimmar was told to cast Teleport: Orgrimmar to reach a vendor in Orgrimmar
- Teleports whose destination depends on your character each use their own landing spot. On retail, the return from your house plot was planned as if it landed at your Hearthstone location
- Inside a house on retail,
FindTrailTostarts in the neighbourhood instead of the middle of the continent, so routes begin with the return from your plot
This mod has no additional files

