Download
(59Kb)
Download
Updated: 01-21-24 01:53 AM
Pictures
File Info
Compatibility:
Classic (1.15.0)
Updated:01-21-24 01:53 AM
Created:08-29-19 07:22 AM
Downloads:37,028
Favorites:88
MD5:
Categories:Classic - General, Data Mods, Map, Coords, Compasses, Miscellaneous

InFlight Classic  Popular! (More than 5000 hits)

Version: 1.15.002
by: wildcard25, totalpackage

InFlight is a simple taxi flight timer mod that lets you know how long it will take to get to your destination. Other mods may provide a similar feature, however, InFlight is a lightweight alternative that, in most cases, is leaner, faster and uses a lot less memory (which is the main motivation behind InFlight).
Retail version here

Click here to lend your support!

Features:

  • Take-off confirmation
  • Many customization options for the look of the timer bar
  • Support for Druid-only and some other special flight paths
  • Already has most flight times
  • Learns new flight times or updates existing flight times when taxis are used
  • Flight times added to tooltip on flight map
How to Use:
  • InFlight is LoadOnDemand to use less memory when not needed
  • '/inflight', right-click on the timer bar, or check interface options to customize
  • Shift left-click and drag to move the timer bar
How to Contribute:
  • Updating flight times data - submit the file '<WoW_Folder>/_classic_/WTF/Account/<Account_Name>/SavedVariables/InFlight.lua'
  • Updating detection of special flights (only repeatable ones): report the gossip text (text you click to start the flight) and the location text above your minimap
  • Updating or adding translations for a language
Features That Won't Be Implemented, So Don't Ask:
  • Detailed tooltips and connect-the-dots
  • Show known/unknown Flight Masters on map
  • For anyone looking for these features, I recommend using Enhanced Flight Map
Please go here to provide feedback

1.15.002 01/21/2024
  • Whoops, turn off debug mode

1.15.001 01/21/2024
  • Update some default flight times
  • Update some translations
  • Remove some unused translations
Archived Files (1)
File Name
Version
Size
Author
Date
1.15.001
59kB
wildcard25
01-20-24 11:16 AM


Post A Reply Comment Options
Unread 09-20-19, 08:40 PM  
wildcard25
An Aku'mai Servant
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 50
Uploads: 1
Re: Need Data Upload/Download

Originally Posted by Sheepdog
Will we be able to share our saved flight time data with others? I don't see the option to do this.
On the 'Addon Info.' tab, under 'How to Contribute:'
Updating flight times data - submit the file '<WoW_Folder>/_classic_/WTF/Account/<Account_Name>/SavedVariables/InFlight.lua'
Report comment to moderator  
Reply With Quote
Unread 09-23-19, 08:56 PM  
Sheepdog
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Downloading Flight Times

How do we use the files that others have created to update our own flight path timers?
Report comment to moderator  
Reply With Quote
Unread 09-24-19, 01:06 AM  
wildcard25
An Aku'mai Servant
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 50
Uploads: 1
Re: Downloading Flight Times

Originally Posted by Sheepdog
How do we use the files that others have created to update our own flight path timers?
Originally Posted by WildCard
Downloading times from this thread to use locally will usually result in all of the times you already know being erased, unless you know how to edit the files correctly. Doing this is at your own risk.
edit: I should also mention that all flight times that have been uploaded to that thread will be included in the next release of InFlight, so the only thing that users of InFlight need to do to get the updated times (other than upload their times, so that everyone can get missing times) is... wait for an update.
Last edited by wildcard25 : 09-24-19 at 12:13 PM.
Report comment to moderator  
Reply With Quote
Unread 09-25-19, 11:30 PM  
wildcard25
An Aku'mai Servant
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 50
Uploads: 1
Originally Posted by Nihlo
In case some Horde times are still missing for Classic:
Thank you for the upload. Could you please attach any future flight time files to the thread that was created for these submissions as the site you linked to attempted to make an additional, unauthorised download. This is why I have deleted that post.
Updating flight times data - submit the file '<WoW_Folder>/_classic_/WTF/Account/<Account_Name>/SavedVariables/InFlight.lua'
Report comment to moderator  
Reply With Quote
Unread 10-02-19, 05:51 PM  
agentdroli
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
German Locale Support

I am using this addon on german client, but found that the default flight times are only saved for english names. Do you have plans to add support for other locales too?

I started changing the addon myself to support default times on german client, by using some localization mapping. I limited it to german locale, cause i on testing i got errors when no localization was found. Not sure how clean this solution is. I dont have much lua knowledge

Code:
on InFlight.lua i added:
	if gameLocale == "deDE" then
		self:Localize()	
	end
and before this line:
	self.db = LibStub("AceDB-3.0"):New("InFlightDB", self.defaults, true)

and added the function:

---------------------------------------
function InFlight:Localize()
---------------------------------------
	local faction = UnitFactionGroup("player")
	local db = self.defaults.global[faction]
	local dbLocalized = {}
	
	for srcName, targets in pairs(db) do
		local srcNameLocalized = L[srcName]
		
		if (srcNameLocalized) then
			dbLocalized[srcNameLocalized] = {}
			
			for targetName, targetTime in pairs(targets) do
				local targetNameLocalized = L[targetName]
				
				if (targetNameLocalized) then
					dbLocalized[srcNameLocalized][targetNameLocalized] = targetTime
				end
			end
		end
	end
	
	self.defaults.global[faction] = dbLocalized
end
Code:
on de-de.lua i haved added localized flightpoints:
L["Booty Bay"] = "Beutebucht"
L["Refuge Pointe"] = "Die Zuflucht"
L["Everlook"] = "Everlook"
L["Moonglade"] = "Moonglade"
L["Nighthaven Village"] = "Moonglade"
L["Talonbranch Glade"] = "Nachtlaublichtung"
L["Thorium Point"] = "Thoriumspitze"
L["Auberdine"] = "Auberdine"
L["Aerie Peak"] = "Aerie Peak"
L["Light's Hope Chapel"] = "Kapelle des hoffnungvollen Lichts"
L["Lakeshire"] = "Seenhain"
L["Morgan's Vigil"] = "Morgans Wacht"
L["Menethil Harbor"] = "Hafen von Menethil"
L["Ironforge"] = "Ironforge"
L["Theramore"] = "Theramore"
L["Chillwind Camp"] = "Chillwind Lager"
L["Rut'theran Village"] = "Rut'theran"
L["Ratchet"] = "Ratchet"
L["Thalanaar"] = "Thalanaar"
L["Gadgetzan"] = "Gadgetzan"
L["Darkshire"] = "Dunkelhain"
L["Nethergarde Keep"] = "Feste Schhreckensfels"
L["Thelsamar"] = "Thelsamar"
L["Talrendis Point"] = "Talrendisspitze"
L["Nijel's Point"] = "Die Niejelspitze"
L["Stormwind"] = "Stormwind"
L["Stonetalon Peak"] = "Der Steinkrallengipfel"
L["Sentinel Hill"] = "Späherkuppe"
L["Astranaar"] = "Astranaar"
L["Cenarion Hold"] = "Burg Cenarius"
L["Feathermoon"] = "Feathermoon"
L["Southshore"] = "Southshore"
L["Marshal's Refuge"] = "Marshals Zuflucht"

L["Camp Mojache"] = "Camp Mojache"
L["Crossroads"] = "Crossroads"
L["Freewind Post"] = "Freiwindposten"
L["Sunrock Retreat"] = "Sonnenfels"
L["Orgrimmar"] = "Orgrimmar"
L["Shadowsprey Village"] = "Shadowprey"
L["Thunder Bluff"] = "Thunder Bluff"
L["Valormak"] = "Valormok"
L["Bloodvenom Post"] = "Blutgiftposten"
L["Splintertree Post"] = "Splintertreeposten"
L["The Zoram Strand"] = "Zoram'gar-Außenposten"
L["Grom’gol"] = "Grom'gol"
L["Hammerfall"] = "Hammerfall"
L["Kargath"] = "Kargath"
L["Stonard"] = "Stonard"
L["Tarren Mill"] = "Tarrens Mühle"
L["The Sepulcher"] = "Das Grabmal"
L["Undercity"] = "Unterstadt"
L["Lights Hope Chappel"] = "Kapelle des hoffnungvollen Lichts"
L["Revantusk Village"] = "Revantusk"
L["Flame Crest"] = "Flammenkamm"
Last edited by agentdroli : 10-10-19 at 11:09 AM.
Report comment to moderator  
Reply With Quote
Unread 10-08-19, 09:05 PM  
wildcard25
An Aku'mai Servant
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 50
Uploads: 1
Re: German Locale Support

Originally Posted by agentdroli
I am using this addon on german client, but found that the default flight times are only saved for english names. Do you have plans to add support for other locales too?
Yes, I do have plans to support all of the other locales. When Classic was released I had just finished overhauling the locales to be able to use the client to automatically translate for languages in the retail version. Classic removed all of this functionality, so I had to revert most of those changes in order to get it to work again.
Your localisation code is very similar to how the old localisation code worked. However, I intend to make it save the times in english for all locales. This means I'll be able to use flight times uploaded by non-english users to update the default flight times. Right now, I either have to translate them by hand or not use them at all.
Last edited by wildcard25 : 10-08-19 at 09:06 PM.
Report comment to moderator  
Reply With Quote
Unread 10-10-19, 11:11 AM  
agentdroli
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
Re: Re: German Locale Support

Originally Posted by wildcard25
Your localisation code is very similar to how the old localisation code worked. However, I intend to make it save the times in english for all locales.
Yes this makes much more sense, i just had not enough knowledge of the code to implement it everywhere
So i am looking forward to some solution from you in the future
Report comment to moderator  
Reply With Quote
Unread 11-01-19, 02:13 AM  
Mahiro
A Murloc Raider
 
Mahiro's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 105
Uploads: 7
im getting this error when choosing a flight destination

Code:
Message: Interface\AddOns\InFlight\InFlight.lua:121: attempt to index upvalue 'vars' (a nil value)
Time: Fri Nov  1 09:08:40 2019
Count: 3
Stack: Interface\AddOns\InFlight\InFlight.lua:121: attempt to index upvalue 'vars' (a nil value)
Interface\AddOns\InFlight\InFlight.lua:121: in function <Interface\AddOns\InFlight\InFlight.lua:115>
[C]: ?

Locals: button = TaxiButton4 {
 0 = <userdata>
 inflighted = true
}
id = 4
(*temporary) = nil
(*temporary) = "Grom'gol"
(*temporary) = "REACHABLE"
(*temporary) = nil
(*temporary) = "attempt to index upvalue 'vars' (a nil value)"
TaxiNodeGetType = <function> defined =[C]:-1
vars = nil
taxiSrc = "Grom'gol"
ShortenName = <function> defined @Interface\AddOns\InFlight\InFlight.lua:38
TaxiNodeName = <function> defined =[C]:-1
addDuration = <function> defined @Interface\AddOns\InFlight\InFlight.lua:105
GetEstimatedTime = <function> defined @Interface\AddOns\InFlight\InFlight.lua:57
Report comment to moderator  
Reply With Quote
Unread 11-01-19, 11:06 AM  
thengel12
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Textures have been broken this past week

Not sure why but I only get a plain green rectangle instead of the nice textures. I tried reinstalling and changing the textures.
Report comment to moderator  
Reply With Quote
Unread 11-11-19, 03:25 PM  
croshad
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Missing

Stonard to Thorium point is missing. It's 4:27.
Report comment to moderator  
Reply With Quote
Unread 11-27-19, 04:39 AM  
wildcard25
An Aku'mai Servant
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 50
Uploads: 1
Originally Posted by Mahiro
im getting this error when choosing a flight destination

Code:
Message: Interface\AddOns\InFlight\InFlight.lua:121: attempt to index upvalue 'vars' (a nil value)
Time: Fri Nov  1 09:08:40 2019
Count: 3
Stack: Interface\AddOns\InFlight\InFlight.lua:121: attempt to index upvalue 'vars' (a nil value)
Interface\AddOns\InFlight\InFlight.lua:121: in function <Interface\AddOns\InFlight\InFlight.lua:115>
[C]: ?
I can't replicate this with a clean install, I can only replicate it if I deliberately corrupt the flight data or cause the addon not to load correctly (or disable it after loading it, see earlier post about wrong versions being installed by Twitch which caused a similar error to this one).
Report comment to moderator  
Reply With Quote
Unread 12-10-19, 11:46 PM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 837
File comments: 374
Uploads: 13
Just got this error when interacting with the Orgrimmar Flight Path NPC

Code:
Date: 2019-12-11 16:12:15
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\InFlight\InFlight.lua line 320:
   hooksecurefunc(): ConfirmSummon is not a function
Debug:
   [C]: hooksecurefunc()
   InFlight\InFlight.lua:320: LoadBulk()
   InFlight_Load\InFlight_Load.lua:27: ?()
   InFlight_Load\InFlight_Load.lua:3:
      InFlight_Load\InFlight_Load.lua:3
   [C]: ?
   [C]: LoadAddOn()
   InFlight_Load\InFlight_Load.lua:9:
      InFlight_Load\InFlight_Load.lua:7
   InFlight_Load\InFlight_Load.lua:34: ?()
   InFlight_Load\InFlight_Load.lua:3:
      InFlight_Load\InFlight_Load.lua:3
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
Report comment to moderator  
Reply With Quote
Unread 12-11-19, 11:14 AM  
Sunnova
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 5
Uploads: 4
Originally Posted by tinyu
Just got this error when interacting with the Orgrimmar Flight Path NPC
same error on IF Flight Patch NPC, started with new classic patch.
Report comment to moderator  
Reply With Quote
Unread 12-11-19, 03:03 PM  
zazomazzo
A Defias Bandit

Forum posts: 2
File comments: 1
Uploads: 0
Originally Posted by tinyu
Just got this error when interacting with the Orgrimmar Flight Path NPC

Code:
Date: 2019-12-11 16:12:15
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\InFlight\InFlight.lua line 320:
   hooksecurefunc(): ConfirmSummon is not a function
Debug:
   [C]: hooksecurefunc()
   InFlight\InFlight.lua:320: LoadBulk()
   InFlight_Load\InFlight_Load.lua:27: ?()
   InFlight_Load\InFlight_Load.lua:3:
      InFlight_Load\InFlight_Load.lua:3
   [C]: ?
   [C]: LoadAddOn()
   InFlight_Load\InFlight_Load.lua:9:
      InFlight_Load\InFlight_Load.lua:7
   InFlight_Load\InFlight_Load.lua:34: ?()
   InFlight_Load\InFlight_Load.lua:3:
      InFlight_Load\InFlight_Load.lua:3
Same for me.
Report comment to moderator  
Reply With Quote
Unread 12-11-19, 04:35 PM  
demonkunga
A Murloc Raider

Forum posts: 9
File comments: 1
Uploads: 0
Originally Posted by zazomazzo
Originally Posted by tinyu
Just got this error when interacting with the Orgrimmar Flight Path NPC

Code:
Date: 2019-12-11 16:12:15
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\InFlight\InFlight.lua line 320:
   hooksecurefunc(): ConfirmSummon is not a function
Debug:
   [C]: hooksecurefunc()
   InFlight\InFlight.lua:320: LoadBulk()
   InFlight_Load\InFlight_Load.lua:27: ?()
   InFlight_Load\InFlight_Load.lua:3:
      InFlight_Load\InFlight_Load.lua:3
   [C]: ?
   [C]: LoadAddOn()
   InFlight_Load\InFlight_Load.lua:9:
      InFlight_Load\InFlight_Load.lua:7
   InFlight_Load\InFlight_Load.lua:34: ?()
   InFlight_Load\InFlight_Load.lua:3:
      InFlight_Load\InFlight_Load.lua:3
Same for me.
Same here, on UC flight path npc
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.