HQ buttons not always working

Warplan is a World War 2 simulation engine. It is a balance of realism and playability incorporating the best from 50 years of World War 2 board wargaming.

Moderator: AlvaroSousa

Post Reply
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

HQ buttons not always working

Post by ncc1701e »

In Europe 1944 scenario, playing 1.00.05, the Disable button won't do anything for this HQ.

Image
Attachments
HQbutton.jpg
HQbutton.jpg (57.58 KiB) Viewed 296 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post by ncc1701e »

Also, the calculated numbers are very strange. In Europe 1939 scenario, selecting this HQ and pressing on Disable button.

Image
Attachments
HQbutton1.jpg
HQbutton1.jpg (135.18 KiB) Viewed 296 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post by ncc1701e »

It says:

Image
Attachments
HQbutton2.jpg
HQbutton2.jpg (115.02 KiB) Viewed 296 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post by ncc1701e »

Indeed, 4 land units have been changed but, as you can see, the HQ was not disabled for repair/upgrade.

Image
Attachments
HQbutton3.jpg
HQbutton3.jpg (127.23 KiB) Viewed 296 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post 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.
Attachments
HQbutton4.jpg
HQbutton4.jpg (113.43 KiB) Viewed 296 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: HQ buttons not always working

Post by AlvaroSousa »

Slight bug. Thanks. Non-important though. I'll fix it.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post 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.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: HQ buttons not always working

Post by AlvaroSousa »

It's already been solved. It was just 1 line of code.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post by ncc1701e »

Beware there are two problems in this thread.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: HQ buttons not always working

Post by AlvaroSousa »

What is the other problem? The HQs look correct to me in their stats. Some countries are slightly different in stats.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post 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?
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: HQ buttons not always working

Post by AlvaroSousa »

I fixed the HQ repair radius so it is included.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post 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
Attachments
HQbutton1.jpg
HQbutton1.jpg (152.95 KiB) Viewed 296 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post 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.
Attachments
HQbutton2.jpg
HQbutton2.jpg (172.61 KiB) Viewed 296 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post 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
Attachments
HQbutton3.jpg
HQbutton3.jpg (129.47 KiB) Viewed 296 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: HQ buttons not always working

Post by AlvaroSousa »

That is a code bug. Which I have now fixed. Thanks for spotting it.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: HQ buttons not always working

Post by ncc1701e »

You are welcome [:)]. Thus, not in 1.00.06 I assume?
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
Post Reply

Return to “WarPlan”