Quantcast
Download
(48 Kb)
Download
Updated: 09-25-19 12:22 PM
Pictures
File Info
Compatibility:
WoW Classic (1.13.2)
Updated:09-25-19 12:22 PM
Created:08-29-19 07:22 AM
Downloads:17,618
Favorites:76
MD5:
Categories:Classic - General, Data Mods, Map, Coords, Compasses, Miscellaneous

InFlight Classic  Popular! (More than 5000 hits)

Version: 1.13.003
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.13.003 09/26/2019
  • Update some default flight times
  • Update some Spanish localisations (thanks to maketas)
  • Update some Simplified Chinese localisations (thanks to grj2012)
  • Update some Simplified Chinese localisations (thanks to hyoga2002)
  • Add option to count time up or down independently of bar filling up or depleting
  • Fix spark briefly showing at wrong point at start of flight
  • Attempt to get required information if another addon auto takes flight path at flight master
  • Indicate on flight map if time was estimated
  • Disable cleanly when wrong client version detected
  • Global variables cleanup

1.13.002 09/01/2019
  • Fix compact display
  • Add database version check

1.13.001 08/29/2019
  • Initial Classic release
Archived Files (2)
File Name
Version
Size
Author
Date
1.13.002
45kB
wildcard25
08-31-19 09:34 AM
1.13.001
45kB
wildcard25
08-29-19 07:22 AM


Post A Reply Comment Options
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-01-19, 11:06 AM  
thengel12
A Kobold Labourer

Forum posts: 0
File comments: 7
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-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 10-10-19, 11:11 AM  
agentdroli
A Kobold Labourer

Forum posts: 0
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 10-08-19, 09:05 PM  
wildcard25
A Fallenroot Satyr
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 42
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-02-19, 05:51 PM  
agentdroli
A Kobold Labourer

Forum posts: 0
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 09-25-19, 11:30 PM  
wildcard25
A Fallenroot Satyr
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 42
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 09-24-19, 01:06 AM  
wildcard25
A Fallenroot Satyr
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 42
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-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-20-19, 08:40 PM  
wildcard25
A Fallenroot Satyr
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 42
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-20-19, 04:22 PM  
Sheepdog
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Need Data Upload/Download

Will we be able to share our saved flight time data with others? I don't see the option to do this.
Report comment to moderator  
Reply With Quote
Unread 09-13-19, 04:17 AM  
wildcard25
A Fallenroot Satyr
 
wildcard25's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 42
Uploads: 1
Re: InFlight Classic not working

Originally Posted by tinyu
just received this error getting a flight from Red Ridge to Westfall
Originally Posted by slurk2k
As of today (september 12. 2019) the Inflight addon does not work at all, not showing up when getting on the flightpath and options are not clickable.

Been using it for the last two weeks.
Both of these are due to the retail version being installed on classic.
It looks like like Twitch messed up and showed retail versions as updates to classic versions for a while. InFlight isn't the only addon that has had this type of report in the last day or so

It looks like Twitch is working properly now, so you should be able to re-install the classic version. However, flight times will most likely be lost as the versions are not compatible with each other. You will need to re-enable InFlight in the AddOn menu as it would have disabled itself when it detected that it was running on the wrong client version (that's why there are no options).
Report comment to moderator  
Reply With Quote
Unread 09-12-19, 10:26 AM  
slurk2k
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
InFlight Classic not working

As of today (september 12. 2019) the Inflight addon does not work at all, not showing up when getting on the flightpath and options are not clickable.

Been using it for the last two weeks.
Report comment to moderator  
Reply With Quote
Unread 09-12-19, 09:32 AM  
vil2
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally Posted by wildcard25
Originally Posted by vil2
Same as for the others, times are not saved. Always ?? displayed instead of actual duration.
Same as for the others.
Originally Posted by wildcard25
Showing ?? is expected as classic has only just come out, so no flight times are known yet.
Does it print to chat that it's added the new flight time the first time that you take a new flight?
Can you upload your saved variable file here so that I can see what might have gone wrong. (Instructions on where to find the file is in on the 'Addon Info.' page under 'How to Contribute'
Now it works, unexpectedly. What I did (not sure if it actually solved the problem though) is that I went to the options, tried to change some settings, reverted back to normal and then I had the prompts before taking the flight "are you sur to fly" and now the times are displayed correctly, after a first flight.
Prior to that, the messages were indeed printed in chat after a flight, but not saved.
Hope this helps.
Report comment to moderator  
Reply With Quote
Unread 09-12-19, 09:17 AM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 363
Uploads: 13
just received this error getting a flight from Red Ridge to Westfall

Date: 2019-09-13 00:46:42
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\InFlight\InFlight.lua line 130:
attempt to index upvalue 'vars' (a nil value)
Debug:
InFlight\InFlight.lua:130:
InFlight\InFlight.lua:124
[C]: ?
Locals:
button = TaxiButton2 {
0 = <userdata>
inflighted = true
}
id = 2
(*temporary) = <function> defined @Interface\AddOns\InFlight\InFlight.lua:114
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index upvalue 'vars' (a nil value)"
TaxiNodeGetType = <function> defined =[C]:-1
addDuration = <function> defined @Interface\AddOns\InFlight\InFlight.lua:114
vars = nil
taxiSrc = nil
GetNodeID = <function> defined @Interface\AddOns\InFlight\InFlight.lua:42
GetEstimatedTime = <function> defined @Interface\AddOns\InFlight\InFlight.lua:66
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
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.