Jump to content
The simFlight Network Forums

Nenad Bogojevic

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    France

Nenad Bogojevic's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

2

Reputation

  1. Just checked new exe and it worked fine 👍 Thanks a lot @John Dowson Nenad
  2. Hi John, I discovered an issue with ipc.execCalcCode. As long as parameter sent is exactly the same, subsequent calls are not re-evaluated. As soon as there is a different expression, between those calls it works. The easiest way to spot it is toggle buttons - if there is expression behind only the first toggle works. In following example only the first toggle is executed. There can be any amount of time between two calls - it can be on different events for example - it always toggles just once. -- This toggles marker mute ipc.execCalcCode("(A:MARKER BEACON TEST MUTE, Bool) ! (>K:MARKER_BEACON_TEST_MUTE)") -- Some time later -- This should toggle marker mute to original state, but it doesn't ipc.execCalcCode("(A:MARKER BEACON TEST MUTE, Bool) ! (>K:MARKER_BEACON_TEST_MUTE)") This code, however, toggles correctly: -- This toggles marker mute ipc.execCalcCode("(A:MARKER BEACON TEST MUTE, Bool) ! (>K:MARKER_BEACON_TEST_MUTE)") -- Some time later -- Dummy expression, always evaluates to 1 without side effects ipc.execCalcCode("1") -- This now toggle marker mute to original state ipc.execCalcCode("(A:MARKER BEACON TEST MUTE, Bool) ! (>K:MARKER_BEACON_TEST_MUTE)") If there is execution of any other different gauge expression between calls with same parameter, those work are executed. Cheers, Nenad.
  3. No crash anymore and so far no problems with new exe file - error shown in the log when expression too long 👍
  4. Just tested and it works with more than 64 char expressions - up to 255. Over that FSUIPC crashes.
  5. Hello John, Thanks a lot for this update. I have tested it, and lvars from the profile ini file were well mapped to offsets for read and write (and conditions 👍) Meanwhile I have hit the 64 char limit for the ipc.execCalcCode, would it be possible to extend it to 128 or maybe even 256? Cheers, Nenad P.S. Here's list of hvars for DA40 TDI (different fron DA40-NG). DA40 TDI.hvar
  6. Hello John, Just to share my experience: I had the same problem, FSUIPC didn't want to install WASM with the same message in the log file. I repeated the installation several times and at third time I think it succeeded - everything went through and was correctly installed. The main difference is that first time I was installing over the beta version, second time I first uninstalled 7.1.0 and then run installation again, and third time I installed over 7.1.0 and that is the one that work. It's just a data point - I don't think it is the real reason why it reports sometimes that the file cannot be opened. Two other data point is that location C:\Users\<USERNAME>\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache is a junction in my case - it is not directly present on this path but on something like D:\WpSystem\S-1-5-21-3016514674-886718977-4221065685-1001\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache - that is the location where AppStore installs games on my machine. In my case that other directory is on different drive. Normally I don't see why this should make any issue as for Windows both should be the same. Nenad
  7. Hi John, Just to thank you for new version. I've tested ipc.execCalcCode and it worked as expected. As you mentioned here is a list of hvars for G1000 that I use for DA40-NG, but it works with other G1000 planes. Cheers, Nenad DA40-NG.hvar
  8. Thanks a lot John 👍 For me, 64 chars are enough at the moment - would mean still having 20 char spare compared to longest expression I have. Cheers, Nenad
  9. Hi John, Is it or will it be possible to call execute calculator code from lua scripts? Regards, Nenad
  10. For info, I was able to load FSUIPC7_WASM module using hack described in the post: WASM standalone Module causing CTD on launch after World Update 4 patch - Bugs & Issues / Performance, Graphics & CTDs - Microsoft Flight Simulator Forums But 😭 I was not able to connect to it from the outside (neither WASMClient nor FSUIPC beta find it). Here are the log from WASM: Thu Apr 15 21:59:49 2021 [ALWAYS]: <=============================== START OF PROGRAM ===============================> Thu Apr 15 21:59:49 2021 [INFO]: Ini file loaded from add-on package Thu Apr 15 21:59:49 2021 [INFO]: Ini file loaded from persistant storage Thu Apr 15 21:59:49 2021 [DEBUG]: SimConnect connection opened ok Thu Apr 15 21:59:49 2021 [ALWAYS]: Maximum number of lvars/hvars per Client Data Area is 146 Thu Apr 15 21:59:49 2021 [INFO]: Config Client Data Area mapped to ID 1 Thu Apr 15 21:59:49 2021 [INFO]: Data Definition 1 added for Config Client Data Area definition Thu Apr 15 21:59:49 2021 [INFO]: Config Client Data Area created. Thu Apr 15 21:59:49 2021 [INFO]: Lvar Value Client Data Area mapped to ID 2 Thu Apr 15 21:59:49 2021 [INFO]: Data Definition 2 added for Lvar Set Request Client Data Area definition Thu Apr 15 21:59:49 2021 [INFO]: Lvar Value Client Data Area created. Thu Apr 15 21:59:49 2021 [INFO]: Calculator Code Client Data Area mapped to ID 3 Thu Apr 15 21:59:49 2021 [INFO]: Data Definition 3 added for Lvar Set Request Client Data Area definition Thu Apr 15 21:59:49 2021 [INFO]: Exec Calculator Code Client Data Area created. Thu Apr 15 21:59:49 2021 [INFO]: Lvar values CDA with id=4 mapped to name FSUIPC_lvalues0 [requestId=18] Thu Apr 15 21:59:49 2021 [INFO]: Lvar values Client data definition 4 added [requestID=19] Thu Apr 15 21:59:49 2021 [INFO]: Lvar values CDA created with id=4, (size=8192 for 1024 values), mapped to name FSUIPC_lvalues0 [requestId=20] Thu Apr 15 21:59:49 2021 [INFO]: Lvar values CDA with id=5 mapped to name FSUIPC_lvalues1 [requestId=21] Thu Apr 15 21:59:49 2021 [INFO]: Lvar values Client data definition 5 added [requestID=22] Thu Apr 15 21:59:49 2021 [INFO]: Lvar values CDA created with id=5, (size=8192 for 1024 values), mapped to name FSUIPC_lvalues1 [requestId=23] And here from FSUIPC7 610 *** FSUIPC WASM module not detected - not adding WASM menu And WASM Client Fri Apr 16 2021 00:09:50.346 [DEBUG]: SIMCONNECT_RECV_ID_CLIENT_DATA received: EVENT_CONFIG_RECEIVED Fri Apr 16 2021 00:09:50.346 [TRACE]: Empty config data received - requesting again Fri Apr 16 2021 00:09:50.842 [TRACE]: Config data requested...
×
×
  • 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.