Jump to content

FSE SimConnect Client crashes


Recommended Posts

I'm assuming you're already aware of FlightSim Economy and what it is so I'll skip that.

Basically I wanted to try the An-225 with FSE using their SimConnect client. FSE doesn't have a 225 available to fly and the next biggest thing is a 747. So I did what we do all the time in FSE, I downloaded these liveries for the 225 and edited the "title" field in "aircraft.cfg" to match one of the recognized 747 aliases in FSE's database.

FSE SimConnect recognized the plane normally, it detects the state of the parking brake, wheels, location, etc all normally.

But when I hit "Start Flight" in the client and the client tries to set the fuel and payload to match the job I've taken it throws an IndexOutOfRangeException and all I can do is quit.

Is this because the aircraft.cfg file included with the livery is basically just a skeleton? Hard to know because we can't see the real one since this is a Marketplace addon.

Anyway I would appreciate it if you could look into this and at least help me determine where the problem is. Thanks.


Steps to Reproduce

  1. Assuming you already have an FSE game world account... Otherwise you will need to register for one.
  2. Download these liveries: https://flightsim.to/file/51022/antonov-an-225-cccp-82060-1989-livery
  3. Drop either one of them into your Community Packages folder
  4. Edit the "aircraft.cfg" file for the livery as I have done in the attached image
    1. Set title="Boeing 747 FSE"
  5. Launch MSFS
  6. Launch the FSE SimConnect client
  7. In FSE, find an airport which has a 747-400 and take an "All In Reserved" job that matches the registration number of the 747 at that airport.
    1. Add it to your flight
  8. Start a flight in the An-225 using the edited livery at the starting airport for the job you just took
  9. FSE SimConnect should show that you are in a 747-400 and at the right location.
  10. Click Action -> Start Flight

Result: It throws this error.


Anyway, thanks for taking a look.



Full error text:

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at FSEconomy.Flight.ReceiveData(SimConnect sender, SIMCONNECT_RECV_SIMOBJECT_DATA data)
   at FSEconomy.StateManager.onRecvSimobjectData(SimConnect sender, SIMCONNECT_RECV_SIMOBJECT_DATA data)
   at Microsoft.FlightSimulator.SimConnect.SimConnect.raise_OnRecvSimobjectData(SimConnect value0, SIMCONNECT_RECV_SIMOBJECT_DATA value1)
   at Microsoft.FlightSimulator.SimConnect.SimConnect.OnReceiveMessage(SIMCONNECT_RECV pData, UInt32 cbData)
   at Microsoft.FlightSimulator.SimConnect.CSignalProcDelegateMarshaler.CallSignalProc(SIMCONNECT_RECV* pData, UInt32 cbData, Void* pContext)
   at SimConnect_CallDispatch(Void* , IntPtr , Void* )
   at Microsoft.FlightSimulator.SimConnect.SimConnect.ReceiveDispatch(SignalProcDelegate pfcnSignal)
   at Microsoft.FlightSimulator.SimConnect.SimConnect.ReceiveMessage()
   at FSEconomy.Main.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
    Assembly Version:
    Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    Assembly Version:
    Win32 Version: 4.8.4536.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Users/Username/AppData/Local/Apps/2.0/WEVQJBM4.9HZ/R8R8R4NM.ZYG/fsec..tion_219be5b309124a3f_0001.0003_f920816d268db011/FSEconomy.exe
    Assembly Version:
    Win32 Version: 4.8.4550.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    Assembly Version:
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    Assembly Version:
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    Assembly Version:
    Win32 Version: 4.8.4590.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    Assembly Version:
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Assembly Version:
    Win32 Version: 4.8.4494.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    Assembly Version: 10.0.61242.0
    Win32 Version: 10.0.61355.0 (fsx-sp1.20070510-2038)
    CodeBase: file:///C:/Windows/assembly/GAC_32/Microsoft.FlightSimulator.SimConnect/10.0.61242.0__31bf3856ad364e35/Microsoft.FlightSimulator.SimConnect.dll
    Assembly Version: 8.0.50727.9672
    Win32 Version: 8.00.50727.9672
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.9672_none_d08f9da24428a513/msvcm80.dll


FSE SimConnect An-225.PNG


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...