Quantcast
Download
(112 Kb)
Download
Updated: 01-18-20 05:51 PM
Pictures
File Info
Compatibility:
Visions of N'Zoth (8.3.0)
Updated:01-18-20 05:51 PM
Created:unknown
Downloads:296,454
Favorites:1,007
MD5:
Categories:Data Mods, Map, Coords, Compasses, Miscellaneous
8.3.0

InFlight  Popular! (More than 5000 hits)

Version: 8.3.001
by: totalpackage, wildcard25

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).
Classic 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>/_retail_/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
Please go here to provide feedback

8.3.001 01/19/2020
  • Fix destination parsing for some locales

8.2.007 01/09/2020
  • Update some default flight times
  • Update German localisations (thanks to x_RazzorX_x)
  • Improve removal of duplicate flight times
  • Improve version checks
  • Fix confirm summon lua error
  • Fix timing flights that have loading screens during the flight

8.2.006 09/26/2019
  • 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

8.2.005 09/01/2019
  • Add database version check

8.2.004 08/29/2019
  • Update some default flight times
  • Make sure learnt flight times belong to this version of the game
  • Indicate when flight time has been estimated
  • Optimisations
  • Update some Korean localisations (thanks to netaras)
  • Update some Spanish localisations (thanks to bcnhector)
  • Update all localisations (thanks to Google translate)
  • Update library files

8.2.003 07/15/2019
  • Update German localisations (thanks to x_RazzorX_x)
  • Localisation updates
  • Fix workaround for Blizzard bug on Outland Flight Map
  • Update library files

8.2.002 07/07/2019
  • Update German localisations (thanks to x_RazzorX_x)
  • Localisation updates
  • Fix regression: flight times not being saved when chat messages are turned off
  • Minor bug fixes

8.2.001 07/02/2019
  • Update some default flight times
  • Update library files
  • Display updates
  • Fix entering dungeon detection
  • Fix option panel not showing the first time it is selected
  • Localization overhaul
  • Flight times database overhaul
  • Make database localisation friendly
  • Optimise flight time estimate calculation
  • Workaround for Blizzard bug on Outland Flight Map

8.1.001 03/18/2019
  • Update gossip flights
  • Remove gossip flights that Blizzard API no longer considers as being on a taxi
  • Fix error when starting some gossip flights
  • Fix flight time being added multiple times to tooltip
  • Update some default flight times

8.0.006 11/08/2018
  • Fix flight bar not closing when taking flight fails
  • Update some default flight times

8.0.005 10/24/2018
  • Update some default flight times
  • Fix Sanitise lua error

8.0.004 10/24/2018
  • Add option to turn off chat messages
  • Add option to hide spark on flight bar
  • Add reminder to contribute flight paths
  • Optimise flight bar creation and updating
  • Remove unneeded extra spaces in destination text for normal and compact modes
  • Add another renamed flightpath
  • Fix variable scope/hiding

8.0.003 08/13/2018
  • Remove bad faction data when found
  • Update some default flight times
  • Minor text update

8.0.002 08/09/2018
  • Update libs
  • Update some default flight times
  • Minor text updates
  • Update French localisations (thanks to Babe2212)
  • Add local print and debug print functions
  • Ensure data is sanitised during upgrade
  • Change default flightbar position so it doesn't cover zone text
  • Fix spark going past end of flightbar
  • Fix strange times showing when bar is depleting and flight takes too long
  • Fix logic error applying default options
  • Remove broken gossip flight

8.0.001 07/17/2018
  • Updated for 8.0.1
  • Update some default flight times

7.3.004 07/08/2018
  • add sanity checks for flight data
  • update flight path time estimation algorithm
  • update some default flight times

7.3.003 05/19/2018
  • applied user submitted fix

7.3.002 10/14/2017
  • revert some changes

7.3.001 09/06/2017
  • updated for 7.3
  • updated some default times thanks to users' submissions

7.2.002 06/17/2017
  • avoid nil error

7.2.001 05/07/2017
  • updated for 7.2
  • updated some default times
  • disabled time saving after clicking early landing

7.1.002 02/03/2017
  • fix for compat problems
  • updated default times thanks to submissions

7.1.001 11/10/2016
  • updated for 7.1
  • updated default times thanks to submissions

7.0.002 09/15/2016
  • updated for Legion
  • updated default times thanks to submissions

6.2.001 07/18/2015
  • updated for 6.2
  • updated default times thanks to users's submissions
  • added a way to close the timer in case it gets stuck

6.0.001 10/20/2014
  • updated for 6.0

5.4.001 09/21/2013
  • updated for 5.4

5.3.001 06/05/2013
  • updated for 5.3

5.2.001 03/10/2013
  • updated for 5.2
  • handling guild perk fully now (thanks to Cidrei)
  • Spanish locations localization added (thanks to Scarbrow)

5.1.002 12/10/2012
  • fix guild perk error

5.1.001 12/08/2012
  • updated for 5.1
  • added some support for "Ride Like the Wind" guild perk
  • times will not update if guild level is 21 or above
  • option to show estimated time with guild perk

5.0.001 09/04/2012
  • updated for 5.0.4
  • default data update thanks to users' submissions
  • removed flight POI mapping

4.3.001 11/29/2011
  • update for 4.3
  • massive default data update thanks to users' submissions

4.2.001 06/29/2011
  • update for 4.2
  • default data update thanks to users' submissions

4.1.001 04/26/2011
  • update for 4.1
  • default data update thanks to users' submissions

4.0.004 02/10/2011
  • massive data update thanks to users' submissions
  • attempted to update POI locations, but it does not look good
  • added option to disable POI locations; see description page for script
  • updated special flight detections

4.0.003 12/06/2010
  • fix error on fresh installs
  • updated default data thanks to users' submissions

4.0.002 12/05/2010
  • updated default data thanks to users' submissions
  • cleaned up drop down menus

4.0.001 10/18/2010
  • localization update
  • added outline text options
  • 4.0 compat

3.3.005 06/22/2010
  • added ruRU localization
  • fixed flights that require a loading screen

3.3.004 03/02/2010
  • fix timer not updating properly while alt-tabbed
  • update default data thanks to users' submissions

3.3.003 01/22/2010
  • probably fix LFD error
  • added new Western Plaguelands flight

3.3.002 01/16/2010
  • updated default data thanks to users' submissions
  • added "The Bulwark" POI location
  • added French localization and updated others
  • maybe added a check to not save flight time if summon taken from Looking For Dungeon system

3.3.001 12/08/2009
  • update toc for 3.3
  • update flight data thanks to user submissions
  • added French localization for Horde times
  • added option to save settings per character

3.2.002 09/23/2009
  • added "Get Kraken" bombing quest support

3.2.001 08/04/2009
  • toc to 3.2
  • added support for Valgarde and Amber Ledge special flight paths (thanks to Radry)

3.1.002 07/24/2009
  • updated default data thanks to user submissions
  • added the Tournament flightpath location

3.1.001 04/14/2009
  • updated for 3.1
  • defaults updated thanks to user submissions

3.0.013 03/25/2009
  • should be compatible with 3.1 PTR
  • if time is unknown, now attempt to estimate time based on hops
  • added support for AddonLoader

3.0.012 02/23/2009
  • removed futile attempts to auto-cancel shapeshift forms
  • attempt to exit vehicle before taking a flight
  • updated default times thanks to user submissions

3.0.011 02/13/2009
  • redid options menu; no longer uses Dewdrop
  • updated defaults thanks to user submissions

3.0.010 01/05/2009
  • default flight times data updated; thanks to users' submissions
  • remove font size adjustment

3.0.009
  • updated default flight time data; thanks to users' submissions
  • added Ebon Hold flight master location, and updated Horde Light's Hope location

3.0.008
  • more flight time data updated; thanks to users' submissions
  • updated horde flight master locations; thanks to users' submissions
  • added the ability to delete/update locations for HandyNotes
  • optional support for LibBabble-Zone-3.0, only needed for non-English clients
  • reorganized and tweaked POI code

3.0.007
  • updated more flight time data; thanks to users' submissions
  • added HandyNotes support if HandyNotes_FlightMasters and Cartographer_Notes are not present; HandyNotes support also adds location icons on the continent maps

3.0.006
  • updated default flight times data, thanks to the contributors
  • updated Cartographer flight location data
  • normal flight icons are now initially gray (colored as unknown); visit flight masters to update them to green (color as known)

3.0.005a
  • more data updates, now with some horde love

3.0.005
  • updated included libraries
  • added Cavern of Times gossip flights
  • rewrote gossip flight detection code
  • heavily updated flight times for Alliance; no contributors, so too bad for the Horde
  • added almost every Alliance flightmaster location in Northrend; too bad for the Horde again
  • updated Eastern Plagueland and Stormwind flight locations
  • added deDE localization

3.0.003
  • attempt to fix support for Cartographer_Notes again; tested with Cartographer v2.3.1
  • use GetTime() to determine flight time

3.0.002a
  • fix support for Cartographer_Notes up to v2.2; won't work with v3.0

3.0.002
  • change the way data is updated to probably avoid overwriting your new data
  • fix cancel buff error with Druids and Shaman; can't test if it still works
  • added the Russian translation that I forgot to update
  • added the updated zhCN translation that I forgot to update
Archived Files (31)
File Name
Version
Size
Author
Date
8.2.007
112kB
totalpackage
01-09-20 07:09 AM
8.2.006
111kB
totalpackage
09-25-19 12:20 PM
8.2.005
110kB
totalpackage
08-31-19 09:33 AM
8.2.004
110kB
totalpackage
08-29-19 06:44 AM
8.2.003
104kB
totalpackage
08-29-19 06:08 AM
8.2.002
100kB
totalpackage
07-06-19 09:34 AM
8.2.001
100kB
totalpackage
07-01-19 07:06 PM
8.1.001
104kB
totalpackage
03-17-19 11:52 PM
8.0.006
101kB
totalpackage
11-08-18 01:11 AM
8.0.005
98kB
totalpackage
10-24-18 07:04 AM
8.0.004
89kB
totalpackage
10-23-18 05:44 PM
8.0.003
88kB
totalpackage
08-13-18 01:12 AM
8.0.002
88kB
totalpackage
08-09-18 02:32 AM
8.0.001
84kB
totalpackage
07-17-18 05:48 AM
7.3.004
84kB
totalpackage
07-07-18 11:27 PM
7.3.003
89kB
totalpackage
05-19-18 07:28 PM
7.3.002
89kB
totalpackage
10-13-17 11:24 PM
7.3.001
89kB
totalpackage
09-05-17 11:09 PM
7.2.002
89kB
totalpackage
06-17-17 03:42 PM
7.2.001
89kB
totalpackage
05-07-17 11:14 AM
7.1.002
88kB
totalpackage
02-03-17 10:32 AM
7.1.001
86kB
totalpackage
11-10-16 09:51 PM
7.0.002
80kB
totalpackage
09-15-16 08:13 PM
6.2.001
73kB
totalpackage
07-18-15 05:26 PM
6.0.001
67kB
totalpackage
10-20-14 09:42 PM
5.4.001
62kB
totalpackage
09-20-13 10:29 PM
5.3.001
62kB
totalpackage
06-05-13 09:28 PM
5.2.001
62kB
totalpackage
03-10-13 05:00 PM
5.1.002
58kB
totalpackage
12-10-12 10:22 PM
5.1.001
58kB
totalpackage
12-08-12 08:37 AM
5.0.001
58kB
totalpackage
09-04-12 10:04 PM


Post A Reply Comment Options
Unread 10-10-16, 10:42 AM  
Cindy1002
A Theradrim Guardian

Forum posts: 66
File comments: 38
Uploads: 0
Is there anyway to hide stopwatch? I don't want to see it.
Report comment to moderator  
Reply With Quote
Unread 10-03-16, 07:29 AM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Originally Posted by Ammako
There's around line 4492 too (may not be exact since I may have already removed some empty tables when i found that one)
...
You should also remove them from the InFlight.lua saved variables file while not being logged in.
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 09-29-16, 12:12 PM  
Ammako
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 256
File comments: 29
Uploads: 8
There's around line 4492 too (may not be exact since I may have already removed some empty tables when i found that one)

Code:
			["Vault of the Earth"] = {
			},
Ctrl+F search for
Code:
{
			},
easily finds them.
Last edited by Ammako : 09-29-16 at 12:16 PM.
Report comment to moderator  
Reply With Quote
Unread 09-18-16, 05:32 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 935
Uploads: 9
I did notice those. It happened when users submit their times to me and I guess someone had bad data. I tried to clean it but I guess it got thru anyway. Dang it
Report comment to moderator  
Reply With Quote
Unread 09-17-16, 12:05 PM  
xerty
A Defias Bandit
 
xerty's Avatar

Forum posts: 3
File comments: 29
Uploads: 0
Originally Posted by tiker
So, just to confirm it is from the empty tables in the defaults.lua file.

When totalpackage updates the default flights list the function to import the new defaults fires doing a check. The empty tables get added to the saved variables for the addon the first time. The next update runs the check and this error occurs.

Good news is it won't happen again until the next default flight times are updated again.
Good to know that its a one-time error. I'm sure I can live with that
Report comment to moderator  
Reply With Quote
Unread 09-16-16, 06:17 PM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Here's a few more empty tables in defaults.lua to add to my previous comment:

Line 3412:
Code:
		["The Iron Front"] = {
			["The Iron Front"] = {
			},
Line 3429:
Code:
			["Aktar's Post"] = {
			},
Line 3541:
Code:
			["Vol'mar"] = {
			},
Line 5534:
Code:
			["Sha'naari Refuge"] = {
			},
Line 5579:
Code:
			["Retribution Point"] = {
			},
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 09-16-16, 06:07 PM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
So, just to confirm it is from the empty tables in the defaults.lua file.

When totalpackage updates the default flights list the function to import the new defaults fires doing a check. The empty tables get added to the saved variables for the addon the first time. The next update runs the check and this error occurs.

Good news is it won't happen again until the next default flight times are updated again.
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 09-16-16, 04:20 PM  
xerty
A Defias Bandit
 
xerty's Avatar

Forum posts: 3
File comments: 29
Uploads: 0
I've been using the addon for years, but its the first time that the new update has been used.
Report comment to moderator  
Reply With Quote
Unread 09-16-16, 03:06 PM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Re: LUA error

Originally Posted by xerty
Good to see you making updates again ;-)

v7.0.002

Happens on opening the flight master map and I do not use WorldFlightMap. Though I do use WorldQuestTracker which adds icons to the flight map.
I haven't tested anything yet but this error looks to be caused by a bad default value. I'm assuming this is the first time you're running InFlight.

The cause looks to be from the InFlight\defaults.lua file, line 1006:
Code:
		["Tian Monastery"] = {
			["Winter's Blossom"] = 294,
			["Dawn's Blossom"] = 42,
			["Shrine of Two Moons"] = 179,
			["Emperor's Omen"] = 22,
			["Grookin Hill"] = 82,
			["Halfhill"] = 157,
			["Jade Temple Grounds"] = 77,
			["Honeydew Village"] = 54,
			["Zhu's Watch"] = 175,
			["The Arboretum"] = 86,
		},
		["Malo's Lookout"] = {
			["Malo's Lookout"] = {
			},
			["The Iron Front"] = 55,
			["Vault of the Earth"] = 30,
			["Frostwall Garrison"] = 140,
			["Aktar's Post"] = 26,
			["Beastwatch"] = 74,
			["Sha'naari Refuge"] = 30,
			["Vol'mar"] = 32,
			["Warspear"] = 87,
			["Axefall"] = 149,
			["Bastion Rise"] = 48,
		},
Notice the extra table in there? I don't think it should be there.

I'll test it for sure when I have access to the game later this evening.
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 09-16-16, 01:47 PM  
xerty
A Defias Bandit
 
xerty's Avatar

Forum posts: 3
File comments: 29
Uploads: 0
LUA error

Good to see you making updates again ;-)

v7.0.002

Happens on opening the flight master map and I do not use WorldFlightMap. Though I do use WorldQuestTracker which adds icons to the flight map.

Code:
Date: 2016-09-16 20:41:34
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\InFlight\InFlight.lua line 301:
   attempt to compare two table values
Debug:
   [C]: ?
   InFlight\InFlight.lua:301: 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:11:
      InFlight_Load\InFlight_Load.lua:9
   InFlight_Load\InFlight_Load.lua:33: ?()
   InFlight_Load\InFlight_Load.lua:3:
      InFlight_Load\InFlight_Load.lua:3
Locals:

AddOns:
  Swatter, v7.1.5675 (TasmanianThylacine)
  WowheadLooter, v60014
  NPCScanOverlay, v7.0.3.4
  Accountant, v7.00.70000
  AchievementsReminder, v
  AckisRecipeList, v7.0.3.7
  AckisRecipeListQuickScan, v7.0.3.3
  ACP, v3.4.29 
  AdiBags, vv1.9.2
  Altoholic, vr171
  APeonsBurden, vv2.3
  Armory, vv13.2.0
  ArmoryGuildBank, vv13.2.0
  AskMrRobot, v41
  AucAdvanced, v7.1.5675 (TasmanianThylacine)
  AucFilterOutlier, v7.1.5675.5459(7.1/embedded)
  AucMatchUndercut, v7.1.5675.5585(7.1/embedded)
  AucScanData, v7.1.5675 (TasmanianThylacine)
  AucStatSales, v7.1.5675.5598(7.1/embedded)
  AucStatSimple, v7.1.5675 (TasmanianThylacine)
  AucStatWOWEcon, v7.1.5675.5613(7.1/embedded)
  AucUtilAHWindowControl, v7.1.5675.5575(7.1/embedded)
  AucUtilAppraiser, v7.1.5675.5666(7.1/embedded)
  AucUtilAskPrice, v7.1.5675.5599(7.1/embedded)
  AucUtilAutoMagic, v7.1.5675.5587(7.1/embedded)
  AucUtilCompactUI, v7.1.5675.5629(7.1/embedded)
  AucUtilEasyBuyout, v7.1.5675.5576(7.1/embedded)
  AucUtilItemSuggest, v7.1.5675.5651(7.1/embedded)
  AucUtilPriceLevel, v7.1.5675.5633(7.1/embedded)
  AucUtilScanButton, v7.1.5675.5631(7.1/embedded)
  AucUtilScanFinish, v7.1.5675.5588(7.1/embedded)
  AucUtilScanProgress, v7.1.5675.4979(7.1/embedded)
  AucUtilScanStart, v7.1.5675.5347(7.1/embedded)
  AucUtilSearchUI, v7.1.5675.5672(7.1/embedded)
  AucUtilSimpleAuction, v7.1.5675.5654(7.1/embedded)
  AucUtilVendMarkup, v7.1.5675.4828(7.1/embedded)
  Auctionator, v4.0.13
  Babylonian, v5.1.DEV.332(/embedded)
  BadBoy, v13.025
  BattlePetDailyTamer, v2.1.0
  BonusRollPreview, v70000.31-Release
  CanIMogIt, v7.0.3.23
  Chinchilla, vv2.8.1
  ClassTimer, v2.3.70000.2
  Collectinator, v7.0.3.2
  CollectionShop, v1.05
  CollectMe, v2.9
  Configator, v5.1.DEV.406(/embedded)
  ConfirmSP, v01-32
  CooldownCount, v7.0.1
  CrossRealmAssist, v0.8 beta
  DamnAchievementSpam, v
  DataStore, vr59
  DataStoreAchievements, vr42
  DataStoreAgenda, vr23
  DataStoreAuctions, v6.0.001
  DataStoreCharacters, vr36
  DataStoreContainers, vr53
  DataStoreCrafts, vr73
  DataStoreCurrencies, vr31
  DataStoreGarrisons, vr16
  DataStoreInventory, vr46
  DataStoreMails, vr46
  DataStorePets, vr39
  DataStoreQuests, vr36
  DataStoreReputations, vr37
  DataStoreSpells, vr27
  DataStoreStats, vr26
  DataStoreTalents, vr54
  DBMCore, v
  DBMDefaultSkin, v
  DBMStatusBarTimers, v
  DebugLib, v5.1.DEV.337(/embedded)
  Decursive, v2.7.4.7
  DejaCharacterStats, v7.0.3 r12
  EasyMail, v
  ExtTransmogUI, v1.1.0
  FishingBuddy, v1.7.7a
  FlaresThatWork, v2.3.4
  FocusHealthPercent, v4.0.1
  Grid, v7.0.3.3
  GTFO, v4.38.8
  GuildCheck, vv 2.4.9
  HandyNotes, vv1.4.9
  HandyNotesDraenorTreasures, v1.20
  HandyNotesLegionRaresTreasures, v1.01a
  HandyRepairNSell, v0.1
  InFlight, v7.0.002
  InFlightLoad, v7.0.002
  InFlightUpdate, v4
  Informant, v7.1.5675 (TasmanianThylacine)
  InspectorGadgetzan, v7.0.3.8
  InterruptNoSpam, v1.62
  IskarAssist, v
  ItemLevelDisplay, v1.10.2 6.2.2
  LargerMacroIconSelection, vv1.1.3
  LibExtraTip, v5.12.DEV.412(/embedded)
  LoggerHead, v183
  LongMacros, vv1.0.9
  MacroBank, v1.11
  MasterPlan, v0.101
  MasterPlanA, vA
  MinimalArchaeology, v6.0.5 (2014-12-15)
  MinimapButtonFrame, v3.1.10e
  MinimapButtonFrameSkinPack, v3.0.1b
  mOnArsWardrobeHelper, v1.16.2
  NPCScan, v7.0.3.16
  Omen, v3.1.12
  Overachiever, v0.93
  Pawn, v2.0.11
  PetBattleMaster, v7.0.3
  PetTracker, v7.0.2
  PetTrackerBreeds, v
  PetTrackerConfig, v
  PetTrackerJournal, v
  PetTrackerSwitcher, v
  PetTrackerUpgrades, v
  premadefilter, v2.0.3
  QuickMark, v60100
  RaidAchieveFilter, v1.9.1
  RaidAchievement, v
  RaidAchievementOldModules, v
  RangeColors, v
  Rarity, v1.0
  RarityOptions, v
  Rematch, v4.5.3
  SafariHatnotification, v
  SavedInstances, v7.0.2
  SetCollector, v3.0.0
  SilverDragon, vv3.2.7
  Skada, v1.5-8
  SkillHelper, vv3.2.15
  SlideBar, v7.1.5675 (TasmanianThylacine)
  StopResetingMyCameraPlease, v
  Stubby, v7.1.5675 (TasmanianThylacine)
  SuperDuperMacro, v2.6.1
  TargetHealthPercent, v5.0
  TellMeWhen, v8.1.2
  TheUndermineJournal, v4.7.20160913
  TidyPlates, v6.18.5
  TidyPlatesThreatPlates, v8.1.4
  TidyPlatesHub, v
  TidyPlatesWidgets, v
  TipHelper, v5.12.DEV.405(/embedded)
  TokenSplainer, vr04
  TolBaradReminder, v1.3
  TomTom, vv70000-1.1.0
  TransmogTokens, v1.4.4
  WIM, v3.7.9
  WorldQuestTracker, v
  xanDurability, v3.0
  ZygorGuidesViewer, v6.0
  BlizRuntimeLib_enUS v7.0.3.70000 <none>
  (ck=1157)
Last edited by xerty : 09-16-16 at 01:48 PM.
Report comment to moderator  
Reply With Quote
Unread 09-16-16, 07:54 AM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Thanks. So far, no issues to report with the posted version on its own.

I don't use the WorldFlightMap addon but the fact it replaces the FlightMapFrame with the world map frame would explain why the addon fails for the Legion flight masters. I can add a quick check for the frame object before attempting to use data from it.
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 09-16-16, 12:16 AM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 361
File comments: 259
Uploads: 3
These changes don't play nice with WorldFlightMap:
Lua Code:
  1. 1x InFlight\InFlight-7.0.002.lua:365: attempt to index global 'FlightMapFrame' (a nil value)
  2. InFlight\InFlight-7.0.002.lua:365: in function 'InitSource'
  3. InFlight_Load\InFlight_Load-7.0.002.lua:34: in function '?'
  4. InFlight_Load\InFlight_Load-7.0.002.lua:3: in function <InFlight_Load\InFlight_Load.lua:3>
Lua Code:
  1. 2332x InFlight\InFlight-7.0.002.lua:491: table index is nil
  2. InFlight\InFlight-7.0.002.lua:491: in function <InFlight\InFlight.lua:470>
  3. InFlight\InFlight-7.0.002.lua:523: in function '?'
  4. InFlight_Load\InFlight_Load-7.0.002.lua:3: in function <InFlight_Load\InFlight_Load.lua:3>
Report comment to moderator  
Reply With Quote
Unread 09-15-16, 08:14 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 935
Uploads: 9
Updated.

Thanks tiker. I implemented your changes. Please test since I cannot.
Report comment to moderator  
Reply With Quote
Unread 09-12-16, 05:59 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 130
File comments: 718
Uploads: 0
Re: Adding time duration to Legion flight map tooltips

Originally Posted by tiker
I've finally figured out the new frame pools. I've have hacked up InFlight a bit to show the flight duration in the game tooltip frames for the new Flight Map (Legion). It's only gone through some limited testing but it's worked so far from what I can tell. It could still be cleaned up a bit more as well. Use at your own risk.
Hi. I'm hopeless at adding code. All my understanding of code comes from classes back in 1984. Any chance of a fan-update? Please?

-Barleduq
Report comment to moderator  
Reply With Quote
Unread 09-09-16, 07:27 PM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Adding time duration to Legion flight map tooltips

I've finally figured out the new frame pools. I've have hacked up InFlight a bit to show the flight duration in the game tooltip frames for the new Flight Map (Legion). It's only gone through some limited testing but it's worked so far from what I can tell. It could still be cleaned up a bit more as well. Use at your own risk.

Here are the changes for InFlight.lua:

Replace function "InFlight:InitSource()" with the following:
Code:
------------------------------
function InFlight:InitSource()  -- cache source location and hook tooltips
------------------------------
	if TaxiFrame_ShouldShowOldStyle() then
		for i = 1, NumTaxiNodes(), 1 do
			local tb = _G["TaxiButton"..i]
			if tb and not tb.inflighted then
				tb:HookScript("OnEnter", postTaxiNodeOnButtonEnter)
				tb.inflighted = true
			end
			if TaxiNodeGetType(i) == "CURRENT" then
				source = ShortenName(TaxiNodeName(i))
			end
		end
	else
		local tb = FlightMapFrame.pinPools.FlightMap_FlightPointPinTemplate
		for flightnode in tb:EnumerateActive() do
			if flightnode then
				flightnode:HookScript("OnEnter", postTaxiNodeOnButtonEnter)
			end
			if flightnode.taxiNodeData.type == LE_FLIGHT_PATH_TYPE_CURRENT then
				source = ShortenName(flightnode.taxiNodeData.name)
			end
		end
	end
end
Replace the function "postTaxiNodeOnButtonEnter(button)" with the following code:
Code:
local function postTaxiNodeOnButtonEnter(button) -- adds duration info to node tooltips
	if TaxiFrame_ShouldShowOldStyle() then
		local id = button:GetID()
		if TaxiNodeGetType(id) ~= "REACHABLE" then return end
		local ftime = (vars[source] and vars[source][ ShortenName(TaxiNodeName(id)) ]) or GetEstimatedTime(id) or 0
		if ftime > 0 then
			if GetGuildLevel and GetGuildLevel() >= 21 then
				ftime = ftime / 1.25
			end
			gtt:AddLine(L_duration..FormatTime(ftime), 1, 1, 1)
		else
			gtt:AddLine(L_duration.."-:--", 0.8, 0.8, 0.8)
		end
		gtt:Show()
	else
		if button.taxiNodeData.type ~= LE_FLIGHT_PATH_TYPE_REACHABLE then return end
		local ftime = (vars[source] and vars[source][ ShortenName(button.taxiNodeData.name) ]) or GetEstimatedTime(button.taxiNodeData.slotIndex) or 0
		if ftime > 0 then
			if GetGuildLevel and GetGuildLevel() >= 21 then
				ftime = ftime / 1.25
			end
			gtt:AddLine(L_duration..FormatTime(ftime), 1, 1, 1)
		else
			gtt:AddLine(L_duration.."-:--", 0.8, 0.8, 0.8)
		end
		gtt:Show()
	end
end
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
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.