Index out of range

Post bug reports and ask for tech support here. Post any Community Site Requests here as well.

Moderator: Vic

Post Reply
MrMox
Posts: 42
Joined: Wed Jun 07, 2006 9:03 am
Location: Denmark
Contact:

Index out of range

Post by MrMox »

Got an "Index out of Range" exception.

This happened after I did combat with a unit and then tried to move it.

Version is 1.02beta.

************** Undtagelsestekst **************
System.IndexOutOfRangeException: Indekset lå uden for arrayets grænser.
ved WindowsApplication1.ProcessingClass.ExecuteMovement(Int32 unr, Int32 x1, Int32 y1, Int32 x2, Int32 y2)
ved WindowsApplication1.MapWindowClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)
ved WindowsApplication1.PlayScreenClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)
ved WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e)
ved System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
ved System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
ved System.Windows.Forms.Control.WndProc(Message& m)
ved System.Windows.Forms.ScrollableControl.WndProc(Message& m)
ved System.Windows.Forms.ContainerControl.WndProc(Message& m)
ved System.Windows.Forms.Form.WndProc(Message& m)
ved WindowsApplication1.ImmoveableForm.WndProc(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Indlæste assemblies **************
mscorlib
Assemblyversion: 2.0.0.0
Win32-version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Assemblyversion: 1.0.2869.24025
Win32-version: 1.0.2869.24025
CodeBase: file:///C:/Spil/Matrix%20Games/Advanced%20Tactics/bin/AdvancedTactics.exe
----------------------------------------
System.Windows.Forms
Assemblyversion: 2.0.0.0
Win32-version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assemblyversion: 2.0.0.0
Win32-version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assemblyversion: 2.0.0.0
Win32-version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assemblyversion: 8.0.0.0
Win32-version: 8.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assemblyversion: 0.84.0.0
Win32-version: 0.84.0.0
CodeBase: file:///C:/Spil/Matrix%20Games/Advanced%20Tactics/bin/ICSharpCode.SharpZipLib.DLL
----------------------------------------
mscorlib.resources
Assemblyversion: 2.0.0.0
Win32-version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Assemblyversion: 2.0.0.0
Win32-version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_da_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Index out of range

Post by Vic »

could you tell some more about the circumstances please?
is it possible to reproduce this?
so yes please mail me a save file to vic@xs4all.nl
 
thanks for reporting!
 
kind regards,
vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Index out of range

Post by Vic »

was by any chance a unit with cargo ships involved in this combat?
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Index out of range

Post by Vic »

Darn. I caught the bug. I created with v1.02.
 
Sorry.
 
I try to get the fix up asap.
 
kind regards,
Vic
 
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

RE: Index out of range

Post by Twotribes »

I had an error also when I tried to move after combat. On land not at sea. However all I did is hit ignore and then click another unit, then back to the first unit and all was fine. So that hopefully is a work around till the fix?
Favoritism is alive and well here.
PDiFolco
Posts: 1195
Joined: Mon Oct 11, 2004 8:14 am

RE: Index out of range

Post by PDiFolco »

I had the same bug just this evening playing 1.02 ! Fortunately you can "ignore" it and continue to play .[;)]
PDF
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Index out of range

Post by Vic »

This bug is only present in the beta patch v1.02.

I mailed the hotfix to Matrix. They'll upload it soon as they can (its weekend).

The workaround by the way is a bit insane: exit the combatscreen by pressing space or enter instead of clicking on the [x] button.

Kind regards,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

RE: Index out of range

Post by Twotribes »

The one I got just gave me a dialog box asking if I wanted to quit or ignore. I ignored , it happened again, I clicked off the unit to another unit and it worked fine again.
Favoritism is alive and well here.
Post Reply

Return to “Advanced Tactics Support”