Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Can't get past first turn-Unhandled Exception

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [Science Fiction] >> Armada 2526 Series >> Tech Support >> Can't get past first turn-Unhandled Exception Page: [1]
Login
Message << Older Topic   Newer Topic >>
Can't get past first turn-Unhandled Exception - 4/15/2011 4:51:29 PM   
x2yzh9

 

Posts: 37
Joined: 2/20/2010
Status: offline
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.
Post #: 1
RE: Can't get past first turn-Unhandled Exception - 4/16/2011 8:54:33 PM   
Ntronium


Posts: 161
Joined: 10/23/2009
Status: offline
Are you playing a scenario or a custom game.  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.

(in reply to x2yzh9)
Post #: 2
RE: Can't get past first turn-Unhandled Exception - 4/20/2011 2:14:00 AM   
code99

 

Posts: 33
Joined: 3/2/2010
Status: offline
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

< Message edited by code99 -- 4/20/2011 2:17:03 AM >

(in reply to x2yzh9)
Post #: 3
RE: Can't get past first turn-Unhandled Exception - 4/20/2011 3:38:33 AM   
martok


Posts: 837
Joined: 8/30/2004
Status: offline
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


(in reply to code99)
Post #: 4
RE: Can't get past first turn-Unhandled Exception - 4/20/2011 11:02:11 AM   
code99

 

Posts: 33
Joined: 3/2/2010
Status: offline
Well thats a shame really ... would be awesome having a 1000x1000 map especially for the scenario i had in mind ...

(in reply to martok)
Post #: 5
RE: Can't get past first turn-Unhandled Exception - 4/20/2011 5:15:45 PM   
Ntronium


Posts: 161
Joined: 10/23/2009
Status: offline
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

(in reply to code99)
Post #: 6
RE: Can't get past first turn-Unhandled Exception - 4/20/2011 8:00:23 PM   
code99

 

Posts: 33
Joined: 3/2/2010
Status: offline
sure thing, as soon as im home ill post on the other forums

(in reply to Ntronium)
Post #: 7
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [Science Fiction] >> Armada 2526 Series >> Tech Support >> Can't get past first turn-Unhandled Exception Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

2.047