Acidic32 Posted May 25, 2009 Report Posted May 25, 2009 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?
Pete Dowson Posted May 25, 2009 Report Posted May 25, 2009 What am i missing? I'm not answering you in three threads. Please stick to one -- see my answer in the other, which summarised is that you aren't reading the descriptions of what you are reading. Pete
Recommended Posts