

Moderator: rbodleyscott



Would you be kind enough to ask him? I don't want to go delving deep into the code until it is confirmed that your opponents had no mods in his main build.gfs26 wrote: Wed Feb 24, 2021 11:04 am I never modded any file of Medieval 2 (and i think the same is true for my opponent)

Please could you check with your opponent and confirm that neither of you has any mods in their main build. I don't want to spend a lot of time delving into the code (which has apparently worked fine up till now, and still continues to work fine 99% of the time) until it is 100% confirmed that this has occurred in a mirror match where neither player had any mods in their main build.rbodleyscott wrote: Wed Feb 24, 2021 9:58 am Perhaps one of you has modded their main build? (Which, of course, we strongly recommend against, because it breaks MP)

Correctgfs26 wrote: Wed Feb 24, 2021 2:40 pm I just modified (not sure if i restored the original) the little file with zoom level (allow extra zoom on units).. i don't think this can have any impact on the code...
Please could you send him a PM. I don't want to go down a rabbit hole here if the problem is due to a modded build.As for my opponent, actually i don't have any new game running, so i can't ask him.

You can send him a PM on this system. See top right of screen.gfs26 wrote: Wed Feb 24, 2021 8:26 pm Unfortunately i don't have his email... so i must wait until he accepts the pending challenge..
But maybe he could read this post here and so he will answer you question.
Sorry if i can't do more

The maps appear to be identical except one has a river and one has a coast. The position of all other terrain features appears to be the same. So at least we know at what point the map generation diverged.JonJonJon wrote: Tue Feb 23, 2021 9:35 pm This is from a MP game that has just started. Global warming?
![]()

As far as I can see it is pretty much completely identical except where terrain has been overwritten by water, or where random cosmetic details (such as individual trees and field textures) are added at a later stage, after the RNG sequence has been desynched by drawing the river or coast.JonJonJon wrote: Thu Feb 25, 2021 11:58 am Terrain elevations are exact, there are slight differences in single patches of rough ground and trees. Subtle enough for neither player to spot at first. It wasn't until I zoomed out and saw the sea that I went to double check. But yes - for all intents and purposes it's nigh-on identical.

Rough ground and trees are a bit different in the upper left part of the screenshots (near the place where cavalry and light troops are on the first screenshot).rbodleyscott wrote: Thu Feb 25, 2021 11:59 amAs far as I can see it is pretty much completely identical except where terrain has been overwritten by water, or where random cosmetic details (such as individual trees and field textures) are added at a later stage, after the RNG sequence has been desynched by drawing the river or coast.JonJonJon wrote: Thu Feb 25, 2021 11:58 am Terrain elevations are exact, there are slight differences in single patches of rough ground and trees. Subtle enough for neither player to spot at first. It wasn't until I zoomed out and saw the sea that I went to double check. But yes - for all intents and purposes it's nigh-on identical.
That is what led me to find the (probable) cause of the bug.
So thanks for your initial report and for all of your helpful answers to my queries.
The fix will go into the next iteration of the DLC beta.
True. That is random hilltop rough ground, rather than base level rough ground generated in the original pass. That random hilltop stuff comes later in the map generation process, after the RNG had been desynched by the River/Coast dichotomy. (Any part of the map generation process that came after the decision to make a river instead of a coast would be dysynched and no longer mirror).Quivis wrote: Thu Feb 25, 2021 12:22 pm Rough ground and trees are a bit different in the upper left part of the screenshots (near the place where cavalry and light troops are on the first screenshot).
