Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MSFS Auto FPS App

Featured Replies

Maybe this will help, here's an excerpt from the log

2024-09-27 23:23:33.162 [INF] [ App:InitLog                      ] MSFS2020_AutoFPS v0.4.3.0 started! Log Level: Debug Log File: ..\log\MSFS2020_AutoFPS.log 
2024-09-27 23:23:33.163 [INF] [ App:InitSystray                  ] Creating SysTray Icon ... 
2024-09-27 23:23:33.258 [INF] [ ServiceController:Run            ] Service starting ... 
2024-09-27 23:23:33.262 [INF] [ IPCManager:WaitForSimulator      ] Simulator started 
2024-09-27 23:23:33.278 [INF] [ MobiSimConnect:Connect           ] SimConnect Connection open 
2024-09-27 23:23:33.278 [INF] [ IPCManager:WaitForConnection     ] Connection not established - waiting 30s between Retries 
2024-09-27 23:27:31.026 [INF] [ MobiSimConnect:SimConnect_OnOpen ] SimConnect OnOpen received 
2024-09-27 23:27:33.762 [DBG] [ MobiSimConnect:SimConnect_Receiv ] Sending Ping to MobiFlight WASM Module 
2024-09-27 23:27:36.498 [ERR] [ MobiSimConnect:SimConnect_OnExce ] Exception received: (Exception: 31) 
2024-09-27 23:27:36.498 [ERR] [ MobiSimConnect:SimConnect_OnExce ] Exception received: (Exception: 31) 

After that its just a continuous cycle of ping and exception 31 returns

Kevin Firth - AMD 9800X3D; Asus Prime X670E; 64Gb Cas30 6000 DDR5; RTX5090; AutoFPS

  • Replies 4.3k
  • Views 702.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Developing this app has reignited a joy of coding I haven't experienced for many years. I benefit from the app too, so there is a bit of self interest going on. Also, yours, and others, feedback has h

  • Reset XPDR
    Reset XPDR

    Following no major issues being identified in the test phase that haven't already been resolved, I have just formally released MSFS_AutoFPS v0.4.2.16 here. Thank you to everyone who participated in th

  • Ray Proudfoot
    Ray Proudfoot

    Are you aware this is how FSUIPC was created many years ago? It takes a very clever person to disassemble a executable and analyse the contents. The original UIPC was created by Adam Zofran and then P

Posted Images

Duplicate post

Edited by kevinfirth

Kevin Firth - AMD 9800X3D; Asus Prime X670E; 64Gb Cas30 6000 DDR5; RTX5090; AutoFPS

Also tried running the .net repair tool, no problems found.

Kevin Firth - AMD 9800X3D; Asus Prime X670E; 64Gb Cas30 6000 DDR5; RTX5090; AutoFPS

  • Author
6 hours ago, kevinfirth said:

Maybe this will help, here's an excerpt from the log

2024-09-27 23:23:33.162 [INF] [ App:InitLog                      ] MSFS2020_AutoFPS v0.4.3.0 started! Log Level: Debug Log File: ..\log\MSFS2020_AutoFPS.log 
2024-09-27 23:23:33.163 [INF] [ App:InitSystray                  ] Creating SysTray Icon ... 
2024-09-27 23:23:33.258 [INF] [ ServiceController:Run            ] Service starting ... 
2024-09-27 23:23:33.262 [INF] [ IPCManager:WaitForSimulator      ] Simulator started 
2024-09-27 23:23:33.278 [INF] [ MobiSimConnect:Connect           ] SimConnect Connection open 
2024-09-27 23:23:33.278 [INF] [ IPCManager:WaitForConnection     ] Connection not established - waiting 30s between Retries 
2024-09-27 23:27:31.026 [INF] [ MobiSimConnect:SimConnect_OnOpen ] SimConnect OnOpen received 
2024-09-27 23:27:33.762 [DBG] [ MobiSimConnect:SimConnect_Receiv ] Sending Ping to MobiFlight WASM Module 
2024-09-27 23:27:36.498 [ERR] [ MobiSimConnect:SimConnect_OnExce ] Exception received: (Exception: 31) 
2024-09-27 23:27:36.498 [ERR] [ MobiSimConnect:SimConnect_OnExce ] Exception received: (Exception: 31) 

After that its just a continuous cycle of ping and exception 31 returns

Looking into it now. That's useful thanks.

FYI, Exception 31, which doesn't currently make sense to me, is:

SIMCONNECT_EXCEPTION_OUT_OF_BOUNDS
Specifies that the radius given in the SimConnect_RequestDataOnSimObjectType was outside the
acceptable range, or with an invalid request to SimConnect_CreateClientData

I know you and @Cpt_Pietttried a lot of things but you didn't say you specifically tried this:

10 hours ago, Reset XPDR said:

Maybe try moving that folder out of your Community folder temporarily, run the AutoFPS installer for the last version that worked and it should install the older version of Mobiflight into your community folder, then see if AutoFPS now works again.

Did you try this? If not, can you give it a go.

Edit: Dr Google comes up with some information on Exception 31 from another app made by Fragtality, the descendant developer of DynamicLOD and hence AutoFPS, where he says:

Does not Connect / Exception 31

The MobiFlight WASM Module is not installed correctly or at all:

  • Check if you have a Folder called mobiflight-event-module in your Community-Folder. In it there must be a File called layout.json (amongst other Files and Folders)

  • To download it manually: Go to Releases and download the File mobiflight-event-module-x.y.z.zip (under Assets)

  • Extract it to your Community-Folder (so that the Path to the layout.json File is Community\mobiflight-event-module\layout.json)

This is further evidence it is a Mobiflight issue.

When looking at my Mobiflight installation for my MSFS Steam version, I have found that not only is there a mobiflight-event-module module in my Community folder, but there is also a worker folder higher up under packages, which contains some sort of cache file that could be corrupt and causing the issue.

I'm not exactly sure where this folder would be located with an MS store MSFS version but on mine it is under the Packages folder, so it should be one level higher than your Community folder ie.: F:\WpSystem\S-1-5-21-902830394-464175199-2669763215-1001\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\Packages\

As such, my revised advice is to try moving the folder F:\WpSystem\S-1-5-21-902830394-464175199-2669763215-1001\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\Packages\mobiflight-event-module somewhere else so that is no longer under packages, run MSFS and AutoFPS and see if that has fixed it. Mobiflight should just recreate that mobiflight-event-module folder at the packages level like it would with a fresh install of it.

 

 

Edited by Reset XPDR

9800X3D | 4090 | 64GB | 2+1TB NVME | 2TB SSD | 2TB HDD | 85/50/43” TVs | Quest 3 | DOF H3 Motion Rig | Buttkicker | T.16000M Flight Kit

MSFS @ 4K Ultra DLSS Performance FG 80 FPS |  VR VDXR Godlike 80Hz SSW | MSFS VR DLSS Quality, Ultra Preset - Windows 11

Acer Nitro 5 | i5-11400H | RTX 3060 6 GB | 32GB DDR4 | 15.6" FHD IPS 144Hz | 2 x 512 GB SSD | Windows 11

56 minutes ago, Reset XPDR said:

Looking into it now. That's useful thanks.

FYI, Exception 31, which doesn't currently make sense to me, is:

SIMCONNECT_EXCEPTION_OUT_OF_BOUNDS
Specifies that the radius given in the SimConnect_RequestDataOnSimObjectType was outside the
acceptable range, or with an invalid request to SimConnect_CreateClientData

I know you and @Cpt_Pietttried a lot of things but you didn't say you specifically tried this:

Did you try this? If not, can you give it a go.

Edit: Dr Google comes up with some information on Exception 31 from another app made by Fragtality, the descendant developer of DynamicLOD and hence AutoFPS, where he says:

Does not Connect / Exception 31

The MobiFlight WASM Module is not installed correctly or at all:

  • Check if you have a Folder called mobiflight-event-module in your Community-Folder. In it there must be a File called layout.json (amongst other Files and Folders)

  • To download it manually: Go to Releases and download the File mobiflight-event-module-x.y.z.zip (under Assets)

  • Extract it to your Community-Folder (so that the Path to the layout.json File is Community\mobiflight-event-module\layout.json)

This is further evidence it is a Mobiflight issue.

When looking at my Mobiflight installation for my MSFS Steam version, I have found that not only is there a mobiflight-event-module module in my Community folder, but there is also a worker folder higher up under packages, which contains some sort of cache file that could be corrupt and causing the issue.

I'm not exactly sure where this folder would be located with an MS store MSFS version but on mine it is under the Packages folder, so it should be one level higher than your Community folder ie.: F:\WpSystem\S-1-5-21-902830394-464175199-2669763215-1001\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\Packages\

As such, my revised advice is to try moving the folder F:\WpSystem\S-1-5-21-902830394-464175199-2669763215-1001\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\Packages\mobiflight-event-module somewhere else so that is no longer under packages, run MSFS and AutoFPS and see if that has fixed it. Mobiflight should just recreate that mobiflight-event-module folder at the packages level like it would with a fresh install of it.

 

 

Went back to installer version: MSFS_AutoFPS-installer-v0.4.2.16.exe

Gave me an "error while extracting Mobiflight Module!"

The MobiFlight WASM Module is not installed correctly or at all:

  • Check if you have a Folder called mobiflight-event-module in your Community-Folder. In it there must be a File called layout.json (amongst other Files and Folders)

  • To download it manually: Go to Releases and download the File mobiflight-event-module-x.y.z.zip (under Assets)

  • Extract it to your Community-Folder (so that the Path to the layout.json File is Community\mobiflight-event-module\layout.json)

This is all done and ok.

I have F:\WpSystem\S-1-5-21-902830394-464175199-2669763215-1001\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\Packages yes

Deleted Mobiflight from there and the community folder.

Reinstalled, get exactly the same error

Edited by kevinfirth

Kevin Firth - AMD 9800X3D; Asus Prime X670E; 64Gb Cas30 6000 DDR5; RTX5090; AutoFPS

  • Author
9 minutes ago, kevinfirth said:

Went back to installer version: MSFS_AutoFPS-installer-v0.4.2.16.exe

Gave me an "error while extracting Mobiflight Module!"

Just to confirm, you weren't running MSFS at the time you ran the AutoFPS installer and you had removed both mobiflight-event-module folders (one under packages and one under community) before running the AutoFPS installer right?

Also, after getting this error message, is mobiflight-event-module now in your Community folder or did it not install it at all?

 

 

9800X3D | 4090 | 64GB | 2+1TB NVME | 2TB SSD | 2TB HDD | 85/50/43” TVs | Quest 3 | DOF H3 Motion Rig | Buttkicker | T.16000M Flight Kit

MSFS @ 4K Ultra DLSS Performance FG 80 FPS |  VR VDXR Godlike 80Hz SSW | MSFS VR DLSS Quality, Ultra Preset - Windows 11

Acer Nitro 5 | i5-11400H | RTX 3060 6 GB | 32GB DDR4 | 15.6" FHD IPS 144Hz | 2 x 512 GB SSD | Windows 11

3 minutes ago, Reset XPDR said:

Just to confirm, you weren't running MSFS at the time you ran the AutoFPS installer and you had removed both mobiflight-event-module folders (one under packages and one under community) before running the AutoFPS installer right?

Also, after getting this error message, is mobiflight-event-module now in your Community folder or did it not install it at all?

 

 

First yes, MSFS not running at install time

Second, module is NOT installed to community folder, or anything to \localcache\packages\

The installer actually doesnt install anything at all.

I am suspecting now from your earlier post that I can manually install the app itself, which does run.  I can install the module in community ok manually.

But I have got no way of installing the content that goes in \localcache\packages\

Edited by kevinfirth

Kevin Firth - AMD 9800X3D; Asus Prime X670E; 64Gb Cas30 6000 DDR5; RTX5090; AutoFPS

  • Author
2 minutes ago, kevinfirth said:

But I have got no way of installing the content that goes in \localcache\packages\

You don't need to install anything there. The folder will be created when you run MSFS.

So after manually installing mobiflight-event-module in your community and running MSFS, is it working now?

 

9800X3D | 4090 | 64GB | 2+1TB NVME | 2TB SSD | 2TB HDD | 85/50/43” TVs | Quest 3 | DOF H3 Motion Rig | Buttkicker | T.16000M Flight Kit

MSFS @ 4K Ultra DLSS Performance FG 80 FPS |  VR VDXR Godlike 80Hz SSW | MSFS VR DLSS Quality, Ultra Preset - Windows 11

Acer Nitro 5 | i5-11400H | RTX 3060 6 GB | 32GB DDR4 | 15.6" FHD IPS 144Hz | 2 x 512 GB SSD | Windows 11

2 minutes ago, Reset XPDR said:

You don't need to install anything there. The folder will be created when you run MSFS.

So after manually installing mobiflight-event-module in your community and running MSFS, is it working now?

No.  Cpt_Piett and I compared file structures for the app itself and the community module folder and they were exactly the same.  So I thought there must be something else the installer does that isn't obvious

Edited by kevinfirth

Kevin Firth - AMD 9800X3D; Asus Prime X670E; 64Gb Cas30 6000 DDR5; RTX5090; AutoFPS

  • Author
Just now, kevinfirth said:

No

Same error message in your log file? Exception 31?

9800X3D | 4090 | 64GB | 2+1TB NVME | 2TB SSD | 2TB HDD | 85/50/43” TVs | Quest 3 | DOF H3 Motion Rig | Buttkicker | T.16000M Flight Kit

MSFS @ 4K Ultra DLSS Performance FG 80 FPS |  VR VDXR Godlike 80Hz SSW | MSFS VR DLSS Quality, Ultra Preset - Windows 11

Acer Nitro 5 | i5-11400H | RTX 3060 6 GB | 32GB DDR4 | 15.6" FHD IPS 144Hz | 2 x 512 GB SSD | Windows 11

just starting sim - feedback in a few mins

Kevin Firth - AMD 9800X3D; Asus Prime X670E; 64Gb Cas30 6000 DDR5; RTX5090; AutoFPS

Just trying to catch up on the discussion and see if I can contribute. 

I checked %localAppData%\packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\packages but there's nothing of interest there. Btw I've got a custom install to D:\MSFS. I have the MS Store version. 

1 hour ago, Reset XPDR said:

As such, my revised advice is to try moving the folder F:\WpSystem\S-1-5-21-902830394-464175199-2669763215-1001\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\Packages\mobiflight-event-module somewhere else so that is no longer under packages, run MSFS and AutoFPS and see if that has fixed it. Mobiflight should just recreate that mobiflight-event-module folder at the packages level like it would with a fresh install of it.

Ah yes, I get it now. Sorry for the confusion. Disregard. 

Edited by Cpt_Piett

7950X3D | RTX 4090 | 64GB DDR5

  • Author

Could be a permissions issue. Do you have full permissions like below for the mobiflight-event-module folder under Community for your logged in user?

image.png?ex=66f9c56b&is=66f873eb&hm=b0c

Edited by Reset XPDR

9800X3D | 4090 | 64GB | 2+1TB NVME | 2TB SSD | 2TB HDD | 85/50/43” TVs | Quest 3 | DOF H3 Motion Rig | Buttkicker | T.16000M Flight Kit

MSFS @ 4K Ultra DLSS Performance FG 80 FPS |  VR VDXR Godlike 80Hz SSW | MSFS VR DLSS Quality, Ultra Preset - Windows 11

Acer Nitro 5 | i5-11400H | RTX 3060 6 GB | 32GB DDR4 | 15.6" FHD IPS 144Hz | 2 x 512 GB SSD | Windows 11

  • Author
16 minutes ago, kevinfirth said:

No.  Cpt_Piett and I compared file structures for the app itself and the community module folder and they were exactly the same.  So I thought there must be something else the installer does that isn't obvious

The installer simply checks your Mobiflight version, downloads the new one if it is not present or older, then unzips and extracts it to your community folder. The fact that it is failing on the extract part, which is tried and true code, and that it won't communicate even when manually installed strongly suggests to me a permissions issue.

Edited by Reset XPDR

9800X3D | 4090 | 64GB | 2+1TB NVME | 2TB SSD | 2TB HDD | 85/50/43” TVs | Quest 3 | DOF H3 Motion Rig | Buttkicker | T.16000M Flight Kit

MSFS @ 4K Ultra DLSS Performance FG 80 FPS |  VR VDXR Godlike 80Hz SSW | MSFS VR DLSS Quality, Ultra Preset - Windows 11

Acer Nitro 5 | i5-11400H | RTX 3060 6 GB | 32GB DDR4 | 15.6" FHD IPS 144Hz | 2 x 512 GB SSD | Windows 11

16 minutes ago, Reset XPDR said:

Could be a permissions issue. Do you have full permissions like below for the mobiflight-event-module folder under Community for your logged in user?

image.png?ex=66f9c56b&is=66f873eb&hm=b0c

I have all the permissions yes

spacer.png

Edited by kevinfirth

Kevin Firth - AMD 9800X3D; Asus Prime X670E; 64Gb Cas30 6000 DDR5; RTX5090; AutoFPS

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.