Page 1 of 1

Crash when trying to log into the PBEM server

Posted: Thu Aug 02, 2012 5:26 pm
by schmolywar
This recently happened. I had no problems before. Are there current issues with the server?

RE: Crash when trying to log into the PBEM server

Posted: Fri Aug 03, 2012 2:31 pm
by Vic
Hi schmoly,

I a received word from Ian and also checked the thread on the Slitherine forums.

I am on an investigation to see whats up as we speak.

Thanks for taking the time to report the issue! it is appreciated :)

Best,
Vic

RE: Crash when trying to log into the PBEM server

Posted: Fri Aug 03, 2012 2:47 pm
by Vic
Ok i just logged in with your account using v1.01 (do you use v1.00b or higher? and not v1.00) and did not get any bug logging in, or refreshing.

Do you still get the bug?

And if so...

Could you please tell me which exact sequence of button presses leads to it and send me the actual bug message text. If you get a popup with a details (or similar heading) button, please click it and copy and paste the full bug text. (like done here: tm.asp?m=2895129)

Sorry for the hassle, but it would be tremendously appreciated if you get back to me on this.

best,
Vic

RE: Crash when trying to log into the PBEM server

Posted: Fri Aug 03, 2012 5:08 pm
by schmolywar
Ok, heres a pic. Its in norwegian but basically just says the game stopped working.

Ive tried all versions. With or without patch all the same.

Reinstalled two times on separate hardrives. Done virus and malware scans. Checked firewall settings.

Image

RE: Crash when trying to log into the PBEM server

Posted: Fri Aug 03, 2012 10:00 pm
by schmolywar
So is there any more info youd need? Any logs I could find anywhere? Would the server log help?

RE: Crash when trying to log into the PBEM server

Posted: Fri Aug 03, 2012 11:51 pm
by schmolywar
Reinstalled again and tried. Here is the update log.

Ive also uploaded and attached the server log....

[08/04/2012 03:31:36] Success Update started: E:\Matrix Games\Decisive Campaigns Case Blue\update.exe
[08/04/2012 03:31:36] Notice Update engine version: 3.0.0.0
[08/04/2012 03:31:36] Notice Product: Decisive Campaigns Case Blue, version %ProductVer%
[08/04/2012 03:31:36] Success Language set: Primary = 20, Secondary = 1
[08/04/2012 03:31:36] Success Include script: _TU20_Global_Functions.lua
[08/04/2012 03:31:36] Success Display screen: Welcome
[08/04/2012 03:31:37] Success Display screen: Download Server Script
[08/04/2012 03:31:44] Success Language set: Primary = 9, Secondary = 1
[08/04/2012 03:31:44] Notice Automatic update required.
[08/04/2012 03:31:56] Notice Dat file updated: 'E:\Matrix Games\Decisive Campaigns Case Blue\update.dat'
[08/04/2012 03:31:56] Success Run client data event: Client Script
[08/04/2012 03:31:56] Notice Exit update process (Return code: 5)
[08/04/2012 03:41:17] Success Update started: E:\Matrix Games\Decisive Campaigns Case Blue\update.exe
[08/04/2012 03:41:17] Notice Update engine version: 3.0.0.0
[08/04/2012 03:41:17] Notice Product: Decisive Campaigns Case Blue, version %ProductVer%
[08/04/2012 03:41:17] Success Language set: Primary = 20, Secondary = 1
[08/04/2012 03:41:17] Success Include script: _TU20_Global_Functions.lua
[08/04/2012 03:41:17] Success Display screen: Welcome
[08/04/2012 03:41:19] Success Display screen: Download Server Script
[08/04/2012 03:41:26] Success Language set: Primary = 9, Secondary = 1
[08/04/2012 03:41:26] Success Display screen: Update Available
[08/04/2012 03:41:28] Success Display screen: Download File (FTP)
[08/04/2012 03:41:40] Error Script: Download File (FTP) > On Start, Line 12 (2508)
[08/04/2012 03:41:40] Success Run client data event: Client Script
[08/04/2012 03:41:40] Notice Exit update process (Return code: 5)

RE: Crash when trying to log into the PBEM server

Posted: Sat Aug 04, 2012 12:11 am
by schmolywar
Let me also say that I am able to connect just fine to the Wite PBEM server.

RE: Crash when trying to log into the PBEM server

Posted: Sat Aug 04, 2012 4:41 am
by Vic
Hi schmoly,

Its very odd.

I compiled a special version 1.01c for you that adds some extra info to the server log file. Please try it again and get me the serverlog again by sending it to vic@xs4all.nl (please dont post it here as it contains sort of sensitive personal information of yours)

I am PM-ing you your download link.

If you have access to another computer it would be interesting to know if the same happens to you there. but lets focus on getting me the serverlog generated with v1.01c first.

best,
Vic



RE: Crash when trying to log into the PBEM server

Posted: Sat Aug 04, 2012 4:49 pm
by schmolywar
Sent the log to your mail address. The thing I don't understand is when I delete and then reinstall the game, shouldnt that resolve any corruption there might be with the files? Are there any invisible leftover files of any install?

RE: Crash when trying to log into the PBEM server

Posted: Sat Aug 04, 2012 6:49 pm
by Vic
I send you an email back with alas another private build.

RE: Crash when trying to log into the PBEM server

Posted: Sat Aug 04, 2012 9:34 pm
by schmolywar
Well well, with the new exe. I got in it seems. If the recent good fortunes continue I think we can call this solved!

Very grateful for the help. Noted for the future for sure.

BTW, did you do anything special with the new exe?

RE: Crash when trying to log into the PBEM server

Posted: Sun Aug 05, 2012 2:52 am
by Vic
Hi schmoly,

thats great :)

I would still be interested in seeing the serverlog. and yes i did make a code change or two adding an failsafe and some threading security. as for why your pc behaves different from others...

Thanks for taking the time to help improve the game.

best
vic

RE: Crash when trying to log into the PBEM server

Posted: Sun Aug 05, 2012 10:49 am
by dmixer
I had the same thing happen, (but in English :P ). I posted about it before I wandered into this thread.


RE: Crash when trying to log into the PBEM server

Posted: Sun Aug 05, 2012 12:20 pm
by schmolywar
The problem started again, albeit with a different message:

ystem.NullReferenceException: Objektreferanse er ikke satt til en objektforekomst.
ved WindowsApplication1.CorePbemWindowClass.DrawCurrentGamesTab(Graphics g)
ved WindowsApplication1.CorePbemWindowClass.DoStuff()
ved WindowsApplication1.CorePbemWindowClass..ctor(GameClass& tGame)
ved WindowsApplication1.FirstScreenClass2.HandleTimer()
ved WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e)
ved WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e)
ved System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
ved System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
ved System.Windows.Forms.Control.WndProc(Message& m)
ved System.Windows.Forms.ScrollableControl.WndProc(Message& m)
ved System.Windows.Forms.ContainerControl.WndProc(Message& m)
ved System.Windows.Forms.Form.WndProc(Message& m)
ved WindowsApplication1.ImmoveableForm.WndProc(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Innlastede samlinger **************
mscorlib
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Samlingsversjon: 1.0.4599.39080
Win32-versjon: 1.0.4599.39080
CodeBase: file:///E:/Matrix%20Games/Decisive%20Campaigns%20Case%20Blue/CaseBlue.exe
----------------------------------------
System.Windows.Forms
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Samlingsversjon: 8.0.0.0
Win32-versjon: 8.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
mscorlib.resources
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
irrKlang.NET
Samlingsversjon: 1.3.0.0
Win32-versjon: 1, 1, 0, 0
CodeBase: file:///E:/Matrix%20Games/Decisive%20Campaigns%20Case%20Blue/irrKlang.NET.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Samlingsversjon: 0.84.0.0
Win32-versjon: 0.84.0.0
CodeBase: file:///E:/Matrix%20Games/Decisive%20Campaigns%20Case%20Blue/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Web
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.resources
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_no_b77a5c561934e089/System.resources.dll
----------------------------------------
Microsoft.VisualBasic.resources
Samlingsversjon: 8.0.0.0
Win32-versjon: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_no_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------
System.Windows.Forms.resources
Samlingsversjon: 2.0.0.0
Win32-versjon: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_no_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** JIT-feilsøking **************
Når du skal aktivere JIT-feilsøking (Just In Time), må .config-filen for dette
programmet eller datamaskinen (machine.config) ha
jitDebugging-verdien angitt i delen system.windows.forms.
Programmet må også kompileres med feilsøking
aktivert.

For eksempel:

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

RE: Crash when trying to log into the PBEM server

Posted: Sun Aug 05, 2012 3:28 pm
by schmolywar
Solved with a private build from Vic.

Very thankful for the rapid solution & response!

RE: Crash when trying to log into the PBEM server

Posted: Sun Aug 05, 2012 3:49 pm
by Vic
And thanks to schmoly for sticking with me and helping pinpoint the problem.

The issue he experienced might actually hurt quite some more players as well and i am closing hopefully all other holes like it in the pbem++ functionality as we speak.

A work around for users experiencing this problem would i think be to set your culture/locale to english (us). (in windows 7 -> congifuration -> CLock-language-region -> Change date,time,numberformat -> set Format to English (United States)

Hope to get the public beta updated soon.

best,
Vic