GeneralsGamePatch icon indicating copy to clipboard operation
GeneralsGamePatch copied to clipboard

Unexplained Mismatch when AI Trains Constuction Units in Custom Leaf Forest Map | Ultimate Boss Command Center Conversion in My Custom Mod

Open FireRainV opened this issue 11 months ago • 4 comments

No idea why it happens, it should be the same for all, since it doesn't use local player or anything. In my Leaf Forest map, it worked fine for a long time, but for some reason, training dozers/workers for armies who have a build list using a script that presses the unit training command button mismatches the game. It mismatches when the AI presses that button (you can't use teams instead, it gotta be pressing the command button to train them.) But it didn't mismatch in my private tests with myself, like with another PC I have, only with other players. I tried in both Steam and CD Versions. I transferred it though ZH transfer system to my other PC just to make sure it isn't the issue.

I fixed it by simply spawning the dozers and workers instead of training them, it isn't actually a proper fix, just a substitute.

I legit have no idea why it didn't mismatch in my private test but it mismatched with other players. I tried removing the map.ini file, nothing worked.

I think it also was an issue with my Ultimate Boss General Command Center converting into the 3 command centers. It worked fine with my other PC in testing, but I think I disabled it by default because it mismatched with others.

I think both these issues are linked.

FireRainV avatar Mar 18 '25 17:03 FireRainV

Here's an old copy of my map where it happens: leafforest_old.zip

Again, it only happened with most other players, it didn't happen when I tested it with myself.

ghost avatar Mar 19 '25 07:03 ghost

Can you reduce this down to the minimum number of scripts to reproduce?

Best on an empty map.

kABUSE1 avatar Mar 19 '25 12:03 kABUSE1

Can you reduce this down to the minimum number of scripts to reproduce?

Best on an empty map.

I won't have any way of testing if it happens without someone helping me. The one responsible for this mismatch are the construct dozers and workers. You can literally remove everything else except it (and their ability to constuct in the first place.)

My fix in v2.0.5 was to simply spawn them in instead of constructing them. but again, I wouldn't get it to happen with myself.

ghost avatar Mar 19 '25 13:03 ghost

Here's a simple test map with the mismatching code (which doesn't mismatch with my own PCs) I tested it with someone, it did mismatch. @kABUSE1 mismatch_test.zip

ghost avatar Mar 19 '25 15:03 ghost