TK or AO TF auto created by AI

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

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

User avatar
bomccarthy
Posts: 414
Joined: Fri Sep 06, 2013 7:32 pm
Location: L.A.

RE: TK or AO TF auto created by AI

Post by bomccarthy »

ORIGINAL: michaelm

This is one of those unexpected outcomes. When grabbing resources, the AI expects Osaka to be Japanese controlled and builds a TF to go get resources. Yes, it did not check who controlled Osaka when doing this.[:-]

Could this auto-convoy confusion issue at Osaka also suck most of the supply the Allies ship into Japan? I am playing Scen 6 (Dec 8 start) as Allies vs. Japanese AI and am in the end game (March 17, 1946). I control all of Kyushu (except Nagasaki) and western Honshu up through the line of Shimizu, Kofu, Maebashi, and Niigata. My Soviet forces have also hooked down to Iwaki and Utsunomiya (spelling?) and are besieging both.

I have been maintaining only 55k troops in Osaka since a couple of days after I captured it, along with decent fighter protection; my bombers are based elsewhere in Honshu. I don’t have any AKs or TKs disbanded in Osaka, and only a few minesweepers based there. I was shipping all supply into Kagoshima (Kyushu), but recently switched to Nagoya.

Yet supply in Osaka has been continually growing, from 71k in mid-Feb (soon after I captured it) to almost 1.6M currently – supplies required has never gone above 20k. Fuel in Osaka has also grown from 20k in Feb to 281k. I’ve kept stockpiling “Off” for supplies, fuel, and resources at all bases in Japan. My problem is that my frontline base at Kofu (425k troop level) has been in the red for three turns now, and they are bombarding 150k worth of Japanese LCUs. I initially thought the ongoing bombardment was the issue, but now Maebashi, with over 300k Soviet troop level but no Japanese opposition for the past two weeks, just went into the orange for supply. No other base in Japan has more than 150k of supply, and most have less than 70k, even with large air units based on them.

I am not familiar with auto-convoys (I prefer to control everything manually) – if the AI auto-convoy system thinks Osaka is still Japanese-controlled, will it continue to draw most of the supply I ship into Japan for potential auto-convoys, or will it reach a level where it decides it has enough supply? I hate to think that my Allied convoys from San Francisco and LA will be delivering millions of supply points to Nagoya in the coming weeks, only to have all or most of it stolen by Osaka’s Yakuza bosses.
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: TK or AO TF auto created by AI

Post by michaelm75au »

I'll check, but when I looked at the code for the other issue, it had protection to skip AI supply functions when not controlled by AI.
Michael
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: TK or AO TF auto created by AI

Post by michaelm75au »

ORIGINAL: bomccarthy

ORIGINAL: michaelm

This is one of those unexpected outcomes. When grabbing resources, the AI expects Osaka to be Japanese controlled and builds a TF to go get resources. Yes, it did not check who controlled Osaka when doing this.[:-]

Could this auto-convoy confusion issue at Osaka also suck most of the supply the Allies ship into Japan? I am playing Scen 6 (Dec 8 start) as Allies vs. Japanese AI and am in the end game (March 17, 1946). I control all of Kyushu (except Nagasaki) and western Honshu up through the line of Shimizu, Kofu, Maebashi, and Niigata. My Soviet forces have also hooked down to Iwaki and Utsunomiya (spelling?) and are besieging both.
...
I am not familiar with auto-convoys (I prefer to control everything manually) – if the AI auto-convoy system thinks Osaka is still Japanese-controlled, will it continue to draw most of the supply I ship into Japan for potential auto-convoys, or will it reach a level where it decides it has enough supply? I hate to think that my Allied convoys from San Francisco and LA will be delivering millions of supply points to Nagoya in the coming weeks, only to have all or most of it stolen by Osaka’s Yakuza bosses.
Can you attach a current save for me run debug on?
Michael
User avatar
bomccarthy
Posts: 414
Joined: Fri Sep 06, 2013 7:32 pm
Location: L.A.

RE: TK or AO TF auto created by AI

Post by bomccarthy »

Ack -- I can't get the save game file compressed smaller than 5.02 Mb with Winzip. Any suggestions for another way to compress the file?
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: TK or AO TF auto created by AI

Post by BillBrown »

Yo might try downloading and using 7zip. I think it might do a better job.
User avatar
bomccarthy
Posts: 414
Joined: Fri Sep 06, 2013 7:32 pm
Location: L.A.

RE: TK or AO TF auto created by AI

Post by bomccarthy »

Just downloaded and tried 7zip -- still can't get the file down to 5 Mb (either as a zip or .7z file).

Given the overall situation (Home Islands campaign in 1946), this isn't a huge deal from a game standpoint, since relatively few players will keep playing this long. And I would hate to have Michael spend time on this when there may be more pressing issues he could look at. I've played a couple of more turns and Osaka's supply seems to have stabilized at around 1.5M.
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: TK or AO TF auto created by AI

Post by michaelm75au »

I think I have worked out this problem. There is special code for AI to move supply/fuel/resource/oil between major bases in Japan. It checks the ownership of the bases involved but assumes if first receiver is Japan-controlled, the rest of the block must be.
I have split this out so it checks each receiver before moving the materials.
---
The materials in Osaka are most likely being siphoned off some of the AI controlled bases [TOKYO, KOBE, KURE]
Michael
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: TK or AO TF auto created by AI

Post by michaelm75au »

Updated beta
Michael
User avatar
BBfanboy
Posts: 20311
Joined: Wed Aug 04, 2010 5:36 pm
Location: Winnipeg, MB
Contact:

RE: TK or AO TF auto created by AI

Post by BBfanboy »

Fantastic response to the community MichaelM! Every company should have such employees.
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: TK or AO TF auto created by AI

Post by witpqs »

ORIGINAL: BBfanboy

Fantastic response to the community MichaelM! Every company should have such employees.
He's a volunteer. [8D]
User avatar
BBfanboy
Posts: 20311
Joined: Wed Aug 04, 2010 5:36 pm
Location: Winnipeg, MB
Contact:

RE: TK or AO TF auto created by AI

Post by BBfanboy »

ORIGINAL: witpqs

ORIGINAL: BBfanboy

Fantastic response to the community MichaelM! Every company should have such employees.
He's a volunteer. [8D]
Even more amazing!
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
User avatar
bomccarthy
Posts: 414
Joined: Fri Sep 06, 2013 7:32 pm
Location: L.A.

RE: TK or AO TF auto created by AI

Post by bomccarthy »

Many thanks to Michael -- he single-handedly shut down the Yakuza clans who were accumulating supply for their own nefarious purposes.
User avatar
Tigrizzli
Posts: 30
Joined: Thu Mar 12, 2015 4:46 am

RE: TK or AO TF auto created by AI

Post by Tigrizzli »

Hello, looks like there's still a few (bureaucrats maybe?) yakuza in the vicinity ;) Yokohama is overfilled with troops resting and upgrading with a AV of more than 31000 (340 required) and on the city display, it is ok (see attachment)
but on the base menu (the one with the star "list all bases") it appears in red and as negative.
There is no effect however on the city itself, no damage, no VP loss nor any alert message... but there may be a (very very) little bug there, maybe related to the level of AV present ?
(when the total AV was 22000, the display was correct.)


Going back to the first trouble, with the last update, no new TFs are created in Osaka (even with AO still disbanded there)
but I ran only one turn with the new beta...


And thanks for the support you've done

Image
Attachments
IMG_20160104_164657.jpg
IMG_20160104_164657.jpg (333.32 KiB) Viewed 131 times
User avatar
Tigrizzli
Posts: 30
Joined: Thu Mar 12, 2015 4:46 am

RE: TK or AO TF auto created by AI

Post by Tigrizzli »

save concerned (changed to .zip) if needed
Attachments
wpae030.zip
(3.67 MiB) Downloaded 5 times
User avatar
BBfanboy
Posts: 20311
Joined: Wed Aug 04, 2010 5:36 pm
Location: Winnipeg, MB
Contact:

RE: TK or AO TF auto created by AI

Post by BBfanboy »

Looks like you broke Yokohama by putting over a million men there! [:D]
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
User avatar
Tigrizzli
Posts: 30
Joined: Thu Mar 12, 2015 4:46 am

RE: TK or AO TF auto created by AI

Post by Tigrizzli »

Are you saying that the red number reflects the number of MPs needed to control so many soldiers? ;)

Or maybe a new war begun between the former allies as there must be there every LCU of 100 AV or more (non restricted) from all the map! (except the ones in Tokyo of course) So the new garrison requirement must be UN troops (blue helmets?)

This game looks more than a big TETRIS of LCU than anything else. :) ...but I like tetris too ;)


As I said, nothing worth losing time on this display error, just curious if it's just an "overflow" error
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: TK or AO TF auto created by AI

Post by witpqs »

Are you saying that the red number reflects the number of MPs needed to control so many soldiers? ;)
There are so many troops they can't stop all of them going into the *red* light districts! [:D]
GetAssista
Posts: 2835
Joined: Sat Sep 19, 2009 6:13 am

RE: TK or AO TF auto created by AI

Post by GetAssista »

WRT computer TFs I have the same problem in the x24 beta, but mirrored. I'm Japan against AI and captured all of India and Sydney. Computer is constantly creating computer controlled TFs out of my own ships disbanded in Colombo and Sydney, and directs them to allied bases. Not sure about other important allied bases I captured as I have no shipping there. Seems like the same issue with AC system not checking the ownership. Not a gamebreaking in any way as I just have ships either in repairs or in a TF instead of disbanded in port

Not sure if Michael already fixed this for both sides, or for Japan only, reporting just for more information

WRT Yokogama red lights, 33714 (AV) + 31822 (red) = 65536 <- every computer programmer would recognize this number [8D] Yes, it's an overflow error in displaying
User avatar
bomccarthy
Posts: 414
Joined: Fri Sep 06, 2013 7:32 pm
Location: L.A.

RE: TK or AO TF auto created by AI

Post by bomccarthy »

ORIGINAL: Tigrizzli

Hello, looks like there's still a few (bureaucrats maybe?) yakuza in the vicinity ;) Yokohama is overfilled with troops resting and upgrading with a AV of more than 31000 (340 required) and on the city display, it is ok (see attachment)
but on the base menu (the one with the star "list all bases") it appears in red and as negative.
There is no effect however on the city itself, no damage, no VP loss nor any alert message... but there may be a (very very) little bug there, maybe related to the level of AV present ?
(when the total AV was 22000, the display was correct.)


Going back to the first trouble, with the last update, no new TFs are created in Osaka (even with AO still disbanded there)
but I ran only one turn with the new beta...


And thanks for the support you've done

Image


Just noticed the date on your screenshot - how did you get the Soviets to activate and capture the Korean peninsula by Oct 1944? [:D]
User avatar
BBfanboy
Posts: 20311
Joined: Wed Aug 04, 2010 5:36 pm
Location: Winnipeg, MB
Contact:

RE: TK or AO TF auto created by AI

Post by BBfanboy »

I wanted to see what it was like to have the Soviets activated so on Turn 1 I set one of the Japanese air units to recon a Russian base. Three days later the Russians were fully activated and all their ships/subs were available. Stalin just needs an excuse, any excuse ...
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
Post Reply

Return to “Tech Support”