Jump to content
The simFlight Network Forums

Acidic32

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Acidic32

  1. But why is the other FSD client sending P=12 B=3 H=1019 ? PBH unsigned value is 50348012? for the exact same pitch bank and heading..
  2. Ok, im trying to generate a PBH to send to the FSD Server, im currently struggling! public Offset pitch = new FSUIPC.Offset(0x578); public Offset bank = new FSUIPC.Offset(0x57c); public Offset heading = new FSUIPC.Offset(0x580); uint pbh = 0; pbh = ((uint)pitch.Value << 22) | ((uint)bank.Value << 12) | ((uint)heading.Value << 2); Console.WriteLine(pbh.ToString); it returns: P: 53070376 B: 12994522 H: 4274734951 PBH = 4286430620 but the FSD server, using another client sends for the same pitch, bank and heading: PBH unsigned value is 50348012 P=12 B=3 H=1019 What am i missing?
  3. Ok, im trying to generate a PBH to send to the FSD Server, im currently struggling! public Offset pitch = new FSUIPC.Offset(0x578); public Offset bank = new FSUIPC.Offset(0x57c); public Offset heading = new FSUIPC.Offset(0x580); uint pbh = 0; pbh = ((uint)pitch.Value << 22) | ((uint)bank.Value << 12) | ((uint)heading.Value << 2); Console.WriteLine(pbh.ToString); it returns: P: 53070376 B: 12994522 H: 4274734951 PBH = 4286430620 but the FSD server, using another client sends for the same pitch, bank and heading: PBH unsigned value is 50348012 P=12 B=3 H=1019 What am i missing?
  4. Ok, last question Pitch bank and Heading, are they INT or UINT's? from offset 0578 057C and 0580 ? Daniel
  5. Ok, last question Pitch bank and Heading, are they INT or UINT's? from offset 0578 057C and 0580 ? Daniel
  6. Ok, thank you, i notice multiplayer clients send a PBH value to the FSD server, but im not sure what data this is in FSUIPC? Any one shed a light? Also how do i start a FSX multiplayer connection, ie AI aircraft controlled via my program... Daniel
  7. Its for a pilot client, similar to FSINN/Squawkbox, i mean, i could learn native C++ but its a language i really dont want to learn ;) Daniel
  8. Im trying to create a program, which interfaces with FS9/FSX thru FSUIPC. Problem is, i dont know where to start. I dont really know to much C++, but i know a little C# but mainly vb.net. How do i create a addon module, which creates a menu item in vb.net/c#.net ? I dont want an external program, rather a internal FS program. Any help appreciated Acidic32.
×
×
  • 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.