Jump to content
The simFlight Network Forums

jcboliveira

Members
  • Posts

    1,699
  • Joined

  • Last visited

Posts posted by jcboliveira

  1. It's possible:This is done in a timer callback with 3s.

    FSUIPC_Read(0xc1a, 2, &Rate, &DwResult);

    FSUIPC_Process(&DwResult);

    if (Rate!=256&&NoRate) {

    Rate=256;

    FSUIPC_Write(0xc1a, 2,&Rate,&DwResult);

    if (FSUIPC_Process(&DwResult)!=TRUE)

    return;

    } else {

    if (Rate==256&&OnRate!=1) {

    OnRate=1;

    FSTime ( &hour,&minute);

    message=(char*)calloc (200,1);

    lenght=sprintf ((char*)message,"%02d:%02d Simulation Rate 1x\n",hour,minute);

    MainWnd->SendMessageDialog(TEXT1, message);

    free (message);

    }

    if (Rate==512&&OnRate!=2) {

    OnRate=2;

    FSTime ( &hour,&minute);

    message=(char*)calloc (200,1);

    lenght=sprintf ((char*)message,"%02d:%02d Simulation Rate2x\n",hour,minute);

    MainWnd->SendMessageDialog(TEXT1, message);

    free (message);

    }

    if (Rate==4*256&&OnRate!=4) {

    OnRate=4;

    FSTime ( &hour,&minute);

    message=(char*)calloc (200,1);

    lenght=sprintf ((char*)message,"%02d:%02d Simulation Rate 4x\n",hour,minute);

    MainWnd->SendMessageDialog(TEXT1, message);

    free (message);

    }

    if (Rate==8*256&&OnRate!=8) {

    OnRate=8;

    FSTime ( &hour,&minute);

    message=(char*)calloc (200,1);

    lenght=sprintf ((char*)message,"%02d:%02d Simulation Rate 8x\n",hour,minute);

    MainWnd->SendMessageDialog(TEXT1, message);

    free (message);

    }

    if (Rate==16*256&&OnRate!=16) {

    OnRate=16;

    FSTime ( &hour,&minute);

    lenght=sprintf ((char*)message,"%02d:%02d Simulation Rate 16x\n",hour,minute);

    MainWnd->SendMessageDialog(TEXT1, message);

    free (message);

    }

  2. Just connected with the new version:

    2.3 October 07, 2003, 15:23:00

    Downloaded from the link

    http://www.airsim.net/modules.php?name=etit&lid=2

    and the log shows:

    252390 Client Application: "AIBridge" (Id=4032)

    252390 D:\jcarlos\desktop\AIBridge.exe

    252390 Product="AIBridge"

    252390 Company="Jose Oliveira"

    252390 Key is provided

    426890 WRITE0 1F80, 40 bytes: 0C 19 00 00 C4 DD 53 42 2D 0E D3 BF 00 80 B9 45

    426890 80 F8 FA 00 C9 09 55 50 53 31 31 30 38 00 00 00

    426890 00 00 00 00 00 00 00 00

    431547 WRITE0 1F80, 40 bytes: 0C 19 00 00 C4 DD 53 42 2D 0E D3 BF 00 80 B9 45

    431547 80 F8 FA 00 C9 09 55 50 53 31 31 30 38 00 00 00

    431547 00 00 00 00 00 00 00 00

    José

  3. And the Eric gauge has the FSUIPC key? One easy way to see what is happenning is using trafficlook that cames With FSUIPC if the planes are listed in the program the AIBridge is working as it should.

    Anyway there are several AIBridge versions:

    2.0 - Works with FS2002 multiplayer or VATSIM/IVAO (Pete site);

    2.1, 2.2 - Works with FS2004/FS2002 VATSIM/IVAO

    2.3 - Works with FS2002/FS2004 VATSIM/IVAO and multiplayer.

    I changed the way the multiplayer data is grabbed and injected in the tables in 2.3.

    José

  4. Done some MS SPY++ on FS9 and it seems that in my processor, not HT There are 13 threads in FS9 but only one as a significant processor time so every thing seems to be contained there.

    By what you said it seems that the logical processor in HT are adaptative. If one logical processor is loaded and the other is free the processor gives more resources to the loaded one.

    So the load balance it isn't critical and instead it is desirable that the threads belonging to a process should reside in the same processor, I'm not used to HT only MP where load balance is critical.

    José

  5. Of course this is very personnal. This is how I have done it:

    1 - Install last CH control manager; This will prevent the pedals disconnect that happens with certain USB chipsets; I'm not using the mapping facilities;

    1a - make sure in USB root that "allow the computer to turn off this device" is unchecked;

    2 - Use CH control manager to calibrate pedals and yoke;

    3 - Reassign rudder in FS. FS assigns yoke mixture to rudder. Don't ask me why.

    4 - In FS sensitivities put the maximum for sensitivity and 0 for null zone

    5 - In FSUIPC calibrate again the axes

    Brakes: min 1300 max 16192

    Rudder: null zone -2000 2000

    Of course these values are largely ditated by controls age, dust etc since they are resistance based.

    José Oliveira

  6. This was always a complete mystery for me. Never could make the sequence work. Things like shift E 2 for doors.

    After reading the FSUIPC for advanced users and keys/buttons programming I got the impression that this sequences are only supported in joystick button programming, is that right?

    In FS2002 I used the Lago FSassist but now I have to use shift P and couldn't get the proper left and right.

    Thanks

    José

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