HQ readiness bug

Strategic Command WWII World at War Tech Support
Post Reply
Chernobyl
Posts: 640
Joined: Mon Aug 27, 2012 5:51 am

HQ readiness bug

Post by Chernobyl »

I found a situation where a unit is commanded by a HQ but does not get the readiness bonus from being attached. When I detach and then reattach that unit to the HQ, it immediately has the readiness it should have had all along.
Chernobyl
Posts: 640
Joined: Mon Aug 27, 2012 5:51 am

Re: HQ readiness bug

Post by Chernobyl »

Hotseat file, notice the Japanese 13th Army near Nanchang is low readiness. End turn and play as Axis, notice the army is under the command of a HQ but not receiving bonus (it's set to auto-assist mode). Detach and reattach and it goes from 68% to 91% readiness instantly.
Attachments
chinatest.rar
(6.05 MiB) Downloaded 9 times
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: HQ readiness bug

Post by Hubert Cater »

Thanks for the file, it is really helpful, however I'm having a hard time repeating this outside of your example.

Do you happen to have a save right at the end of the first turn of the game where this then eventually happens?
Chernobyl
Posts: 640
Joined: Mon Aug 27, 2012 5:51 am

Re: HQ readiness bug

Post by Chernobyl »

Hmm I'm having the same issue, I tried to duplicate it but can't. If I ever see it again I'll post the file.
Chernobyl
Posts: 640
Joined: Mon Aug 27, 2012 5:51 am

Re: HQ readiness bug

Post by Chernobyl »

Okay it happened again. I saved at the end of the first (Axis) turn. Same army, same HQ.
Attachments
bugtest_firstturn.rar
(6.02 MiB) Downloaded 11 times
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: HQ readiness bug

Post by Hubert Cater »

Thank you and I can just again say the turns were very helpful, thanks for that, and I was able to track this down.

Looks like what was happening was that particular hex, 192,63, originally had a Chinese unit that was attached to a Chinese HQ.

Then your unit, the Japanese 13th Army occupied hex 192,63 after destroying the original Chinese unit that was there.

In the supply phase where HQ attachments are examined and cleaned, the Chinese HQ 'cleaned' that position of its HQ rating and experience values, e.g. to potentially be reassigned by either the same HQ or another one if a better one was found. And after doing this, the list is wiped out and then reassigned to whatever the optimal units would be.

But this shouldn't happen if the list contained an enemy unit, so I've added a check to ensure that this doesn't happen going forward.

It was an odd one as the Axis HQ attachments and values are done first, then the Allied ones, and it was when the Allied logic was being processed, it just set the HQ rating and experience values assigned to 13th Army to zero, but of course the Japanese attachment to the HQ remained. So it just looked odd, e.g. made no sense to me, and definitely incorrect.

Great catch :)

Hubert
Chernobyl
Posts: 640
Joined: Mon Aug 27, 2012 5:51 am

Re: HQ readiness bug

Post by Chernobyl »

Glad to be of help in the quest to perfect this great game!
Chernobyl
Posts: 640
Joined: Mon Aug 27, 2012 5:51 am

Re: HQ readiness bug

Post by Chernobyl »

I can confirm I've noticed this happening in other locations on the map. I assume it's a bug for all three versions of the game.
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: HQ readiness bug

Post by Hubert Cater »

Yes, as they all share the same code base, so this was indeed a good find and bug for us to fix for sure.
Post Reply

Return to “Tech Support”