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".
(Trigger a few events, which make this work with Quartz.)
2.0.36302
TOC to 20100.
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.
just got this error. when I got on a bat from grom gol to arathi I belive I was mounted when I first tired to click on the flight master, another friend of mine got the same error and was mounted for sure.
__________________
Blastphomy - Orc Death Knight - Azgalor
Ezcoil-Undead Warlock-Azgalor
Durzil - Tauren Druid - Azgalor
Give Locks Green Fire!!!
I have removed the old versions from my addons folder, and removed the .LUA files from the savedvariables folderas well.
I then installed the most current version (10-14-2006 04:28 AM).
Upon entering WoW, the chatbox spam was gone, and I got no errors. So that's a good thing. But all my previous flight data was gone. oh well. At least the mod works again and isn't spamming my chatbox and plastering errors on my screen.
Originally posted by astalavista I tried the latest version, and I get the same. Spammed to death while it tries to update Crossroads flight data. The error this time:
Code:
Interface\Addons\FuBar_ToFu\ToFu.lua:127: bad argument #1 to `pairs' (table expected, got strings)
Originally posted by Kemayo I'm not sure why that would have been happening there -- could you try the latest version now and let me know whether that solves the problem. I've added a lot of tweaks for people with legacy savedvariables. (It's my own fault for switching the data formats around and then just ignoring it earlier.)
I tried the latest version, and I get the same. Spammed to death while it tries to update Crossroads flight data. The error this time:
Code:
Interface\Addons\FuBar_ToFu\ToFu.lua:127: bad argument #1 to `pairs' (table expected, got strings)
Originally posted by astalavista I tried updating to your new version today, with the default flight data, but found myself running into an error that I couldn't click away, while my chatwindow got spammed with Updating Crossroads Flight Info messages.
Error was:
Code:
Interface\Addons\Fubar_ToFu\ToFu.lua:335: attempt to call field `?' (a string value)
I had to downgrade to stop the error messages.
I'm not sure why that would have been happening there -- could you try the latest version now and let me know whether that solves the problem. I've added a lot of tweaks for people with legacy savedvariables. (It's my own fault for switching the data formats around and then just ignoring it earlier.)
Originally posted by astalavista I tried updating to your new version today, with the default flight data, but found myself running into an error that I couldn't click away, while my chatwindow got spammed with Updating Crossroads Flight Info messages.
Error was:
Code:
Interface\Addons\Fubar_ToFu\ToFu.lua:335: attempt to call field `?' (a string value)
I had to downgrade to stop the error messages.
Same for me, only difference is that I play ally and the addon hung up on thalanaar. I had to downgrade and remove the saved variables to stop the error from appearing.
__________________
- The biggest trick the devil ever pulled was convincing the world he didn't exist. -
I tried updating to your new version today, with the default flight data, but found myself running into an error that I couldn't click away, while my chatwindow got spammed with Updating Crossroads Flight Info messages.
Error was:
Code:
Interface\Addons\Fubar_ToFu\ToFu.lua:335: attempt to call field `?' (a string value)
Originally posted by Kemayo ...I hate to point it out, but that's not a ToFu problem; it's a TransporterFu problem.
(Mind you, it might be caused by upgrading ToFu, since ToFu stopped using Metrognome a while ago, so if TransporterFu is using it but not including it...)
Yeah...it just started giving that error with this version of ToFu ... weirdness.
...terface\AddOns\FuBar_TransporterFu\TransporterFu.lua:1:AceAddon:AceOO-2.0:Library "Metrognome-2.0" does not exist.
Love this mod, but going back to an older version for the moment.
Thanks!
...I hate to point it out, but that's not a ToFu problem; it's a TransporterFu problem.
(Mind you, it might be caused by upgrading ToFu, since ToFu stopped using Metrognome a while ago, so if TransporterFu is using it but not including it...)
love this... was loking for long time something aced to replace flightmap, but now i have 1 request... can you make it work with ocb & ocb2? would be really nice
Originally posted by Promark You may not want to do this, since things such as Carrot on a Stick or spurs can change a players flight time. What might take you X minutes may take them (X - 7%) less. Of course if it adjusts once you actually fly a path, then I suppose it doesn't matter much.
That would be false. It is not a mount. Maybe in the expansion, when you have flying mounts, but not currently. Equip them all you like, they have no effect on the flight time.
This has been discussed before with other flight timer mods and was proven to be false then too.