Jump to content
The simFlight Network Forums

roland_lfor

Members
  • Posts

    21
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by roland_lfor

  1. Sorry, I misunderstood I have to do the same for the Fenix, is E_FCU_ALTITUDE the correct variable to increase/descrease altitude on the FCU ? Which format are we supposed to use ? (Word, Dword ...) Thanks
  2. Can you share your setting? I've made something similar on the B247D to drive oil shutter and carb heat, and I did not use myevent.txt, but only declared [LVaroffsets] and [Buttons] sections in FSUIPC7.ini It's working well and has no link with window focus. [Buttons.B247D] 0=CR(-F,6)F,4,Cx2100A001,x0000000A -{offset ubyte decrement, offset A001 (Decr=10, Limit=0)}- 1=CR(-F,6)F,4,Cx2100A002,x0000000A -{offset ubyte decrement, offset A002 (Decr=10, Limit=0)}- 2=CR(-F,6)F,5,Cx1100A001,x0064000A -{offset ubyte increment, offset A001 (Incr=10, Limit=100)}- 3=CR(-F,6)F,5,Cx1100A002,x0064000A -{offset ubyte increment, offset A002 (Incr=10, Limit=100)}- 4=CR(+F,6)F,4,Cx1100A003,x0064000A -{offset ubyte increment, offset A003 (Incr=10, Limit=100)}- 5=CR(+F,6)F,4,Cx1100A004,x0064000A -{offset ubyte increment, offset A004 (Incr=10, Limit=100)}- 6=CR(+F,6)F,5,Cx2100A003,x0000000A -{offset ubyte decrement, offset A003 (Decr=10, Limit=0)}- 7=CR(+F,6)F,5,Cx2100A004,x0000000A -{offset ubyte decrement, offset A004 (Decr=10, Limit=0)}- [LvarOffsets.B247D] 1=L:LEVER OIL SHUTTER 1=UBA001 2=L:LEVER OIL SHUTTER 2=UBA002 3=L:LEVER CARBURETOR HEAT 1=UBA003 4=L:LEVER CARBURETOR HEAT 2=UBA004 5=L:ENG THROTTLE 1=UB0xA010 6=L:ENG THROTTLE 2=UB0xA011 7=L:ENG MIXTURE 1=UB0xA012 8=L:ENG MIXTURE 2=UB0xA013 9=L:ENG PROPELLER 1=UB0xA014 10=L:ENG PROPELLER 2=UB0xA015
  3. For those of you who are interested, you can find the discussion thread here on Avsim: https://www.avsim.com/forums/topic/615876-runway-awareness-and-advisory-system-raas-beta-test/
  4. He has just disabled the Lua Plugin log option, and for the first time RAAS worked on his side , without any code change on my side. I replicated on my computer that once Lua Plugins log is enabled, RAAS is exiting during runway parsing loop. (I never used this log option during devpt). Nothing urgent 🙂
  5. It seems that when Lua Plugin is enabled, but Log lua separately is Disabled then the overflow occurs (and lua script exits). If both are enabled the issue is gone. (I have to verify myself) Actually I'm not sure if that user had Lua Plugin ON since the beginning, but I guess yes.
  6. John, I don't know if you will trust me, but the issue on my script is caused by the "Lua Plugins" log option itself. My understanding is that your logging capacity is overflown during my RegionalRwy() search function, as it goes through the 90 000 lines of R4.csv. Funny to see that the debugging tool is causing the issue!
  7. John, A user has the same issue - RAAS script starts but seems frozen after - however he doesn't use hidBravoButtons or Alpha scripts. Symptoms are: - RAAS starts ("test Ok" annoucement is played correctly). This correspond to the initialization of my program - No other annoucements are heard, making the user think the program does not work. As after initialization, my program starts an infinite while true do / end loop, paused using ipc.sleep(Timer) call, I believe that ipc.sleep() never returns for some reason. I don't have the issue myself so I can't put some debug trace to understand. Any help or advice is welcome Thanks
  8. I released my RAAS module (lua) for MSFS here : https://flightsim.to/file/29119/runway-awareness-and-advisory-system-simulation-raas-in-lua I hope you'll find it useful 🙂 Let me know
  9. Sorry, I don't see what "virtual flag" means in lua scripts. Ok, I'll copy your explanation to the Beta user who is using it, thanks.
  10. Hi, I've open a Beta phase for my RAAS lua project on Avsim forum. It appears that RAAS lua script execution is blocked if hidBravoButtons is active at the same time. I have no clue of what I'm supposed to modify to grant compatibility with other lua scripts, any tips? For your information, here is the Avsim thread: https://www.avsim.com/forums/topic/615876-runway-awareness-and-advisory-system-raas-beta-test/?do=findComment&comment=4733509 Thanks
  11. I'll probably release my RAAS system as a freeware when I'll be happy with it 🙂
  12. Finally I have my code for searching nearest airport and runway ready. Before deep optimization it's quite fast. I've not measured precisely but it takes no more than around 1/3 sec. to return results. So it's very suitable with my app needs. At script start I load the whole CSV content into a lua string to avoid I/O access.
  13. I realized that this issue came out since I maximised (by error), then minimised my output window (from Wnd library). In FSUIPC7.ini, I have deleted the entries in [ExtWindow] section to solve the issue. It seems that the Wnd library does not like Wnd.text() calls when the output window is minimised.
  14. And no error is written in fsuipc7.log after the CTD. How can I know what is wrong with my script? I'm using the MSFS beta 1.23.9.0, is FSUIPC build linked to a specific MSFS version (then not compatible with beta)? Thanks
  15. I'm generally impressed with lua performance, I'll let you know. My R4.csv contains almost 90 000 entries with only native MSFS runways (empty community).
  16. Thank you John. So I guess I need to build my own search algo using runways list in CSV files created by MakeRunways utility.
  17. Hello, I'm trying to adapt my RAAS system written in lua from P3D to MSFS. Unfortunately the SimConnect function is still buggy and send inconsistent results on the 6 airports positions. Did someone have another path to get the nearest airports?
  18. I can't be sure that all CTD's are related to the same cause. But it's strange that the "5 sec after scenario load" CTD stops occuring each time I disable FSUIPC. It was occuring even without traffic and with Active Sky addon disabled. On the other side I don't see any other FSUIPC users complaining of similar behaviour, so it's probably local on my setup. I'm going to uninstall / clean / reinstall P3D and see what happen.
  19. Actually I was successful to have a CTD also without FSUIPC, so I guess it's not the culprit of course.
  20. Hi Pete, Since yesterday each time I run P3D with FSUIPC 6.0.3, (then upgraded with 6.0.8), I have a CTD around 5-10 seconds after the scenario is loaded (I'm sitting in the aircraft). Any scenario, any scenery, even with all other external addon disabled. If I disable FSUIPC in addons.cfg, sim is running without problem. Not sure but its seems that my trouble started since I have installed ASP3D Beta2. I tried various clean-up (sceneries, scenarii ...) in P3D. Uninstalled ASP3D and disable as_connector. Last line of FSUIPC log before CTD is "-------------------- Starting everything now ----------------------" Here is the last log. and the last windows events: P1: Prepar3D.exe P2: 5.0.24.34874 P3: 5eab3677 P4: KERNELBASE.dll P5: 10.0.18362.778 P6: afa78a6a P7: c0020001 P8: 000000000003a799 P9: P10: Attached files: \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4757.tmp.dmp \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER48EE.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER490F.tmp.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER490D.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER492D.tmp.txt These files may be available here: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Prepar3D.exe_e1d76a74ea93a4d770b69af032fdfffcbac4755_134b3db9_edb8f96c-d337-46b5-90fe-51cb3995c961 Analysis symbol: Rechecking for solution: 0 Report Id: 9d6afb20-bda7-406d-b8b0-e5ea4416d8eb Report Status: 268566528 Hashed bucket: f8c06e3b4a1da7ce0ad182f696f75de7 Cab Guid: 0 Faulting application name: Prepar3D.exe, version: 5.0.24.34874, time stamp: 0x5eab3677 Faulting module name: KERNELBASE.dll, version: 10.0.18362.778, time stamp: 0xafa78a6a Exception code: 0xc0020001 Fault offset: 0x000000000003a799 Faulting process id: 0x1450 Faulting application start time: 0x01d627b7943cb8bb Faulting application path: F:\JEUX\Prepar3d_v5\Prepar3D.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: 9d6afb20-bda7-406d-b8b0-e5ea4416d8eb Faulting package full name: Faulting package-relative application ID: Thanks! FSUIPC6.log
×
×
  • 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.