Jump to content
The simFlight Network Forums

GSalden

Members
  • Content count

    149
  • Joined

  • Last visited

Community Reputation

0 Neutral

About GSalden

  • Rank
    Advanced Member
  • Birthday 01/01/1970

Contact Methods

  • Website URL
    http://

Profile Information

  • Gender
    Male
  • Location
    Netherlands
  1. Got it working with your help : handle, error = ext.shell("C:\\DOS\\StartDCS.bat", "EXT_MIN", "EXT_CLOSE") ipc.log("ext.shell returned error = " .. error) Now it is working perfectly. Many thanks Pete for your patience. If it is Ok with you I can put the LUA-batch combo in the Users section as " Starting programs ( exe ) with a yoke button through LUA " Regards, Gerard  
  2. Hi Pete, Thank you for your great support. As I have started looking into LUA yesterday for the first time I am making errors. The only thing I want is a LUA that starts a batch file. I have made a new folder in C called DOS with the batchfile in it. Just to be sure I will not have any rights issues in the program files (x86) folder. You are right about computers . That I am finding out right now. I will try again later today.. regards, Gerard
  3. I have tried these : ext.shell("C:\Program Files (x86)\FSPS\Dolby Cockpit Sounds FSX\StartDCS.bat", "EXT_MIN") ext.shell("C:\Program Files (x86)\FSPS\Dolby Cockpit Sounds FSX\StartDCS.bat") handle, error = ext.shell("C:\\DOS\\StartDCS.bat", EXT_MIN, EXT_CLOSE) handle, error = ext.shell("C:\\DOS\\StartDCS.bat") Unfortunately none of them are working. I even tried after reinstalling DCS directly into C , so above program files (x86).. Regards, Gerard
  4. You are right that didn't work. I also tried : ext.runif("C:\Program Files9 x86)\FSPS\Dolby Cockpit Sounds FSX\StartDCS.bat", "EXT_MIN") whicg didn't work either. ********* LUA: "StartDCS" Log [from FSUIPC version 5.103e] ********* 684766 System time = 21/09/2017 14:55:17, Simulator time = 09:21:59 (07:21Z) 684766 *** LUA Error: cannot open D:\Program Files\Lockheed Martin\Prepar3D v4\Modules\ipcDebug.lua: No such file or directory 684766 LUA: beginning "D:\Program Files\Lockheed Martin\Prepar3D v4\Modules\StartDCS.lua" 684766 LUA: ...les\Lockheed Martin\Prepar3D v4\Modules\StartDCS.lua:1 684766 LUA: Global: ipcPARAM = 0 684797 >>> Thread forced exit (ipc.exit or os.exit) <<< So it should more be like : ext.shell("C:\Program Files9 x86)\FSPS\Dolby Cockpit Sounds FSX\StartDCS.bat", "EXT_MIN") .... ? Regards, Gerard
  5. Therefore these lines in a LUA script : ext.path ("C:\\Program Files (x86)\\FSPS\\Dolby Cockpit Sounds FSX") ext.run ("restart.bat") end In Fsuipc I will assign the Yoke button to the LUA script with the text above. The idea is that the LUA script excecutes the batch file .
  6. I made an overview in general on papaer with what I want and it looks quiet complicated. Then I got another idea : what I want is all in FSPS Dolby Cockpit Sound , but that program stops responding after 5-15 min in P3Dv4. If I can assign a yoke button to a batchfile ( I know my way around DOS ) that first shuts the program down and then restarts it I will have what I want much easier. I started with my first LUA : ext.path ("C:\\Program Files (x86)\\FSPS\\Dolby Cockpit Sounds FSX") ext.run ("restart.bat") end Regards, Gerard
  7. Thanks Pete. I will give it a try. As Prosim Audio Addons only can play a wav file without in-decreasing the sound it must be Lua only. Otherwise the sound stays at the same volume. And I want the sound to in-decrease with speed differences. regards, Gerard
  8. Hello Pete, Is it possible to assign sounds via Fsuipc like a flap sound that reacts on the wind ? Eg : flaps 1 - flap wind sound dim . Flaps 30 - flap wind sound loud Of course only hearable when moving.The same for gear , spoilers and brakes. Prosim Audio Addons can only play a sound according to a trigger and cannot be connected to speed. FSPS Dolby Cockpit Sounds which does al the above works fine till P3Dv3 . In V4 it stops working after 5-15 minutes. Thanks , Gerard
  9. Hi Pete, I will point the developer to this thread. Thanks for your reply. Regards, Pete
  10. Hello Pete, The program stops reacting after a while. It looses connection with P3Dv4. Reststarting solves it for a short while. First I contacted the developer. It is working fine till P3Dv3. He wrote that it is using Fsuipc to interact with Fs. Is there anything I can do or will it perhaps work in a future Fsuipc update. Hearing spoiler , gear and flaps wind sounds add a lot to the immersion. And the program is freeware now. Thanks and best regards, Gerard
  11. P3Dv4 ground friction

    With Amy Prosim aircraft I could not "feel" improved friction in P3Dv4. So I use the Fsuipc 4 ini + lua friction file in Fsuipc v5..
  12. FSUIPC 5

    Superb ! Thanks Pete
  13. FSUIPC 5

    Is it possible to use hardware calibration settings from v4 in v5 ? Or copy sections ?
  14. Great news. I have bought P3Dv4 immediately. Just bought Fsuipc 5 too as Pete has done a lot of work ( Pete I did not get any serial number with my purchase.. )
  15. Thanks for clarifying things up Pete. I currently use 2 versions of SIOC with my OC hardware and Prosim , as all 9 OC together causes SIOC to hang after a while. SIOC on my client uses WideFs. More Prosim users have multiple SIOC versions running like that icw WideFs.... Is the discontinuing of WideFs file transfer causing an issue for us ? Thanks, Gerard
×