Can't get past first turn-Unhandled Exception

Post bug reports and ask for help with issues here.
Post Reply
x2yzh9
Posts: 37
Joined: Fri Feb 19, 2010 10:02 pm

Can't get past first turn-Unhandled Exception

Post by x2yzh9 »

I get an unhandled exception error, with this under details

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Armada2526.CoreGame.DiplomacyManager.EitherHasGeneralEmbargo(Player p1, Player p2)
at Armada2526.Campaign.Trade.RecalcDirtyRoutes()
at Armada2526.Campaign.Trade.DoTrade()
at Armada2526.CoreGame.Game.PostBattle()
at Armada2526.CoreGame.Game.AdvancePhase()
at Armada2526.CoreGame.Game.PlayerBattleResolutuionCompleted()
at Armada2526.Campaign.BattleResolver.ResolveNextHumanPlayerBattles()
at Armada2526.CoreGame.Game.ResolveBattles()
at Armada2526.CoreGame.Game.AdvancePhase()
at Armada2526.CoreGame.Game.EndRound()
at Armada2526.CoreGame.Game.AdvancePhase()
at Armada2526.CoreGame.Game.EndPlayerTurn()
at Armada2526.CampaignUI.EndTurnPanel.endTurnButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at Armada2526.SharedUI.CustomButton.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at Armada2526.SharedUI.CustomButton.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Armada2526
Assembly Version: 1.0.2.0
Win32 Version: 1.0.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Ntronium%20Games/Armada%202526%20Supernova/Armada2526.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 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
----------------------------------------
SlimDX
Assembly Version: 2.0.8.42
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Ntronium%20Games/Armada%202526%20Supernova/SlimDX.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.4926
Win32 Version: 9.00.30729.4926
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a/msvcm90.dll
----------------------------------------
irrKlang.NET2.0
Assembly Version: 1.1.3.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Ntronium%20Games/Armada%202526%20Supernova/irrKlang.NET2.0.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.4927
Win32 Version: 8.00.50727.4927
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5/msvcm80.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
User avatar
Ntronium
Posts: 161
Joined: Fri Oct 23, 2009 5:38 am
Contact:

RE: Can't get past first turn-Unhandled Exception

Post by Ntronium »

Are you playing a scenario or a custom game.&nbsp; Can you give more details about the game setup please. Also does it happen every time.

One possibility if you're trying to load a game from the base game into Supernova, that won't work.
code99
Posts: 33
Joined: Tue Mar 02, 2010 12:04 am

RE: Can't get past first turn-Unhandled Exception

Post by code99 »

Having same issue, mine happens everytime i try playing on a custom map.

I made a 1000x1000 map , modified abit of it and tought to give it a shot and see how it is and i cant make it work. When game finishes loading i get that error.
At first i tought it was my mod i made earlier so i went to normal unmodded game and nothing, same thing. Then i tried starting a game on random map and everything worked just fine, including my mod so it obviously has to do with custom maps.

PS. I'm playing supernova
martok
Posts: 845
Joined: Mon Aug 30, 2004 1:44 am

RE: Can't get past first turn-Unhandled Exception

Post by martok »

The size of the map you tried to create probably has something to do with it. There tends to be problems with very large custom maps (1000x1000 would be frickin' enormous!), even if your PC has top-of-the-line hardware. There's a reason the "default" largest setting for maps is 250x250, and that the total cap is 300x300.

That may not be the whole reason for your problem, but I'd bet it's at least part of it.

"Evil is easy, and has infinite forms." -- Pascal

code99
Posts: 33
Joined: Tue Mar 02, 2010 12:04 am

RE: Can't get past first turn-Unhandled Exception

Post by code99 »

Well thats a shame really ... would be awesome having a 1000x1000 map especially for the scenario i had in mind ...
User avatar
Ntronium
Posts: 161
Joined: Fri Oct 23, 2009 5:38 am
Contact:

RE: Can't get past first turn-Unhandled Exception

Post by Ntronium »

Code99 is the crash you get the same one reported at the top of the thread. If not can you post the error report please (preferably at the Ntronium forums as I can't access these forums from work)

x2yz
Can you post details of the game setup you're using please
code99
Posts: 33
Joined: Tue Mar 02, 2010 12:04 am

RE: Can't get past first turn-Unhandled Exception

Post by code99 »

sure thing, as soon as im home ill post on the other forums
Post Reply

Return to “Tech Support”