Crash with artillery hold fire & specific target

Game won't run. Keeps crashing. Hopefully we won't get any posts here, but if we do, we'll try to help you out. You can also post any bugs that you find here. IMPORTANT: Don't post mod related problems here!
Post Reply
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Crash with artillery hold fire & specific target

Post by Garnier »

There's a save with reproducible steps in post 2 below.


If there's anything else we can do to help track this down, let us know. I've provided all the information and files I could think of.


We just had a CTD like the one when RebBugler played with us and had a mod. It crashed about 60 minutes into the game. We've never seen this crash except when there was a mod involved. There were 7 players. This is the battle page (though we didn't get a gamedb file so we couldn't finish recording it).

None of us had toolbar mods this time that I'm aware of. We were using a multiplayer host-side mod I made. All the logs appear to end in a COMPAI for a certain 10pdr Parrott.

Some of our MP Logs
A savegame from about 30 minutes before the crash
The mod we were using
The NetServ folder for the game

The SOWGB.log showed nothing at the end but our in-game chat.


These are the ends of three of our mp logfiles (where it was currently writing to the disk, so the timestamps don't match):

Code: Select all

14869884,PREAI,0,1,-36,1,9,9,1000,956
14869884,AITICKS,3600,1,0,9,9,1
14869884,COMPAI,14,2
rrott      2Lt W Devin,32,15,2,972,0,60,160,490,9,96819.52,119974.91,-0.17,0.99,96819.52,119974.91,-0.17,0.99,4
14846586,PREAI,0,1,1620,0,9,9,972,0
14846586,#1 Gun / 12lb Napoleon      2Lt J Stephenson,33,15,2,1000,284,60,0,480,9,98560.00,120064.00,-0.23,0.97,98560.00,120064.00,-0.23,0.97,4
14846586,PREAI,0,1,2880,0,9,9,1000,284

Code: Select all

14869884,PREAI,0,1,168,1,9,9,999,962
14869884,#6 Gun / 3in Ordnance      Sgt A Hoiser,14,15,2,1000,956,36,130,490,9,98297.07,123066.32,0.76,0.65,98297.07,123066.32,0.76,0.65,4
14869884,PREAI,0,1,-36,1,9,9,1000,956
14869884,AITICKS,3600,1,0,9,9,1
14869884,COMPAI,14,2
rott      2Lt W Devin,32,15,2,972,0,60,160,490,9,96819.52,119974.91,-0.17,0.99,96819.52,119974.91,-0.17,0.99,4
14846586,PREAI,0,1,1620,0,9,9,972,0
14846586,#1 Gun / 12lb Napoleon      2Lt J Stephenson,33,15,2,1000,284,60,0,480,9,98560.00,120064.00,-0.23,0.97,98560.00,120064.00,-0.23,0.97,4
14846586,PREAI,0,1,2880,0,9,9,1000,284

Code: Select all

14869884,PREAI,0,1,168,1,9,9,999,962
14869884,#6 Gun / 3in Ordnance      Sgt A Hoiser,14,15,2,1000,956,36,130,490,9,98297.07,123066.32,0.76,0.65,98297.07,123066.32,0.76,0.65,4
14869884,PREAI,0,1,-36,1,9,9,1000,956
14869884,AITICKS,3600,1,0,9,9,1
14869884,COMPAI,14,2
 Devin,32,15,2,972,0,60,160,490,9,96819.52,119974.91,-0.17,0.99,96819.52,119974.91,-0.17,0.99,4
14846586,PREAI,0,1,1620,0,9,9,972,0
14846586,#1 Gun / 12lb Napoleon      2Lt J Stephenson,33,15,2,1000,284,60,0,480,9,98560.00,120064.00,-0.23,0.97,98560.00,120064.00,-0.23,0.97,4
14846586,PREAI,0,1,2880,0,9,9,1000,284


This is the scenario entry for the gun mentioned in the logfile:

Code: Select all

1,1,1,2,3,4,OOB_AABi,#5 Gun / 10lb Parrott      2Lt W Devin,,UGLB_USA_Art_Limbered_4,,(1-0),IDS_ARSN_10lb_Parrott_USA,8,1,0,72998,143692,GFX_US_National_Cav,,DRIL_Lvl6_Art_Line,15,,,,,,3,6,9,2,2,2,2,2,5,2,7

Here's a print screen I took of the crash (I dragged the window around):
Image
Last edited by Garnier on Sun Mar 20, 2011 6:10 am, edited 1 time in total.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Crash with artillery hold fire & specific target

Post by Garnier »

We got this again in another battle, and have narrowed it down to this sequence of commands:

You select a battery commander, and give the battery hold fire order.
Then after the guns are unlimbered, you give the battery commander the "battery specific target" order and click an enemy regiment. Right after the first shot is fired after this, it crashes. (You see the smoke and hear the shot).

Little brought this idea up since he had just done this sequence of actions when the game with rebbugler crashed, and again in the one just now. We tested in MP and were able to reproduce it in the first few minutes of the game, and I just did it again in singleplayer.

I'm going to try to get a save now right before it happens. It didn't happen every time I used these commands in order.

The mp logs always show that it's in COMPAI of one of the guns in the battery that was doing this.

Since we're using the stock game for these, it doesn't appear to have anything to do with mods. Just coincidence that our first two occurences of it were also our first two games with mods.


Edit:
Here's a savegame in which I reproduced the crash within 10 seconds, three times.

Directions:
Select the battery commander (if he isn't already)
1. Click hold fire button.
2. Click battery specific target.
3. Click the flag with the blue circle.

Note:
You can also reproduce it by using the hold fire button on a gun and then clicking specific target.

Image
Last edited by Garnier on Sun Mar 20, 2011 6:07 am, edited 1 time in total.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
User avatar
RebBugler
Reactions:
Posts: 4252
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: Crash with artillery hold fire & specific target

Post by RebBugler »

Great catch, it's written up and will be fixed with the Alpha. Odd combination of commands, guess that crash has been there from the start, just no one held fire then targeted till now. Regardless, don't do this command combo till fix, unless you find crashes fun.

IMPORTANT...This occurs also in SP play, so avoid this combination...DUH
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re: Crash with artillery hold fire & specific target

Post by Garnier »

I would guess it is new with the patch, because we've played at least 400 battles before this patch without ever crashing like this, and now it's happened 3 times in the 10 or so games after the patch.

But it's good to discover that it's not mod related.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
FH_Little
Reactions:
Posts: 15
Joined: Thu Aug 12, 2010 11:22 pm

Re: Crash with artillery hold fire & specific target

Post by FH_Little »

I just wanted to point out that both times I've caused the crash, my guns had been unlimbered and firing before I gave the hold fire command. The first time I held fire in order to conserve ammo and the game last night I stopped firing to rest. In both cases I was using the targeting to resume firing.
Jim
Reactions:
Posts: 1082
Joined: Tue Nov 27, 2007 8:53 am

Re: Crash with artillery hold fire & specific target

Post by Jim »

Excellent detective work people. Thanks for the assist.

-Jim
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863
Post Reply