3.1.0.3 Use Oil Bug (Full Version)

All Forums >> [New Releases from Matrix Games] >> World in Flames >> Tech Support



Message


rkr1958 -> 3.1.0.3 Use Oil Bug (4/14/2020 3:09:27 AM)

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]local://upfiles/31901/0C62D6B854104C779A8258E026D58F35.jpg[/image]




rkr1958 -> RE: 3.1.0.3 Use Oil Bug (4/14/2020 3:10:11 AM)

game save (version 3.1.0.3).




BrianJH -> RE: 3.1.0.3 Use Oil Bug (4/14/2020 2:44:23 PM)


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]local://upfiles/48460/F7A0FA56DC584EAEB0F501F74BA85BEA.jpg[/image]




BrianJH -> RE: 3.1.0.3 Use Oil Bug (4/14/2020 2:45:26 PM)

Italy Use Oil



[image]local://upfiles/48460/14CC80AAF18C414F82E92E3A3A5B304C.jpg[/image]




BrianJH -> RE: 3.1.0.3 Use Oil Bug (4/14/2020 2:47:30 PM)


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




rkr1958 -> RE: 3.1.0.3 Use Oil Bug (4/14/2020 4:51:36 PM)


quote:

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.

quote:

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.





BrianJH -> RE: 3.1.0.3 Use Oil Bug (4/14/2020 11:56:42 PM)


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]local://upfiles/48460/C1750E49C69E4395B3625252488D724A.jpg[/image]




Shannon V. OKeets -> RE: 3.1.0.3 Use Oil Bug (4/18/2020 8:40:54 PM)


quote:

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]local://upfiles/48460/C1750E49C69E4395B3625252488D724A.jpg[/image]

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




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0234375