Troubles with global domination

Discuss and post your mods and scenarios here for others to download.

Moderator: Vic

Post Reply
User avatar
Bombur
Posts: 3666
Joined: Fri Jul 02, 2004 4:50 am

Troubles with global domination

Post by Bombur »

I´m almost finishing a playable version of Global Domination for ATG. However, had an unexpected trouble. The game crashes when playing the AI.It gives the following error message

System.IndexOutOfRangeException: O índice estava fora dos limites da matriz.
em WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent(Int32 enr, Int32 tv0, Int32 tv1, Int32 tv2, Int32 tv3, Int32 tv9, Int32 tv7, Int32 tv8, Int32 tv10)
em WindowsApplication1.AIClass.InitDecisions()
em WindowsApplication1.AIClass.InitAI()
em WindowsApplication1.GameLoopMainWindowClass.handleTimer()
em WindowsApplication1.ScreenClass.HandleTimer()
em WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e)
em System.Windows.Forms.Timer.OnTick(EventArgs e)
em System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Conjuntos de Módulos (Assemblies) Carregados **************
mscorlib
Versão do Conjunto de Módulos (Assembly): 2.0.0.0
Versão do Win32: 2.0.50727.3623 (GDR.050727-3600)
Base de Código: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Versão do Conjunto de Módulos (Assembly): 1.0.4237.20726
Versão do Win32: 1.0.4237.20726
Base de Código: file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/AdvancedTacticsGold.exe
----------------------------------------
System.Windows.Forms
Versão do Conjunto de Módulos (Assembly): 2.0.0.0
Versão do Win32: 2.0.50727.3623 (GDR.050727-3600)
Base de Código: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versão do Conjunto de Módulos (Assembly): 2.0.0.0
Versão do Win32: 2.0.50727.3620 (GDR.050727-3600)
Base de Código: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versão do Conjunto de Módulos (Assembly): 2.0.0.0
Versão do Win32: 2.0.50727.3053 (netfxsp.050727-3000)
Base de Código: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


-It´s strange that the error seems to be related to events, but the scenario doesn´t have a single event. Cards and scenario variants were deleted as well....
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Troubles with global domination

Post by Vic »

Hi,

Make an .atzip of your scenario (so it includes all custom gfx) and then get it to me at vic@xs4all.nl if the underneath doesnt help you.

it seems like a problem with having event numbers specified for location types (for AI autobuild). I'll fix this for the next ATG patch!. To get this bug gone set all event for AI Build to -1.

best,
vic

Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Bombur
Posts: 3666
Joined: Fri Jul 02, 2004 4:50 am

RE: Troubles with global domination

Post by Bombur »

Ok, it worked, but it isn´t a bug, it was a mistake made by me....
And btw, is that possible to make the AI (or upgrade) locations without creating events, by using autobuild allowed and defining a priority>0?
Post Reply

Return to “Mods and Scenarios”