Jump to content
The simFlight Network Forums

A320_Pilot

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by A320_Pilot

  1. Why is it still does not connect with the simulator, the parking brake is on, but no result!
  2. Where is my error? private void openFSUIPC() { //---------------------------------------------------------------------------------// try { //---------------------------------------------------------------------------------// //Ckeck parking brake //---------------------------------------------------------------------------------// if (PBrake.Value == 1) { MessageBox.Show(CLIENT_MSG18_RU, AUTH_ERR0_RU, MessageBoxButtons.OK, MessageBoxIcon.Exclamation); FSUIPCConnection.Open(); this.startfl.Enabled = false; this.endfl.Enabled = true; this.timer1.Interval = 200; this.timer1.Enabled = true; this.connect_m.Text = (FSUIPC_MSG2_RU); } //---------------------------------------------------------------------------------// else //---------------------------------------------------------------------------------// { FSUIPCConnection.Close(); this.startfl.Enabled = true; this.endfl.Enabled = false; this.connect_m.Text = (FSUIPC_MSG1_RU); } //---------------------------------------------------------------------------------// } //---------------------------------------------------------------------------------// catch (Exception ex) { MessageBox.Show(ex.Message, FSUIPC_ERR0_RU, MessageBoxButtons.OK, MessageBoxIcon.Error); } //---------------------------------------------------------------------------------// }
  3. Base airports made, and here's the code to C # can not write (((
  4. Hello Paul! I still do not understand how to be a database, how to extract from them ICAO codes and how to measure the distance between the two airports (((( Help me please!!!
  5. While I still like this: private void start_fuel_Click(object sender, EventArgs e) { try { PayloadServices ps = FSUIPCConnection.PayloadServices; ps.RefreshData(); //---------------------------------------------------------------------------------// //Refueling aircraft and start the flight //---------------------------------------------------------------------------------// string external1 = external1_m.Text; string external2 = external2_m.Text; string center = center_m.Text; string center2 = center2_m.Text; string center3 = center3_m.Text; string left_main = left_main_m.Text; string right_main = right_main_m.Text; string left_aux = left_aux_m.Text; string right_aux = right_aux_m.Text; string left_tip = left_tip_m.Text; string right_tip = right_tip_m.Text; //---------------------------------------------------------------------------------// foreach (FsPayloadStation payloadStation in ps.PayloadStations) { payloadStation.WeightLbs = 0; } ps.WriteChanges(); } catch (Exception ex) { MessageBox.Show(ex.Message, FSUIPC_ERR0_RU, MessageBoxButtons.OK, MessageBoxIcon.Error); } //---------------------------------------------------------------------------------//
  6. I just do not understand what to do with this: foreach (FsPayloadStation payloadStation in ps.PayloadStations) { payloadStation.WeightLbs = 0; }
  7. Ok, Paul And what offset responsible for refueling aircraft?
  8. Paul, help please, where is a error? double simrate = ((double)simrate.Value / 256d); this.usk_m.Text = simrate.ToString("F0");
  9. private Offset<short> simrate = new Offset<short>(0x0C1A); Correct?
  10. Hello Paul! Modest question: what offset is responsible for the acceleration in the simulator, well that display there "x1, x4" and so on? Thanks
  11. End strings from FSUIPC log: Running inside FSX (SimConnect Acc/SP2 Oct07) Module base=61000000 Wind smoothing fix is fully installed DebugStatus=255 62 System time = 01:52:00 78 FLT UNC path = "\\AEROFLOT\Users\Георгий\Documents\Flight Simulator X Files\" 78 FS UNC path = "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\" 609 LogOptions=00000001 609 SimConnect_Open succeeded: waiting to check version okay 11453 Running in "Microsoft Flight Simulator X", Version: 10.0.61472.0 (SimConnect: 10.0.61259.0) 11453 Initialising SimConnect data requests now 11453 FSUIPC Menu entry added 11484 C:\Users\Георгий\Documents\Flight Simulator X Files\Flight.FLT 11484 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\Aerosoft Airbus X A320 Extended CFM\A320.AIR 61984 System time = 01:53:02 61984 *** FSUIPC log file being closed Memory managed: 2 Allocs, 2 Freed ********* FSUIPC Log file closed *********** This write then i click "start flight" button!
  12. If with FS9 is working, with FSX should working too! With FS9 all data are displaying correctly! In log file nothing!
  13. All aplications are working, but my client, dont connect to fsx, write a error! FSUIPC_ERR_SEND_MSG With FS9 - no problems!
  14. Hello! And what to do with the FSX, my client gives an error - FSUIPC_ERR_SEND_MSG, in FS9 is no such! Thanks!
  15. I do so here: //Altitude sea level in feets & meters double altM_s = (double)altitude_sea.Value / (65536d * 65536d); double altF_s = (double)altitude_sea.Value / (65536d * 65536d) * 3.28084d; this.alt_ur_sea_m.Text = altF_s.ToString("F0") + CLIENT_MSG0_RU + " / " + altM_s.ToString("F0") + CLIENT_MSG1_RU; //---------------------------------------------------------------------------------// //Altitude ground level in feets & meters double altM_gr = (double)altitude_gr.Value / (65536d * 65536d); double altF_gr = (double)altitude_gr.Value / (65536d * 65536d) * 3.28084d; this.alt_ur_gr_m.Text = altF_gr.ToString("F0") + CLIENT_MSG0_RU + " / " + altM_gr.ToString("F0") + CLIENT_MSG1_RU; //---------------------------------------------------------------------------------// With your example is not very convenient (((( George
  16. Thanks, Paul And what is responsible for the offset height (from ground level), 0020, does not work! George
  17. Paul, and if such offset, which considers the distance traveled in the simulator? George
×
×
  • 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.