jzardos
Posts: 662
Joined: 3/15/2011 Status: offline
|
Ok, trying to get my feet wet so I thought I would just first try and work off existing Watch am Rhein scen. But getting an exception when my scen loads for play. Steps 1. loaded Watch am Rhein 2. saved it as 'Watch am Rhein Test' 3. test start on it and works 4. went into historical unit editor and made a copy of 'germanymodels.dc4his' called 'germanymodels2.dc4his' 5. back to main menu and loaded my 'Watch am Rhein Test' 6. started simple editor -> Libraries 7. clicked on '6) German Models' and Load Library 8. choose my 'germanymodels2.dc4his' under modellibs dir to load 9. on page just selected 'reload library' 10. back to Dashbaord and save scen 11. start scen and it fails when loading quote:
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.IsAlliedOrSelf(Int32 reg1, Int32 reg2, Boolean ForReconPurpose) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\HandyFunctionsClass.vb:line 12574 at WindowsApplication1.HandyFunctionsclass.SetHexReconAndZOCUnitMoves_LosRules(Int32 ox, Int32 oy, Int32 omap, Int32 x, Int32 y, Int32 map, Int32 regnr, Int32 unr, Boolean ZOCConquest, Boolean dontcountair, Boolean changezoc, Int32 overrulerecon) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\HandyFunctionsClass.vb:line 6239 at WindowsApplication1.HandyFunctionsclass.SetHexReconAndZOCUnitMoves(Int32 ox, Int32 oy, Int32 omap, Int32 x, Int32 y, Int32 map, Int32 regnr, Int32 unr, Boolean ZOCConquest, Boolean dontcountair, Boolean changezoc, Int32 overrulerecon) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\HandyFunctionsClass.vb:line 6615 at WindowsApplication1.HandyFunctionsclass.SetHexReconAndZOC(Int32 x, Int32 y, Int32 map, Int32 regnr) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\HandyFunctionsClass.vb:line 7154 at WindowsApplication1.ProcessingClass.SetInitialReconAndZOC(Int32 regnr) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\ProcessingClass.vb:line 1931 at WindowsApplication1.GameLoopMainWindowClass2.handleTimer() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\NewWindows\Initial\GameLoopMainWindowClass2.vb:line 261 at WindowsApplication1.ScreenClass.HandleTimer() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\ScreenClass.vb:line 1129 at WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 2312 at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4420.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- WindowsApplication1 Assembly Version: 1.0.7983.20373 Win32 Version: 1.0.7983.20373 CodeBase: file:///C:/Program%20Files%20(x86)/Matrix%20Games/Decisive%20Campaigns%20Ardennes%20Offensive/Ardennes.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 14.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4400.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 ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 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 ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 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 ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 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 ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- irrKlang.NET4 Assembly Version: 1.0.6617.18847 Win32 Version: CodeBase: file:///C:/Program%20Files%20(x86)/Matrix%20Games/Decisive%20Campaigns%20Ardennes%20Offensive/irrKlang.NET4.DLL ---------------------------------------- ICSharpCode.SharpZipLib Assembly Version: 0.84.0.0 Win32 Version: 0.84.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Matrix%20Games/Decisive%20Campaigns%20Ardennes%20Offensive/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.
|