-
Posts
21 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by AUA144
-
Hi Pete, here (1 1/2 years ago) we talked about the max. number of 127 It's still not my intention to run 256 (ore more) Lua Files simultaneously. I have 10 Favorite Aircraft and for each Plane approx 11 or 12 LUA Files (specified for each AC) to control different things (Electric, Hydraulic, EFIS, APU, Engine Start/Cutoff a.s.o.), total 120 Files for all Planes. Only a handful files are needed for a plane and flight (in sequence and not simultaneously. A few days ago i have purchased the new iFly737NG. To make the new plane ready for my requirements i must add additional LUA-Files, definitely more than 7. It's no problem for me to create LUAs for more than one aircraft (triggered via Aircraft Names) but at the moment it's easier for me to add additional files. Otherwise i must combine existing files with the same purposes to decrease the amount. Basically no problem but it needs a lot of time ;)
-
Switch positions on FS startup
AUA144 replied to famouswelshman's topic in FSUIPC Support Pete Dowson Modules
Hello Pete, thank you for the explanation. I found a simple solution to run the ipcready.lua after an one-time aircraft-change: ipc.sleep(90000) at the first position inside the file is approx. the time needed to change the aircraft. (a space of 10 seconds added). Then the LUA proceeds (depending on the loaded aircraft) as programmed. -
Switch positions on FS startup
AUA144 replied to famouswelshman's topic in FSUIPC Support Pete Dowson Modules
Hi Peter, another question: runs Ipcready.lua automatically again if i start my standard flight with the default Cessna and then i change the aircraft e.g. to any PMDG? Sometimes during a longer flight a "Scenery Reload" happens due to Time-Sync with FSRealTime, has this any effect to the Ipcready.lua ? -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
The Photo is 7 years old, i'm the the photographer in our family therefore pictures of me a rare. Due to new biometric regulations Pictures for Passports are now unusable , only for a "Wanted Poster" :D Great! -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Meanwhile i have checked :D additionally i study the LUA-Manual, it is is not so easy for a 51 year old man, never learned a machine language, except "Basic" for some terms at school (approx 35 years ago) and never used thereafter :( -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Yes, of course no, i have removed the part "QNH -- LOC SET" only , nothing else within the file i have changed the display section to the same form as the others: -- and lastly the message i = i + 1 while actions[i] ~= 0 do ipc.display(actions[i], 5) ipc.sleep(7000) i = i + 1 end end sleep(7000) makes a delay of 2 seconds between 2 messages. By the way, the log requires the additional "end" Everything is fine now and i have a lot to do for a while :D Thanks again -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Good Morning at the first spring day (currently here in Austria: - 1° C and moderate snowfall :evil: ) Your file is working perfect :!: I have added another Aircraft (LDS763) and the result is pretty good. Just a few questions again and then i will keep quiet for a while :) 1. for skipping the Macros or Controls (e.g there are no macros only controls or vice versa) i have set the according value to "0" Example: Actions737 = { "0", 0, 65584, "QNH -- LOC SET" }, it works. The FSUIPC.log says: Action1= PMDG737: 0 Sending control 65584 or Action1= PMDG737: EFIS_1 Sending control 0 then the display comes up as expected. (I have no macro named "0" and i am sure there is no single-digit control ;) ) To ignore the "display" i have removed the string. 2. Are some adjustments required to process more than on control or display step by step too? Thanks a lot! -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Wow! :o Thanks Peter, i will give it a try as soon as possible with a prompt report (maybe tomorrow), stay tuned ... -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Thanks Peter, there's no hurry, i will drop a message ... -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Good Morning, meanwhile i have started a check for communality and for the possibility of (realistic) combinations. I think the result will be a maximum of 7 or 8 files for each aircraft and at most 10 common files. Definitely a total under 80 ! (with the same convenience as before). This was - for the moment - the best solution for me. Time saving due to no global rework was needed. Copy & paste and changing some assignments, that's all. Sounds good, that means it is possible to create one file for for more than one aircraft. Could you post an example with the next two files please? (Some EFIS actions for the 747 and the 737), Thanks in advance! 747_EFIS_OFF and for the 737 I use "ShortAircraftNames" and "Profiles", e.g. PMDG 747 and PMDG NG -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Hi Peter, thanks for explanation, here are some additional infos: I always fly online on VATSIM with superior aircraft (PMDG, LDS, LSH Maddog ...) without the assistance of a "First Officer" (wife and kids favour other things :) )flying the Plane, talking to ATC, checking charts and weather, feeding the the FMC ...and this simultaneously , could be stressful sometimes. Therefore i dislike additional actions with the mouse during a flight. Since a few years I use a Logitech G15 Keyboard beside my Saitek X45 Joystick. The Keyboard is featured with 56 additonal keys, programmable (macros, shortcuts) and stored as "XY-profile" for each plane. The "FSUIPC Mouse Macro" opened additional options for me, and LUA too. an example: starting the engines during pushback; BCN on, Ignition on, start switch on, wait for 10 - 15 seconds to spool up, fuel lever on, wait for a few seconds - start switch off. With LUA it's now possible to assign this engine-sequence (or all engines step by step) to one key. Another one: Approaching H/P for Take-Off; Taxi-Light off, RWY-Turnoff Light off, Landing Lights on, Strobe Lights on, Transponder Mode "C", Barometric check to confirm local QNH. With one "Key press" i am able to delegate the upcoming job to my "Virtual F/O" named "FSUIPC", i relax and do my job, i fly the plane :D LUA offers now the same feature as my programmable keyboard: adding a delay between "actions". Unfortunately all the programmable G15-keys are still in use for each plane. LUA is actually a welcome extension for me. 10 - 20 files for 7 different planes adds up to 70 - 140 LUA-Files :D -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Good Morning, another Question: is there a limitation of Lua-File numbers? I have stored 128 (!) files but within the FSUIPC.ini (3.906) only 127 [LuaFiles] are indicated. Added # 129, no effect. For the moment it's not necessary for me to store such a great many of files. Due to testing and experimentation the number of files runaway. :D I need to declutter , approx. up to 50 are currently not in use. -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
First of all, thanks Pete for the LUA-Feature and your Assistance, i have made some sequences yesterday (ipc.keypress, ipc.macro and ipc.control in one file mixed up), working pretty good. Added more than one of the "ipc.display" facility as a testing purpose, nice to see what FSUIPC is currently doing 8) . Also helpful to show "Finished XY" or "OK" after a longer file extending over several seconds due to multiple "ipc.sleep" usage. My next lesson is to optimize macros, mouse.macros, key presses a.s.o. for a lot of AddOns .... -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
here is a part of your landing.lua local function endlanding() -- reset landing part event.cancel("calcagl") event.cancel("calcvs") -- enable restoration when GS low enough event.offset(0x02b6, "UW", "calcgs") -- aircraft GS end and this thread (but i'm not sure) http://forums.simflight.com/viewtopic.php?f=54&t=75343 Should mean that i'm using FSUIPC for a very long time, no problems at all, easy to use. For a moment i thought: "FSUIPC is now going to be tricky" :lol: but since a few hours (your today's reply) i understand the mode of operation of the LUA plug-in. :idea: -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Ok, it's as simple as that. :D I think i misunderstood something in other Threads and /or reading the samples. Thanks for wasting your time for my senseless request. :oops: My experiences with FSUIPC are pretty good since many years. Simple and user-friendly. What a silly idea that you have changed your engagement. -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
something went wrong with my first steps with "Lua". I have no experiences in programming, i'm a solid user only. Lua for windows 5.1.4 is installed, here my short script local function efistest() ipc.keypress(K72, 4) -- BARO ipc.sleep(500) ipc.keypress(K70, 4) -- FPV ipc.sleep(500) ipc.keypress(K86, 4) -- TFC ipc.sleep(500) ipc.keypress(K83, 4) -- STA ipc.sleep(500) ipc.keypress(K112, 1) -- FD1 ipc.sleep(500) ipc.keypress(K113, 1) -- FD2 ipc.sleep(500) ipc.keypress(K38, 2) -- VOR1 ipc.sleep(500) ipc.keypress(K39, 2) -- VOR2 ipc.sleep(500) ipc.keypress(K66, 8) -- QNH LOC end The file is named TEST.lua and stored within the modules folder. Assigning any key has no effect. the fsuipc.ini part [LuaFiles] 1=EFIS747off 2=EFIS747on 3=ipcDebug 4=landing 5=TEST 1 & 2 are similar 5 The test.log for debugging: ********* LUA: "TEST" Log [from FSUIPC version 3.905] ********* 3675579 System time = 10:46:01, FS2004 time = 10:31:13 (09:31Z) 3675672 LUA: 0 3675672 LUA: ...rosoft Games\Flight Simulator 9\MODULES\ipcDebug.lua 3675797 LUA: return 3675797 LUA: 3675813 LUA: 0 3675907 LUA: ...rosoft Games\Flight Simulator 9\MODULES\ipcDebug.lua 3675922 LUA: call 3675922 LUA: 3676032 LUA: ...rosoft Games\Flight Simulator 9\MODULES\ipcDebug.lua:38 3676032 LUA: beginning "G:\Programme\Microsoft Games\Flight Simulator 9\MODULES\TEST.lua" 3676032 LUA: ...\Microsoft Games\Flight Simulator 9\MODULES\TEST.lua:19 3676032 LUA: ended "G:\Programme\Microsoft Games\Flight Simulator 9\MODULES\TEST.lua" 3676032 System time = 10:46:02, FS2004 time = 10:31:14 (09:31Z) ********* LUA execution terminated: Log Closed ********* -
PMDG 747-400 Fuel Control Cutoff Switches
AUA144 replied to flatdog's topic in FSUIPC Support Pete Dowson Modules
Hi, just tested with 3.905, working very well, thanks a lot. -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Thanks a lot for your additional Help! -
[Macro] Delay between actions
AUA144 replied to AUA144's topic in FSUIPC Support Pete Dowson Modules
Hi Peter, thanks for quick response. I have created a macro for a row of PMDG-EFIS-Actions (VOR1,2 on/off, Baro, FPV, Traffic/Stations Display a.s.o.) approx 9 actions in sequence for one keyboard command. Working fine but very fast :D. A delay (approx 200 - 500 ms) after each action would be great and more "realistic" but it's not essential. I will check out the LUA-Plugin. -
Hi, is it possible to add "delays" between a number of actions inside a macro, allocated to keyboard commands? I only found "/delay" as an option for Axis Assignments.