Download
(144Kb)
Download
Updated: 09-26-07 09:43 PM
Addon for:
FuBar 3.6.5.
Pictures
File Info
Updated:09-26-07 09:43 PM
Created:unknown
Downloads:47,630
Favorites:347
MD5:

FuBar - ToFu  Popular! (More than 5000 hits)

Version: 2.0.49796
by: Kemayo [More]

Click here to lend your support!

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

1.1.1488 - Initial release.

Post A Reply Comment Options
Unread 11-16-06, 12:56 PM  
Durzil
A Scalebane Royal Guard
 
Durzil's Avatar

Forum posts: 411
File comments: 28
Uploads: 0
00:14] Interface\AddOns\FuBar_ToFu\ToFu.lua:338: Usage: TaxiNodeName(slot)

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!!!
Report comment to moderator  
Reply With Quote
Unread 10-15-06, 03:33 AM  
astalavista
A Defias Bandit

Forum posts: 3
File comments: 53
Uploads: 0
Works for me as well now. Thanks for the fix!
Report comment to moderator  
Reply With Quote
Unread 10-14-06, 01:55 PM  
Kosh
A Deviate Faerie Dragon

Forum posts: 10
File comments: 14
Uploads: 0
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.

Thanks for updating this!
Report comment to moderator  
Reply With Quote
Unread 10-13-06, 10:37 PM  
Kosh
A Deviate Faerie Dragon

Forum posts: 10
File comments: 14
Uploads: 0
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)
Thanks for trying to help so quickly!
I get the exact same error.
Report comment to moderator  
Reply With Quote
Unread 10-13-06, 01:14 PM  
astalavista
A Defias Bandit

Forum posts: 3
File comments: 53
Uploads: 0
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)
Thanks for trying to help so quickly!
Report comment to moderator  
Reply With Quote
Unread 10-13-06, 12:18 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 41
File comments: 129
Uploads: 11
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.)
Report comment to moderator  
Reply With Quote
Unread 10-11-06, 11:31 AM  
neolith
A Fallenroot Satyr
 
neolith's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 27
Uploads: 3
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. -
Report comment to moderator  
Reply With Quote
Unread 10-11-06, 01:18 AM  
astalavista
A Defias Bandit

Forum posts: 3
File comments: 53
Uploads: 0
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.
Report comment to moderator  
Reply With Quote
Unread 10-09-06, 04:31 PM  
jarvik
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
Re: Re: Error with latest version

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.

I'll let the developer of TransporterFu know.
Last edited by jarvik : 10-09-06 at 04:36 PM.
Report comment to moderator  
Reply With Quote
Unread 10-09-06, 02:38 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 41
File comments: 129
Uploads: 11
Re: Error with latest version

Originally posted by jarvik
I'm getting

...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...)
Last edited by Kemayo : 10-09-06 at 02:39 PM.
Report comment to moderator  
Reply With Quote
Unread 10-09-06, 02:38 PM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 3
Re: Error with latest version

Originally posted by jarvik
I'm getting

...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!
This is clearly a misplaced post. That file is FuBar_TransporterFu, not FuBar_ToFu
Report comment to moderator  
Reply With Quote
Unread 10-09-06, 10:11 AM  
jarvik
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
Error with latest version

I'm getting

...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!
Report comment to moderator  
Reply With Quote
Unread 10-09-06, 06:33 AM  
Tinface
A Defias Bandit
 
Tinface's Avatar

Forum posts: 2
File comments: 4
Uploads: 0
Edit: Misplaced bug report
Last edited by Tinface : 10-09-06 at 09:34 AM.
Report comment to moderator  
Reply With Quote
Unread 10-05-06, 04:32 PM  
SoLoR
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
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
Report comment to moderator  
Reply With Quote
Unread 10-01-06, 03:23 AM  
baloor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: