Jump to content
The simFlight Network Forums

ark1320

Members
  • Posts

    675
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by ark1320

  1. I will check the event viewer the next time this happens. Event viewer has a lot of categories -- can you point me to what category or directory in the event viewer that would have the info you are interested in? Thanks, Al
  2. Hi John, Sometimes when I start the sim FSUIPC7 starts as expected ( I see the FSUIPC7 Banner flash on the screen), but by the time a plane is loaded onto the runway FSUIPC7 has crashed for some reason. Below is what the log file looks like when this happens. There are a few Lua scripts that should start under [Auto] and the ApprCallOutMSFS.lua that you see killed in the last line below is one of them, but the problem still happens when I disable that script from starting. This problem does not happen every time I start the sim but I have not been able to figure out what is going on. Does FSUIPC7 exit if it cannot connect to the sim via simconnect within some time limit, or loses that connection? Thanks for any ideas. Al ********* FSUIPC7, Version 7.3.21 (9th June 2023) by John Dowson ********* MS Store installation detected: Checking for FS path in 'C:\Users\Al\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\UserCfg.opt' FS path found = C:\Users\Al\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\Packages\ WebSocket server found: C:\Users\Al\Documents\Al's Flight Simulation\AddOns\FSUIPC7\modules\\Utils\FSUIPCWebSocketServer.exe Windows 10 Pro 64 Bit reported as Build 19045, Release ID: 2009 (OS 10.0) Reading options from "C:\Users\Al\Documents\Al's Flight Simulation\AddOns\FSUIPC7\modules\FSUIPC7.ini" Checking the Registrations now ... User Name= ***** removed User Addr= ****** removed" FSUIPC7 Key is provided WIDEFS7 not user registered, or expired 47 System time = 23/06/2023 15:21:51 47 FLT path = "C:\Users\Al\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\" 47 Allowing calibration when not assigned with 'Send direct to FSUIPC Calibration' 219 ------------------------------------------------------------------- 281 10903 Calculator Code presets have been loaded and are available for use 297 Registered HotKey 'InvokeFSUIPCOptionsKey' (key=0x46, modifier=0x1) 328 FS path = "C:\Users\Al\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\Packages\" 344 ---------------------- Joystick Device Scan ----------------------- 344 Product= MFG Crosswind V2/3 344 Manufacturer= MFG 344 Serial Number= MFG500002 344 Vendor=16D0, Product=0A38 (Version 33.1) 344 GUIDs returned for product: VID_16D0&PID_0A38: 344 GUID= {A3FAAD50-A263-11ED-8001-444553540000} 344 Details: Btns=2, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R8192,U0,V0,X8192,Y8192,Z0 359 Product= Pro Flight Quadrant 359 Manufacturer= Saitek 359 Serial Number= 0 359 Vendor=06A3, Product=0C2D (Version 0.1) 359 GUIDs returned for product: VID_06A3&PID_0C2D: 359 GUID= {5A9417E0-8961-11EB-8001-444553540000} 359 Details: Btns=9, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U0,V0,X217,Y219,Z221 359 Product= Fulcrum One Yoke 359 Manufacturer= Vitaly [mega_mozg] Naidentsev 359 Serial Number= MMJoy2-Fulcrum-03 359 Vendor=0000, Product=0000 (Version 0.1) 359 GUIDs returned for product: VID_0000&PID_0000: 359 GUID= {99F39220-9632-11EB-8001-444553540000} 359 Details: Btns=8, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U0,V0,X4086,Y3594,Z0 359 ------------------------------------------------------------------- 359 Device acquired for use: 359 Joystick ID = 1 (Registry okay) 359 1=MFG Crosswind V2/3 359 1.GUID={A3FAAD50-A263-11ED-8001-444553540000} 375 Device acquired for use: 375 Joystick ID = 2 (Registry okay) 375 2=Saitek Pro Flight Throttle Quadrant (USB) 375 2.GUID={5A9417E0-8961-11EB-8001-444553540000} 375 Device acquired for use: 375 Joystick ID = 0 (Registry okay) 375 0=Fulcrum One Yoke 375 0.GUID={99F39220-9632-11EB-8001-444553540000} 375 ------------------------------------------------------------------- 500 LogOptions=00000000 00000001 3297 Simulator detected 27734 SimConnect_Open succeeded 27734 Running in "KittyHawk", Version: 11.0.282174.999 (SimConnect: 11.0.62651.3) 27734 MSFS version = 11.0.282174.999 27734 Initialising SimConnect data requests now 27734 Offset file 'C:\Users\Al\Documents\Al's Flight Simulation\AddOns\FSUIPC7\modules\myOffsets.txt' not found (info only) 27734 Mapping custom control numbers 69632 - 84232 27750 Maximum number of custom events available is 1024 (defined by ini parameter MaxNumberOfCustomEvents) 45594 User Aircraft ID not supplied -- trying default 48625 C:\Users\Al\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\Packages\Community\ffx-hjet\SimObjects\Airplanes\mg-hjet\aircraft.CFG 49516 Aircraft loaded: running normally now ... 49547 System time = 23/06/2023 15:22:41, Simulator time = 20:22:40 (21:22Z) 49703 Maximum number of custom events available is 1024 (defined by ini parameter MaxNumberOfCustomEvents) 49719 Aircraft="HJET E2" 83484 Starting WAPI... 83484 [INFO]: **** Starting FSUIPC7 WASM Interface (WAPI) version 1.0.2 (WASM version 1.0.2) using connection -1 83500 [INFO]: Connected to MSFS 88734 C:\Users\Al\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\MISSIONS\Custom\CustomFlight\CustomFlight.FLT 123844 -------------------- Starting everything now ---------------------- 128891 Lvars received: 627 L:vars & 10 H:vars now available 128891 Lvars/Hvars received - checking aircraft autos.... 129922 LUA: "C:\Users\Al\Documents\Al's Flight Simulation\AddOns\FSUIPC7\modules\ApprCallOutMSFS.lua": killed
  3. No problem. Well, the good news is the switching profiles now show up in the profile drop down lists for the two decks and switching happens. 🙂 Thanks for all the help!! Al
  4. Followed your instructions but this time I did no get the popup asking to install the profiles. I think I need to delete everything associated with profile switching and then start over. Can you tell me the locations where there is profile switching entries I can delete? Thanks, Al
  5. Just to clarify, the profiles in the lists above with copy in the name are "duplicates" I had made just to have a backup. The 4 switching profiles have slightly different names then what you set in the list. The SD Plus switching profiles have a + at the end of the name (C414+ and HJET+) to distinguish them from the other similar SD Plus profiles , and the 15Key switching profiles are C414 CTL and HJET CTL with no "S" on the end of the names to distinguish them from the other profiles. Or have I missed the point again? I did try loading the C414 but the profiles did not switch. thanks, Al
  6. Tried it again and made some progress but it is still not working. Here is what I have in com.extension.pilotsdeck.sdPlugin\Profiles The first 4 files are the ones I want to use to switch between the C414 and HJET planes using the SD+ and SD15key decks. BTW should I see my other Pilot's Deck profiles listed here as well? Here is what I got when I used the Profile Switcher control: And I did get the popups asking if I wanted to load the profiles. But here is what I see in my overall Profiles list -- note none of the switching profiles show up. Thanks for all the help! Al
  7. Great feature, but I am having trouble setting it up. I ran ImportProfiles.exe and entered the numbers for my two decks (Steam Deck+ and the 15 Key deck). But it is not clear to me what to do next. - Do I need to drag and set up a profile switcher key for each profile (I have 4 total profiles, two on the + deck, and two on the 15 key deck. I have two planes and have a profile on each deck for each plane. Your instructions refer to opening the Property Inspector – not sure what that is or how to open it. - I do not see the imported profiles in the normal drop down profile list for either deck. - My 4 profiles are named C414+, HJET+ (for the + deck), and C414 CTL and HJET CTL for the 15 key deck. - What goes in the boxes shown in the screenshots? I also do not understand the use of "default" below. It seems every box I've pointed to is associated with "default". Thanks, Al
  8. Yep, that 's what I mean above by setting up Switch Profile buttons. Turns out you can use that to switch to a profile on another Stream Deck or the same one deck you are on. Any thoughts on why I have to restart FSUIPC7 sometimes after the sim loads? Al
  9. What I am finding is sometimes when I start the sim, although FSUIPC7 is also started (I see the FSUIPC7 Splash screen) by the time the aircraft has loaded, something has terminated FSUIPC7 and I have to restart it to get things working. The other thing is I have different Pilot's Deck profiles for different MSFS aircraft. Currently the way I am handling this is I have a standard Stream Deck "default" profile that does nothing but let me select the Pilot's Deck profile I want to use at that time (Switch Profile buttons). How would you handle multiple Pilot's Deck profiles? I know I could have one profile with multiple pages for the different aircraft, but I prefer not to do that because I want each profile to fit on one page and don't want to devote buttons to navigating between pages. Another approach is to use the Stream Deck Settings window to switch profiles. Thanks for any ideas, Al
  10. No Problem! Different issue: Does Pilot's Deck start FSUIPC7 or assume MSFS does that? Currently when I start the Sim FSUIPC7 is also started and sometimes there seems to be a FSUIPC7 conflict of some kind so that FSUIPC7 does not start or the sim locks up. Does Pilot's Deck/Stream Deck assume the sim is running. Should I start Pilot's Deck before starting the sim, or maybe vice versa. What do you suggest? Thanks, Al
  11. The Calculator mode using the Lvar STEP syntax now works with or without the leading L: before the Name. Al
  12. Yes, the above now works with the L: in front of the Lvar name, still can't have any spaces after the colon, which is fine -- just need to make that clear to users I think. Thanks, Al
  13. Good call, that worked! You also cannot have any spaces after the colon(:) preceding the step size although the syntax checker does not object to it. Suggest you update the below on Github (or make allowances for the L:). For simple Tasks like increasing/decreasing a L-Var you can use the $Name:Step(:Limit) Template (the Plugin will build the right RPN-Code for that): Name: The Name of the L-Var with or without preceding L:. Thanks for the help, Al
  14. I had tried it both ways as far as the signs are concerned, still did not work for some reason. The RPN approach was my second try. Al
  15. I also could not get the following increment and decrement by 100 to work: But the below using XML code did work. So again what am I doing wrong? Thanks, Al.
  16. I am using this version and am having some trouble using the LVAR command mode. For example I could not get the toggle LVAR mode below to work, but when I used Calculator code it did work. I also noticed in LVAR mode the syntax checker did not like having a space in the LVAR name. Am I doing something wrong as far as the LVAR mode goes? Thanks, Al
  17. ark1320

    Keysend

    Very strange. Some ideas: Did you make any changes -- new app, new hardware, or new addon in the Community folder that may be in conflict with FSUIPC7? Kind of sounds like your system suddenly thinks FSUIPC7 is NOT registered for some reason. Does your FSUIPC7.ini file show your registered version #? If you haven't tried it, maybe worth trying a FSUIPC7 reinstall? Al
  18. Seems to be a Windows file handling error of some kind (e.g., maybe couldn't find or open the sound file): https://learn.microsoft.com/en-us/windows/win32/api/mmiscapi/nf-mmiscapi-mmioopen Is the install of FSUIPC7 and the sound file both on the F drive? Al
  19. Any chance sound.path("F:\\FSUIPC") should be sound.path("F:\\FSUIPC7") ?
  20. I always put the sound.path instruction at the top of my scripts as part of the general script setup rather than just before the soundlplay call. Wonder if in this script a small delay is needed between the sound.path and sound.play instructions? Al
  21. Suggest you create a test Lua script with just the call to the wav file and see if that works, e.g.: sound.path("F:\\FSUIPC") sound.play("bong",2) ipc.sleep(2000) Al
  22. While waiting for John's help, here's a few things you could try if you haven't: - In the Lua script, add in some additional sound.play("bong.wav",x) lines (separated with delays) but all with different sound device #s ( none, 1, 3, 4 etc) "just in case" to see if one of them works. - Put a copy of the sound file in the same location as your Lua script, adjust the sound path accordingly, and see if that works (I'm assuming that won't be the F drive). - If you double click the wave file, an app should open and play it -- does that work? In other words, are you sure the wav file is good? - If your Lua script calls different functions, etc, make sure the sound code part of the script is actually being executed. You could make a separate Lua script just with a sound path, sound play and delay instructions and see if that works. - try a different wav file. Al
  23. No, rephrase it for what purpose at this point? It was just a beginner's mistake and maybe seeing that will help someone else. I'm brand new to both Stream Deck and Pilot's Deck, and as a start for a couple of days had been assigning "hot keys" to buttons using the standard Stream Deck capability. So that was my first thought with Pilot's Deck. As I learn more both about Stream Deck and Pilot's Deck I get a little "smarter" in how to use them. 😉
  24. OK, I understand. I'm familiar with sim XML coding, so I used calculator code with a simple button to either toggle autopilot Approach (short press) or BC (long press) on and off. Thanks, Al
  25. Seems if you just keep typing and ignore the location of the Ckeck-Symbols it works, so all good. I'd like to assign a key (or key combination) to a Stream Deck + button, but don't see how to do that. This would allow executing a default MSFS key control binding with a Stream Deck + button. I could certainly do this using the standard Stream Deck "Hotkey" assignment, but wanted to take advantage of Pilot's Deck capability to send a second keystroke using the long press option. If I can't send a keystroke directly using Pilot's Deck, I could use tiny Lua scripts to send the keycodes and then use Pilot's Deck to call the scripts, but that's seems like a cumbersome solution. Thanks, Al
×
×
  • 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.