Random .net error

Post bug reports and ask for tech support here. Post any Community Site Requests here as well.

Moderator: Vic

Post Reply
ceyan
Posts: 168
Joined: Sat Jul 03, 2004 1:06 am

Random .net error

Post by ceyan »

I get the following error (listed below) while trying the latest iteration of the World at War scenario. So far, after several tries, it only happens during the AI turn (I'm playing Germany/Japan) of the second turn the Japanese are active. The weird thing is if I go back to my save where Japan first became active and progress from there, it sometimes doesn't pop up and I can continue going. Unfortunately every time I've gotten that particular result, its been a test run where I just advanced through the turns rather than playing them out.

Figure its probably related to the scenario, but thought I'd bring it up just in case it wasn't.

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

************** Exception Text **************
System.OverflowException: Arithmetic operation resulted in an overflow.
at WindowsApplication1.AIClass.ExecuteMovement(Int32 PlanNr, Int32 MovePhaseNr)
at WindowsApplication1.AIClass.ExecuteAI()
at WindowsApplication1.GameLoopMainWindowClass.handleTimer()
at WindowsApplication1.ScreenClass.HandleTimer()
at WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.3155.22679
Win32 Version: 1.0.3155.22679
CodeBase: file:///D:/Games/Matrix%20Games/Advanced%20Tactics/bin/AdvancedTactics.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///D:/Games/Matrix%20Games/Advanced%20Tactics/bin/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.

User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Random .net error

Post by Vic »

It could be a lot of things.

Is this a version of WaW that came with the original install or a player-made latest version??

If it is the latest i would advice to switch to either an earlier version of WaW that does work

Or... that could also be very well the case... check if you have v1.21 hotfix installed. if not get it from www.advancedtactics.org

kind reg,
vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
ceyan
Posts: 168
Joined: Sat Jul 03, 2004 1:06 am

RE: Random .net error

Post by ceyan »

ORIGINAL: Vic

It could be a lot of things.

Is this a version of WaW that came with the original install or a player-made latest version??

If it is the latest i would advice to switch to either an earlier version of WaW that does work

Or... that could also be very well the case... check if you have v1.21 hotfix installed. if not get it from www.advancedtactics.org

kind reg,
vic

Its the latest version of the WaW put up by Explorer2 on the unapproved section of the Scenario Bank.

I have downloaded the 1.21 hotfix, although I'm not 100% sure how to check it. Despite over-writing the previous files, the version number on the intro screen still shows 1.20.

I'll try the scenario version that comes with the latest patch.
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Random .net error

Post by Vic »

It should show v1.21 if it is correctly overwritten the files of the patch.

kind reg,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
ceyan
Posts: 168
Joined: Sat Jul 03, 2004 1:06 am

RE: Random .net error

Post by ceyan »

Relatively sure I found the problem, the AI spawned a Partisan unit on top of one of my towns in Vietnam.&nbsp; On my second playthrough when it happened it was the same turn I activated the Pacific Blitz which enabled me to fight them, and whenever I tried to move my units or attack the partisans, the game crashed.&nbsp; Assuming it was maybe the AI trying to do same thing.
User avatar
coxville
Posts: 87
Joined: Sun Apr 12, 2009 5:03 pm
Location: Birmingham UK

RE: Random .net error

Post by coxville »

I have had the same issue myself on three different run throughs. Took my a while to track down the event as a lot was going on but it is when a Partisan unit crops up prior to being at war with the west. Had one in a city, one on a unit and one in the jungle but all triggered the same crash.

Still the joy of playing Beta versions.

Chris
93% of statistics are wrong...
User avatar
Barthheart
Posts: 3080
Joined: Tue Jul 20, 2004 3:16 pm
Location: Nepean, Ontario

RE: Random .net error

Post by Barthheart »

Thanks guys. Because of your descriptions I think we found the problem.

It has to do with units from one country appearing in the territory of another country when the two countries are not at war.
The program seems to not like this very much.[:'(]

So we'll fix it.
Life is not a journey to the grave with the intention of arriving safely in a pretty & well preserved body,
but rather to skid in broadside, totally worn out & proclaiming "WOW, what a ride!"
Post Reply

Return to “Advanced Tactics Support”