The new stand-alone game run crash phenomenon in 3.1 and 3.2

PSP/DS/PC/MAC : WWII turn based grand strategy game

Moderators: firepowerjohan, Happycat, rkr1958, Slitherine Core

Post Reply
mamahuhu
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 94
Joined: Tue Aug 03, 2010 1:43 pm

The new stand-alone game run crash phenomenon in 3.1 and 3.2

Post by mamahuhu »

One of my friends play GS 3.1. He uses the Allies against AI.
When the end of the run to the turn 43,Axis is running at the time, game run crash .
Before the release of prevention convoy run crash patch has been installed
I run this save data in GS 3.2, the same crash.
I suspect this is a stand-alone operation crash problem unresolved
If necessary, I can provide a save file
Peter Stauffenberg
General - Carrier
General - Carrier
Posts: 4745
Joined: Sun Jul 08, 2007 4:13 pm
Location: Oslo, Norway

Re: The new stand-alone game run crash phenomenon in 3.1 and

Post by Peter Stauffenberg »

Please send the save game file to me.
mamahuhu
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 94
Joined: Tue Aug 03, 2010 1:43 pm

Re: The new stand-alone game run crash phenomenon in 3.1 and

Post by mamahuhu »

Stauffenberg wrote:Please send the save game file to me.
OK Thank you
Peter Stauffenberg
General - Carrier
General - Carrier
Posts: 4745
Joined: Sun Jul 08, 2007 4:13 pm
Location: Oslo, Norway

Re: The new stand-alone game run crash phenomenon in 3.1 and

Post by Peter Stauffenberg »

File received and I managed to analyze what was going on.

The situation that occured is that a German AI submarine is completely surrounded by Allied naval units and at only 3 steps. This means the AI code triggers a move back to port for repairs. The only port available in the Bergen port and it's already occupied by a different German sub. So the AI tries to move the unit to an occupied hex. That won't work.

There was some AI code about sending the unit to a different hex close to the destination hex if occupied, but it requires regular movement and in GS v3.0 the subs "teleport" to the destination hex since they sail underwater.

I altered the AI code so subs not being able to get to port will instead repair at sea (allowed in GS v3.0). Adding that code seemed to make the AI game not hang.

There could be other issues causing hang so further testing is needed.
mamahuhu
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 94
Joined: Tue Aug 03, 2010 1:43 pm

Re: The new stand-alone game run crash phenomenon in 3.1 and

Post by mamahuhu »

Thanks for the hard work of Stauffenberg!
The new files have been installed.
Up to now everything is normal game !
georgelu
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Mon Oct 19, 2015 9:31 pm

Re: The new stand-alone game run crash phenomenon in 3.1 and

Post by georgelu »

Hi Stauffenberg, I have the same issue. Could you send me the code or tell me how to solve it ? I am using the MAC version GS 3.0 downloaded from http://www.slitherine.com/ceaw_gs3

Stauffenberg wrote:File received and I managed to analyze what was going on.

The situation that occured is that a German AI submarine is completely surrounded by Allied naval units and at only 3 steps. This means the AI code triggers a move back to port for repairs. The only port available in the Bergen port and it's already occupied by a different German sub. So the AI tries to move the unit to an occupied hex. That won't work.

There was some AI code about sending the unit to a different hex close to the destination hex if occupied, but it requires regular movement and in GS v3.0 the subs "teleport" to the destination hex since they sail underwater.

I altered the AI code so subs not being able to get to port will instead repair at sea (allowed in GS v3.0). Adding that code seemed to make the AI game not hang.

There could be other issues causing hang so further testing is needed.
Peter Stauffenberg
General - Carrier
General - Carrier
Posts: 4745
Joined: Sun Jul 08, 2007 4:13 pm
Location: Oslo, Norway

Re: The new stand-alone game run crash phenomenon in 3.1 and

Post by Peter Stauffenberg »

I use the PC version of GS. The MAC version is maintained by Pk867. He will have to provide you the files.
georgelu
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Mon Oct 19, 2015 9:31 pm

Re: The new stand-alone game run crash phenomenon in 3.1 and

Post by georgelu »

If it is not an exe file, it probably would work just the same. Would you mind sending me for a trial ?
Stauffenberg wrote:I use the PC version of GS. The MAC version is maintained by Pk867. He will have to provide you the files.
Peter Stauffenberg
General - Carrier
General - Carrier
Posts: 4745
Joined: Sun Jul 08, 2007 4:13 pm
Location: Oslo, Norway

Re: The new stand-alone game run crash phenomenon in 3.1 and

Post by Peter Stauffenberg »

The MAC files have all files compiled into one big file. I don't have access to that file. On the PC you have separate class files. Those I compile and maintain.
pk867
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1602
Joined: Fri May 08, 2009 3:18 pm

Re: The new stand-alone game run crash phenomenon in 3.1 and

Post by pk867 »

You have to update to v3.1 first then submit a request to Slitherine.
Post Reply

Return to “MILITARY HISTORY™ Commander - Europe at War : General Discussion”