Possible bug
Moderator: Vic
Possible bug
Got this error message, se below
I have a feeling its related to the event below
ERROR MESSAGE
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.HandyFunctionsclass.GetUnitRecon(Int32 unr, Int32 theater, Boolean dontdoair)
vid 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)
vid WindowsApplication1.EventRelatedClass.ExecSetRecon2(Int32 dat1, Int32 dat2, Int32 dat3, Int32 dat4, String datastring)
vid WindowsApplication1.EventRelatedClass.ExecuteExec(Int32 enr, Int32 linenr)
vid WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent(Int32 enr, Int32 tv0, Int32 tv1, Int32 tv2, Int32 tv3, Int32 tv9, Int32 tv7, Int32 tv8, Int32 tv10)
vid WindowsApplication1.EventRelatedClass.DoCheckEvents(Int32 checkMode)
vid WindowsApplication1.GameLoopMainWindowClass.handleTimer()
vid WindowsApplication1.ScreenClass.HandleTimer()
vid WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e)
vid System.Windows.Forms.Timer.OnTick(EventArgs e)
vid System.Windows.Forms.Timer.TimerNativeWindow.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.4961 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Sammansättningsversion: 1.0.4264.26023
Win32-version: 1.0.4264.26023
CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/AdvancedTacticsGold.exe
----------------------------------------
System.Windows.Forms
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.4961 (win7RTMGDR.050727-4900)
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.4962 (win7RTMGDR.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4961 (win7RTMGDR.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.
EVENT
0) CHECK: CheckTurn == 1
1) LOOPER: TempVar1 FROM 0 TO CheckMapWidth
2) LOOPER: TempVar0 FROM 0 TO CheckMapHeight
3) CHECK: CheckSFTypeInXY(TempVar1, TempVar0, -1, 0) > 0
4) SETVAR: TempVar10 = CheckSFTypeInXY(TempVar1, TempVar0, -1, 0)
5) CHECK: CheckRandomPercent < 51
6) SETVAR: TempVar10 / 2
7) END CHECK
8) CHECK: CheckRandomPercent < 16
9) SETVAR: TempVar10 / 2
10) END CHECK
11) EXECUTE: ExecSetReconUnit(TempVar1, TempVar0, 1, TempVar10)
12) END CHECK
13) END LOOPER
14) END LOOPER
15) END CHECK
My Advanced Tactics Mod page
http://atgscenarios.wordpress.com
30+ scenarios, maps and mods for AT and AT:G
http://atgscenarios.wordpress.com
30+ scenarios, maps and mods for AT and AT:G
RE: Possible bug
Another one similar
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.HandyFunctionsclass.GetUnitRecon(Int32 unr, Int32 theater, Boolean dontdoair)
vid 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)
vid WindowsApplication1.EventRelatedClass.ExecSetRecon2(Int32 dat1, Int32 dat2, Int32 dat3, Int32 dat4, String datastring)
vid WindowsApplication1.EventRelatedClass.ExecuteExec(Int32 enr, Int32 linenr)
vid WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent(Int32 enr, Int32 tv0, Int32 tv1, Int32 tv2, Int32 tv3, Int32 tv9, Int32 tv7, Int32 tv8, Int32 tv10)
vid WindowsApplication1.EventRelatedClass.DoCheckEvents(Int32 checkMode)
vid WindowsApplication1.GameLoopMainWindowClass.handleTimer()
vid WindowsApplication1.ScreenClass.HandleTimer()
vid WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e)
vid System.Windows.Forms.Timer.OnTick(EventArgs e)
vid System.Windows.Forms.Timer.TimerNativeWindow.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.4961 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Sammansättningsversion: 1.0.4264.26023
Win32-version: 1.0.4264.26023
CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/AdvancedTacticsGold.exe
----------------------------------------
System.Windows.Forms
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.4961 (win7RTMGDR.050727-4900)
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.4962 (win7RTMGDR.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4961 (win7RTMGDR.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.
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.HandyFunctionsclass.GetUnitRecon(Int32 unr, Int32 theater, Boolean dontdoair)
vid 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)
vid WindowsApplication1.EventRelatedClass.ExecSetRecon2(Int32 dat1, Int32 dat2, Int32 dat3, Int32 dat4, String datastring)
vid WindowsApplication1.EventRelatedClass.ExecuteExec(Int32 enr, Int32 linenr)
vid WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent(Int32 enr, Int32 tv0, Int32 tv1, Int32 tv2, Int32 tv3, Int32 tv9, Int32 tv7, Int32 tv8, Int32 tv10)
vid WindowsApplication1.EventRelatedClass.DoCheckEvents(Int32 checkMode)
vid WindowsApplication1.GameLoopMainWindowClass.handleTimer()
vid WindowsApplication1.ScreenClass.HandleTimer()
vid WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e)
vid System.Windows.Forms.Timer.OnTick(EventArgs e)
vid System.Windows.Forms.Timer.TimerNativeWindow.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.4961 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Sammansättningsversion: 1.0.4264.26023
Win32-version: 1.0.4264.26023
CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/AdvancedTacticsGold.exe
----------------------------------------
System.Windows.Forms
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.4961 (win7RTMGDR.050727-4900)
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.4962 (win7RTMGDR.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4961 (win7RTMGDR.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.
My Advanced Tactics Mod page
http://atgscenarios.wordpress.com
30+ scenarios, maps and mods for AT and AT:G
http://atgscenarios.wordpress.com
30+ scenarios, maps and mods for AT and AT:G
RE: Possible bug
It seems that in the last build 2.08 the error catching for scripts was turned of and errors in your scripts now produce real errors. Will correct this soon again with v2.09 which will report a line number and event number again if bug in script code.
best,
Vic
best,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
RE: Possible bug
Ok, thanks for the explanation. Just out of curiosity. Can you see what the error in the script is?
And is there an ETA for v2.09?
And is there an ETA for v2.09?
My Advanced Tactics Mod page
http://atgscenarios.wordpress.com
30+ scenarios, maps and mods for AT and AT:G
http://atgscenarios.wordpress.com
30+ scenarios, maps and mods for AT and AT:G
RE: Possible bug
yes i will make it today. but not sure how quick matrix can make it available. so eta is: "soon".
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
