Jump to content
The simFlight Network Forums

jcboliveira

Members
  • Posts

    1,699
  • Joined

  • Last visited

Everything posted by jcboliveira

  1. never noticed any problem. However maybe you had DX8 before FS9 (FS9 updates to DX9) so the solution is: a) change the decimal from , to . José
  2. 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é
  3. Pete There is no author anymore fsavionics closed. Domingo Your best shot is to make this question some foruns bove (or is it bellow ?) in the FSGarmin/fsflightmax support. There is also a forum at AVSIM. 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. what is the FSUIPC version that RW is installing? José
  6. It could be possible. Is there any information about the PC Software that controls the Lego motor's? José
  7. Pete Maybe some pseudocode? if (AreYouDeveloper=='y') if (application==freeware) ContactPeteForArrangeFreeKey (PeteEMail); else ContactPeteToKnowHowMuchToPay(PeteEMail); else if (DoYouWantFullFSUIPCFacilities=='y') PaySomethingForFSUIPC (CreditCardNumber|Paypal); else DeveloperWillGiveYouNecessaryKey (PayNothing); José
  8. 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. 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é
  9. Fisrt let me explain that I know as much about java as about chickens. Just want to ask something with that kind of interface it will be possible to make applets that allow to control and display FS status in a browser? Can you elaborate a litle bit more about the new possibilities. Thanks José
  10. Hi Pete Do you know where I can find a FSUIPC SDK for FS98? Thanks José
  11. 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é
  12. Pete I don't know if VB as bit rotate or even bit masks. That's why I putted things like above. José
  13. My experience in VB is limited but a conversion routine shouldn't be so hard: number=float (numberOri) bcd=0 for i=0 to 5 number=number/10 number1=decimal (number) number=number-number1 REM I think there isn't rotations in VB bcd=number1*2^(3*i)+bcd; end Just an Idea. Of course I don't know how to do float() and decimal () it's just pseudo code. José
  14. yes it's possible. As far I know there isn't any program that allows directly to do that in multiplayer. 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. 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é
  15. 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é
  16. look at http://www.satavirtual.org/fsacars I think it does what you want. If it doesn't I can change :) After the flight it will create a pirep and will send to a site the data. like .../?pilot=xxx&flight=xxx.. If you are interested send a mail. José
  17. look at http://www.satavirtual.org/fsacars I think it does what you want. If it doesn't I can change :) After the flight it will create a pirep and will send to a site the data. like .../?pilot=xxx&flight=xxx.. If you are interested send a mail. José
  18. Hi The registry locations is HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Sound Mapper "Playback"="sound board name" and it works. Best José
  19. Hi The registry locations is HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Sound Mapper "Playback"="sound board name" and it works. Best José
  20. Nice tip didn't thought about that. Do you know if a simple hack on the registry do the trick? If it doesn't I have to do a small program to change the default board before launching RC3. Best José
  21. Nice tip didn't thought about that. Do you know if a simple hack on the registry do the trick? If it doesn't I have to do a small program to change the default board before launching RC3. Best José
  22. Never found a way even with two boards. Of course in VATSIM Roger Wilco allows to route to the 2nd board. Sometime ago I asked in Radar Contact forum for this option. The problem is that the applications route the sound to the default board and don't list them. José
  23. Never found a way even with two boards. Of course in VATSIM Roger Wilco allows to route to the 2nd board. Sometime ago I asked in Radar Contact forum for this option. The problem is that the applications route the sound to the default board and don't list them. José
  24. In this case the corect options on config menu are: Using SquawkBox not checked; Manual connect only checked; Verify if detected FS Path is correct. If it isn't use file fsPath menu to point to the correct one. Shutdown AIBridge and launch it again. Using the connect menu connect to the session. Best José
  25. In this case the corect options on config menu are: Using SquawkBox not checked; Manual connect only checked; Verify if detected FS Path is correct. If it isn't use file fsPath menu to point to the correct one. Shutdown AIBridge and launch it again. Using the connect menu connect to the session. Best 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.