Posted February 17, 2018
Hi there,
I had some time to fool around in the S4 code and I wanted to know what is causing
these desync problems with Settlers IV when playing multiplayer games with AI Players.
I was able to track down an aria in the SettlersIV\exe\economyai.dll which seems
to disturb the S4 AI more and more until it causes the desync.
Usually, with saving the game from time to time, you could to keep the AI "on track"
but you never knew for how long it would last.
If you do the change (see attache picture) in the economyai.dll ,of course AFTER making a backup of it,
you can force the AI to keep stable.
(some long time tests with 3 PCs with 3 AI Player, no desync.)
Of course you do the mod on your own risk and you need to know how to use a hex editor.
Further all Players need the same modded economyai.dll
Although I've not noticed any abnormal behaviour of the economy AI after the mod,
there might be a slight chance that it influences gameplay on single player maps or scripted maps when those scripts would rely on the AI's timing behaviour.
But i don't have the time to test them all.
Edit:
Due to bad reliability of this hack attempt and upcoming renewed versions of S4, this modification is obsolete now.
At the moment, only the Blue Byte Guys may be able to fix this desync bug for good.
TC,
morphy
I had some time to fool around in the S4 code and I wanted to know what is causing
these desync problems with Settlers IV when playing multiplayer games with AI Players.
I was able to track down an aria in the SettlersIV\exe\economyai.dll which seems
to disturb the S4 AI more and more until it causes the desync.
Usually, with saving the game from time to time, you could to keep the AI "on track"
but you never knew for how long it would last.
If you do the change (see attache picture) in the economyai.dll ,of course AFTER making a backup of it,
you can force the AI to keep stable.
(some long time tests with 3 PCs with 3 AI Player, no desync.)
Of course you do the mod on your own risk and you need to know how to use a hex editor.
Further all Players need the same modded economyai.dll
Although I've not noticed any abnormal behaviour of the economy AI after the mod,
there might be a slight chance that it influences gameplay on single player maps or scripted maps when those scripts would rely on the AI's timing behaviour.
But i don't have the time to test them all.
Edit:
Due to bad reliability of this hack attempt and upcoming renewed versions of S4, this modification is obsolete now.
At the moment, only the Blue Byte Guys may be able to fix this desync bug for good.
TC,
morphy
Post edited January 17, 2019 by xmorphyx