Page 1 of 1

2 minor bugs

Posted: Mon Oct 17, 2011 6:29 am
by Plaid
Image

First one is here : soviet port in Split somehow. No idea where it came from and was it here before soviet activation of not.

2nd bug is that all soviet strategic reserve units have very same name

Posted: Mon Oct 17, 2011 8:58 am
by Peter Stauffenberg
Is Yugoslavia neutral in your game?

I will look into the second one.

Posted: Mon Oct 17, 2011 9:04 am
by Plaid
Yes, it is neutral.

Posted: Mon Oct 17, 2011 11:52 am
by Peter Stauffenberg
Which version did you start the game with? Do you have a chance to load up older save games and check the status of the hex trying to figure out which turn it changed from Yugoslavian to Russian?

When I start new games then the hex is Yugoslavian. It remains Yugoslavian when Barbarossa starts.

Is it only Split that's Russian or any other hexes in Yugoslavia?

Posted: Mon Oct 17, 2011 1:17 pm
by pk867
Hi,

I saw the same thing where Yugo was neutral. The game was started with v2.01.14 and upgraded and still playing the game with v2.01.30 .

I did not report this since it could be a by product of an older version game playing upgraded to the latest.

I was going to wait to see when we did a restart with v2.01.31 (when that comes) to see if the bug is still there.

Paul

Posted: Mon Oct 17, 2011 1:42 pm
by Peter Stauffenberg
Did you only see the problem in Split or other hexes as well?

Posted: Mon Oct 17, 2011 2:46 pm
by pk867
Hi,

Only that port no other cities or ports. I just think it is because we are playing an older version of the game that has been upgraded.

I will check after I start another game with the latest.

Posted: Mon Oct 17, 2011 3:08 pm
by Peter Stauffenberg
I found the bug and fixed it for GS v2.01.31. :D

The game code was checking for core hex owner regarding who should own a hex. The game doesn’t have a core owner for a port because it’s controlled by the adjacent city. So the test failed for port hexes because it believed that the port was controlled by Yugoslavia as non-Axis and it was not a core Yugoslavian hex. Then the owner will be set to the controlling major power. That is Russia for Yugoslavia if Russia is activated. The code is changed so it only checks land hexes. The adjacent port will change owner to the controlling city as it should.