Jump to content
The simFlight Network Forums

Garfield_X

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by Garfield_X

  1. Hi Paul

     

    I came a cross an issues that was not present in the 2.4 version.

     

    When the following line is present, the FS sccreen starts 'jumping'. (tested with FS9)

     

    private Offset<shortslewMode = new Offset<short>(0x05DCtrue); // Offset for moving the plane

     

    When trying the slew command FS continue to refresh the scenery.

     

    Switching to the 2,4 version everything works fine (i'm using the .NET 4 framework version)

     

    edit: also your C# test program with produces the same result with this new version.

     

    Peter

  2. My apologize.

     

    Never do a quick test when you are tired. (had copied the new DLL in the wrong folder :oops: )

     

    After a good sleep, i saw what i did wrong yesterday evening, and all works as aspected. thank you.

     

    Also never test it on a busy airport like EHAM where all slots for ground traffic are full.

    When an aircraft had landed, it disappeared of the ground list (there where more then 96 AC on the ground) until a certain distance (i think) and the become visible in the list again.

  3. Hi

    I saw a strange thing when playing with AI aircrafts and sending them slew commands. After a while i saw these planes disappear from the list generated bij FSUIPC.

    When looking at the list from the MS tool the plane is mentioned there, but is not anymore under the control of FS9 (ATC) and mostly the plane crashes in the ground.

    Could this due to sending to much commands to the AI plane?

    Peter

  4. It is not possible to list more than 96 AC's?

    Not without a complete change in design and interface, which I'm not really willling to contemplate at this stage. Sorry. The main requirement always was for TCAS, which is met admirably.

    I just saw this. There are not enough adress spaces. That's not an option because a lot of other programs uses FSUIPC.

    There is a traffic SDK, and a new DLL could be written using MS's own interface (which arrived far too late for me to use) to supply whatever you needed. If you are a C or C++ programmer it may be well worth investigating.

    Do you mean the traffic toolbox SDk or the Panels and Gauges SDK?

    I've read those, but found not much regarding AI planes (except the small data provided by the trafficinfo.dll) Or do you mean another SDK.

    I'm a VB/VB.net programmer and do not know if a DLL written in VB.net can expose itself to FS. Maybe it is possible for me to write a small DLL that exposes the AI data. (if i could find the information where FS stores it)

    I'll be looking at doing all this in the next week and will post a test version here in due course.

    Thanks a lot for your cooperation. I appreciate it very much.

    Peter

  5. Where is the user aircraft when this program of yours is being used? On the ground at the airport, or in the air near it? Because that makes much more of a difference. The range is 3 nm only if the user aircraft is on the ground. This covers the size of most airports, but does it cover all? If the user aircraft is in the air the range is 6 nm. This is clearly documented.

    The user aircraft is on the ground at the airport, and in my list i normally see only a distance from 0 to 1 nm on most airports.

    For most airports 96 is enough, but on some busy airports like KLAX or EHAM i've sometimes 110 parked AC's (counted with MS traffic toolbox).

    It is not possible to list more than 96 AC's?

    As i understand from your proposal FSUIPC will always list active aircrafts and when a sleeping aircraft which is not in the list becomes active it will show up (and replacing a sleeping one). The same should apply to AC's which after landing goes from airborne to ground.

    In that case i'm happy with your proposal of byte 3. Setting it to 1 will give my program the opportunity to log the active planes within the 3 nm range of the user aircraft. I do a read every 2 seconds, and could easily do a write to continue this display.

    Peter

  6. Hi

    So i understand that (and i'm only talking about the AC's on the ground) one can miss an aircraft on an airport if there are more than 96 AI planes on that airport.

    Will such a plane show up if it comes active?

    I ask this because people use AITA (the program i've written and which is being updated soon AITA2004.pvdveen.net) mainly for checking their flightplans/AFCAD . (departure and arrival time etc)

    But at an busy airport (with more than 96 AC's at the ground) they can miss some flights in this case.

    It would be nice that FSUIPC list more than 96 AC's or always list the active AC's and when an AC becomes active but not in the list will show up in the list, replacing a sleeping AC. In such a case AITA can log this plane because it looks only at active planes.

    Because in this case (ground) logging find place on a specific airport the distance to the user AC is always less then 2 or 3 nm. (At the airports i've checked i've never seen planes which ar further away than 1 nm)

    (I already thought that the ground list lists only AC's near the user plane.)

    Peter

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