PBEM+ Crash

Post bug reports and ask for game support here.

Moderator: Vic

Post Reply
Jakse
Posts: 56
Joined: Tue Jun 18, 2013 3:43 pm

PBEM+ Crash

Post by Jakse »

I've only had this issue happen once while uploading, but now when I try to retrieve a turn from PBEM+, I get a huge error message. Weird that it only started 28 turns in. This is the message in its entirety:

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 WindowsApplication1.TextAreaClass2..ctor(GameClass tgame, Int32 twidth, Int32 trows, Font tfont, String tText, Int32 tItemSize, Bitmap& tbackbitmap, Int32 bbx, Int32 bby, Boolean tWithoutScrollbars, Boolean tWithoutFrame, Int32 tfontcol, Boolean tcenterit, Int32 colr, Int32 colg, Int32 colb, Int32 cola, Boolean tshadow, Boolean tUseEncy)
at WindowsApplication1.GameLoopMainWindowClass2.ViewMessage()
at WindowsApplication1.GameLoopMainWindowClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b)
at WindowsApplication1.GameLoopScreenClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b)
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at WindowsApplication1.ImmoveableForm.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.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.5851.20676
Win32 Version: 1.0.5851.20676
CodeBase: file:///C:/Matrix%20Games/Decisive%20Campaigns%20Barbarossa/Barbarossa.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
irrKlang.NET
Assembly Version: 1.3.0.0
Win32 Version: 1, 1, 0, 0
CodeBase: file:///C:/Matrix%20Games/Decisive%20Campaigns%20Barbarossa/irrKlang.NET.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5494 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///C:/Matrix%20Games/Decisive%20Campaigns%20Barbarossa/ICSharpCode.SharpZipLib.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.


Jakse
Posts: 56
Joined: Tue Jun 18, 2013 3:43 pm

RE: PBEM+ Crash

Post by Jakse »

Above that it said "Index was outside the bounds of the array." I hope this helps, I'd love to get this turn.
User avatar
Vic
Posts: 9292
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: PBEM+ Crash

Post by Vic »

Hi there,

Going to look into it.
What is your game version?

Best wishes,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Jakse
Posts: 56
Joined: Tue Jun 18, 2013 3:43 pm

RE: PBEM+ Crash

Post by Jakse »

Thank you so much. 1.02g according to the main screen.
User avatar
Vic
Posts: 9292
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: PBEM+ Crash

Post by Vic »

Hi there,

An unxepected long phrase in a message from your opponent Germany caused the bug.

I have build you a new version of the current public beta. It should fix the bug and allow you to continue play.

You can download it over here:
http://www.vrdesigns.net/privatepatch/B ... h_103L.zip

Just rename your current Barbarossa.exe to Babarossa_backup.exe and put the Barbarossa.exe in the zip in its old place.

My apologies for the inconvenience.

Best wishes,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Jakse
Posts: 56
Joined: Tue Jun 18, 2013 3:43 pm

RE: PBEM+ Crash

Post by Jakse »

Thank you so much, it worked like a charm! I'm happy to support an awesome dev who will go the extra mile like that!
Post Reply

Return to “Tech Support”