Fuel question

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
Chris21wen
Posts: 7597
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

Fuel question

Post by Chris21wen »

Fuel in Hokkaido. Over time I 've come to the conclusion that there's something wrong with fuel movement. Supply is no problem as you can ask for more. You can't do that with fuel.

In this situation, and it's happen three times over the last few months, Sapporo has run out of fuel as have all the other base not circled blue. The two on the right have 4K between them but Hakodate has 19K and gaining with the base in between Sap and Hako with 3K. Sapporo and Hakodate are busy cargo ports with Sapporo being the busiest and it also has more industry. Stockpiling is off for all. I have one small Tk on a CS between Ominato and Hakodate.

Now I know I'm not shipping enough fuel to the island, especially to Sapp but each time I run out I send a big Tk to but ever time in drains to zero with Hakodate getting it.

So why isn't Sapporo keeping its fuel? Demand at the base isn't as great as for Sapporo.
Capture.JPG
Capture.JPG (21.72 KiB) Viewed 1065 times
User avatar
PaxMondo
Posts: 10779
Joined: Fri Jun 06, 2008 3:23 pm

Re: Fuel question

Post by PaxMondo »

A few questions first:

PBEM or AI game?

The 2 other ports circled in blue (Bihoro and Kushiro I believe), are there any TF's "based" from either?

Game date?

Scen?

About how many turns ago did you first notice this?

Thanks!
:ugeek: :ugeek: :ugeek:
Pax
User avatar
RangerJoe
Posts: 18482
Joined: Mon Nov 16, 2015 2:39 pm
Location: Who knows?

Re: Fuel question

Post by RangerJoe »

If you are sending fuel to Sapporo, you need to stockpile it in this situation. Hakodate probably has a high demand for fuel if you are loading xAKs/xAKls with resources there to ship to Honshu. The fuel will tend to go to Hakodate in that situation plus if Hakodate's port is larger, it will have a naturally higher demand for fuel as well.
Seek peace but keep your gun handy.

I'm not a complete idiot, some parts are missing! :o

“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”
:twisted: ; Julia Child
Image
Chris21wen
Posts: 7597
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

Re: Fuel question

Post by Chris21wen »

A few questions first:

PBEM or AI game? AI

The 2 other ports circled in blue (Bihoro and Kushiro I believe), are there any TF's "based" from either? No

Game date? Sept 42

Scen? #1

About how many turns ago did you first notice this? About 4 months, then 2 then 2 days ago.

Thanks!
:ugeek: :ugeek: :ugeek:
Chris21wen
Posts: 7597
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

Re: Fuel question

Post by Chris21wen »

RangerJoe wrote: Wed May 22, 2024 3:02 pm If you are sending fuel to Sapporo, you need to stockpile it in this situation. Hakodate probably has a high demand for fuel if you are loading xAKs/xAKls with resources there to ship to Honshu. The fuel will tend to go to Hakodate in that situation plus if Hakodate's port is larger, it will have a naturally higher demand for fuel as well.
The shipping demand is probably slightly greater but not be a lot, both are being used as cargo hubs for resources. Hakodate has Gozan xAK with a poor fuel/cargo efficiency but than it doesn't have to go far. I find I can't ship enough using just Hakodate. Both by the way are Port size 6.

Why would it have a narural higher demand? It doen't have any HI.
User avatar
PaxMondo
Posts: 10779
Joined: Fri Jun 06, 2008 3:23 pm

Re: Fuel question

Post by PaxMondo »

Chris21wen wrote: Thu May 23, 2024 5:58 am A few questions first:

PBEM or AI game? AI

The 2 other ports circled in blue (Bihoro and Kushiro I believe), are there any TF's "based" from either? No

Game date? Sept 42

Scen? #1

About how many turns ago did you first notice this? About 4 months, then 2 then 2 days ago.

Thanks!
:ugeek: :ugeek: :ugeek:
Chris;

The supply/oil/resource movement code has always appeared to be the most fragile to me in the game. Other than breaking the pilot limit in the game, this portion causes me more challenges to finishing games than any other item (excepting of course my "stupids"). Anyway, remember my disclaimer:

I am not a dev, have never seen the code, and I do not recall the devs ever making many comments on this portion of the game.

Having gotten that out of the way, I can deduce a fair amount from having used the code for so many years now. Clearly, one of the first steps in the process is that it identifies boundaries in terms of where these resources can flow, then it will look at base sizes to get frequency and amount of movement and then finally push around. If there is an error in the first step, nevermind how, then the whole process falls apart. Then realize how large of a data pool that this game represents, huge. Just the "map" itself is huge in terms of data. Each hex has a number of properties, one part of which is hex side properties. Hex sides themselves have a large number of properties defining ownership, movement, bordering hex, etc. Now imagine just one value gets corrupted in all of this ... how? just call it data leak for want of a better term.

How to prove it and how to fix it are the same solution; go back to the last turn where it is working and re-run the turns from there. IF you get a different result, then you just proved a data leak was the likely culprit. IF you get the same result, then one of 2 things: either you need to go back further because the error is in your turn already OR we have a bug to report meaning that something you did (a movement, a battle outcome, something in the game) caused a hex property to NOT update correctly.

The difference between these two errors is reproducibility. If you can re-produce it, you have a bug. Catch is, that is true only if the code is not already corrupted. And the only way to know that is to keep going back until it doesn't appear and then rerun. A Dev might catch it easier/faster via a checksum type of algorithm, but we players do not have that in our toolbox, so we have to do the hard way.

Now we both know that the second option is not likely simply because of the millions of game hours played already. Possible, but not likely. Thus you are left with the first one: data leak. How to combat it? Save after every turn exit the game and restart WitPAE.

In every game I have played the last 10 or so years, I probably come across a data leak about every 100 or so turns. I can't remember the last time I had an issue EXCEPT when I break my rule about save/restart. Almost every time I have an issue, I review my turn notes and find that I have no mention of a restart ... When I break my rule, I kick myself because then I might have to go back 10, 20 or more turns before I get to my last "clean" turn and can commence running again. I routinely run my games to '45 and later. My record in terms of longest game is April 17 1946 ... disappointing it took the IJ that long to own the map, but I never said I was a good player ... I just have a lot of fun along the way., especially late game with all the cool toys that both sides get. :D

My final point is this: Can you get +1500 turns in this game? YES! Do you need to exercise some care getting there? Also Yes.


:ugeek: :ugeek: :ugeek:
Pax
User avatar
RangerJoe
Posts: 18482
Joined: Mon Nov 16, 2015 2:39 pm
Location: Who knows?

Re: Fuel question

Post by RangerJoe »

I usually end my games on the 1st of January 1943 when the computer surrenders. Just look at my AAR to see how poorly the Allies have done, especially in China!

https://www.matrixgames.com/forums/view ... 6e056b6bda
Seek peace but keep your gun handy.

I'm not a complete idiot, some parts are missing! :o

“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”
:twisted: ; Julia Child
Image
GetAssista
Posts: 2836
Joined: Sat Sep 19, 2009 6:13 am

Re: Fuel question

Post by GetAssista »

Chris21wen wrote: Thu May 23, 2024 6:16 am Both by the way are Port size 6.

Why would it have a narural higher demand? It doen't have any HI.
With other things equal fuel flows to a larger port in the vicinity. If largest ports are the same, airport size is deciding factor. To make a port retain its fuel, you can either stockpile or make fuel demand artiicially high by basing some gas-guzzler TF from there like KB or BB TFs. I used this technique a lot when transporting fuel overland from Singers to China
User avatar
PaxMondo
Posts: 10779
Joined: Fri Jun 06, 2008 3:23 pm

Re: Fuel question

Post by PaxMondo »

RangerJoe wrote: Thu May 23, 2024 7:49 pm I usually end my games on the 1st of January 1943 when the computer surrenders. Just look at my AAR to see how poorly the Allies have done, especially in China!

https://www.matrixgames.com/forums/view ... 6e056b6bda
Being color blind, I was trying to look for the darker dots on the strategic map ... couldn't find any, anywhere. So, yeah, think you burnt the IJ off the map!
Pax
Chris21wen
Posts: 7597
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

Re: Fuel question

Post by Chris21wen »

Thanks Pax, your right off course and I often get odd stuff happening and rerunn but in this instance it's not a sudden drop to zero, it's a gradual decline in fuel. I often wondered why the fuel doesn't have the same ability to request more like supply. Think I'll just have to set up CS sending fuel to Sapporo.
User avatar
PaxMondo
Posts: 10779
Joined: Fri Jun 06, 2008 3:23 pm

Re: Fuel question

Post by PaxMondo »

Chris21wen wrote: Fri May 24, 2024 6:17 am Thanks Pax, your right off course and I often get odd stuff happening and rerunn but in this instance it's not a sudden drop to zero, it's a gradual decline in fuel. I often wondered why the fuel doesn't have the same ability to request more like supply. Think I'll just have to set up CS sending fuel to Sapporo.
If you do setup CS to Sapporo and keep playing, post the results here. Be interested to know if the fuel flows from there or remains solely in Sapporo. Just idle curiosity mind you, so don't make a big effort on this.

:ugeek: :ugeek: :ugeek:
Pax
Chris21wen
Posts: 7597
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

Re: Fuel question

Post by Chris21wen »

PaxMondo wrote: Fri May 24, 2024 1:53 pm
Chris21wen wrote: Fri May 24, 2024 6:17 am Thanks Pax, your right off course and I often get odd stuff happening and rerunn but in this instance it's not a sudden drop to zero, it's a gradual decline in fuel. I often wondered why the fuel doesn't have the same ability to request more like supply. Think I'll just have to set up CS sending fuel to Sapporo.
If you do setup CS to Sapporo and keep playing, post the results here. Be interested to know if the fuel flows from there or remains solely in Sapporo. Just idle curiosity mind you, so don't make a big effort on this.

:ugeek: :ugeek: :ugeek:
Will do, momory allowing.
User avatar
PaxMondo
Posts: 10779
Joined: Fri Jun 06, 2008 3:23 pm

Re: Fuel question

Post by PaxMondo »

Chris21wen wrote: Sat May 25, 2024 6:28 am Will do, momory allowing.
All about MOMORY!
Pax
Chris21wen
Posts: 7597
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

Re: Fuel question

Post by Chris21wen »

PaxMondo wrote: Wed Jun 26, 2024 5:13 pm
Chris21wen wrote: Sat May 25, 2024 6:28 am Will do, momory allowing.
All about MOMORY!
I fergot ow 2 tip.
User avatar
PaxMondo
Posts: 10779
Joined: Fri Jun 06, 2008 3:23 pm

Re: Fuel question

Post by PaxMondo »

Chris21wen wrote: Thu Jun 27, 2024 5:40 am I fergot ow 2 tip.
:lol: :lol: :lol:


:ugeek: :ugeek: :ugeek:
Pax
morganparker
Posts: 2
Joined: Tue Oct 01, 2019 11:26 am

Re: Fuel question

Post by morganparker »

Pax

Thank you for the post on "data leaks" (the bugs, bad saves whatever you want to call them) that seem to happen every few months of game time.

I was unclear about one thing, when do you do your save and restart, is it before you hit the "end of orders phase" or is it after and before you start the next turn's orders.

Thanks in advance and for all you and the other regulars do for us lurkers who read but don't post much.
User avatar
homer82
Posts: 187
Joined: Tue Dec 02, 2014 8:38 pm
Location: Near Anchorage, Alaska

Re: Fuel question

Post by homer82 »

morganparker wrote: Sun Jul 07, 2024 12:29 pm Thanks in advance and for all you and the other regulars do for us lurkers who read but don't post much.
Haha, I couldn't have said it better!
SCPO USN (Ret.)
Post Reply

Return to “War in the Pacific: Admiral's Edition”