-
Posts
14 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by Marcelo peixoto
-
Can't install FSUIPC on Prepar3D v2.4
Marcelo peixoto replied to meph18's topic in FSUIPC Support Pete Dowson Modules
Thanks Pete! I will Try! Good new year for you! -
Can't install FSUIPC on Prepar3D v2.4
Marcelo peixoto replied to meph18's topic in FSUIPC Support Pete Dowson Modules
Ok Pete! Sorry about that! When i try to install fsuipc and the installer askme to locate the fsx.exe or Prepar3D.exe they return this error: Your Prepar3D intallation is incorrect! The version of SimConnect installed will not run FSUIPC4. You may need repair the installation to rectify this first. No changes have been made by this program. Installer for FSUIPC4.DLL version 4.938a Looking in registry for FSX install path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator\10.0 Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator\10.0 Parameter"AppPath" ... NOT found! ... Looking in registry for FSX-SE install path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator - Steam Edition\10.0 Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator - Steam Edition\10.0 Parameter"AppPath" ... NOT found! ... Looking in registry for Prepar3D install path: HKEY_LOCAL_MACHINE\SOFTWARE\LockheedMartin\Prepar3D Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\LockheedMartin\Prepar3D Parameter"AppPath" ... NOT found! ... Looking in registry for Prepar3D v2 install path: HKEY_LOCAL_MACHINE\SOFTWARE\Lockheed Martin\Prepar3D v2 Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\Lockheed Martin\Prepar3D v2 Parameter"AppPath" ... NOT found! ... ... NOT found! Asking user to find the .EXE instead ... User identified path: "N:\GAMES\P3DV2\Prepar3D.exe" =========================================================== INSTALLATION FOR Prepar3D: Checking version of the Prepar3D EXE: ... Version 2.4.11570.0 (Need at least 1.0.677.0) Checking compatibility with installed SimConnect: ... Failed to find a valid SimConnect needed to use FSUIPC4! Note. I install the P3D v2.3 then update to v2.4 -
Can't install FSUIPC on Prepar3D v2.4
Marcelo peixoto replied to meph18's topic in FSUIPC Support Pete Dowson Modules
Hi Pete! Now, i have the same problem with 4938a, i can´t install it! Can u look for us? Thanks! -
Hi! I have a fatal error and the P3Dv2.2 close after load a flight. After try reinstall all my windows and P3D v2 (now with full instalatator), the P3D runs ok, but when i put my LUA files into modules and run the P3D,it´s give me the Fatal Error and close. I remove the IPCREADY.LUA from MODULES folder and P3Dv2.2 runs ok. Test again, Uninstall all, and now, install P3D v2.1. The 2.1 Works fine with LUA, but if apply the patch to 2.2 the problem come back? I use a real cockpit(Learjet 45) and can´t fly with the P3D v2.2 cause need LUA for my systems. Probably it need´s an FSUIPC update, and i post this problem to help... Thanks...
-
Prepar3d v2 Joystick issues
Marcelo peixoto replied to Kevin Taylor's topic in FSUIPC Support Pete Dowson Modules
When this happen, try press "Y" key to enter in sleew mode, then press "Y" again to return to normal mode. Look if you have the commands normal now. if yes, repply for us. -
Control Sound Volume With FS
Marcelo peixoto replied to Marcelo peixoto's topic in FSUIPC Support Pete Dowson Modules
Ok! Tanks for reply Pete! -
Hi Pete! Do you know a way to get the cabin sound level from FS? I Want to get this value to use in my LUA sound.play, for the user controle it in Options > Settings > Sound > change the cabin sound value. Some like this in lua vol = FS.SoundCabin sound.play("Eng1Fire" ,0 ,vol) [/CODE] Tanks
-
Hi Pete! My FSuipc is now 4.836 I loop a sound to fire engine. function engfire(offset, value) if value ~= 0 then if ipc.readSB(0x0B20) == 1 then ref1=sound.playloop("jetone_fire" ,0 ,-60) ipc.sleep(500) end else sound.stop(ref1) ipc.sleep(500) end end event.offset(0x3366, "UB", "engfire") [/CODE] If the volume are positive, like 60, the loop works fine, if the volume are negative -60 to play only when the FS have the focus, the sound play like sound.play, no like sound.playloop. Tanks
-
GPWS for any aircraft in lua script
Marcelo peixoto replied to Marcelo peixoto's topic in FSUIPC Support Pete Dowson Modules
To play only when FS is in focus only change vol = 80 to vol = -80 in the code. -
Hi friends My FSuipc is 4.831 I'm doing a GPWS Lua script for any aircraft. I don´t know how to zero the volume, if i put 0 the sound still play quiet. In the manual say The vol ( volume) is a % value between 0% and 100%. This isn't the complete range from silence ot max, but 0 is very quiet. This defaults to 100. This right? 0 is not absolute silence? i put the line if ipc.readSB(0x0B20) == 1 then to play the sound only when the sound is on in FS. Other think i wanna do, is play the sound only when the FS is in focus, but i don´t find a way. see code: gpws.lua while 1 do vol = 80 ralt = ipc.readUD(0x31E4)*3.28084/65536 if (ralt > 1000) then altvar = 2000 snd = 1000 end if (ralt < 1000) and (ralt > 500) then if (snd == 1000) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_1000" ,0 ,vol) end snd = 500 end end if (ralt < 500) and (ralt > 400) then if (snd == 500) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_500" ,0 ,vol) end snd = 400 end end if (ralt < 400) and (ralt > 300) then if (snd == 400) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_400" ,0 ,vol) end snd = 300 end end if (ralt < 300) and (ralt > 250) then if (snd == 300) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_300" ,0 ,vol) end snd = 250 end end if (ralt < 250) and (ralt > 200) then if (snd == 250) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_min" ,0 ,vol) end snd = 200 end end if (ralt < 200) and (ralt > 100) then if (snd == 200) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_200" ,0 ,vol) ipc.writeSB("07BC", 0) -- DESLIGA AP MASTER ipc.writeSB("07DC", 0) -- DESLIGA SPD end snd = 100 end end if (ralt < 100) and (ralt > 50) then if (snd == 100) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_100" ,0 ,vol) end snd = 50 end end if (ralt < 50) and (ralt > 40) then if (snd == 50) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_50" ,0 ,vol) end snd = 40 end end if (ralt < 40) and (ralt > 30) then if (snd == 40) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_40" ,0 ,vol) end snd = 30 end end if (ralt < 30) and (ralt > 20) then if (snd == 30) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_30" ,0 ,vol) end snd = 20 end end if (ralt < 20) and (ralt > 10) then if (snd == 20) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_20" ,0 ,vol) end snd = 10 end end if (ralt < 10) then if (snd == 10) then if ipc.readSB(0x0B20) == 1 then sound.play("jetone_10" ,0 ,vol) end snd = 0 end end end [/CODE] To this work: 1 need download the sound package in http://www.4shared.c...CcY/Sound.html? extract the files on your FS Sound folder 2 create a file in Modules folder called gpws.lua and copy the code inside this file 3 create a file in Modules folder called ipcready.lua and put the code below inside ipc.runlua("gpws.lua") Restart FS For everyone use and improve. Tanks!
-
Multiple keypress assignment
Marcelo peixoto replied to garel75's topic in FSUIPC Support Pete Dowson Modules
Hi garel75 To do this, you can creat a lua files if you have a FSuipc 4.6 or higher, i think. To Shift + E + 2: 1 Open the windows notepad 2 copy code below and past into notepad ipc.keypress(69, 9) ipc.keypress(50, 8) [/CODE] 3 save the file in fsx\modules directory with the name doors2.lua 4 start fsx and go to FSuipc > Keypress 5 assign a key as you want and select LUA doors2 in the list. 6 click in confirm 7 close de FSuipc 8 press the key as assigned. to he Shift + E + 3, do he same but use code below and create another file called doors3.lua or use the name as you want. [CODE] ipc.keypress(69, 9) ipc.keypress(51, 8) [/CODE] Sorry for my bad english. Hug! -
Hi friends! Houston, I have a problem! I made a simple code in LUA to transform a keypress in a Toggle for the APU Start, becase this entry don´t have a toggle option, and i need this in toggle. The code work´s fine if use a simple key like "H" in below exemple. This on and off the Apu Starter when the H key is pressed. But if i try send a keypress with Ctrl + H or Shift + H the code only run a single time, case the event key don´t release. the code that works -------------------------------------- apustr = 0 function start_apu(keycode, shifts) if apustr == 0 then apustr = 1 ipc.writeSB("0b58", 1) ipc.display("apu on") else apustr = 0 ipc.writeSB("0b58", 0) ipc.display("apu off") end end event.key(72, 8, "start_apu") -------------------------------------- The code with error apustr = 0 function start_apu(keycode, shifts) if apustr == 0 then apustr = 1 ipc.writeSB("0b58", 1) ipc.display("apu on") else apustr = 0 ipc.writeSB("0b58", 0) ipc.display("apu off") end end event.key(72, 9, "start_apu") -------------------------------------- The 9 in red wait a Ctrl command before the "H" key. Tanks for help.