Italy can't use oil
Moderators: firepowerjohan, rkr1958, Happycat, Slitherine Core
-
massina_nz
- Lieutenant Colonel - Fw 190A

- Posts: 1137
- Joined: Fri Dec 18, 2009 12:12 am
- Location: Wellington, New Zealand
Italy can't use oil
I've had something unexpected happen in one of my games. It's early 1945 and Germany has fallen before Italy. I have over 1000 oil units but the Italians can't use any of them.
Anyone got an explanation? I'm stumped.
Anyone got an explanation? I'm stumped.
-
schwerpunkt
- Sergeant First Class - Panzer IIIL

- Posts: 367
- Joined: Fri Apr 17, 2009 12:26 am
- Location: Western Australia
-
Peter Stauffenberg
- General - Carrier

- Posts: 4745
- Joined: Sun Jul 08, 2007 4:13 pm
- Location: Oslo, Norway
-
Peter Stauffenberg
- General - Carrier

- Posts: 4745
- Joined: Sun Jul 08, 2007 4:13 pm
- Location: Oslo, Norway
The production panel to the bottom left will show the true oil consumption for Italy when Germany is conquered. I guess this shows 0. The bug is that the production panel at the top shows the oil production for the primary country (Germany). Code is added so usable oil is oil from primary, secondary and tertiary major powes belonging to a side. The secondary and tertiary are added to the primary value.
Problem is that the code didn't take into consideration that if the primary is conquered then you should actually add the oil to the secondary major power and not the primary.
This bug is fixed in GS v2.0. Unfortunately it can't be fixed in GS v1.07 since we no longer have that source code. I guess this is a vanilla game bug, but we don't fix bugs in CeaW vanilla. We only fix bugs in GS.
Each country has a separate oil pool stored and the available one is the sum of the pools. When a country is conquered the country oil pool is destroyed. So Germany will e. g. lose quite a bit of oil when Italy surrenders and it's even worse when Germany surrenders. Most of the Axis oil is generated by Germany so losing Germany means Italy will end up with little oil and no oil sources, but their off map oil production. That's the reason you end up with almost no oil when Germany surrenders.
Problem is that the code didn't take into consideration that if the primary is conquered then you should actually add the oil to the secondary major power and not the primary.
This bug is fixed in GS v2.0. Unfortunately it can't be fixed in GS v1.07 since we no longer have that source code. I guess this is a vanilla game bug, but we don't fix bugs in CeaW vanilla. We only fix bugs in GS.
Each country has a separate oil pool stored and the available one is the sum of the pools. When a country is conquered the country oil pool is destroyed. So Germany will e. g. lose quite a bit of oil when Italy surrenders and it's even worse when Germany surrenders. Most of the Axis oil is generated by Germany so losing Germany means Italy will end up with little oil and no oil sources, but their off map oil production. That's the reason you end up with almost no oil when Germany surrenders.
-
massina_nz
- Lieutenant Colonel - Fw 190A

- Posts: 1137
- Joined: Fri Dec 18, 2009 12:12 am
- Location: Wellington, New Zealand
Thanks Borger. So I guess you don't need my save game file then?Stauffenberg wrote:The production panel to the bottom left will show the true oil consumption for Italy when Germany is conquered. I guess this shows 0. The bug is that the production panel at the top shows the oil production for the primary country (Germany). Code is added so usable oil is oil from primary, secondary and tertiary major powes belonging to a side. The secondary and tertiary are added to the primary value.
Problem is that the code didn't take into consideration that if the primary is conquered then you should actually add the oil to the secondary major power and not the primary.
This bug is fixed in GS v2.0. Unfortunately it can't be fixed in GS v1.07 since we no longer have that source code. I guess this is a vanilla game bug, but we don't fix bugs in CeaW vanilla. We only fix bugs in GS.
Each country has a separate oil pool stored and the available one is the sum of the pools. When a country is conquered the country oil pool is destroyed. So Germany will e. g. lose quite a bit of oil when Italy surrenders and it's even worse when Germany surrenders. Most of the Axis oil is generated by Germany so losing Germany means Italy will end up with little oil and no oil sources, but their off map oil production. That's the reason you end up with almost no oil when Germany surrenders.
-
Peter Stauffenberg
- General - Carrier

- Posts: 4745
- Joined: Sun Jul 08, 2007 4:13 pm
- Location: Oslo, Norway
-
massina_nz
- Lieutenant Colonel - Fw 190A

- Posts: 1137
- Joined: Fri Dec 18, 2009 12:12 am
- Location: Wellington, New Zealand
-
joerock22
- Captain - Heavy Cruiser

- Posts: 928
- Joined: Fri Oct 03, 2008 12:38 am
- Location: Connecticut, USA
Really? I didn't know that. Did you tell me at the time? Do you think it affected the end result of our game? I would hate to have won because of a bug.schwerpunkt wrote:I've run into this in a game I played against JoeRock. You still continue to get oil, just not use your stockpile. Its almost as if the stockpile belongs to Germany???
-
schwerpunkt
- Sergeant First Class - Panzer IIIL

- Posts: 367
- Joined: Fri Apr 17, 2009 12:26 am
- Location: Western Australia
I didnt mention it at the time as the biggest issue was the change of hex control which isolated some of my units. It didnt make a big difference to the last few turns as I was only moving SUBs, so no issue.joerock22 wrote:Really? I didn't know that. Did you tell me at the time? Do you think it affected the end result of our game? I would hate to have won because of a bug.schwerpunkt wrote:I've run into this in a game I played against JoeRock. You still continue to get oil, just not use your stockpile. Its almost as if the stockpile belongs to Germany???