Page 1 of 1

HQ buttons not always working

Posted: Mon Mar 23, 2020 1:12 am
by ncc1701e
In Europe 1944 scenario, playing 1.00.05, the Disable button won't do anything for this HQ.

Image

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 1:20 am
by ncc1701e
Also, the calculated numbers are very strange. In Europe 1939 scenario, selecting this HQ and pressing on Disable button.

Image

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 1:21 am
by ncc1701e
It says:

Image

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 1:25 am
by ncc1701e
Indeed, 4 land units have been changed but, as you can see, the HQ was not disabled for repair/upgrade.

Image

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 1:32 am
by ncc1701e
And now, pressing the Enable button, it says:

Image

Like if the Enable button is now acting on the HQ unit. Seems the HQ treatment is not consistent.

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 8:39 am
by AlvaroSousa
Slight bug. Thanks. Non-important though. I'll fix it.

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 10:37 am
by ncc1701e
Thanks, I am curious about the root cause of the first one because I have found other HQs in the same situation.
I wonder if everything will be solved at once.

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 10:43 am
by AlvaroSousa
It's already been solved. It was just 1 line of code.

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 10:48 am
by ncc1701e
Beware there are two problems in this thread.

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 11:31 am
by AlvaroSousa
What is the other problem? The HQs look correct to me in their stats. Some countries are slightly different in stats.

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 12:01 pm
by ncc1701e
I do not understand which one you have corrected. The first post is the first bug. All the other posts are related to the second bug.
For which one do you need more information?

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 4:12 pm
by AlvaroSousa
I fixed the HQ repair radius so it is included.

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 5:15 pm
by ncc1701e
Just to be sure because I do not know if this is indeed linked to the HQ repair radius.

Select USA 1st Army HQ in Europe 1944 scenario. Click on the Repair/upgrade disabled within command range button:

Image

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 5:16 pm
by ncc1701e
You will get a pop-up but see in the red circle, these USA Air units are not disabled. We do not see the black + icon on them. Why?

Image

Whereas, the UK units have indeed been disabled, they have the black + icon on them.

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 5:17 pm
by ncc1701e
And, another example in the same Europe 1944 scenario, select UK 8th Army HQ and click on the Repair/upgrade disabled within command range button.

Nothing is happening, not even a pop-up. Why?

Image

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 6:21 pm
by AlvaroSousa
That is a code bug. Which I have now fixed. Thanks for spotting it.

RE: HQ buttons not always working

Posted: Mon Mar 23, 2020 7:35 pm
by ncc1701e
You are welcome [:)]. Thus, not in 1.00.06 I assume?