Tegramon
Posts: 33
Joined: 9/23/2008 Status: offline
|
I tried to use an engineer to construct an airfield which I sorely needed when I got the following error: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at WindowsApplication1.HandyFunctionsclass.HQSupply(Int32 unr) at WindowsApplication1.HandyFunctionsclass.CanConstructLoc(Int32 loctype, Int32 x, Int32 y, Int32 regnr, Int32 unr, Boolean potentialy) at WindowsApplication1.BuildWindowClass.dostuff() at WindowsApplication1.BuildWindowClass.HandleMouseClick(Int32 x, Int32 y, Int32 b) at WindowsApplication1.PlayScreenClass.HandleMouseClick(Int32 x, Int32 y, Int32 b) at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at WindowsApplication1.ImmoveableForm.WndProc(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 ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- WindowsApplication1 Assembly Version: 1.0.3155.22679 Win32 Version: 1.0.3155.22679 CodeBase: file:///C:/Work/Games/Advanced%20Tactics/bin/AdvancedTactics.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.1434 (REDBITS.050727-1400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- ICSharpCode.SharpZipLib Assembly Version: 0.84.0.0 Win32 Version: 0.84.0.0 CodeBase: file:///C:/Work/Games/Advanced%20Tactics/bin/ICSharpCode.SharpZipLib.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. It was my first game when I was winning and the AI not mopping the floor with me ...
|