Jump to content
The simFlight Network Forums

guda

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by guda

  1. Thank you Paul for your reply.

     

    It works in one way : light off :

    Dim FS_lights As New Offset(Of Short)("Dynamic", &HD0C) ' offset declaration '
    FSUIPCConnection.Process("Dynamic") ' update the FS light value '
    FS_lights.Value = FS_lights.Value And (Not 2 ^ 3) ' only light off index #3 = Taxi Light '
    FSUIPCConnection.Process("Dynamic") ' sent '
    

    When I try to light On taxi I use this script

    FS_lights.Value = FS_lights.Value And (2 ^ 3) ' Expected: only taxi light (3) should change (light ON) '
    FSUIPCConnection.Process("Dynamic") ' sent '
    

    Here the result is not OK => All lights are off. What is wrong?

     

    Regards

     

    Dan

  2. hello Paul,

     

    I've read the dynamic offset thread. it works fine for "classical" offsets (integer...) but not for bitarray.

     

    In my case, the users decides that he wants to send "False" to the bit 3 of &H0D0C offset. (taxi light OFF).

     

    By a standard way, I could do this:

    Dim FS_lights As New Offset(Of BitArray)("Dynamic", &HD0C, 2, True) ' create the offset - Write only'
    FS_lights.Value.Item(3) = False ' write bit 3'
    FSUIPCConnection.Process("Dynamic") ' send '
    FSUIPCConnection.DeleteGroup("Dynamic") ' remove '

    Here, my issue is I don't know the offset size (in my example = 2). Do we have a mean to write directly a bit?

     

    regards

     

    Dan

  3. Hello,

    From my software I move the plane, such as on a circuit pattern. During several seconds FSX loads the scenery.

    During this time, I'm looking for a mean to hide this loading.

    With the 8320 offset we can change the view. So I wonder if we could also close/Hide the current view via FSUIPC?

    regards

    Dan

  4. Hello,

    I tried to create a tool to manage payload.

    I can read & write 1400 offset but it hasn’t effect.

    If I have a look into the payload screen in FS, my sent values are OK and when I click on OK, they are taken into account.

    To sum up, my development sends values but, to be active, I need to open the payload Window in FS and click on "OK" button.

    I’ve checked in FS Interrogate, the bytes array is identical when I update values with my code or via FS window. So I presume that is not a data issue.

    Does anybody success to update payload?

    Do we have a mean to open the payload FS window via FSUIPC

    Regards

    Dan

  5. hello,

    I would like to write an application (VB.NET) to permit people to choose an airport > a parking / gate and to load at the good location.

    I found the airport list for FS2004 and FSX but not the list of gate.

    By using Traffic toolbox we can find the list of the different gates for an airport but not the exact location of each one.

    Does it exist a mean to now the existing gates in FS2004 and to be able to load the plane at the good gate via FSUIPC ?

    Regards

    Dan

  6. Hi,

    I had post a message because I can't see the AI cruise ships

    (http://forums.simflight.com/viewtopic.php?t=33738)

    I had use the sdk traffic toolbox and it see planes but none ships all over the scenery.

    I checked it :

    * AI cruise ships: 4 directories with subfolders
    "FS9\Aircraft\MF AI Cruise Ship - Cruiser"
    "FS9\Aircraft\MF AI Cruise Ship - Cruiser Clione"
    "FS9\Aircraft\MF AI Cruise Ship - Island Princess"
    "FS9\Aircraft\MF AI Cruise Ship - Volendam"
    
    * AFCAD2 files in "FS9\Addon Scenery\scenery", specifically:
    AF2_PAK5.bgl
    AF2_PAK6.bgl
    AF2_PAK7.bgl
    AF2_PAK8.bgl
    AF2_CZS1.bgl
    
    * AI traffic file in FS9\Scenery\World\scenery:
    Traffic_MF_AI_ships.bgl
    
     AI traffic slider is active for GA traffic and 100%
    

    I reinstaled the scenery and it doens't work any more...

    (I use FS2004+Sp1 / XP sp2)

    Do you see anything else ?

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