Thanks for the library download. Now GDE works fine when running in debug mode, but PC Player gives me the following .net error when I try to play a built project: I've looked in the path, and that controller.dat file is definitely there. Looking at the error, though, it looks like the game isn't adding a backslash after the directory path. It should be looking for "Game\Controller.dat" not "GameController.dat".
In another note, I really think the combo box in the GDE's condition begin action for selecting the type of variable should fully say "Local", "Global", etc, rather than the current "L", "G", etc. While these shorthand forms may make sense to the developer of the package or someone whose an old hand with it, it will confuse new people learning the system.
************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'D:\Apps\Sonus\PCP\GameController.dat'.
File name: 'D:\Apps\Sonus\PCP\GameController.dat'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.OpenRead(String path)
at Sonus_PCP.Debug_GlobalFunctions.LoadGameObject(String ObjectDirectory, Int32 ID) in c:\Users\Aaron\Documents\Visual Studio 2015\Projects\Sonus PCP\Sonus PCP\Debug_GlobalFunctions.cs:line 226
at Sonus_PCP.Form_DebugMode.StartGame() in c:\Users\Aaron\Documents\Visual Studio 2015\Projects\Sonus PCP\Sonus PCP\Form_DebugMode.cs:line 638
at Sonus_PCP.Form_DebugMode.button2_Click(Object sender, EventArgs e) in c:\Users\Aaron\Documents\Visual Studio 2015\Projects\Sonus PCP\Sonus PCP\Form_DebugMode.cs:line 923
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.ButtonBase.OnKeyUp(KeyEventArgs kevent)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
Kai
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Sonus PCP
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Apps/Sonus/PCP/Sonus%20PCP.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3353.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Renci.SshNet
Assembly Version: 2016.1.0.0
Win32 Version: 2016.1.0
CodeBase: file:///D:/Apps/Sonus/PCP/Renci.SshNet.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
NAudio
Assembly Version: 1.8.5.0
Win32 Version: 1.8.5.0
CodeBase: file:///D:/Apps/Sonus/PCP/NAudio.DLL
----------------------------------------
OpenTK
Assembly Version: 3.0.1.0
Win32 Version: 3.0.1
CodeBase: file:///D:/Apps/Sonus/PCP/OpenTK.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Spill chuck you spots!