Jump to content
The simFlight Network Forums

Dominik

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by Dominik

  1. These are the autopilot values, not the autopilot mode - managed or selected
  2. This event corresponds to whether the speed autopilot on the A320Neo is in managed or selected mode. I cannot find the offsets responsible for heading, altitude (in the managed or selected mode) Dominik.
  3. Hello, using Visual Basic 6 I can write events into MFS2020, e.g. this is what fsuipc does 442906 *** EVENT: Cntrl= 68066 (0x000109e2), Param= 1 (0x00000001) SPEED_SLOT_INDEX_SET and that's what Visual Basic does Dim fff As Long fff = 1 Call FSUIPC_Write(&H3114, 4, VarPtr(fff), dwResult) Call FSUIPC_Write(&H3110, 4, VarPtr(68066), dwResult) no offset (unless i'm wrong) SPEED_SLOT_INDEX_SET, is there any way to read the parameter of this event (SPEED_SLOT_INDEX_SET) using VB6? I want to know what mode is set to speed, managed or selected.
  4. Hi, I checked and also the offset the second is read correctly and is frozen. Dominik.
  5. Hello, I use FSX PMDG 737, I have a program that reads offsets from PMDG. Everything works well during FREE FLIGHT. When connecting to a multiplayer session, offsets are not read. Some are "frozen" eg the time is read once and the second one does not change. Is there a problem with FSUIPC during a multiplayer session? Regards, Dominik ********* FSUIPC4, Version 4.974 (24th February 2018) by Pete Dowson ********* Windows 7 Ultimate 64 Bit with SP 1.0 reported as Build 7601 (OS 6.1) fsx.exe version = 10.0.61472.0 Reading options from "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\FSUIPC4.ini" Running inside FSX on Windows 7 Module base=646A0000 User Name= User Addr= FSUIPC4 Key is provided WIDEFS7 not user registered, or expired 0 System time = 08/07/2018 13:44:28 0 FLT path = "C:\Users\KuczeKiler\Documents\Flight Simulator X Files\" 0 ------ Module Version Check ------ 0 acontain.dll: 10.0.61472.0 0 api.dll: 10.0.61472.0 0 controls.dll: 10.0.61472.0 0 fs-traffic.dll: 10.0.61472.0 0 G3D.dll: 10.0.61472.0 0 language.dll: 10.0.61472.0 0 sim1.dll: 10.0.61472.0 0 visualfx.dll: 10.0.61472.0 0 weather.dll: 10.0.61472.0 0 window.dll: 10.0.61472.0 0 ---------------------------------- 16 Trying to connect to SimConnect Acc/SP2 Oct07 ... 63 FS path = "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\" 172 ---------------------- Joystick Device Scan ----------------------- 187 Product= 203 Vendor=043F, Product=0202 (Version 1.3) 203 GUIDs returned for product: VID_043F&PID_0202: 203 GUID= {2F2A9C30-6BE3-11E8-8001-444553540000} 203 Details: Btns=112, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R511,U511,V511,X511,Y511,Z511 203 Product= T-Rudder 203 Manufacturer= Thrustmaster 203 Vendor=044F, Product=B679 (Version 1.16) 203 GUIDs returned for product: VID_044F&PID_B679: 203 GUID= {B1B090D0-503B-11E6-8001-444553540000} 203 Details: Btns=0, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U0,V0,X1023,Y1023,Z1023 219 Product= CH FLIGHT SIM YOKE USB 219 Manufacturer= CH PRODUCTS 219 Vendor=068E, Product=00FF (Version 0.0) 219 GUIDs returned for product: VID_068E&PID_00FF: 219 GUID= {B4F3A3F0-60A3-11E5-8001-444553540000} 219 Details: Btns=12, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R255,U255,V0,X255,Y216,Z255 219 Product= 219 Vendor=3100, Product=0002 (Version 1.3) 219 GUIDs returned for product: VID_3100&PID_0002: 219 GUID= {96F100D0-EB4F-11E7-8001-444553540000} 219 Details: Btns=112, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R511,U511,V511,X511,Y511,Z511 219 Product= 219 Vendor=7FEC, Product=2567 (Version 1.3) 219 GUIDs returned for product: VID_7FEC&PID_2567: 219 GUID= {5CC32DA0-66BC-11E8-8001-444553540000} 219 Details: Btns=112, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R435,U402,V495,X0,Y0,Z495 219 ------------------------------------------------------------------- 234 Device acquired for use: 234 Joystick ID = 4 (Registry okay) 234 4=MJOY NOWY 234 4.GUID={2F2A9C30-6BE3-11E8-8001-444553540000} 234 Device acquired for use: 234 Joystick ID = 2 (Registry okay) 234 2=T-Rudder 234 2.GUID={B1B090D0-503B-11E6-8001-444553540000} 234 Device acquired for use: 234 Joystick ID = 0 (Registry okay) 234 0=CH FLIGHT SIM YOKE USB 234 0.GUID={B4F3A3F0-60A3-11E5-8001-444553540000} 234 Device acquired for use: 234 Joystick ID = 1 (Registry okay) 234 1=MJOY2 234 1.GUID={96F100D0-EB4F-11E7-8001-444553540000} 234 Device acquired for use: 234 Joystick ID = 3 (Registry okay) 234 3=MJOY1 234 3.GUID={5CC32DA0-66BC-11E8-8001-444553540000} 234 ------------------------------------------------------------------- 499 LogOptions=00000000 00000001 499 ------------------------------------------------------------------- 499 ------ Setting the hooks and direct calls into the simulator ------ 499 --- CONTROLS timer memory location obtained ok 499 --- SIM1 Frictions access gained 499 --- FS Controls Table located ok 499 --- Installed Mouse Macro hooks ok. 499 --- Wind smoothing fix is fully installed 499 --- G3D.DLL fix attempt installed ok 499 --- SimConnect intercept for texts and menus option is off 499 --- All links checked okay 499 ------------------------------------------------------------------- 499 SimConnect_Open succeeded: waiting to check version okay 499 Trying to use SimConnect Acc/SP2 Oct07 499 Opened separate AI Traffic client okay 1872 Running in "Microsoft Flight Simulator X", Version: 10.0.61472.0 (SimConnect: 10.0.61259.0) 1872 Initialising SimConnect data requests now 1872 FSUIPC Menu entry added 1872 C:\Users\KuczeKiler\Documents\Flight Simulator X Files\1.FLT 1872 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\B737_800\Boeing737-800.AIR 49094 Weather Mode now = Real World 68329 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\PMDG 737-800NGX WL\B737-800WL.AIR 76253 User Aircraft ID 1114113 supplied, now being used 76253 Aircraft loaded: running normally now ... 76519 System time = 08/07/2018 13:45:45, Simulator time = 08:05:14 (12:05Z) 76784 Aircraft="PMDG 737-800NGX LOT Polish Airlines (SP-LWA)"
  6. Of course, LUASET - everything works correctly. Thank you again for help. Regards, Dominik
  7. Hello, Thank you for your reply and help. The script works almost well, the data changes at a good speed, the sleep function works, FPS do not fall, but after releasing the button, the data changes. The loop works all the time. I changed the code to: while 1 do ipc.control (70481,2147483647) ipc.sleep (400) end and in fsuipc I set the LuaKill to work after releasing the button. Now it works very well. Why does the loop still work on your code when you release the button? Regards, Dominik.
  8. I use push buttons to switch radio frequency and autopilot settings (altitude, HDG IAS, etc.) Without sleep function, this data changes too quickly and it is difficult to hit the right value. Slowing down in LUA with the Sleep function it worked great. Yes, I checked the processor load, the CPU load did not increase. I understand that FSUIPC is working properly and that LUA script FPS will be smaller due to looping Regards. Dominik
  9. Hello, in fsuipc I have assigned LUA script buttons. The buttons have the "Control to repeat while held" option selected. When using these buttons, the FPS drops from 30 to ~ 7 !!! which is very tedious. This happened after installing the latest version of FSUIPC 4.974. On version 4.858 LUA worked correctly. I use FSX and B737 PMDG I am asking for help because it is impossible to fly :( Sample LUA file: ipc.control (70481,2147483647) ipc.sleep (400) Regards, Dominik
  10. Paul, you are great!!! I`ve just tested and it works great!!! Earlier in Visual Basic I used the function of a key (sendkey) and in FSUIPC I assigned the PMDG event to the key. Thank you again and best regards, Dominik
  11. Hello, I know how to read and load offsets using Visual Basic. I wonder if it is possible to send PMDG events using Visual Basic? I am using Visual Basic 6.0 I will be grateful for your help. Regards, Dominik
×
×
  • 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.