
John Dowson
Members-
Posts
13,683 -
Joined
-
Last visited
-
Days Won
288
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by John Dowson
-
The lua is not being started as you are using an unregistered version of FSUIPC7. As I said, you need a licensed version of FSUIPC7 to run a lua script. All FSUIPC-specific lua sciri[ts generated by chatgpt are useless and full of errors, and this one is no exception. You can use ChapGPT for non-fsuipc specific lua scripts (e.g. string manipulation, etc), but not for using the FSUIPC-specific library. There are many things wrong with that script. Just a few: - you cannot write to pmdg-specific offsets (0x64F0 & 0x64F4). And those offsets are for the wiper states - why would you even want to set them every time you send a control? - ipc_display does not work in FSUIPC7. You need to use the Wnd library for display in a window - there is no such control number as 0x11223344 - all the parameter values are incorrect. I haven't checked to the control numbers, but I doubt they are correct. Please don't use chatGPT for liua scripts. If you do, please dopn't send them to me for correction. If you want to use Lua, you should learn how to use it. There are many examples available to get you started. John
-
Not doing too bad, thanks. And yes, I try to remain hopeful, but seems to get harder by the day...!
-
You need a registered version of FSUIPC7 to use lua. Lua scripts are recognized (and added to the [LuaFiles] section of the FSUIPC7.ini file) when placed in the FSUIPC7 installation folder. However, you can use/set the LuaPath ini parameter (which goes under [LuaFiles] section) if you want to use a different location (you can specify a relative or full path to a folder). Note also that lua scripts never appear under the add-ons menu. You activate/start lua scripts in one of two ways: 1. via assignments, such as on a key or button press 2. by having them auto-started, either via the ipcReady.lua or the [Auto] (or a profile-specific [Auto.xxx] section). Please see the provided documentation. John
-
This was released in version 7.5.2, on 14th February. From the FSUIPC7 Offset status document: Looks like I forgot to add this to the changes.txt and history document - sorry about that, I will correct this. John
-
The COM SPACING MODE simvar (held in offsets x0B47 and x0B48) report the spacing mode of the COM radios of the currently loaded aircraft, are read-only and cannot be changed. If they are set to 0, then the COM radios are 25khz (or the simvar/offsets are not being used/set). Do you get 8.33KHz spacing when tuning the radios in the VC, or only 25KHz? If the latter, the only thing you can do is to try to switch out the radios for ones that support 8.33KHz spacing. If they do support 8.33KHz spacing, then it could be that those simvars/offsets are not being used. If that is the case, how are you controlling the frequency - are you using FSUIPC for this? If so, note that offsets 0x034E and 0x3118 are in BCD format and only support 4-digits (leading 1 assumed). To set 8.33KHz spacing, use offsets 0x05C4 and 0x05C8. If using controls/events to set the frequency, you need to use the *_HZ ones. John
-
I can see the issue - the parameter is converted to an integer rather than a floating point value, so 0.5 is converted to 0. I will correct this. I could provide you with a beta version, but I have discovered a very strange issue that I need to fix before I can provide any more updates. For some (unknown) reason, all builds since sometime mid-April have an issue with showing the 'Find Preset' panel, and pressing the 'Find Preset...' button causes FSUIPC7 to CTD. Its a very puzzling issue - no code change and even re-building existing released versions, where there was no issue, now suffer from this problem. It is very puzzling - and worrying.... John
-
Hmm, strange....I will take a look and get back to you.... Unfortunately I had a catastrophic crash on a windows (Insider) update last week and have had to re-install Windows, as well as MSFS, P3D, etc. As well as my development environment. No recent backup unfortunately either (the last one I had was from 2023!). So it may take a few days... John
-
PMDG B737-700: LEDs for A/P P/RST, A/T P/RST, FMC P/RST not working
John Dowson replied to hermann's topic in FSUIPC7 MSFS
This is support for FSUIPC, not Mobiflight - try MobiFlight support (on Discord). John -
You can use a lua script to operate the mouse, but I would not recommend this. You would need to move the mouse cursor to the correct position before sending the click, and the position could change depending on the view. Note that the versions of FSUIPC for P3D and FSX had a mouse macro facility, for sending mouse clicks to specific 'mouse rectangles' defined in the aircraft. However, this facility is not available in FSUPC7 as MSFS does not support this. There are 3 different ways that you can achieve this: 1. Define your own preset to activate all of them (in the myevents.txt file) and use that. Just define the preset to send the calc code of each individual preset. I showed how to do this for the PMDG 777-300ER in another post: Not sure if they work in the 777-200. You can try them - or correct to use the 777-200 light presets if different. 2. Define a macro to send each light preset. Macros can be used to send multiple commands on a single button or key press - see the Advanced User guide for details un using macros. 3. Overload your assignments so that you have multiple preset assignments on the same button. To do this, assign the first preset. Then open the FSUIPC7.ini file and comment out the assignment (add a semi-colon after the '=' sign) and reload the assignments. Then assign the next preset. Then comment that one out. Repeat until you have all the assignments you require, then uncomment out the assignments previously commented out. When doing this, make sure that you edit the FSUIPC7.ini file with the button assignments panel open, and click 'Reload all buttons' when you have saved the changes, to reload the file. John
-
offset Start Valve open PMDG
John Dowson replied to Geferson Alves's topic in FSUIPC Support Pete Dowson Modules
Take a look at the offset mapping document for the PMDG 737 (Offset Mapping for PMDG 737NGX and 737NGXu.pdf) - note that you need to enable data broadcasts in the PMDG to have these offset populated. There is this offset (1-byte each, for each engine): or maybe this one: The current position of this switch is also held in offset 0x64FC: John -
You dont have to buy again - all upgrades are free. You just need to download and install the latest version. John
-
Not sure. There have been previous reports of loss of power in PMDG aircraft, but I think these were during climb (and I think for the 737). This issue was identified as being caused by either flaps or spoilers configuration/calibration in FSUIPC, which sometimes doesn't pay well with FSUIPC unless configured correctly. See But as this only occurs with one variant, I doubt this is the issue. Not sure what to advise. You could maybe try logging the throttle lever position offset, the auto-throttle arm offset and maybe the engine N1/N2 values to see if that reveals anything. You can also attach your FSUIPC7.ini file here and I will check it to see if anything stands out, but I can't think of anything in FSUIPC which would cause such issues. John
-
You files still show you are using an old unsupported version of FSUIPC7. please download and install the latest and only supported version. Your log file also shows that FSUIPC7 connected to MSFS. Sowhat exactly is your issue? If FSUIPC7 is not auto-starting, please see John
-
Distributing FSUIPC client library for Rust
John Dowson replied to chpmerlin's topic in FSUIPC7 MSFS
No problem - permission granted (well, not even needed really!). You could also add it to the User Contribution section if you like, and/or I could include it in the FSUIPC SDK download. Let me know. Regards, John -
Please use the FSUIPC7 support sub-forum for all issues/questions on FSUIPC7 with MSFS2020 and MSFS2024. I have moved your post. Why are you attaching an installation log from win10 if your issue is with win11? That log file also shows you installed version 7.3.6. That is quite out of date - the latest version is 7.5.3. Please download and install that if you have not already. Only the latest vertsion is supported. What exactly is your issue? The title says that FSUIPC is not connecting - if that is the case, then FSUIPC will do nothing. I do not know what a MiniPanel or a MSFSPopup panel is, or what they have to do with FSUIPC. First, install the latest version of FSUIPC7. Run MSFS and let FSUIPC7 auto-start, and wait for MSFS to arrive at the main menu. Does FSUIPC7 connect? If not, you probably need to manually tune the auto-start parameters - this is described in the Advanced User guide, and also in the following FAQ entry: You can also try exiting FSUIPC7 and then starting it manually - does it then connect? Do you have assignments in FSUIPC? If so, your device GUIDs may have changed with the upgrade from windows 10 to 11, and your assignments may no longer be valid. If this is the case, please attach your FSUIPC7.log and FSUIPC7.ini files and I will take a look. John.
-
Ok, but this may take a while...I have other series issues I need to look into, besides rebuilding my PC, before I can look into any further changes to FSUIPC7. John
-
No, but I could add such a function. So there is no real issue - just ignore the message! Sounds like overkill - a lot of work for no real benefit.
-
@Reco I see you posted over on Avsim for the dodsim *.evt used in the P3D version. Does this also work in the FSX version? If so, maybe you could attach it here for other dodsim users who come across this post. Cheers, John
-
Does the lua continue or exit with that error? No. Input Events, like lvars, are aircraft specific. However, input event names may be shared between aircraft (although they will be different Input Events, and maybe with different values. That is what you have to do... If you want to use the same script with multiple aircraft, different Input Events, then just check the aircraft name (offset 0x3D00) and then use/set the name of the appropriate Input Event to use. You can always have a default Input Event to use if the aircraft is not known by the lua script, but if that doesn't work then you would have to edit the lua to add another condition to set the Input Event name for the new aircraft. Note I have had a severe crash on my development PC (after a Windows Insider Upgrade) and I currently have no access to the FSUIPC source or development environment. Therefore support will be limited for the next week or two while I rebuild my systems. John
-
FSUIPC7 7.5.3 Crashes the Sim FS2024 SU3 beta 1.5.10.0
John Dowson replied to Dutch60's topic in FSUIPC7 MSFS
These errors are due to the fact that MSFS has crashed and is no longer available. As I keep telling you, there is nothing wrong with FSUIPC7. This needs to be fixed by Asobo. -
FSUIPC7 7.5.3 Crashes the Sim FS2024 SU3 beta 1.5.10.0
John Dowson replied to Dutch60's topic in FSUIPC7 MSFS
You could maybe try removing the FSUIPC WASM from your community folder. You won't have access to lvars or presets, but that would test if its the WASM thats the issue, not FSUIPC7 itself. There was a report/comment on that link I posted that said this fixed the issue. -
FSUIPC7 7.5.3 Crashes the Sim FS2024 SU3 beta 1.5.10.0
John Dowson replied to Dutch60's topic in FSUIPC7 MSFS
There is nothing wrong with FSUIPC and there is no fix, unless SimConnect is no longer backwards-compatible (which I very much doubt!). This needs to be fixed by Asobo. This has happened on previously beta releases and is usually fixed in a subsequent beta update. As I said, there is no way I can fix or investigate a sim CTD, only report this to Asobo. -
FSUIPC7 7.5.3 Crashes the Sim FS2024 SU3 beta 1.5.10.0
John Dowson replied to Dutch60's topic in FSUIPC7 MSFS
...and are you sure this is related to FSUIPC7? i.e. does it run normally without FSUIPC7 running? There are lots of reports of CTDs in this beta version - see https://forums.flightsimulator.com/t/ctd-loading-into-1-5-10-0/727551 And I cannot investigate MSFS crashes - you need to report to Asobo. Even if the SimConnect API has changed, it should be backwards-compatible, so I am confident, even if this issue is provoked by FSUIPC7, it is an issue for Asobo and must be fixed by them. John -
FSUIPC7 7.5.3 Crashes the Sim FS2024 SU3 beta 1.5.10.0
John Dowson replied to Dutch60's topic in FSUIPC7 MSFS
As this is in the beta, you should wait for a fix in the beta. FSUIPC7 is an external app and in no way should it crash the FS. Maybe check the Asobo beta forums to see if anything has been reported there regarding simconnect apps. I have had a severe crash on my development PC during a windows update and cannot look into anything at the moment until I have repaired this. John -
As long as windows recognises the card as an HID joystick type device, and revognises the buttons, then FSUIPC will see them. I have no direct experience with such cards, but many people use them with FSUIPC so I don't think it will be an issue. John