Jump to content
The simFlight Network Forums

yvesb

Members
  • Posts

    15
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Montréal, Canada

yvesb's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. yvesb

    Lvar offset

    Allo John, I removed the lua script from FSUIPC7.ini and added LvarScanDelay = 60 in FSUIPC_WASM.ini and indeed after 60 seconds the update was activated and all offsets were available. Thank you Yves
  2. yvesb

    Lvar offset

    I try this today and come back to you.
  3. yvesb

    Lvar offset

    Your Lucky Luce : Man who reply (shoots) faster than his shadow đŸ˜€ That's Ok, for the moment I reorder the list to place at the beginning what seems to be bytes and I replace the other types at the end. All right, for the JNI, I'll try to get the gist of it. A great challenge for a weekend programmer! Thank you for your help and have a nice day !
  4. yvesb

    Lvar offset

    Allo again ! Your lua script is working wonderfully. Thank you! Since you are thinking of modifying your WASM server, it would be interesting to get the data type when you view the Lvars list. You may need to determine it since the values are exact. Ex: FMC_VOR_FREQUENCY: 1 = 116300000.000000 I could then correctly generate my configuration lines for the fsuipc7.ini file with my bash script if I had the data type (byte, int, double). Right now I take it for granted that these are all bytes and then correct by hand. #!/bin/bash offset=0x66C0 indice=0 for i in $(cat cj4_lvar_complet.txt | cut -f1 -d" " ) do echo -n $indice=L:$i=UB0x printf "%X" ${offset} offset=$(($offset +1)) indice=$(($indice +1)) echo done 0=L:XMLVAR_YokeHidden1=UB0x66C0 1=L:XMLVAR_YokeHidden2=UB0x66C1 2=L:Generic_Master_Caution_Active=UB0x66C2 3=L:Generic_Master_Warning_Active=UB0x66C3 ... When you talk about Java Native Interface, are you referring to the Wasmer Java framework :
  5. yvesb

    Lvar offset

    Allo John, Although I have been using your app for over 10 years, but I do not use macros or Lua scripts. So I configure in FSUIPC_WASM.ini LvarScanDelay to the maximum and I still have to reload using the menu. The 10 second delay is too short. So i will wait modifying the WASM module to see if 60 seconds will suffice. I program with the Fsuipc Java SDK several modifications of the MCP of aeroSystem737 avionics software to make it work with other planes than the 737. I have more then 10 differents home made "MCP" Hence the interest for me in offsets for lvars; this will allow me to control variables inaccessible with standard offsets. It is for this reason that I would like to reload without using the menu because I control all my planes remotely, all the time ! Would it not be possible to do an automatic recharge of the Lvars at programmable intervals in the FSUIPC_WASM.ini ? Thank you for your help
  6. yvesb

    Lvar offset

    Thank you I test the new version taking into account the information you have provided me and I get back to you
  7. yvesb

    Lvar offset

    The addition of offsets for the Lvar is a great novelty. However, since the reading of these variables is not done completely when starting planes, we must do a Lvar reload after a while from a menu . Is it possible to create a fsuipc specific offset for reloading variables without having to use the menu? Thank you and have a nice day. Yves
  8. I made the correction and It's working now ! Thank you for the quick reply Yves
  9. Hello Pete, hello John ******** FSUIPC7, Version 7.2.0 (8th June 2021) by John Dowson ********* Lvar list by fusipc : 746594 [INFO]: ID=022 XMLVAR_YokeHidden1 = 0.000000 in fsuipc.ini [LvarOffsets] 0=XMLVAR_YokeHidden1=SW UB 0x66C0 log file 8406 SimObjects\Airplanes\Asobo_CJ4\aircraft.CFG 8406 User Aircraft ID 1 supplied, now being used 8468 Aircraft loaded: running normally now ... 8984 Aircraft="Cessna CJ4 Citation FFK" 8984 [INFO]: **** Starting FSUIPC7 WASM Interface (WAPI) version 0.5.1 8984 [INFO]: Connected to MSFS 8984 **** Lvar 'XMLVAR_YokeHidden1' not found: cannot add to offset 0x 8984 System time = 11/06/2021 15:51:44, Simulator time = 15:24:13 (19:24Z) What am I doing wrong? Yves from Canada
  10. Bonjour, HA! Thank you for this quick response. I would never post the key on the Forum because I believe in supporting good IT work ! And, FSUIPC is a really good IT job and the support is awesome! Thank you ! Have a nice day ! Yves
  11. Yes, no connection It works fine with version 5 and Prepar3d v4 and the connection is made on port 8002, but version 7 does not listen on port 8002 (WIDEFS7 not user registered, or expired), so no link. Here is a part of logs ********* FSUIPC5, Version 5.157 (26th June 2020) by Pete & John Dowson ********* Running inside Prepar3D v4 Module base=7FFEEACF0000 PREPAR3D.EXE version = 4.5.13.32097 Reading options from "C:\Prepar3D v4\Modules\FSUIPC5.ini" Checking the Registrations now ... User Name="Yves..." User Addr="yves...." FSUIPC5 Key is provided WideFS7 Key is provided TCP 10.100.100.30:8002 10.100.100.20:51868 ESTABLISHED 9360 InHost ********* FSUIPC7, Version 7.0.0-Beta (6th October 2020) by John & Pete Dowson ********* Reading options from "C:\FSUIPC7-2\FSUIPC7.ini" Checking the Registrations now ... User Name="MSFS Tester" User Addr="Time Limited 311020" FSUIPC7 Key is provided WIDEFS7 not user registered, or expired no LISTENING on port 8002 No connection from my remote computer; I am using version 7.1.5.9 of the WideClient Thank you for your fast anwser and have a nice day Yves
  12. For several years I have been programming gauges in Java which I use across the network using the WideClient. From what I understand this is not possible with MFS2020 at the moment since the client version has not been updated. Is it possible to use your DLL for .Net and directly query the FSUIPC7- beta or I have to wait for the next WideClient client version ? Or, can I use it to query directly SimConnect on port 500. Thank you and have a nice day, Yves
  13. Thank you for the quick responses ! Have a nice day !
  14. Sorry, I posted my question in the wrong forum. In flight, when going from one ATC control area to an other, the flight simulator ATC window shows us to use a new frequency such as Geneve Center 155.55. Example in this link : http://guides.gamepressure.com/flightsimulatorx/gfx/word/-1090749734.jpg I would like to know if it is possible to find this data (155.55) in the FSUIPC offset ? Thank you Yves
  15. Hi Peter, Where can I find in the FSUIPC offset, the next ATC radio frequency as show in this picture ?
×
×
  • 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.