FlightMap

FlightMap is all about the flights you take in the World of Warcraft. It draws lines on the continent maps, showing you visually where you can fly from each zone as you mouse over them, as well as showing a window listing all the available destinations, their costs and their flight durations. On the zone level map, flight masters appear as small boot icons, allowing you to see where they are. During flights, a castbar-alike progress bar will show you how long is left on your current journey.


Use /fmap or /flightmap to bring up the options window, or use the myAddons support.


The timer bar is movable if you hold down SHIFT and drag it.


Many thanks to Thorarin (aka Marcel Veldhuizen) who not only reported bugs, but also reported their fixes, and who supplied the Alliance default data. Thanks also to Simon, who has helped immensely with the German translations. And of course, thanks to everyone who downloaded betas, put up with bugs and helped me fix them!


BETA NOTES: 1.9-3beta147 adds two new "/fmap" subcommands: "/fmap lock" to prevent FlightMap from learning any more flight times, and "/fmap open" to open up the flight map window. It also should correctly remove Valor's Rest for translated versions.


1.10-1beta151 updates for the 1.10 patch. See below for 1.10-1 notes. This is flagged BETA because the test servers went down two hours earlier than the live servers, which was two hours earlier than I expected. It *should* work -- but it might not.


Known bugs for 3.2

  • The timer window may be too small to fit large texts.
  • Timing may get messed up when going to a battleground in mid-flight and then resuming the flight afterwards.

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of KKram KKram Mon, 10 Aug 2009 17:08:44

    Hi, try this fix for timer windows. It just adjust large texts so timer will always show.

    Replace code in FlightMaptimes.lua at line 228-251 by :

    [quote]
            local label = self.destination
            local timing;
            local now = GetTime();
            -- If the time was too short, wipe it out and save a new one!
            if (self.endTime and self.endTime < now) then
                self.endTime = nil;
                FlightMapTimesFrame:SetMinMaxValues(0, 100);
                FlightMapTimesFrame:SetValue(100);
                FlightMapTimesFrame:SetStatusBarColor(0.0, 0.0, 1.0);
                FlightMapTimesSpark:Hide();
            end

            -- Update the spark, status bar and label
            if (self.endTime then
                local remains = self.endTime - now;
                timing = FlightMapUtil.formatTime(remains, true);
                local sparkPos = ((now - self.startTime
                                / (self.endTime - self.startTime * 195;
                FlightMapTimesSpark:SetPoint("CENTER",
                        "FlightMapTimesFrame", "LEFT", sparkPos, 2);
                FlightMapTimesFrame:SetValue(now);
            else
                timing = string.format(FLIGHTMAP_TIMING,
                        FlightMapUtil.formatTime(now - self.startTime
            end

            if (strlen(label..timing)>27) then label = strsub(label,
                    1,(27-strlen(timing)-3)) .. "... "; end
            label = label .. ": " .. timing;
    [/quote]

  • 1 comment

Facts

Date created
04 Apr 2005
Category
Last update
05 Aug 2009
Development stage
Release
License
Public Domain
Curse link
FlightMap
Recent files

Authors