Repeatable unhandled exceptions with ranged attacks

Moderator: Vic

Post Reply
DTurtle
Posts: 443
Joined: Mon Apr 26, 2010 6:05 pm

Repeatable unhandled exceptions with ranged attacks

Post by DTurtle »

This is repeatable.

To cause this: Select any unit with a ranged attack, switch to ranged attack mode, right click on a hex you can't attack and then click on the unit picture at the bottom. The game will crash.
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
bei WindowsApplication1.EventRelatedClass.Hardcoded_Gui_Sf_Popup(Int32 feedback) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\SE1_specific\EventRelatedClass_SE1_HardcodedScript.vb:Zeile 3881.
bei WindowsApplication1.EventRelatedClass.ExecHardcodedScript(Int32 hardcodedScriptNr, Int32 feedback, Int32 dat3, Int32 dat4, String datastring) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\SE1_specific\EventRelatedClass_SE1_HardcodedScript.vb:Zeile 93.
bei WindowsApplication1.EventRelatedClass.DoExec(Int32 enr, Int32 t1, String val1, String val2, String val3, String val4, String datastring) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\EventRelatedClass.vb:Zeile 2772.
bei WindowsApplication1.EventRelatedClass.ExecuteExec(Int32 enr, Int32 linenr) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\EventRelatedClass.vb:Zeile 2387.
bei WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent(Int32 enr, Int32 tv0, Int32 tv1, Int32 tv2, Int32 tv3, Int32 tv9, Int32 tv7, Int32 tv8, Int32 tv10, Boolean skipSettingTempVars) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\EventRelatedClass.vb:Zeile 526.
bei WindowsApplication1.PlayExtraWindowClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_PlayExtraWindowClass2.vb:Zeile 8882.
bei WindowsApplication1.PlayScreenClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\PlayScreenClass2.vb:Zeile 422.
bei WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:Zeile 1402.
bei System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Form.WndProc(Message& m)
bei WindowsApplication1.ImmoveableForm.WndProc(Message& m) in G:\VR\VRDevelopment\WindowsApplication1\ImmoveableForm.vb:Zeile 67.
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.
----------------------------------------
WindowsApplication1
Assembly-Version: 1.0.7477.35073.
Win32-Version: 1.0.7477.35073.
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/ShadowEmpire.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.4084.0 built by: NET48REL1.
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.4084.0 built by: NET48REL1.
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.4084.0 built by: NET48REL1.
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.4084.0 built by: NET48REL1.
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.4084.0 built by: NET48REL1.
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:/Matrix%20Games/Shadow%20Empire/irrKlang.NET4.DLL.
----------------------------------------
mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
ICSharpCode.SharpZipLib
Assembly-Version: 0.84.0.0.
Win32-Version: 0.84.0.0.
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/ICSharpCode.SharpZipLib.DLL.
----------------------------------------
System.Windows.Forms.resources
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.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
User avatar
Vic
Posts: 9955
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Repeatable unhandled exceptions with ranged attacks

Post by Vic »

Great find!
Never tried that.
Will be fixed upcoming beta.
Thanks for taking the time for an excellent bug report.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
DTurtle
Posts: 443
Joined: Mon Apr 26, 2010 6:05 pm

RE: Repeatable unhandled exceptions with ranged attacks

Post by DTurtle »

I only found it because I tried to launch an ICBM at an enemy that I hadn't declared war on (and thus couldn't actually attack them) ;)
User avatar
Vic
Posts: 9955
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Repeatable unhandled exceptions with ranged attacks

Post by Vic »

Was a good catch!
It had the same issue with Strategic Movement.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Tech Support”