Bug: Ship too big to dock allowed to dock if transferred to TF

Post bug reports and ask for help with other issues here.

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

Post Reply
User avatar
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

Bug: Ship too big to dock allowed to dock if transferred to TF

Post by Lokasenna »

Can anyone else replicate this? I was unloading with a Transport TF at a smaller port with a large xAP that weighed in at 18,000+ tons. The docking limit per ship at the port is 12,000 tons.

I had a smaller TF docked, with a 4,000+ ton ship in it. I transferred the 18,000+ ton ship into the TF while it was docked, no problem. It didn't even occur to me that it should have been an issue.

The next turn, I transferred the smaller ship out. The code forced the 18,000+ ton single-ship TF out of the dock due to ship size. It shouldn't have let me transfer the ship into the TF in the first place...
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by michaelm75au »

Save?
Assume that transfer routine may not be checking new TF size.
Michael
User avatar
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by Lokasenna »

Noticed something strange with this. The TFs in question are TF 422 and 165.

Note that the 3 large xAPs on location there have some strange numbers for cargo/troop capacity (IIRC, I already ended the PBEM turn). In the TF info screen, and according to the ground unit list, they appear to have unloaded....but in the ship info screen, they still appear almost full.
Attachments
wpae009.zip
(2.47 MiB) Downloaded 3 times
User avatar
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by Lokasenna »

Ah, since I'm player 2 that may not be good for you...?

Here's the one that I received from my opponent, with orders ready to be input.
Attachments
wpae019.zip
(2.47 MiB) Downloaded 2 times
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by michaelm75au »

Okay, eventually replicated it. Seems that the transferred ship's tonnage is being added to the port tonnage available, not subtracted.
Michael
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by michaelm75au »

Attached is a EXE that checks for port tonnage and FT TF check fix.
Attachments
Warinthe..Edition.zip
(1.78 MiB) Downloaded 58 times
Michael
User avatar
Disco Duck
Posts: 552
Joined: Mon Nov 15, 2004 10:25 pm
Location: San Antonio

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by Disco Duck »

Michael,
Just tried it and I get "Error: Unable to find PW data!!" when I try to run it. It seems to unzip fine.
There is no point in believing in things that exist. -Didactylos
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by michaelm75au »

Copy it into the beta directory and run the beta shortcut
Michael
User avatar
Disco Duck
Posts: 552
Joined: Mon Nov 15, 2004 10:25 pm
Location: San Antonio

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by Disco Duck »

That worked.
Thanks
There is no point in believing in things that exist. -Didactylos
User avatar
LoBaron
Posts: 4775
Joined: Sun Jan 26, 2003 8:23 pm
Location: Vienna, Austria

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by LoBaron »

Wow, good find Lokasenna!
Image
User avatar
PaxMondo
Posts: 9796
Joined: Fri Jun 06, 2008 3:23 pm

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by PaxMondo »

ORIGINAL: LoBaron

Wow, good find Lokasenna!
+1

and Michael, fantastic support!!!


[&o][&o][&o]
Pax
User avatar
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: Bug: Ship too big to dock allowed to dock if transferred to TF

Post by Lokasenna »

ORIGINAL: PaxMondo

ORIGINAL: LoBaron

Wow, good find Lokasenna!
+1

and Michael, fantastic support!!!


[&o][&o][&o]

Thanks guys, but it was just a happy accident, Michael deserves all the kudos for remaining an active supporter of fixes [8D].


As a followup, until the troop unloading of the xAPs completed (they were down to 116 Cargo on one, and 6 Troops on another), the load/capacity numbers of the ships were wonky. In one case, 2616 out of 2500 Cargo capacity was used. In the other, it was 6 Troops over its maximum Troop capacity. This "issue" resolved itself once the Troops were off the ship.
Post Reply

Return to “Tech Support”