Sometimes when you're on a large flying mammal (or similar) you want to know how long it's going to take to get you to your destination. This FuBar plugin aims to answer that question, telling you both how long you've been flying and how long until you arrive.
It also tries to warn you beforehand at the flight map how long a flight will be, and (because I like utterly useless statistics) tells you how many times you've used that flight path.
One caveat, though: it won't know how long a given flight is until you've taken it once. If you've never take a flight path before, all it'll tell you is how long you've been flying. (It will, however, try to estimate how long a flight path will be if you've taken some of the intermediate hops, or if you've flown it in the other direction beforehand.)
Data is shared across all your characters, so you'll only have to endure the terrible pain of not knowing down to the second when you'll arrive once.
If you're using oCB, oCD, BigWigs, or Chronometer, ToFu can add flight times to them.
If you're using Cartographer, ToFu can make notes on the map to make it easier to remember where the flight master is.
ToFu includes a default (incomplete) set of flight times, which you can import either through the menu or by typing "/tofu data default".
Todo:
* Add features! (You can suggest them here!)
----------------------------------
Changes:
2.0.49796:
- Update for 2.2.
- zhCN translation.
- (Trigger a few events, which make this work with Quartz.)
2.0.36302
2.0.30730
- Stop flight times being messed up when you're summoned or join a battleground while flying.
- Add a hook for eCastingBar.
2.0.25614 - Add hook for Chronometer. Better handling of dismounting at the flight master (we have Dismount() now! yay!). Add a deDE localization by Filion. Update TOC for 20003.
2.0.19699 - Make the node caching more robust. This should, I hope, stop the occasional GetNodeName errors that people have been reporting.
2.0.19573 - Removed oCB integration, as the API has vanished. Add a missed pairs().
2.0.19243 - Final WoW2.0 updates.
2.0.18644 - Added integration with Cartographer (setting notes on the map when you talk to a flight master). Adjustments to how the flight destination will display in other addons. koKR localization by fenlis.
2.0.13851 - Fix another old-db upgrade glitch. I really didn't remember how much the database organization had jumped around in the past.
2.0.13817 - Add support for displaying flight times in BigWigs and Chronometer. Some fixes for the DB upgrade code.
2.0.13499 - Increased the size of the default flight-times database. Fixed a bug which occurred if you moused over a node to which you had never flown before
in the same session as ToFu upgrading the database.
2.0.13421 - Removed a debug statement.
2.0.13416 - Added an importable set of default flight times (type "/tofu data default") -- importing
won't overwrite your current statistics; people who want to lower the initial memory load can delete "ToFuDefaultTimes.lua" without causing any erorrs. Added ballpark flight-time estimation for paths which have only been partially flown. Shrunk the database a bit, by stripping ", wherever" from place names; existing DBs will be automatically upgraded. Removed some unused libraries; thanks to wmrojer, author of the excellent
GarbageFu for pointing out that they were still included.
2.0.13208 - Can now hook into oCD and oCB if they're present.
2.0.12782 - Fixed "Error: Abacus-2.0: Bad argument #2 to `FormatDurationCondensed' (number expected, got nil)" when hovering over a flight node that had not previously been seen.
2.0.12318 - TOC to 11200. With assistance from darkimakuni, made localization actually work (only enUS is provided, still) and added
a light API for other addons to use. Added appropriate libraries for FuBar-less operation.
2.0.7866 - Updated for FuBar 2.0. Stopped a crash associated with pasting flight times to the chatbox. Made data storage more efficient. (You'll lose existing flight path data on an upgrade - I recommend deleting the FuBar_ToFu.lua file from your savedvariables directory.
1.1.1517 - The collected flight time and number of times the route has been taken have been added to the tooltip on the flight map.
1.1.1494 - Fixed a (dumb) glitch with the averaging which made estimated flight times too low. This is why 1am is a bad time for addon releases.
1.1.1488 - Initial release.