Page 2 of 3

RE: TK or AO TF auto created by AI

Posted: Wed Dec 30, 2015 5:05 pm
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.

RE: TK or AO TF auto created by AI

Posted: Thu Dec 31, 2015 3:05 am
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.

RE: TK or AO TF auto created by AI

Posted: Thu Dec 31, 2015 3:06 am
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?

RE: TK or AO TF auto created by AI

Posted: Thu Dec 31, 2015 7:17 pm
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?

RE: TK or AO TF auto created by AI

Posted: Thu Dec 31, 2015 7:19 pm
by BillBrown
Yo might try downloading and using 7zip. I think it might do a better job.

RE: TK or AO TF auto created by AI

Posted: Fri Jan 01, 2016 6:59 pm
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.

RE: TK or AO TF auto created by AI

Posted: Fri Jan 01, 2016 8:52 pm
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]

RE: TK or AO TF auto created by AI

Posted: Sun Jan 03, 2016 12:26 am
by michaelm75au
Updated beta

RE: TK or AO TF auto created by AI

Posted: Sun Jan 03, 2016 2:49 am
by BBfanboy
Fantastic response to the community MichaelM! Every company should have such employees.

RE: TK or AO TF auto created by AI

Posted: Sun Jan 03, 2016 11:36 am
by witpqs
ORIGINAL: BBfanboy

Fantastic response to the community MichaelM! Every company should have such employees.
He's a volunteer. [8D]

RE: TK or AO TF auto created by AI

Posted: Sun Jan 03, 2016 11:46 am
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!

RE: TK or AO TF auto created by AI

Posted: Sun Jan 03, 2016 6:16 pm
by bomccarthy
Many thanks to Michael -- he single-handedly shut down the Yakuza clans who were accumulating supply for their own nefarious purposes.

RE: TK or AO TF auto created by AI

Posted: Mon Jan 04, 2016 3:03 pm
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

RE: TK or AO TF auto created by AI

Posted: Mon Jan 04, 2016 3:09 pm
by Tigrizzli
save concerned (changed to .zip) if needed

RE: TK or AO TF auto created by AI

Posted: Mon Jan 04, 2016 10:33 pm
by BBfanboy
Looks like you broke Yokohama by putting over a million men there! [:D]

RE: TK or AO TF auto created by AI

Posted: Tue Jan 05, 2016 2:37 am
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

RE: TK or AO TF auto created by AI

Posted: Tue Jan 05, 2016 3:58 am
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]

RE: TK or AO TF auto created by AI

Posted: Tue Jan 05, 2016 10:03 am
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

RE: TK or AO TF auto created by AI

Posted: Tue Jan 05, 2016 6:47 pm
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]

RE: TK or AO TF auto created by AI

Posted: Tue Jan 05, 2016 10:05 pm
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 ...