
Airbuspilot
Members-
Posts
149 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by Airbuspilot
-
Kuro B787-8 Accessing indexed Lvars via Lua Script
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
In the Facilities of the WASM, reachable over the FSUIPC Add-ons Menu, i.E. the Lvar List. should be a dark Background and a white/yellow Foreground. Also a bigger Font in the Whole FSUIPC UI and of Course in the WASM Panels would be highly appreciated. In all the Lvars Functions in the WASM should be a Search Function for Lvar Names or Fragments of them. In my Opinion, all those Changes will raise the Usability of the whole FSUIPC Experience. I know, that Developers couldn't realize any Wish of one or some more Users. But maybe you see a Chance, to realize it. If you need further Informations, please let me know. Joachim -
Kuro B787-8 Accessing indexed Lvars via Lua Script
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
Sorry, i have to deeply apologize. I found the Solution by my self. In the Code, i didn't pay Attention to the Capitals in Lvar Names. When writing them in the correct Way, everything works fine. Thank you very much for your attempts to help. BTW: If possible, i avoid to use the WASM. Whether the Client nor the FSUIPC Functions. I have a serious Eye Sickness and i need a dark Background with white/yellow Foreground. Also i need a bigger Font. So i prefer to use the SPAD.next and therefore i am not so familiar with the WASM. Is there any Chance, to get this in the WASM too? Joachim -
Kuro B787-8 Accessing indexed Lvars via Lua Script
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
Used the new FSUIPC7.exe File. What i see in the WASMIF.log is, that the LVar exists with a Value of 0 before and after starting the small FlightLog.lua. In the FSUIPC7.log is to see that the Line of Code will be executed. In the Wasm.log i can't see anything, that i could understand. I attached all the Files, so that you could take a Look by yourself if you want to. Here is a Pic from the lua File. So you can see, whats happening, when the File was executed. FSUIPC_WASM.log FSUIPC_WASMIF_after_Start_FlightLog.log FSUIPC_WASMIF_before_Start_FlightLog.log FSUIPC7.log -
Kuro B787-8 Accessing indexed Lvars via Lua Script
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
Hope, it is now okay? This Time I've done it with my own FlightLog.lua. If i should use the small File created for you, please let me know. Joachim FSUIPC_WASM.log FSUIPC7.ini FSUIPC7.log FlightLogJohn.lua -
Kuro B787-8 Accessing indexed Lvars via Lua Script
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
Sorry, seems i misunderstood your Ask. If you need further Information or Files, please let me know. You don't have to hurry. Enjoy your Sunday. I am glad, that you help me and so i have the Time you need to Look. Thanks in Advance Joachim -
Kuro B787-8 Accessing indexed Lvars via Lua Script
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
First of all - Thank you for helping me with that Problems. Attached yo will find: FlightLog.lua - The Script with the wanted Functions FlightLog.log - The Log File from the last Session And the Files from FSUIPC. Hope, you can find a Solution. If you need further Information or Files, please let me know. Thanks a Lot in Advance Joachim FSUIPC7.log FlightLog.log FlightLog.lua FSUIPC7.ini -
Kuro B787-8 Accessing indexed Lvars via Lua Script
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
Hey John, setting them with the execCalcCode Method works fine in this Case. But for Learning Purposes, could you please show the necessary Code to set them with the ipc.writeLvar Method? Why i used the Client in this Case i don't know. Normally i use the Functions in the FSUIPC Menu. Meanwhile i have another Problem and i hope, you can help me out please. If i set the Battery Switch with the Set Lvars in the FSUIPC Menu, the Switch will work like he should work. If i use this Code ipc.writeLvar("L:XMLVAR_BATTERY_SWITCH_STATE", 1) in my Lua Script, nothing happens. Do you have any Hint for me, what i have to do, to get this Code to work? Thanks a Lot in Advance Joachim -
Kuro B787-8 Accessing indexed Lvars via Lua Script
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
Hey John, for me it looks, like they were indexed. So, i use the ipc.execCalcCode Method. Thanks a lot for your valuable Help. Joachim -
Hello, maybe my Question is stupid, but i stuck at the following Problem. There are 2 Lvars named: B787_IRS_KNOB_STATE:1 and B787_IRS_KNOB_STATE:2 For me it seems, that the Variable is indexed and i don't have any Idea, how to set them from 0 to 1 and back. Could someone please explain, what i have to code? Thanks in Advance, Joachim
-
How to open Doors via Lua Script in MD11F
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
Hi John, i will again thank you so much for your valuable Explanation. With a deep Look inside the FSUIPC.log, i found the Values to open/close the Doors via ipc.control. If i have special Questions regarding a Plane in the Future, i will then state this in the Title. Thanks again for your Help. Joachim -
Hello there, i need another Help with the MD11F in MSFS2020. There are several SimConnect Variable, to open the Doors. I.E. EXIT OPEN:1 In the Documentation i found, that is the Offset 0x3367. But i have no Idea, how to use that Offset in a Lua Script for Open/Close the Doors. Could anyone please help me out? Thanks a Lot in Advance. Joachim
-
Hi John, thank you so much for your Help. Joachim
-
Hello, i need Help writing a Value to the Offset 0x0B7C. I want to fill the Left Main Tank of the SkySim MD11F. After the Start, the Display shows 40488. With this Commant, i initialize the Tank. ipc.writeFLT(0x0B7C, 0.00000). The Display shows 0 as expected. After the Init, i will fill the Tank, so that the Display in the Overhead shows the correct Value. Therefore i issue this Command. ipc.writeFLT(0x0B7C, 57568.5673). The Display then shows 668423. This Value is absolutely wrong. I tried writeSD, writeSW, writeDBL, etc.. But nothing returns a correct Value in the Display. I hope, that someone could help me, to issue the correct Command to fill up the Tank. Any Help is highly appreciated. Thanks a lot in Advance. Greets, Joachim
-
How to set Dome light switch to Joystick button
Airbuspilot replied to 737Andi's topic in FSUIPC7 MSFS
This Issue is solved by my self. I've used the wrong Offsets for ipc.control -
How to set Dome light switch to Joystick button
Airbuspilot replied to 737Andi's topic in FSUIPC7 MSFS
Hello there an a happy new Year. Please excuse, that i come in this Post with my Problem. It is not 100% the same but nearly the same. Please let me explain in short Form. Software is MSFS2020 newest Version, FSUIPC 7.3.15, WAPI/WASM 0.9.1b and PMDG 737-700. I wrote the SDK Broadcast Settings in the 737_Options.ini File. I determined the ID_MIN as 69632 and want to set the IRS_DisplaySelector to the Value of 2. I also determined that i have to add the Value of 58 to the ID_MIN. I issue an ipc.control(69690, 2) to set the Selector to PPOS. I use a lua Script to issue the Command. Unfortunately there is no Reaction of the Switch. In fsuipc.ini i entered the lua Script in the LuaFiles Sections as Number 1. Other Files are not listed in there. Do you have any Hint for me, what i can do to make my Script gets running? Any Hint is highly appreciated. Regards, Joachim -
Hey there, John has released the new FSUIPC 7.3.10 with the new WASM and WAPI 0.9.0. I installed everything and started the MSFS20. Using my Lua File in the FNX A320 V1.0.4.134 will work Errorfree, but nothing reacts in the Bus. It seems, that setting LVars will not work for me, even if the Script runs well on the former Versions of FSUIPC. I'll try, to give an Example of one LVar in the Bus. Issuing this Command ipc.writeLvar("L:S_OH_ELEC_BAT1", 1) should turn on the Battery 1 in the Bus. I can turn on this Battery with the WASM Client without any Problems. But it does'nt work in my Lua File. Is there any Hint you can give me? Every try to Help will be highly appreciated. If you need the File or any Log File, please let me know. Greets and Thanks in Advance, Joachim
-
FSUIPC WASM module + client-side API + lvar/hvar discussion topic
Airbuspilot replied to John Dowson's topic in FSUIPC7 MSFS
Thanks for your Reply. I will try it. -
FSUIPC WASM module + client-side API + lvar/hvar discussion topic
Airbuspilot replied to John Dowson's topic in FSUIPC7 MSFS
Thanks John for the Explanation. -
FSUIPC WASM module + client-side API + lvar/hvar discussion topic
Airbuspilot replied to John Dowson's topic in FSUIPC7 MSFS
How can i realize that? * is not possible as a Filename. I am a german Citizen and have a german OS Layout. Do i have to change it, to name it *.hvar? -
How to set Lvars with Lua Scripts in A32NX from FlyByWireSim?
Airbuspilot replied to Airbuspilot's topic in FSUIPC7 MSFS
Thanks for your Help. ipc.sleep(500) solved the Problem. I wil try some other Variables and will be back, if there are Problems again. -
Hello, maybe someone could provide a Solution for my Problem. Involved is the A32NX from FlybywireSim. If possible, please have a look at the attached Script. It is real small and there are three Things, i want to do. The first Thing is to turn on the External Power. That works. The second Thing is to turn the Knob of the Cockpit Air Condition into the 40% Position. If i do this in the WASM Module via the Set Lvar Option, the Knob turns into the desired Position. At Least i want to read out the Value to the Variable eCon. That also doesn't work. I would be very glad, if someon could take the Time to look into the little Script and describes what is needed to successful execute it. If you need more Infos, please let me know. Many Thanks in Advance, Joachim FlightLog.lua
-
FSUIPC WASM module + client-side API + lvar/hvar discussion topic
Airbuspilot replied to John Dowson's topic in FSUIPC7 MSFS
okay, i understand your Policy of Software Development. I am also a Software Develeoper and as that i tell you, if i treat my Customers the Way you do, i haven't any Customer anymore. Okay, i didn't pay much for FSUIPC7, but i paid for it. And as a Customer i am looking for help from the Develepers. Simply senseless. Thanks, i learned my Lesson and give up with FSUIPC. There is no need to answer anymore John, because i have stolen enough of your Time. -
FSUIPC WASM module + client-side API + lvar/hvar discussion topic
Airbuspilot replied to John Dowson's topic in FSUIPC7 MSFS
Hey John, thanks for the Reply. I have installed 7.1.0f incl. WASM 0.4.10. Also i enabled WASM in the Add-Ons Tab of FSUIPC7. Unfortunatelly it seems not to work that easy. The Knob isn't turning. Yes, i noticed your Words in the Advanced User Guide about WASM. Glad, you saw by your self, that those few Words aren't enough to explain, how to use WASM. Greets Joachim -
FSUIPC WASM module + client-side API + lvar/hvar discussion topic
Airbuspilot replied to John Dowson's topic in FSUIPC7 MSFS
Hi Guys, i want to ask, if someone could do a favour to all of them, who didn't really understand all those technical Discussions here. So please could someone release a complete Step by Step Tutorial, about all the necessary Steps and File Settings to execute i.E. this Order in a Lua Script ipc.writeLvar("L:A320_Neo_AIRCOND_LVL_1", 40). In my Opinion, such a complete Tutorial here in this Place would very, very helpful to People, who wants to do something in MSFS2020 by executing Lua Scripts. My self, i am an experienced Lua Programmer, but all those Things relating to WASM are simply a Book with seven Seals. I hope, that somebody will take the Time to help those, who don't know, how they could help them selfs. Thanks a lot in Advance Joachim