Grymme 
		  
		   
		     
		  Posts:  1821 
		  Joined:  12/16/2007  Status: offline
		   
		 | 
	  
	    
		    I get this with one of my scenarios. Its reproducable, i have sent you an email with directions on reproducing it. Hope work on DC2 is going well.         -------------------------------         Information om att aktivera JIT-felsökning i stället för den    här dialogrutan finns i slutet av det här meddelandet.      ************** Undantagstext **************   System.IndexOutOfRangeException: Indexet låg utanför gränserna för matrisen.      vid WindowsApplication1.BitmapStore.GetBitmap(Int32 nr, Int32 Zoom)      vid WindowsApplication1.CustomBitmapClass.DrawUnitSmall(Int32 nr, Boolean forcehighlight, Graphics toG, Int32 tx, Int32 ty, Boolean ShowAttacker, Int32 OverruleHis, Int32 OverrulePower, Int32 OverruleRegime, Boolean FullRecon)      vid WindowsApplication1.CustomBitmapClass.DrawHex(Int32 cx, Int32 cy, Int32 cmap, Boolean InfoMode, Boolean NoShader, Boolean ispredrawing, Graphics tempg, Int32 tx, Int32 ty, Int32 counteralpha, Int32 Zoom, Boolean UseRegimeColoring, Boolean neverusehistory)      vid WindowsApplication1.MapPartClass.Paint()      vid WindowsApplication1.HandyFunctionsclass.doscreenshot(String extension, Int32 map)      vid WindowsApplication1.GameLoopMainWindowClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)      vid WindowsApplication1.GameLoopScreenClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)      vid WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e)      vid System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)      vid System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)      vid System.Windows.Forms.Control.WndProc(Message& m)      vid System.Windows.Forms.ScrollableControl.WndProc(Message& m)      vid System.Windows.Forms.ContainerControl.WndProc(Message& m)      vid System.Windows.Forms.Form.WndProc(Message& m)      vid WindowsApplication1.ImmoveableForm.WndProc(Message& m)      vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)      vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)      vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)         ************** Inlästa sammansättningar **************   mscorlib       Sammansättningsversion: 2.0.0.0       Win32-version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)       CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll   ----------------------------------------   WindowsApplication1       Sammansättningsversion: 1.0.4287.26311       Win32-version: 1.0.4287.26311       CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/AdvancedTacticsGold.exe   ----------------------------------------   System.Windows.Forms       Sammansättningsversion: 2.0.0.0       Win32-version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll   ----------------------------------------   System       Sammansättningsversion: 2.0.0.0       Win32-version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll   ----------------------------------------   System.Drawing       Sammansättningsversion: 2.0.0.0       Win32-version: 2.0.50727.5420 (Win7SP1.050727-5400)       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll   ----------------------------------------   Microsoft.VisualBasic       Sammansättningsversion: 8.0.0.0       Win32-version: 8.0.50727.5420 (Win7SP1.050727-5400)       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll   ----------------------------------------   ICSharpCode.SharpZipLib       Sammansättningsversion: 0.84.0.0       Win32-version: 0.84.0.0       CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/ICSharpCode.SharpZipLib.DLL   ----------------------------------------   mscorlib.resources       Sammansättningsversion: 2.0.0.0       Win32-version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)       CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll   ----------------------------------------   irrKlang.NET       Sammansättningsversion: 1.3.0.0       Win32-version: 1, 1, 0, 0       CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/irrKlang.NET.DLL   ----------------------------------------   Microsoft.VisualBasic.resources       Sammansättningsversion: 8.0.0.0       Win32-version: 8.0.50727.4927 (NetFXspW7.050727-4900)       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_sv_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll   ----------------------------------------   System.Windows.Forms.resources       Sammansättningsversion: 2.0.0.0       Win32-version: 2.0.50727.5420 (Win7SP1.050727-5400)       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll   ----------------------------------------      ************** JIT-felsökning **************   För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för   det här tillämpningsprogrammet eller datorn (machine.config) ha    jitDebugging-värdet angivet i avsnittet system.windows.forms.   Tillämpningsprogrammet måste också vara kompilerat   med felsökning aktiverat.      Till exempel:      <configuration>       <system.windows.forms jitDebugging="true" />   </configuration>      När JIT-felsökning är aktiverad kommer alla undantag som inte   hanteras att skickas till JIT-felsökaren som är registrerad på   datorn snarare än att hanteras av den här dialogrutan.          
			
								
			
			 
  _____________________________
   
				  
				  		 	
		  
		 |