June 13, 200223 yr Hi! I was wondering if there was a utility to debug (remove the duplicate flights) before compiling the traffic.bgl? The reason why I ask is because some of the AI flight plans at Avsim are duplicates. Thank you for your time. Julian
June 13, 200223 yr No utility that I know of, but if you know how to use MicrosoftExcell then you could open a file with excell as FlightPlans.CSV file and using sortfeature of excell sort flights in this order:1. Sort By Column F (which is initial departure time)2. Then By Column Q (which is the first departure Airport of this flight)3. Then By Column K (which is the first destination airport of this flight)Then you will just look and comapre if you see 2 flights that seem to match. Not the easiest way but it works :-)This method works best when you have flights that only have 2 Legs, because after you checked it all then saved it and renamed it back to *.txt file if your plans have different number of legs then you may find in Notepad that some of your flights have a lot of commas after the flgiht entry and you'd have to manually delete these commas it would look like that:AC#8,IAYK30,50%,24Hr,IFR,00:29:53,00:54:30,180,F,0214,CYKZ,01:59:53,02:24:30,180,F,0416,KIAG,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,AC#2,IAYK45,50%,24Hr,IFR,00:45:00,01:09:37,180,F,0315,CYKZ,02:15:00,02:39:37,180,F,0517,KIAG,03:45:00,04:09:37,180,F,0719,CYKZ,05:15:00,05:39:37,180,F,0921,KIAGAC#7,YY0000,50%,4Hr,IFR,00:00:00,01:04:44,312,F,1000,1YYZ,01:45:00,02:49:44,321,F,5000,1YUL,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,AC#7,YY0005,50%,4Hr,IFR,00:04:58,01:09:42,313,F,1001,1YYZ,01:49:59,02:54:42,320,F,5001,1YUL,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
June 14, 200223 yr >AC#7,YY0005,50%,4Hr,IFR,00:04:58,01:09:42,313,F,1001,1YYZ,01:49:59,02:54:42,320,F,5001,1YUL,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, The extra commas are easily deleted en masse by loading the flightplans.txt into Wordpad (or Word) and doing a Replace operation.Just have it look for,,,,,,and replace with nothing.The commas are produced in 'sets' of six to represent the empty fields in the spreadsheet.Bill
June 14, 200223 yr >Thanks for n4gix. You are most welcome!"That's what friends are for..."Hmmm, wasn't there a song with those lyrics? :)
Create an account or sign in to comment