
John Dowson
Members-
Posts
13,117 -
Joined
-
Last visited
-
Days Won
269
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by John Dowson
-
Mobiflight Encoder Lua Scripts slow
John Dowson replied to level7's topic in FSUIPC Support Pete Dowson Modules
I would need to see the complete lua script to advise. But for performance issues, make sure the lua is always running, i.e. it uses the event library and is not compiled and started each time on a button/key press. Also, to improve lua performance, you should consider setting the LuaAffinityMask ini parameter to move the lua execution threads off of core 0/1. This goes in the [General] section and is a mask of the cores to use - if you are not sure what value to use, you can use this web page to calculate it for you: https://bitsum.com/tools/cpu-affinity-calculator/. For example, I have 6 physical cores, but really 12 as I have hyper-threading (HT) active. To move lua threads off of core 0/1, and use 2-11, I would set LuaAffinityMask=xFFC For rotary encoders that only have one button in each direction, you can also consider using a lua script that gives both fast and slow virtual buttons in each direction, so that you can assign larger inc/dec values on a fast virtual button. Such a script is provided in the example lua plugins. John -
Run-time error 9 : Subscript out of range
John Dowson replied to Jim Supersym's topic in FSUIPC7 MSFS
I don't expect you to tell me what to do! I need to see your log files....and also attach your FSUIPC7.ini file. -
Run-time error 9 : Subscript out of range
John Dowson replied to Jim Supersym's topic in FSUIPC7 MSFS
If its working on one PC but not on another, then I would have thought that this implies there is some difference between the PCs that needs to be looked at, not with the software itself... -
I have rebuild this now with VS2022 and it will be updated in the next release. John
-
Run-time error 9 : Subscript out of range
John Dowson replied to Jim Supersym's topic in FSUIPC7 MSFS
Is it working when running as admin or not? You said it was but later 'in fact doesn't work...' - why did you think it was initially working? There are no changes from 7.4.18 that should affect add-ons really, except for the change in offset 0x3308 which is what that latest beta version is addressing. Can you activate logging for IPC Reads and IPC Writes and show me the FSUIPC7.log file from both versions and I will take a look. Try and keep the logs as short as possible, i.e. start your software and when it fails or connects, exit FSUIPC7 and attach the logs here. Also any log files from the G-Step software showing the error may be useful. Ok. John -
No - that parameter was added in FSUIPC5 and is not available in earlier versions of FSUIPC. John
-
Run-time error 9 : Subscript out of range
John Dowson replied to Jim Supersym's topic in FSUIPC7 MSFS
Presume you mean 7.4.18... id you show me the logs from both versions I can take a quick look to see if there are any issues. But if you want me to help you, you have to answer my questions: ? If you do not want notification when a new version is available, you can set: OpenOnStart=Never See the Advanced User guide for details. John -
Run-time error 9 : Subscript out of range
John Dowson replied to Jim Supersym's topic in FSUIPC7 MSFS
Are you using the 7.5.1a version, and did you add Init3308=13 to the [General] section of your FSUIPC7.ini file? But if its the G-Step software that isn't working, you should contact their support. I cannot help with that. John -
Run-time error 9 : Subscript out of range
John Dowson replied to Jim Supersym's topic in FSUIPC7 MSFS
Then the G-Step software must be running as admin. All client applications must run at the same privilege level as FSUIPC. -
There is no point adding that line again if its already there, and that is to dix a specific problem - to fix issues with 3rd-party programs that are expecting a value in that offset even when FSUIPC is not connected to the FS (i.e. basically for software not yet updated for MSFS2024). If you get any issues with a new release, you should always raise a new support topic. John
-
Run-time error 9 : Subscript out of range
John Dowson replied to Jim Supersym's topic in FSUIPC7 MSFS
No, no idea - have you tried support from G-Step? There is a change in 7.5.0 that could affect 3rd party software. If such software is reading the FS version at offset 0x3308, then this offset is no longer populated until FSUIPC has connected to the FS, whereas in previous versions this offset was initialised to 13 (the value for MSFS2020). There is a new version available that has a fix for this, available in this post: John -
No, this isn't possible, sorry. I tried this previously and it caused a lot is issues as many 3rd party FSUIPC apps also use that link which I have no control over. I understand that there is an issue with browsers caching the download, which is why its better to download from fsuipc.com (which has no-cache directives) rather than the download links in this forum. I have no idea why this would happen - you should raise a support issue for this. John
-
EDDS Stuttgart Feelthere night view missing
John Dowson replied to Gerhard Lutz's topic in FSUIPC Support Pete Dowson Modules
This is support for FSUIPC, not FeelThere. For FeelThere support, see https://feelthere.com/contact-us-support/ John -
👍😎
-
Can you try the attached version please to see if this helps. For this version, please add the following to the [General] section of your FSUIPC7.ini file: Init3308=13 You can use the value 14 if using MSFS2024, but if using software not updated for MSFS2024 best to stick to 13 regardless of the version of MSFS being used. The value will be updated/overwritten with the correct version anyway once FSUIPC7 connects to MSFS. This will initialize offset 0x3308 to that value (to whatever value is given) on start-up. This should then mimic the behavior in 7.4.18. John FSUIPC7.exe
-
Fenix a320 Predictive windshear switch assignment
John Dowson replied to shahie72's topic in FSUIPC7 MSFS
Yes it is (or button assignments)....you don't need MobiFlight or anything else for this (you can still use MobiFlight if needed). Why don't you just try it? If you don't know how to use FSUIPC, please consult the manuals provided before asking questions here... -
Fenix a320 Predictive windshear switch assignment
John Dowson replied to shahie72's topic in FSUIPC7 MSFS
To assign to a preset, just check the Select for Preset checkbox in the assignments panel. Then check Find Preset... and navigate to the preset you want to use and select it. John -
Fenix a320 Predictive windshear switch assignment
John Dowson replied to shahie72's topic in FSUIPC7 MSFS
You can also try logging to see if any event or input event is logged when you operate the switch in the VC. Best to try this with the logging console open (Log->Open Console) and with logging for Events and Input Events activated. You can also try listing the available lvars (Add-ons->WASM->List Lvars) to see if any of those look applicable and if so try those. John -
Presumably this is because offset 0x3308 is now only populated after FSUIPC has established a connection with the sim whereas previously it was populated on start-up (as it only ever used to connect t0 MSFS2020). This is most probably due to the same reason. Does it connect if you start the software after FSUIPC has connected to MSFS (when offset 0x3308 is populated)? Have you checked with the software provider to see if an update will be provided for MSFS2024? Also can you please always exit FSUIPC7 before attaching any log files.
-
Fenix a320 Predictive windshear switch assignment
John Dowson replied to shahie72's topic in FSUIPC7 MSFS
I don't see any preset available for this. You can ask the guys over on MobiFlight discord server (MSFS2020 channel) if they can help with a preset for this, or take a look yourself at the switch behavior (using the MSFS development tools provided) - see https://www.badcasserole.com/uncovering-input-events-using-the-msfs2020-model-behavior-dialog/ I don't have the Fenix so cannot look into this, sorry. John -
FSUIPC should always exit cleanly really, and if not you should report and show me your log file. Please activate logging for Extras, and attach a your log file if it is not closing properly. But if its not in the task manager, its not running.... FSUIPC creates a named mutex when started and removes this when exited. It could be that the mutex is not being destroyed for some reason, which will give you the message "There is a copy of FSUIPC7 already running. This process will now exit." if trying to start it again. There is also no point in posting about any issues if you are not attaching the files so that I can investigate. I may require additional logging and more files, but it is always a good idea to attach at least your FSUIPC7.log file when you have a problem which at least gives me some basic information that I can use.... There is one known issue that can cause shutdown issues, which is when running lua files that have a com connection, but there are also known ways to handle this. John
-
Then it is EFB2 that needs updating. EFB2 is probably checking offset 0x3308 (or maybe offset 0x3124) for the simulator version. Previously that held 13 for MSFS2020 and was populated on FSUIPC7 start-up. Now it holds 13 for MSFS2020 and 14 for MSFS2024 and is only populated once connected to MSFS. You should check for an update to that for MSFS2024. John
-
Thats interesting, thanks. I was going to report this week but I will now wait for the update. I will just add a comment to that for the time being. Cheers, John
-
@LukaszMusiol Please try the attached version, 7.5.1a (beta). In this version I have added an additional control "Rescan Connected Controllers" (1157). John FSUIPC7.exe