Game crash caused by off map convoy 'stalling'

Post bug reports and ask for help with other issues here.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
aaffins
Posts: 254
Joined: Sun Mar 07, 2010 11:53 am
Location: Richmond, VA

Game crash caused by off map convoy 'stalling'

Post by aaffins »

Currently on March 16, '42 in an RA PBEM game, using the latest version.

The game crashes at the same point during the combat replay, and am fairly certain it's during the naval movement phase. We believe we've narrowed the issue down to an Allied tanker convoy transiting on to the map. It's scheduled to enter the map on 3/16 from Abidjan. This is not the first time the Allied player has sent convoys on this route, so we're at a bit of a loss. We are using the extended map and this is one of the areas adjusted, so that may be part of the issue, but again we're fairly deep in the game so of course ships have used this route many times before.

In determining which TF was causing the issue, we learned that this specific TF would not show on the list of TFs, nor could it manually be selected.

Thanks to anybody that can provide suggestions.
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Game crash caused by off map convoy 'stalling'

Post by geofflambert »

Never, ever change the orders or destination of off-map TFs. If you do they will spend a good bit of time in the twilight zone. This should have been posted in the main forum.

aaffins
Posts: 254
Joined: Sun Mar 07, 2010 11:53 am
Location: Richmond, VA

RE: Game crash caused by off map convoy 'stalling'

Post by aaffins »

Opponent is aware of that issue and is fairly certain he did not issue any orders after the convoy left Abidjan, so we don't think that is the issue.
User avatar
BBfanboy
Posts: 20686
Joined: Wed Aug 04, 2010 5:36 pm
Location: Winnipeg, MB
Contact:

RE: Game crash caused by off map convoy 'stalling'

Post by BBfanboy »

The game can be confused if you do something like change the home port of the off-map TF to another off-map port that is not on a direct route off-map e.g. changing it from Abidan to Cape Town before the TF is on-map.

The AI does not plot hexes off-map - it calculates how long the TF has to stay in the holding box for its movement and on the appropriate date it places it on-map. Because it is not doing the off-map movement hex by hex, it cannot figure out routing to another off-map home port if there is an on-map segment too. This kind of "divide by zero - does not compute" situation could crash the program.

Similarly, changing the destination or adding waypoints could confuse the game movement calculations.

Another rookie mistake is assuming that there is no fuel usage while moving between off-map and on-map segments. There is normal usage and if you used full speed you could easily be out of fuel before arriving on map. But this should not cause a crash.

Having said all that, the most common cause of crashes is a mismatch of game versions or map versions. The Extended Map has additional features in the area between Abidan and Aden so if one side was using the extended map and the other side had the Stock Map, that would not compute either.
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
aaffins
Posts: 254
Joined: Sun Mar 07, 2010 11:53 am
Location: Richmond, VA

RE: Game crash caused by off map convoy 'stalling'

Post by aaffins »

Thx for the tips! BBfanboy, feels like I'm living evidence regarding your signature. I may have inadvertently changed home ports on the Tanker TF. We even went so far as to load the game together to try and identify the issue, to no avail. Assuming I committed one of the rookie mistakes above, is the best (or only) solution to revert back to an older turn?

Hugely unfortunate if so. Pretty sure I sank the Kaga about 5 turns ago in a skilled (lucky) SCTF engagement.
aaffins
Posts: 254
Joined: Sun Mar 07, 2010 11:53 am
Location: Richmond, VA

RE: Game crash caused by off map convoy 'stalling'

Post by aaffins »

Also, I'm using aaffins computer while we are at the beach and forgot to log in as me. This is Cheesesteak. Saying my name makes me hungry. Sigh.
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Game crash caused by off map convoy 'stalling'

Post by geofflambert »

Does the game actually crash or just the replay? In other words, it sounded like you were still able to process new turns and the next replay would crash as well. There's nothing in the replay you can't see on the combat log. You might just continue, eventually it will stop crashing once that TF either enters the map or reaches an off-map base.

User avatar
Cheesesteak
Posts: 330
Joined: Mon Nov 08, 2010 9:05 pm
Location: Richmond, VA

RE: Game crash caused by off map convoy 'stalling'

Post by Cheesesteak »

ORIGINAL: geofflambert

Does the game actually crash or just the replay? In other words, it sounded like you were still able to process new turns and the next replay would crash as well. There's nothing in the replay you can't see on the combat log. You might just continue, eventually it will stop crashing once that TF either enters the map or reaches an off-map base.

How does the Japanese player access the game then. Doesn't he have to go through the replay first?
"Knowledge is Good" - Emil Faber
User avatar
HansBolter
Posts: 7457
Joined: Thu Jul 06, 2006 12:30 pm
Location: United States

RE: Game crash caused by off map convoy 'stalling'

Post by HansBolter »

ORIGINAL: geofflambert

Does the game actually crash or just the replay? In other words, it sounded like you were still able to process new turns and the next replay would crash as well. There's nothing in the replay you can't see on the combat log. You might just continue, eventually it will stop crashing once that TF either enters the map or reaches an off-map base.


There are plenty of things in the replay you can't see in the combat report.

How about the size of the shell or bomb for each hit for a prime example?

A 16" shell does a hell or a lot more damage than a .50 caliber.
Hans

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Game crash caused by off map convoy 'stalling'

Post by geofflambert »

Hardly ever see surface actions. Bombs and torpedoes are what I care about. I'm in 2/44 and we haven't had a surface action except once when a CA force ambushed a troop convoy. Sunk or not sunk was what mattered.

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Game crash caused by off map convoy 'stalling'

Post by geofflambert »

ORIGINAL: Cheesesteak

ORIGINAL: geofflambert

Does the game actually crash or just the replay? In other words, it sounded like you were still able to process new turns and the next replay would crash as well. There's nothing in the replay you can't see on the combat log. You might just continue, eventually it will stop crashing once that TF either enters the map or reaches an off-map base.

How does the Japanese player access the game then. Doesn't he have to go through the replay first?

That's why I asked if the game crashed or just the replay. If just the replay, the Japanese turn would still follow.

User avatar
Cheesesteak
Posts: 330
Joined: Mon Nov 08, 2010 9:05 pm
Location: Richmond, VA

RE: Game crash caused by off map convoy 'stalling'

Post by Cheesesteak »

Ah duh, I misunderstood. Yes the whole game crashes. Funny you say that about SC, this game has had loads and loads of it. I've lost a fair number of CLs, the repulse, and a few others in SC engagements. A CS, CVL, and likely the Kaga have all bit the dust from 6-14inch allied munition. Or as I like to think of them, "fast moving presents"
"Knowledge is Good" - Emil Faber
Post Reply

Return to “Tech Support”