Underway Replenishment Test
Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition
- Bullwinkle58
- Posts: 11297
- Joined: Tue Feb 24, 2009 12:47 pm
Underway Replenishment Test
There is an active thread in the general forum with the same title as this thread, "Underway Replenishment Test." It concerns 1945 Allied underway replenishment of ammunition from AEs. In it I posted the results of several tests. Alfred weighed in with his input, as well as links to many threads by you, Don Bowen, and JWE.
In a nutshell, the replenishment code seems to work--to a point. When the taking ship is only moderately low, ammunition moves across from the AE. But when the taking ship, in this case a BB, is low in every slot, the code seems to stop at the Slot #1 check if Slot #1 demands more Ops points than are available in the AE, and not proceed to test the other slots against the AE's Ops point and/or on-board supply level.
Alfred posted links to Don Bowen posts that showed the design intent was to have two, separate checks of the AE's capability. A supply load check sufficient to meet the reload minimums of the specific ammunition (16in, 5in, 40MM, etc.), and an AE Ops point check to see if sufficient Ops points remained to move that type of ammo.
In the tests there was an entangled issue of the BB also taking fuel from the AE, using 250 Ops points at the outset to go to 100% fuel as part of the Replenish command button. But a second test, also in the thread, where an AO was added to the AE in the same TF, did not change the outcome. When the BB was flat on ammunition stores, the AE was still unable to replenish any and all types.
If you have a chance could you look at this code?
In a nutshell, the replenishment code seems to work--to a point. When the taking ship is only moderately low, ammunition moves across from the AE. But when the taking ship, in this case a BB, is low in every slot, the code seems to stop at the Slot #1 check if Slot #1 demands more Ops points than are available in the AE, and not proceed to test the other slots against the AE's Ops point and/or on-board supply level.
Alfred posted links to Don Bowen posts that showed the design intent was to have two, separate checks of the AE's capability. A supply load check sufficient to meet the reload minimums of the specific ammunition (16in, 5in, 40MM, etc.), and an AE Ops point check to see if sufficient Ops points remained to move that type of ammo.
In the tests there was an entangled issue of the BB also taking fuel from the AE, using 250 Ops points at the outset to go to 100% fuel as part of the Replenish command button. But a second test, also in the thread, where an AO was added to the AE in the same TF, did not change the outcome. When the BB was flat on ammunition stores, the AE was still unable to replenish any and all types.
If you have a chance could you look at this code?
The Moose
- michaelm75au
- Posts: 12464
- Joined: Sat May 05, 2001 8:00 am
- Location: Melbourne, Australia
RE: Underway Replenishment Test
Do you have a save I can run thru the debugger to see how it does it?
Michael
- Bullwinkle58
- Posts: 11297
- Joined: Tue Feb 24, 2009 12:47 pm
RE: Underway Replenishment Test
ORIGINAL: michaelm
Do you have a save I can run thru the debugger to see how it does it?
I've never done this, so here goes.
It's an older beta; don't think that matters here. It's my scratch game I use for experiments.
I zipped the save using the Win 7 right-click zip function.
It's a H-to-H game. Air and ground forces of both sides are stood down. At Guam, New Jersey is one hex west with ammo loads offloaded in the editor except one 20MM slot which is full. The AE is in the same hex with 5400 supply on-board. The game has been run ahead one turn to make ops points full for both. I saved at the start of the Allied orders phase.
- Attachments
-
- wpae030.zip
- (2.04 MiB) Downloaded 17 times
The Moose
RE: Underway Replenishment Test
Don't know if this will help, but here's something I came across while looking for something else. From Patch 07 - Unofficial Public Beta - 1123x10 updated 23 August 2014, which I believe is the latest 'Official Patch' (not sure). At any rate in the readme this is listed....
"Partial weapon load not kicking in if ops needed exceeded ship's ops level and ammo load exceeded 1000."
This seems to me to be talking about reloading in port, but could the same effect be felt when attempting an 'unrep'?
If I'm way off base of course just ignore. Just trying to help where and if I can.
"Partial weapon load not kicking in if ops needed exceeded ship's ops level and ammo load exceeded 1000."
This seems to me to be talking about reloading in port, but could the same effect be felt when attempting an 'unrep'?
If I'm way off base of course just ignore. Just trying to help where and if I can.
It is seldom that liberty of any kind is lost all at once. Hume
In every party there is one member who by his all-too-devout pronouncement of the party principles provokes the others to apostasy. Nietzsche
Cave ab homine unius libri. Ltn Prvb
In every party there is one member who by his all-too-devout pronouncement of the party principles provokes the others to apostasy. Nietzsche
Cave ab homine unius libri. Ltn Prvb
RE: Underway Replenishment Test
Sounds like that's it, I'd guess.
- Bullwinkle58
- Posts: 11297
- Joined: Tue Feb 24, 2009 12:47 pm
RE: Underway Replenishment Test
ORIGINAL: Lokasenna
Sounds like that's it, I'd guess.
Thinking I could be the biggest idiot in the history of forum "tests", I delayed going to bed to upgrade the testbed game to the current beta. I loaded the file I sent to Michael and attempted to replenish the New Jersey.
The results were the same. No ammo moved across to the New Jersey in any slot. The BB did refuel from the AE and 250 ops points were expended.
The Moose
RE: Underway Replenishment Test
ORIGINAL: Bullwinkle58
ORIGINAL: Lokasenna
Sounds like that's it, I'd guess.
Thinking I could be the biggest idiot in the history of forum "tests", I delayed going to bed to upgrade the testbed game to the current beta. I loaded the file I sent to Michael and attempted to replenish the New Jersey.
The results were the same. No ammo moved across to the New Jersey in any slot. The BB did refuel from the AE and 250 ops points were expended.
Well, I'm not Michael, but I'd still be surprised if the at-sea code were in the same place as the in-port code for replenishment. I guess when he checks back we could know.
- michaelm75au
- Posts: 12464
- Joined: Sat May 05, 2001 8:00 am
- Location: Melbourne, Australia
RE: Underway Replenishment Test
Looking at code, I believe that the 'at sea' is working this way:
1.Find rearm cost to fill all weapons of the ship.
2.Find AE that has operation points that can handle the full rearm cost.
Now if the full cost is >999, then no AE will have enough points to satisfy this.
1.Find rearm cost to fill all weapons of the ship.
2.Find AE that has operation points that can handle the full rearm cost.
Now if the full cost is >999, then no AE will have enough points to satisfy this.
Michael
- michaelm75au
- Posts: 12464
- Joined: Sat May 05, 2001 8:00 am
- Location: Melbourne, Australia
RE: Underway Replenishment Test
The actual rearming of the combat ship by an ammo ship will keep trying to reload weapons until it runs out of OPs. It seems that issue is around it deciding to try rearming.
Michael
- Bullwinkle58
- Posts: 11297
- Joined: Tue Feb 24, 2009 12:47 pm
RE: Underway Replenishment Test
ORIGINAL: michaelm
The actual rearming of the combat ship by an ammo ship will keep trying to reload weapons until it runs out of OPs. It seems that issue is around it deciding to try rearming.
Might be a question for Don Bowen if you're still in contact with him. Was the design intent to do a slot-by-slot check, starting at #1 (always main battery weapon), and fill the first slot possible with the ops points/supply on AE combo? And then continue down the slots until either ops or supply is insufficient? It looks like from your quoted content this was the case.
A lot of he discussion in the thread focuses on the 16in slots, but for me when I've played 1945 AE replenish it's getting a fill on the AA ammo that's critical to deal with kamis.
Regardless of design intent it sounds as if in some cases the AE mechanism won't work now. Thanks for looking.
The Moose
RE: Underway Replenishment Test
It doesn't really sound like a design intent thing to me, just a slight weakness in the implementation where such cases were not thought of/tested for.ORIGINAL: Bullwinkle58
ORIGINAL: michaelm
The actual rearming of the combat ship by an ammo ship will keep trying to reload weapons until it runs out of OPs. It seems that issue is around it deciding to try rearming.
Might be a question for Don Bowen if you're still in contact with him. Was the design intent to do a slot-by-slot check, starting at #1 (always main battery weapon), and fill the first slot possible with the ops points/supply on AE combo? And then continue down the slots until either ops or supply is insufficient? It looks like from your quoted content this was the case.
A lot of he discussion in the thread focuses on the 16in slots, but for me when I've played 1945 AE replenish it's getting a fill on the AA ammo that's critical to deal with kamis.
Regardless of design intent it sounds as if in some cases the AE mechanism won't work now. Thanks for looking.
Intel Monkey: https://sites.google.com/view/staffmonkeys/home
RE: Underway Replenishment Test
ORIGINAL: witpqs
It doesn't really sound like a design intent thing to me, just a slight weakness in the implementation where such cases were not thought of/tested for.ORIGINAL: Bullwinkle58
ORIGINAL: michaelm
The actual rearming of the combat ship by an ammo ship will keep trying to reload weapons until it runs out of OPs. It seems that issue is around it deciding to try rearming.
Might be a question for Don Bowen if you're still in contact with him. Was the design intent to do a slot-by-slot check, starting at #1 (always main battery weapon), and fill the first slot possible with the ops points/supply on AE combo? And then continue down the slots until either ops or supply is insufficient? It looks like from your quoted content this was the case.
A lot of he discussion in the thread focuses on the 16in slots, but for me when I've played 1945 AE replenish it's getting a fill on the AA ammo that's critical to deal with kamis.
Regardless of design intent it sounds as if in some cases the AE mechanism won't work now. Thanks for looking.
Agreed. It also sounds like he fixed it in port replenishment, at least.



