Ship repair bug

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

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

Post Reply
Walloc
Posts: 3143
Joined: Mon Oct 30, 2006 1:04 am
Location: Denmark

Ship repair bug

Post by Walloc »

Been looking throught the forum an cant i find any reports of this. So here goes.

It seem the "spot" code wise that ships gets in the damaged status, some times gets mixed up.
So the ID of the ship doesnt match the spot its given in the code.

3 pictures follow and a save game. If pw is needed i assume not, pm me.

Picture 1. All ships are on normal repair urgency. combined capacity is 67,470.

Picture 2 Cassin a DD around 1500 tons is put on High and the capcity rise to 99,770

Picture 3 Cassin down at normal again and BB West Virginia is put on high and the capacity rise to 68,835

So it seems the code gets ships mixed up. It from all i can see defernatly have an effect.
I've had 3 DDs on critical. So when looking at some of the ships the capcity would say above the 100.000 blocking some ships from repairing. While looking at others it be below. While not changings any of the ships prioverty.
Neither of the BBs made any repairs for 60+ turns while the 3 DDs was at critcal. Manually counting up it should have been no more than at 75ish capacity. Showed at 150k+ on some of the ships while not on others.
After i figured it out the BBs have started repairing. So it seems that the port actually think its over capacity and with hold some of the ships from repairing.

Kind regards,

Rasmus

Image
Attachments
1.jpg
1.jpg (132.36 KiB) Viewed 62 times
Walloc
Posts: 3143
Joined: Mon Oct 30, 2006 1:04 am
Location: Denmark

RE: Ship repair bug

Post by Walloc »

No text

Image
Attachments
2.jpg
2.jpg (133.11 KiB) Viewed 62 times
Walloc
Posts: 3143
Joined: Mon Oct 30, 2006 1:04 am
Location: Denmark

RE: Ship repair bug

Post by Walloc »

No text

Image
Attachments
3.jpg
3.jpg (135.89 KiB) Viewed 62 times
Walloc
Posts: 3143
Joined: Mon Oct 30, 2006 1:04 am
Location: Denmark

RE: Ship repair bug

Post by Walloc »

Save
Attachments
wpae019.zip
(2.5 MiB) Downloaded 7 times
User avatar
Don Bowen
Posts: 5192
Joined: Thu Jul 13, 2000 8:00 am
Location: Georgetown, Texas, USA

RE: Ship repair bug

Post by Don Bowen »


Does look a little under-right. I'll take a look.
Walloc
Posts: 3143
Joined: Mon Oct 30, 2006 1:04 am
Location: Denmark

RE: Ship repair bug

Post by Walloc »

If u want a earlier save with all 3 DDs on critical showing the "full extend" of the issue, let me know. Think u can check SF and IIRC there is problems there too of same kind.

Kind regards,

Rasmus
User avatar
Don Bowen
Posts: 5192
Joined: Thu Jul 13, 2000 8:00 am
Location: Georgetown, Texas, USA

RE: Ship repair bug

Post by Don Bowen »


No thanks, problem is obvious once one looks at it. Just a timing issue in a calculation loop.

Good catch!
Post Reply

Return to “Tech Support”