Jump to content
The simFlight Network Forums

jcboliveira

Members
  • Posts

    1,699
  • Joined

  • Last visited

Posts posted by jcboliveira

  1. Hi Pete

    Just one question. As far I understand FSUIPC3 has two models for weather: Global (same as FS2002) and multiple stations (new in FS2004).

    If I understood the FSUIPC manual (this time I read it :) ) that could mean:

    if the aloft winds are injected using local weather model the Wind Smoothness doesn't apply and abrupt wind changes can happen when going from one station to another

    Is there any workaround?

    Best regards

    José

  2. For now.

    Joystick calibration I found FS9 calibration with some problems in my setup specially CH pedals they keep reporting diferential braking.

    I have calibration like this:

    In FS9 sensitivities: Null zone 0, sensitivitie maximum then in FSUIPC I recalibrate again using default null zone except for brakes.

    You can make some flights and test if the FS clock delays regarding system clock, use FSUIPC option for that too.

    Do some flights with aloft winds, see if you have any problems when winds change direction, use FSUIPC to correct.

    José

  3. FLOAT64 FSAPI fsacars_string1 ( PELEMENT_STRING pelement )

    {

    DWORD dwResult;

    double weight;

    FLOAT64 val = pelement->source_var[0].var_value.n;

    FSUIPC_Read(0x30c0, 8, &weight, &dwResult);

    FSUIPC_Process(&dwResult);

    wsprintf(pelement->string, "%d", (int)weight);

    return val;

    }

    MAKE_STRING

    (

    fsacars_string1,

    NULL,

    fsacars_fail,

    IMAGE_USE_ERASE | IMAGE_USE_BRIGHT | IMAGE_USE_TRANSPARENCY,

    0,

    POSITION_X, POSITION_Y,

    SIZE_X, SIZE_Y,

    NUMCHARS,

    MODULE_VAR_NONE,

    MODULE_VAR_NONE,

    MODULE_VAR_NONE,

    RGB(250,250,250),

    RGB(0,0,0),

    RGB(92,92,92),

    GAUGE_FONT_DEFAULT,

    GAUGE_WEIGHT_DEFAULT,

    GAUGE_CHARSET,

    0,

    DT_CENTER | DT_VCENTER | DT_SINGLELINE,

    NULL,

    fsacars_string1

    )

    Didn't test it but should work. POSITION_X, POSITION_Y, SIZE_X, SIZE_Y,NUMCHARS, are constants the name indicates what they do. Don't forget to put the FSUIPC init in the gauge callback and that the ini is to gauges and modules not for external programs . This only deals with the print not the all gauge.

    José

  4. I have this stupid idea for some time:

    2 FS one with multiplayer and injecting multplayer application. Another with AI and a program that get's the AI information.

    The FS1 program will read own plane position and commands a simillar plane if FS2. FS2 program will read AI position, change it's beahviour and injects the modified data as multiplayer in FS1.

    Strange but could work 8)

    José

  5. Erik

    Quotes from the Forum. Notice the bold that will answer your question

    It supports freeware for free and payware is supported by arrangement with the folks who make or sell it. FSUIPC will still be available to all and will work with all accredited add-ons.

    The end user doesn't have to pay for FSUIPC in order to make add-ons work, provided those add-ons have an access key.

    Each accredited add-on application is either freeware or is payware and has an agreement with me of some sort. That's its license. The user (pilot) only has to pay if he want the facilities I offer to users, he only has to purchase accedited add-ons if he want accredited add-ons to work.

    Freeware programs will have a free access key to FSUIPC. Payware programs will have an access key when licensed (i.e. for a fee). The user only has to pay anything towards FSUIPC if he wants to use any of its options and facilities. It is those which have taken most of the time and effort and look like continuing to do so, once particular problems in different FS internals have been conquered.

    For freeware that agreement will probably always be an arrangement to get free access keys for as long as the application remains free. Whether that needs keys which expire now and then and so need renewing, or can work with everlasting keys, really depends on the plausibility of the freeware status and some knowledge of the bona fides of the developer and/or manufacturer.

    As I've said several times already, Freeware addons will work without you paying anything at all once there developers have applied for and received a free access key. There is no way I am going to try to extract money for use of free add-ons

    If you are a developer there is a stick post that says:

    Developers and suppliers needing further details should write to me forthwith and I will send them a full explanatory document. Write to

    petedowson@btconnect.com. Note that this email address is ONLY for specific developer support. All normal support requests must still come to the forum.

    Already a number of other companies and modelers have gone payware because of your decision

    Sorry, don't know one single case. If there is then, are you sure that it isn't an excuse? It sounds like one.

    José

  6. I don't know if VB as bit rotate or even bit masks. That's why I putted things like above.

    Understood, but it has to have AND and OR (not that you need them for this, as I showed), or it is too limited to be called a programming language

    I really don't know if you can do bit masks with AND or OR or XOR. I began with Assembly and the migrate to C (it saved me a lot of time), I see C++ classes as struts and functions I know it's wrong but what can I do? I'm a dinosaur whit no possible salvation :)

    Cheers,

    José

  7. Could it be possible to record a multiplayer flight (record all the data of all the players), and play it back and see all the aircraft flying.

    yes it's possible. As far I know there isn't any program that allows directly to do that in multiplayer.

    If the answer in question 1 is yes how do I could do it?

    Do I need to buy additional plug in , modules, soft etc .

    However there is a package that uses Pro controller/ SquawkBox (I think it's called simATC but the site is down) that allows to inject planes. These planes should be visible in multiplayer. However the update frequency is much lower than true multiplayer (around 5s) so the planes should jump a lot.

    And could I push back the data on multiple PC with FS2002 or FS2004

    If you can find the above package, yes.

    Right now I'm waiting for the retail FS2004 to see what happens to multiplayer interface before go in to that field again. A change in the interface could mean that all actual multiplayer programs cease to work. Since DX6/7 interface is completely different from DX8/9.

    But it's a nice idea for a program and shouldn't be so hard to do it.

    José

  8. int lat;

    float latitude,longitude;

    int longi;

    DWORD DwResult;

    FSUIPC_Read(0x564, 4, &lat, &DwResult);

    FSUIPC_Read(0x56c, 4, &longi, &DwResult);

    FSUIPC_Process(&DwResult);

    latitude=(float)((float)lat*90.0/10001750.0);

    longitude=(float)((float)longi*(360.0/(65536.0*65536.0)));

    if (longitude >180)

    longitude=(float)(longitude-360.0);

    float DegLat,FracDegLat,MinLat,SecLat;

    FracDegLat=modff(fabs(latitude),&DegLat);

    SecLat=modff(FracDegLat*60,&MinLat);

    SecLat*=60;

    SecLat=floorf (SecLat);

    float DegLon,FracDegLon,MinLon,SecLon;

    FracDegLon=modff(fabs(longitude),&DegLon);

    SecLon=modff(FracDegLon*60,&MinLon);

    SecLon*=60;

    SecLon=floorf (SecLon);

    char *message2,*message1;

    WORD length;

    message1=(char*)calloc (400,1);

    message2=message1;

    if (latitude>0&&longitude>0)

    length=sprintf (message2, "AUTOPOS N%2.0fº %2.0f' %2.0f'' E%2.0fº

    %2.0f' %2.0f'' \n", DegLat, MinLat,

    SecLat,DegLon, MinLon, SecLon);

    if (latitude<0&&longitude>0)

    length=sprintf (message2, "AUTOPOS S%2.0fº %2.0f' %2.0f'' E%2.0fº

    % 2.0f' %2.0f'' \n", DegLat, MinLat,

    SecLat,DegLon, MinLon, SecLon);

    if (latitude<0&&longitude<0)

    length=sprintf (message2, "AUTOPOS S%2.0fº %2.0f' %2.0f'' W%2.0fº

    %2.0f' %2.0f'' \n", DegLat, MinLat,

    SecLat,DegLon, MinLon, SecLon);

    if (latitude>0&&longitude<0)

    length=sprintf (message2, "AUTOPOS N%2.0fº %2.0f' %2.0f'' W%2.0fº

    %2.0f' %2.0f'' \n", DegLat, MinLat,

    SecLat,DegLon, MinLon, SecLon);

    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.