Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi friends to forum

I am creating a reporting system for a virtual airline and i hace some doubts

1.-With what code detect the origin and destination airports, I got a data base of airports in txt format.

2.-How detect the plane state? in the manual sdk leaves this:

0x80 128 Initialising

0x81 129 Sleeping

0x82 130 Filing flight plan

0x83 131 Obtaining clearance

0x84 132 Pushback (back?)

0x85 133 Pushback (turn?)

0x86 134 Starting up

0x87 135 Preparing to taxi

0x88 136 Taxiing out

0x89 137 Take off (prep/wait?)

0x8A 138 Taking off

0x8B 139 Departing

0x8C 140 Enroute

0x8D 141 In the pattern

0x8E 142 Landing

0x8F 143 Rolling out

0x90 144 Going around

0x91 145 Taxiing in

0x92 146 Shutting down

tks a lot for your answers

Posted

1.-With what code detect the origin and destination airports, I got a data base of airports in txt format.

Assuming you are talking about user aircraft, not AI, you only get any indication of those if the user has files a flight plan. And then I think you have to locate and read the flight plan.

2.-How detect the plane state? in the manual sdk leaves this:

0x80 128 Initialising

...

Those are the states of AI traffic, not of the user aircraft. There's no indication anywhere in the system of what the user is doing, except by reading all of its data, like altitude, speed, etc.

Regards

Pete

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.