Carbonite Classic (with all modules)

Carbonite Classic (with all modules)

518k Downloads

Flight Paths not Taken into consideration

noahgithub opened this issue · 27 comments

commented

When calculating the fastest route between destinations the availability of flight paths is not taken into consideration. It now always gives you the route for walking only.

commented

Is this as intended?

commented

Yeah I gues we'll have to check every Flight Master there. Also I fount that localization too may discrupt everything as for some languages there are different localizations were made in the past and we have to find correct values too. darn.

commented

Now, I've tested my theory about localizations and sadly it proven as true. Trouble is that database of accessible flightmasters filled with localized locations as they named by game localizations. Those are changed in some expansions and are not always correct. Even original names could be incorrect thus requiring us to check it too.

commented

BTW are you playing with original locale or some other?

commented

Should be fixed.

commented

I am excited to see this working. I dowloaded the LUA file and replaced it on my machine. Will let you know how it works out.

commented

Replaced both the Flightmaster and NXTravel LUA's... Initially this did not make a difference, attempting to fly to a flight point so that it will "see" the FP as one I know. Still seems to not track Flight points. Perhaps I am doing something wrong. Will wait for further updates.

commented

Where exactly did you test it? Also I think that it won't show you FP if you have flying skill and your current position is somewhetre in Outlands

commented

I'll be testing it now too.

commented

Tested it in outlands, level 61, No Flying skill. Just between Shattrath and Honor Hold and Telhamat Temple. Going to IF to sell a few things, will test there to see if anything pops.

commented

In Ironforge It still doesn't track FlightPoints fully. But there is imporvement. It ignored the FP in IF but then offered to run to the FP in LochModan and then fly to the Aerie Peak FP. So not everything is right, but its getting closer.

commented

Well I tested myself and first you have to talk to FlightMaster on every continent on you character first so it could populate database of known and unrestricted flight masters to fly to, otherwise it doesn't know which flyght master is allowed to use and fly to.

commented

Every time you talk to flymaster it goes and checks if there's any update for flight path available. But I thik that I need to check if some flightmasters are bugged.

commented

Try Ironforge, I have talked to the FlightMaster and it definitely still will not suggest that FP as a start. If there is anything I can try for you guys let me know.

commented

Original English

commented

FlightMasters.lua should be OK now, but locales need to be updated to make it work in different languages.

@noahgithub Ironforge should be OK now ;)

commented

Checked over PTR version (as it's the only way I can have my character with all Alliance FlightMasters open to check in English), everything seems fine except Wetlands FlightMaster location, fixed that up there with merge request.

commented

@artscout Accepted your pull. My fault wrong algorithm for converting coordinates so i fixed it added new FilghtMaster.lua (only coordinates changed for some FlightMasters).

commented
commented

This seems to work for the FP I have now. I will let you know if I find any that are broken., Thanks you for the fix! It might be worth updating CurseForge for others who have this issue and don't realize it.

commented

Will update curse and wowi ;)

commented

Should we try to do something about this request or close it? I don't think there was any flight path route considered at any point of time. Yet there's maybe exists a possibility to find closest flight master but I'm not sure that we can calculate path considering that we don't know if flight master is available on other end of route unless we open flight master dialogue.

commented

@artscout Just checked thats not the problem (line 453)... Saved flight master names are different then those in FlightMaster.lua file ;)

commented

Ahhh ok I didn't check that part yet as I'm in raid currently

commented
commented

Yeah it was working... There are functions for it but if i remember they depend on something skill or some setting... Will check in spare time.

commented

@artscout Here:

if riding >= 300 and self.FlyingMount then -- Epic flyer in flying area, don't route
So if riding skill is greater 300 and its a flying area it doesn't use Flight Masters ... But this needs to be checked.

Good solution would be to add setting for this ;) If u want u can fix it @artscout