Sign in to follow this  
Guest Martin

Need a TrafficBuilder SDK guru for help please.

Recommended Posts

Hey there. So far writing the neccessary custom airport,aircrafttypes and routes dat files has been easy. The SDK has minimum safe altitudes. How can this be changed?for W92 to KGAI the SDK reports cant achieve minimum safe altitude.This cant be right becPeteHere is my airports text:If there is supposed to be a minus sign I am not sure. As the calculator on the web that gave me the decimal figures did not allow minus signKGAI,39.169444444444444,63.17666666666667,162.7632{ RUNWAY,4195,75,HARD PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,37.0,RAMP PARKING,59.1,RAMP PARKING,59.1,RAMP PARKING,32.8,RAMP PARKING,32.8,RAMP PARKING,45.0,RAMP PARKING,45.0,RAMP}W92,38.82666666666667,78.77305555555556,383.7432{ RUNWAY,2240,75,HARD PARKING,33.0,RAMP PARKING,33.0,RAMP PARKING,33.0,RAMP PARKING,33.0,RAMP PARKING,33.0,RAMP PARKING,33.0,RAMP }

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

I haven't been using TrafficDatabaseBuilder very much but I think I can answer your last question: It would seem a little odd if 747s were making 100 nm legs all the time, wouldn't it?MartinIt's a lot like life and that's what's appealing

Share this post


Link to post
Share on other sites

Hmm, I forgot what I wrote? before the edit above. 100 mile legs? Anyway I fixed my problem with not having a valid airport to land to and not finding the aircraft type.Burt now I have a new problem and thats posted in my edited post.The altitude of W92 is 1259feet. I changed it to meters as is required.I get error:myroutes.dat(17) Aircraft unable to reach minimum safe altitude (FL182) for route W92->KGAIIn the aircraftType file I changed the minimum altitude to 030(3000)and still I get this error. I have no idea what the "17" is supposed to mean. I only have seven entries in my routes.dat file

Share this post


Link to post
Share on other sites

What aircraft type do you use in this leg?myroutes.dat(17)=17 line You must use an aircraft that can reach Fight Level 182 (FL182).Here is an example of my home airport in Athens Grecee-Lgav:myAirports.datLGAV,37.936666667,23.945000000,93{ RUNWAY,12467,148,HARD RUNWAY,13123,148,HARD PARKING,54.0,CARGO PARKING,54.0,CARGO PARKING,54.0,CARGO PARKING,54.0,CARGO PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,54.0,GATE PARKING,38.0,GATE PARKING,38.0,GATE PARKING,54.0,GATE PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,10.0,RAMP PARKING,10.0,RAMP PARKING,10.0,RAMP PARKING,10.0,RAMP PARKING,10.0,RAMP PARKING,10.0,RAMP PARKING,10.0,RAMP PARKING,10.0,RAMP PARKING,10.0,RAMP PARKING,10.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP PARKING,14.0,RAMP}And some custom Flights:From myCustomRoutes.dat download this small text file.http://ftp.avsim.com/dcforum/User_files/3cd8370f46024bb5.txtAC#68 AIRCRAFT IS A DORNIER-228 OLYMPIC AVIATIONAC#69 AIRCRAFT IS A ATR-72 OLYMPIC AVIATION AC#70 AIRCRAFT IS A BOEING 717-200 OLYMPIC AVIATIONAC#33 AIRCRAFT IS A BOEING 747-200 OLYMPIC AIRWAYSAC#5 AIRCRAFT IA A BOEING 737-400 OLYMPIC AIRWAYSPanos Georgotas

Share this post


Link to post
Share on other sites

>Hmm, I forgot what I wrote? before the edit above. 100 mile >legs? Well, uh, your original post is right above in the thread... Anyway, you asked why there's a minimum range for the aircraft in TrafficDatabaseBuilder, and I answered that it would be weird to have 747s flying 100 mile flights, and thus you have a 500 nm (or whatever it is) "minimum range" so you will not see a 747 on shorter routes.MartinIt's a lot like life and that's what's appealing

Share this post


Link to post
Share on other sites

>What aircraft type do you use in this leg? below is a short list I made. Below is my routes text. Each route uses Cessnas except 1. Of all the Cessnas, only two models can go as high a 18000ft. The one I am using only goes to 18100ft. The mountain range between the two aiports barely reaches 5000ft. If that. I know the SDK says it uses a course grid but 18200 feet minimum in this areas?I'll try to enter what great circle route at a time to see if I can jusat narrow the problwm downSo far, all I know is that the trouble is on the return trip. Line 17 tells me nothing>myroutes.dat(17)=17 line >You must use an aircraft that can reach Fight Level 182 >(FL182). >{ > # List of routes to use in the traffic database #Aircraft type: C172SP-0 #Tail number: N30PB #Traffic density: 66% #Repeats every: ONE_WEEK #Flight rules: VFR #Schedule: #Day Time Departure Destination Altitude FlightNumber #Sat 1200Z KGAI W92 FL080 #Sun 1515Z W92 KGAI FL100 C172SP-0,N30PB,66,ONE_WEEK,VFR{ 61200,W92,100 01515,KGAI,100} #Aircraft type: C172SP-1 #Tail number: N001A #Traffic density: 66% #Repeats every: ONE_WEEK #Flight rules: VFR #Schedule: #Day Time Departure Destination Altitude FlightNumber #Sat 1300Z KGAI W92 FL110 #Sun 1600Z W92 KGAI FL110 C172SP-1,N001A,66,ONE_WEEK,VFR{ 61300,W92,110 01600,KGAI,110} #Aircraft type: C172SP-2 #Tail number: N689L #Traffic density: 66% #Repeats every: ONE_WEEK #Flight rules: VFR #Schedule: #Day Time Departure Destination Altitude FlightNumber #Sat 1330Z KGAI W92 FL110 #Sun 1645Z W92 KGAI FL110 C172SP-2,N689L,66,ONE_WEEK,VFR{ 61330,W92,110 01645,KGAI,110} #Aircraft type: C182RG #Tail number: N837PO #Traffic density: 66% #Repeats every: FOUR_HOURS #Flight rules: IFR #Schedule: #Day Time Departure Destination Altitude FlightNumber #Sat 1315Z KGAI KRIC FL181 #Sat 1620Z KRIC KGAI FL181 C182RG,N837PO,66,FOUR_HOURS,IFR{ 61315,KRIC,181 61620,KGAI,181} #Aircraft type: FU4U-0 #Tail number: N143 #Traffic density: 66% #Repeats every: ONE_DAY #Flight rules: VFR #Schedule: #Time Departure Destination Altitude FlightNumber #1000Z KGAI W92 FL200 #1300Z W92 KGAI FL250 FU4U-0,N143,66,ONE_DAY,VFR{ 1000,W92,200 1300,KGAI,250} #Aircraft type: SPIT-0 #Tail number: B119W #Traffic density: 66% #Repeats every: ONE_DAY #Flight rules: VFR #Schedule: #Time Departure Destination Altitude FlightNumber #1030Z KGAI W92 FL300 #1400Z W92 KGAI FL220 SPIT-0,B119W,66,ONE_DAY,VFR{ 1030,W92,300 1400,KGAI,220} #Aircraft type: C208-0 #Tail number: N681GC #Traffic density: 66% #Repeats every: ONE_WEEK #Flight rules: IFR #Schedule: #Day Time Departure Destination Altitude FlightNumber #Fri 50930Z KGAI W92 FL150 #Sun 01500Z W92 KGAI FL170 C208-0,N681GC,66,ONE_WEEK,IFR{ 50930,W92,150 01500,KGAI,170}

Share this post


Link to post
Share on other sites

"The mountain range between the two aiports barely reaches 5000ft. If that. I know the SDK says it uses a course grid but 18200 feet minimum in this areas?"There is no chance that what you are alluding to is what is happening.The SDK does not have a clue as to the mountain ranges and ground heights below the aircraft. It has no means to check that. In fact, you can run the SDK compiler in a computer where FS is not even... installed. And trust me, there is no ground height information whatsoever included in the SDK package.Stamatis

Share this post


Link to post
Share on other sites

>"The mountain range between the two aiports barely >reaches 5000ft. If that. I know the SDK says it uses a >course grid but 18200 feet minimum in this areas?" >>There is no chance that what you are alluding to is what is >happening. >>The SDK does not have a clue as to the mountain >ranges and ground heights below the aircraft. It has no >means to check that. In fact, you can run the SDK compiler >in a computer where FS is not even... installed. And trust >me, there is no ground height information whatsoever >included in the SDK package. >>Stamatis Well the SDK does say that it sets a "safe altitude" for all the airplanes. It does this by way of a course grid and if it cannot obtain that safe altitude then it will correct for it or abort it.Anyway I found out what was going on my coordinates were not correct.The decimal value was but I did not know that South and West decimals have a negative value. So to solve it. I went to the terraserver home page, entered the LAT/LON and the decimal equivalant is displayed in the status bar befor the picture loads. Now, both W92 and KGAI have AI traffic. I did exlude my routes as that completely obliterates any unrouted (by me) AI Traffic. Auto Route is way better. Thanks guys

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this