Most of the commonly reported issues and questions are answered in the Frequently Asked Questions (FAQ) option under the Support menu of this website.
*** PLEASE NOTE ***
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
1st December: A new version of the GoFlight Interface Tool for MSFS is now available.
12th November: A new version of the GoFlight Interface Tool for X-Plane is now available.
6th June: A new version of Virtual Flight Sim Hardware is now available (huge update)
21st November: A new version of the GoFlight Interface Tool for FSX/FSXSE/P3D is now available.
CTD after Edit of Switch statement
Hi Steve,
To replicate:
1. Bring up Detective
2. Create a bespoke using a Switch, Case, EndSwitch (2 cases)
3. Copy current Bespoke
4. Edit Switch line, new Switch line is created based on the current Lvar (not sure if this was intended, expected to just change the Lvar reference in the Switch statement)?
5. Search for existing Lvars
6. Set to a value
7. Hit Check ... this is where I got the CTD
Application: GoFlight Interface Tool P3Dv4.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at DynamicClass.(System.Object)
at A..(System.Object)
at A.A.App_DispatcherUnhandledException(System.Object, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs)
at System.Windows.Threading.Dispatcher.CatchException(System.Exception)
at System.Windows.Threading.Dispatcher.CatchExceptionStatic(System.Object, System.Exception)
at System.Windows.Threading.ExceptionWrapper.CatchException(System.Object, System.Exception, System.Delegate)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run(System.Windows.Window)
at DynamicClass.(System.Object)
at A.
.(System.Object)
at A.A.I()
In addition, I noticed that a bespoke rename caused a duplication in the list when assigning to ON in my RP48B. And the list didn't sort correctly with some of my "_" (underscore) at the top (correct) and some "_" at the end of the list (not correct). My expectation was that the list would be updated and sorted whever a new bespoke is added. This is with 3.4.8.0 GIT for P3DV4.
Cheers, Rob.
To replicate:
1. Bring up Detective
2. Create a bespoke using a Switch, Case, EndSwitch (2 cases)
3. Copy current Bespoke
4. Edit Switch line, new Switch line is created based on the current Lvar (not sure if this was intended, expected to just change the Lvar reference in the Switch statement)?
5. Search for existing Lvars
6. Set to a value
7. Hit Check ... this is where I got the CTD
Application: GoFlight Interface Tool P3Dv4.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at DynamicClass.(System.Object)
at A..(System.Object)
at A.A.App_DispatcherUnhandledException(System.Object, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs)
at System.Windows.Threading.Dispatcher.CatchException(System.Exception)
at System.Windows.Threading.Dispatcher.CatchExceptionStatic(System.Object, System.Exception)
at System.Windows.Threading.ExceptionWrapper.CatchException(System.Object, System.Exception, System.Delegate)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run(System.Windows.Window)
at DynamicClass.(System.Object)
at A.
.(System.Object)
at A.A.I()
In addition, I noticed that a bespoke rename caused a duplication in the list when assigning to ON in my RP48B. And the list didn't sort correctly with some of my "_" (underscore) at the top (correct) and some "_" at the end of the list (not correct). My expectation was that the list would be updated and sorted whever a new bespoke is added. This is with 3.4.8.0 GIT for P3DV4.
Cheers, Rob.
Comments
I have tracked down and fixed the CTD / duplicate Switch task issue. I'm looking at the other issues before getting a new release out.
Best wishes
Steve
Cheers, Rob.
New version is up. I have done nothing on the renaming problem as I couldn't re-create the issue.
Best wishes
Steve
I'll see if I can be more accurate with steps to replicate renaming issue, actually think it's just a "refresh" on the actual button/control dropdowns (i.e. P8, T8, etc.) after a rename is performed in Detective (I see duplicate entries at the bottom of the list). Detective shows the rename correctly in it's dropdown (no duplicate).
A video might be the best approach showing you what happens.
Cheers, Rob.
Best wishes
Steve
Testing out 3.4.9.0 ... when I add a Bespoke, type in name (i.e. _DHC3_LIGHTS_INSTRUMENT_ON) and click on the Check button I get a CTD with the following error in the Event Log:
Application: GoFlight Interface Tool P3Dv4.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at DynamicClass.(System.Object)
at A..
(System.Object)
at A.O.App_DispatcherUnhandledException(System.Object, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs)
at System.Windows.Threading.Dispatcher.CatchException(System.Exception)
at System.Windows.Threading.Dispatcher.CatchExceptionStatic(System.Object, System.Exception)
at System.Windows.Threading.ExceptionWrapper.CatchException(System.Object, System.Exception, System.Delegate)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run(System.Windows.Window)
at DynamicClass.(System.Object)
at A..
(System.Object)
at A.O.G()
Here is a video (unlisted) of the CTD:
Cheers, Rob.
It was the new sorting code causing the problem so I have removed it and released a new version. I'll take another look at the sort issue next week.
Best wishes
Steve
Will try 3.4.10.0 tonight.
Cheers, Rob.
Best wishes
Steve
Cheers, Rob.
Really like those new views and the ability just right click to hide and left double click to set the Lvar ... my workflow is so much more efficient now.
One quick question, when I export modules and/or bespoke to file, it always defaults to Document folder, is there any way to define the folder to default the saving of export files?
Cheers, Rob.
Best wishes
Steve
Cheers, Rob.