1.00.07: Shipyard stockpile calculation

Warplan is a World War 2 simulation engine. It is a balance of realism and playability incorporating the best from 50 years of World War 2 board wargaming.

Moderator: AlvaroSousa

Post Reply
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

Ready for another headache? [;)]

This is a PBEM started on 1.00.06, I think. I have continously updated beta patches while playing and now I am on 1.00.07 official patch.

I have just received 6 points for my Shipyard. Are they taken into account immediately or shoud I wait next turn to use them?

Image
Attachments
shipyard1.jpg
shipyard1.jpg (103.37 KiB) Viewed 766 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: 1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

Anyway that is not the problem. Looks at my Deployment queue.

Image
Attachments
shipyard2.jpg
shipyard2.jpg (71.76 KiB) Viewed 766 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: 1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

And the following.

Image
Attachments
shipyard3.jpg
shipyard3.jpg (69.87 KiB) Viewed 766 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: 1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

Thus, we have only:
3 x Landing Ships
3 x Merchant Marine

Landing Ships costs 5 shipyard points.
Merchant Marine costs 5 shipyard points.

To conclude, right now, US is spending (3 x 5) x 2 = 30 shipyard points.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: 1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

Now, take a look at my shipyard stockpile. It states 0.

Whereas, I have a total of 54 shipyard points. I was expecting to have 54 - 30 = 24 shipyard points available.
Only game where I have this problem and only for the US.

Are you not recalculating every value at the beginning of each turn to save CPU?

Image
Attachments
shipyard4.jpg
shipyard4.jpg (100.64 KiB) Viewed 766 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: 1.00.07: Shipyard stockpile calculation

Post by AlvaroSousa »

I'll look
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: 1.00.07: Shipyard stockpile calculation

Post by AlvaroSousa »

I don't see what the issue is. Perhaps you had ships already in the queue?

And the shipyards. Did you build that many?

I was testing and it all seems to work fine
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: 1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

ORIGINAL: Alvaro Sousa

I don't see what the issue is. Perhaps you had ships already in the queue?

And the shipyards. Did you build that many?

I was testing and it all seems to work fine

This one is not straight forward, that is why I am puzzled.

To help me reproduce could you please answer my initial question? Is this variable based on what is in the Deployment queue? Or, is it calculated only when units are produced? I am wondering if this is not linked to the cancel button somehow.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: 1.00.07: Shipyard stockpile calculation

Post by AlvaroSousa »

All codes are correct.

When a unit goes on the queue it uses shipyards
When a unit comes out of the queue it UN-USES shipyards

Regardless of how it comes out.

But ok now I understand what you mean. It is taking more than it should.

I am testing this right now with the exact same configuration as you and it is calculating correctly. When was the game started? What patch?

Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: 1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

I am quite sure it was started with 1.00.06. After I have regularly apply the beta patches but I am not sure for my opponent.
The PBEM game is still on going.

This is my only game against robbieb.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: 1.00.07: Shipyard stockpile calculation

Post by AlvaroSousa »

I wonder if it was a 1.00.06 bug that didn't calc shipyard use right.

Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: 1.00.07: Shipyard stockpile calculation

Post by AlvaroSousa »

I PMed you.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: 1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

Okay my game was started with 1.00.06 but my opponent is still at 1.00.05 since then. You really need to implement this please:
https://www.matrixgames.com/forums/tm.asp?m=4814515
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: 1.00.07: Shipyard stockpile calculation

Post by AlvaroSousa »

It is supposed to do it automatically on the PBEM servers. I will ask.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
MorningDew
Posts: 1145
Joined: Wed Sep 20, 2006 12:24 pm
Location: Greenville, SC

RE: 1.00.07: Shipyard stockpile calculation

Post by MorningDew »

ORIGINAL: ncc1701e

Okay my game was started with 1.00.06 but my opponent is still at 1.00.05 since then. You really need to implement this please:
https://www.matrixgames.com/forums/tm.asp?m=4814515

I have experienced two players playing different versions multiple times. No fun.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: 1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

ORIGINAL: Alvaro Sousa

It is supposed to do it automatically on the PBEM servers. I will ask.

Thanks, would be great!
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: 1.00.07: Shipyard stockpile calculation

Post by AlvaroSousa »

It could be you both started same version so PBEM didn't stop it from going.
Then one of you updated.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: 1.00.07: Shipyard stockpile calculation

Post by ncc1701e »

ORIGINAL: Alvaro Sousa

It could be you both started same version so PBEM didn't stop it from going.
Then one of you updated.

It was me clearly.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: 1.00.07: Shipyard stockpile calculation

Post by AlvaroSousa »

I'm looking into this but I can't find the discrepancy in the data. It could be that there was something wrong in the calculations before the updates and it hasn't adjusted the shipyards. Possibly the situation was fixed in later updates and I simply forgot. I will still keep testing.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Post Reply

Return to “WarPlan”