3.1.0.3 Use Oil Bug

Post bug reports and ask for game support here.

Moderator: Shannon V. OKeets

Post Reply
User avatar
rkr1958
Posts: 31062
Joined: Thu May 21, 2009 10:23 am

3.1.0.3 Use Oil Bug

Post by rkr1958 »

To recreate bug (version 3.1.0.3):

1. For Germany, "Reorganized All" units such that 1 + 0.35 of the saved oil at Cologne is used, leaving Cologne with 0.65 oil.

2. For Italy, check "Include oil from cooperating major power."

Bug. The oil saved at Cologne is showing as 0 instead of 0.65.

Image
Attachments
99UseOilBug.jpg
99UseOilBug.jpg (791.61 KiB) Viewed 221 times
Ronnie
User avatar
rkr1958
Posts: 31062
Joined: Thu May 21, 2009 10:23 am

RE: 3.1.0.3 Use Oil Bug

Post by rkr1958 »

game save (version 3.1.0.3).
Attachments
UseOilBug.zip
(1.46 MiB) Downloaded 21 times
Ronnie
User avatar
BrianJH
Posts: 281
Joined: Sun May 04, 2014 2:22 am
Location: Adelaide, Australia

RE: 3.1.0.3 Use Oil Bug

Post by BrianJH »


There is something funny going on with the oil located Cologne.

I had a little play around with your save file. I got to work correctly by consuming all of the oil in Cologne, and leaving the remnant in Berlin.



Image
Attachments
GermanUseOil.jpg
GermanUseOil.jpg (222.46 KiB) Viewed 221 times
User avatar
BrianJH
Posts: 281
Joined: Sun May 04, 2014 2:22 am
Location: Adelaide, Australia

RE: 3.1.0.3 Use Oil Bug

Post by BrianJH »

Italy Use Oil



Image
Attachments
ItalyUseOil.jpg
ItalyUseOil.jpg (207.63 KiB) Viewed 221 times
User avatar
BrianJH
Posts: 281
Joined: Sun May 04, 2014 2:22 am
Location: Adelaide, Australia

RE: 3.1.0.3 Use Oil Bug

Post by BrianJH »


Did you by chance at some point in your game, edit the save file and place oil in Cologne? maybe the edit wasn't quite right.

Brian
User avatar
rkr1958
Posts: 31062
Joined: Thu May 21, 2009 10:23 am

RE: 3.1.0.3 Use Oil Bug

Post by rkr1958 »

ORIGINAL: BrianJH


Did you by chance at some point in your game, edit the save file and place oil in Cologne? maybe the edit wasn't quite right.

Brian
No edit and the I quickly discovered the workaround you mentioned in your previous post.
ORIGINAL: AAR w/Jesper, Post #: 158

Turn 3. Jan/Feb 1940. End of Turn. Use Oil.

[ax] Use Oil. Axis.
(1) Germany. 3.35 need. Reorg all. 3 Oil spent. 4 saved oil points (Cologne x 2, Aachen, Berlin) used in that order. Note. It's critical that the 0.65 fraction remaining either been the Aachen or Berlin oil point, otherwise it'll show as 0 when Italy tries to use it.
(2) Italy (include oil from cooperating MP). 1.65 need. Reorg all with 0.65 Berlin and Rome saved oil.
(3) Japan. 2.4 Need. Reorg all, use 2 oil
color & emphasis added.

Ronnie
User avatar
BrianJH
Posts: 281
Joined: Sun May 04, 2014 2:22 am
Location: Adelaide, Australia

RE: 3.1.0.3 Use Oil Bug

Post by BrianJH »


I've looked into this a bit further.

It looks to me that the code is not handling the Include Oil from Cooperating Major Powers when there is multiple Oil in a hex. When it gets to Italy Use Oil, it's only looking at the Oil (Unit) from the top of the list, which if already consumed shows zero. This is easily demonstrated by leaving the remaining oil in the top Cologne Oil point in the list.

Steve, I hope this helps.

Brian.



Image
Attachments
ItalyCologne.jpg
ItalyCologne.jpg (204.87 KiB) Viewed 221 times
Shannon V. OKeets
Posts: 22165
Joined: Wed May 18, 2005 11:51 pm
Location: Honolulu, Hawaii
Contact:

RE: 3.1.0.3 Use Oil Bug

Post by Shannon V. OKeets »

ORIGINAL: BrianJH


I've looked into this a bit further.

It looks to me that the code is not handling the Include Oil from Cooperating Major Powers when there is multiple Oil in a hex. When it gets to Italy Use Oil, it's only looking at the Oil (Unit) from the top of the list, which if already consumed shows zero. This is easily demonstrated by leaving the remaining oil in the top Cologne Oil point in the list.

Steve, I hope this helps.

Brian.



Image
Thanks.[&o]
Although I would have been happier if you had proven this wasn't a bug.[;)]
Steve

Perfection is an elusive goal.
Post Reply

Return to “Tech Support”