|
nicodede62 -> RE: Another error in editor (12/6/2011 2:04:03 PM)
|
Hello, I go up the subject, I found another bug. I first got this error on my mod, but same mistake with the generic.at2. When a unit has the ability to destroy buildings "blow bridge". This normally costs 50 ap, but once at 0 ap, the unit can always performed this command to infinity. [image]http://img97.imageshack.us/img97/1603/screenshot395.png[/image] When the building is destroyed, the game crashes with this error: [image]http://img403.imageshack.us/img403/7148/screenshot396x.png[/image] quote:
Consultez la fin de ce message pour plus de détails sur l'appel du débogage juste-à-temps (JIT) à la place de cette boîte de dialogue. ************** Texte de l'exception ************** System.IndexOutOfRangeException: L'index se trouve en dehors des limites du tableau. à WindowsApplication1.ProcessingClass.BlowLocation(Int32 unr, Int32 x, Int32 y, Int32 map) à WindowsApplication1.OrderWindowClass.HandleMouseClick(Int32 x, Int32 y, Int32 b) à WindowsApplication1.PlayScreenClass.HandleMouseClick(Int32 x, Int32 y, Int32 b) à WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) à System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e) à System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) à System.Windows.Forms.Control.WndProc(Message& m) à System.Windows.Forms.ScrollableControl.WndProc(Message& m) à System.Windows.Forms.ContainerControl.WndProc(Message& m) à System.Windows.Forms.Form.WndProc(Message& m) à WindowsApplication1.ImmoveableForm.WndProc(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Assemblys chargés ************** mscorlib Version de l'assembly : 2.0.0.0 Version Win32 : 2.0.50727.3625 (GDR.050727-3600) CodeBase : file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- WindowsApplication1 Version de l'assembly : 1.0.4350.21294 Version Win32 : 1.0.4350.21294 CodeBase : file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/AdvancedTacticsGold.exe ---------------------------------------- System.Windows.Forms Version de l'assembly : 2.0.0.0 Version Win32 : 2.0.50727.3623 (GDR.050727-3600) CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Version de l'assembly : 2.0.0.0 Version Win32 : 2.0.50727.3624 (GDR.050727-3600) CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Version de l'assembly : 2.0.0.0 Version Win32 : 2.0.50727.3053 (netfxsp.050727-3000) CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Microsoft.VisualBasic Version de l'assembly : 8.0.0.0 Version Win32 : 8.0.50727.3053 (netfxsp.050727-3000) CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System.Configuration Version de l'assembly : 2.0.0.0 Version Win32 : 2.0.50727.3053 (netfxsp.050727-3000) CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Version de l'assembly : 2.0.0.0 Version Win32 : 2.0.50727.3082 (QFE.050727-3000) CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Microsoft.VisualBasic.resources Version de l'assembly : 8.0.0.0 Version Win32 : 8.0.50727.3053 (netfxsp.050727-3000) CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_fr_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll ---------------------------------------- mscorlib.resources Version de l'assembly : 2.0.0.0 Version Win32 : 2.0.50727.3625 (GDR.050727-3600) CodeBase : file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- ICSharpCode.SharpZipLib Version de l'assembly : 0.84.0.0 Version Win32 : 0.84.0.0 CodeBase : file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/ICSharpCode.SharpZipLib.DLL ---------------------------------------- irrKlang.NET Version de l'assembly : 1.3.0.0 Version Win32 : 1, 1, 0, 0 CodeBase : file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/irrKlang.NET.DLL ---------------------------------------- System.Windows.Forms.resources Version de l'assembly : 2.0.0.0 Version Win32 : 2.0.50727.3053 (netfxsp.050727-3000) CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- ************** Débogage JIT ************** Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette application ou cet ordinateur (machine.config) doit avoir la valeur jitDebugging définie dans la section system.windows.forms. L'application doit également être compilée avec le débogage activé. Par exemple : <configuration> <system.windows.forms jitDebugging="true" /> </configuration> Lorsque le débogage juste-à-temps est activé, les exceptions non gérées seront envoyées au débogueur JIT inscrit sur l'ordinateur plutôt que d'être gérées par cette boîte de dialogue.
|
|
|
|