Jump to content
The simFlight Network Forums

Quinch

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Quinch

  1. 4 hours ago, Paul Henty said:

    string aircraftData = "({ATCID} - {ATCTYPE })";

    Sorry, i forgot to Include $"",
     

    4 hours ago, Paul Henty said:

    private Offset<string> aircraftType = new Offset<string>(0x3160, 24);

    This offset will not give me the full aircraft name, flying a boeing 747-800 with this offset will give me just "BOEING". is there an offset to get the full aircraft name? 

  2. Hi, Im trying to use the offsets 3160, 313C and 3148. but they dont work for me, when i try to use them it just gives me a string of "Offset 0x3160 (String: 24 Bytes))". i can use Offset 0x3130 and that gives me the airline callsign but not anything else, im trying to get the Aircraft name ex. (Boeing 737-800) and the player callsign ex. (N001). am i using the correct offset?

    Code: C#

    private Offset<string> aircraftType = new Offset<string>(0x3160, 24); // this one doesnt work
    private Offset<string> aircraftID = new Offset<string>(0x3130, 12); // this one works
    //
    ATCID = aircraftID.Value;
    ATCTYPE = aircraftType.Value;
    //
    string aircraftData = "({ATCID} - {ATCTYPE })";

    output: (MAULE - Offset 0x3160 (String: 24 Bytes))

     

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