Go Back   WowAce Forums > Official Addon Threads > General AddOns
General AddOns Authors, post your release ready addons here to get feedback or just to let everyone know about it.

Reply
 
Thread Tools
Old 08-07-2012   #1
kunda
Senior Member
 
Join Date: Oct 2006
Posts: 464
Default FlightMaster

http://www.wowace.com/addons/flightmaster/



Code:
-- -------------------------------------------------------------------------- --
-- FlightMaster by kunda                                                      --
-- -------------------------------------------------------------------------- --
--                                                                            --
-- FlightMaster shows all available flight points.                            --
-- FlightMaster is a flight path time-remaining addon.                        --
--                                                                            --
-- Features:                                                                  --
-- # FlightMaster is language independent!                                    --
--   The node data is saved in a LOCALE INDEPENDENT way.                      --
--   You can start WoW with any language and you always get the same data.    --
-- # Contains all available Taxi Nodes.                                       --
-- # Contains all Taxi Node NPC-IDs (deci from hexa UnitGUID() [pos 6-10]).   --
--   (This allows to check them on different websites)                        --
-- # Contains required condition(s) to access a flight point (if necessary).  --
-- # Can show missing (and unreachable) flight points in TaxiRouteMap.        --
-- # Can correct the "TaxiButton"..i - FrameLevel bug in TaxiRouteMap.        --
-- # Shows a frame while on a flight with duration and other info.            --
--   - Three different world views: 'Normal', 'Energy' and 'Panorama'.        --
--     -> The 'Energy' option (Energy Saving Mode) reduces energy consumption --
--        by approximately 20%-35% (depends). That's true, test it!           --
-- # Flight duration:                                                         --
--   - More than 2500 pre-defined flight duration data.                       --
--   - Flight duration estimate for unknown routes is done in 4 steps:        --
--     1. other faction OR                                                    --
--     2. reversed OR                                                         --
--     3. other faction reversed OR                                           --
--     4. estimate: single hops AND/OR longest known routes (like 1. - 3.)    --
--   - Guild Perk Level 21 (MoP) reduces the flight duration by 25%.          --
--   - Actions that stops flight-time recording:                              --
--     - Summon:       function ConfirmSummon                                 --
--     - Battleground: function AcceptBattlefieldPort                         --
--     - World PvP:    function BattlefieldMgrEntryInviteResponse             --
--     - LFG:          event LFG_UPDATE                                       --
--     - Pet Battle:   event PET_BATTLE_QUEUE_STATUS                          --
--  -> The saved data is always the basic duration (without guild bonus) and  --
--     is always without any flown-times-divided-through average calculation. --
-- # Accessible via LibDataBroker addon, Minimap Button, Interface Options or --
--   slash command '/flightmaster' or '/fm'.                                  --
--                                                                            --
-- Notes:                                                                     --
-- # The following 'flight points' are NOT included because they are one-way  --
--   flights and the standard taxi events/functions does not work:            --
--   - The Druid-only flight points (Alliance and Horde) in Nighthaven.       --
--   - The two Sha'tari Skyguard flight points in Outland.                    --
-- # Acherus is a valid flight point, but only available for Death Knights.   --
--                                                                            --
-- Credits:                                                                   --
-- The 'flight duration estimate'-code for unknown routes contains parts from --
-- FuBar_ToFu from Kemayo.                                                    --
--                                                                            --
-- -------------------------------------------------------------------------- --
Download:
http://www.wowace.com/addons/flightmaster/files/
__________________
addons

Last edited by kunda; 07-02-2013 at 08:19 AM. Reason: update
kunda is offline   Reply With Quote
Old 08-08-2012   #2
Dridzt
Hero Member
 
Dridzt's Avatar
 
Join Date: Nov 2005
Posts: 866
Default Re: FlightMaster

Don't have wow access for a couple more weeks, but favoriting this for later

Did you extract map flight data from the .dbc(s) or the hard way?
Dridzt is offline   Reply With Quote
Old 08-08-2012   #3
kunda
Senior Member
 
Join Date: Oct 2006
Posts: 464
Default Re: FlightMaster

I have the data from simply playing the game.
__________________
addons
kunda is offline   Reply With Quote
Old 08-08-2012   #4
OttoDeFe
Amazing Member
 
OttoDeFe's Avatar
 
Join Date: Sep 2008
Location: The Pacific North Wet
Posts: 1,768
Default Re: FlightMaster

FlightMaster: ERROR unknown npc enUS 1 Kalimdor 40358 1583300 Mudsprocket, Dustwallow Marsh

MoP
__________________
He's an ex in my eyes;
He's the death of a cartoon.
--Granthm
OttoDeFe is offline   Reply With Quote
Old 08-08-2012   #5
kunda
Senior Member
 
Join Date: Oct 2006
Posts: 464
Default Re: FlightMaster

Ohh, think I need to recheck some Horde npc ids too. I found another one that was added 2.x and than changed with cata 4.x or so. Because the npc id is not that important a simple update in FlightMaster-data-NPC.lua was enough.
Thanks OttoDeFe. fixed in r3: http://www.wowace.com/addons/flightmaster/files/
__________________
addons
kunda is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:13 AM.