Page 1 of 1
Ambush bug
Posted: Fri Aug 02, 2024 7:35 am
by kodab89
I encountered this bug several times. After my units get ambushed (in this case it was trucks) the game closes to windows.
What info you need to look into it? I attach my save file the turn before the crash
https://drive.google.com/file/d/1d-hSIr ... drive_link
Re: Ambush bug
Posted: Fri Aug 02, 2024 7:49 am
by Crossroads
Thank you for reporting this, kodab89. First: is this with the latest 1.31.02 game version?
Save file is a great starting point, thank you! Where did the ambush bug take place, which units at which hex, do you recall?
Re: Ambush bug
Posted: Fri Aug 02, 2024 9:34 am
by Crossroads
Thank you for access to your Google drive. I took a few turns, managed to get a few Ambushes, three times so far, always with a result of reduced by 1. This was with 1.31.02 released yesterday:

- ambush.jpg (188.18 KiB) Viewed 324 times
I was not able to replicate the CTD behaviour yet. Do you recall seeing an Ambush result dialog first, what were the results? Complete annihilation, or reduce in strength points?
Re: Ambush bug
Posted: Fri Aug 02, 2024 12:22 pm
by kodab89
1/ I used v. 1.30 beta, didn't know there was a new version, sorry. Maybe in 1.31 you already fixed it?
2/ It was me attacking with 2 full teams of halftrucks, 1 on them was ambushed (killed) after i assulted a hex - there was a dialog box showing the info. After i clicked it game crashed to desktop. I'll try to recreate the situation and give you exact coordinates and/or record it today evening.
3/ The bug was generally ambush related, had it happen to me in several scenarios with various units, I bypassed it by not assulting certain hexes in a scenario. It was also mentioned here on forum one time.
4/ Is assulting with 2 halftruck teams a wise move? By all means no

Re: Ambush bug
Posted: Fri Aug 02, 2024 1:38 pm
by Crossroads
kodab89 wrote: Fri Aug 02, 2024 12:22 pm
1/ I used v. 1.30 beta, didn't know there was a new version, sorry. Maybe in 1.31 you already fixed it?
2/ It was me attacking with 2 full teams of halftrucks, 1 on them was ambushed (killed) after i assulted a hex - there was a dialog box showing the info. After i clicked it game crashed to desktop. I'll try to recreate the situation and give you exact coordinates and/or record it today evening.
3/ The bug was generally ambush related, had it happen to me in several scenarios with various units, I bypassed it by not assulting certain hexes in a scenario. It was also mentioned here on forum one time.
4/ Is assulting with 2 halftruck teams a wise move? By all means no
Now that I have a more detailed report (two halftracks), I don't think it was. 1.31 fixed an Assault bug when leaders present under certain circumstances, so likely this is not it, even if Ambush is another type of assault.
It is useful to know one of the halftrack platoons was destroyed. This is likely a more difficult bug to get my crosshairs on, as so much randomness involved. First in that Ambush triggers, and then outcome is such that the bug takes place.
If you see the CTD again, please zip the game log files from Logs folder immediately, before restart. Those can have important clues as well.
This is a good start, thank you for the details!
Re: Ambush bug
Posted: Sat Aug 03, 2024 9:19 pm
by kodab89
I managed to reproduce the bug. I have recorded a video - lats 10 seconds of the clip is the bug mentioned. You can view it here:
https://youtu.be/xKD1uW8rlCw
I also attach all the log files here -
https://drive.google.com/drive/folders/ ... sp=sharing
This time I have used the newest version available - 1.31.02
Re: Ambush bug
Posted: Sat Aug 03, 2024 9:50 pm
by Jason Petho
Ah, I see what you're doing.
The main reason - and a clue for Petri - is that you're assaulting with a unit that has a 0 assault value. The mortars shouldn't be included in the assault.
Units that assault with a 0 assault value are subject to an ambush, which is happening.
Re: Ambush bug
Posted: Sun Aug 04, 2024 8:20 am
by Crossroads
Thank you for your detailed bug report, kodab89! Cheers Jason, Divide-by-0? To be found out.
As for assaulting with mortar units, yes, a penalty to be paid on the counter-assault by defending unit code. But as the game allows it, it should not crash. To be fixed.