Age of Empires II: Definitive Edition

Age of Empires II: Definitive Edition

View Stats:
This topic has been locked
FTr Jun 6, 2020 @ 1:07pm
Out-of-sync in multiplayer
I am creating a new thread because the mod locked my previous one without any chance for me to discuss the actual problem.

My problem persists even the hotfix. I even reinstalled the game.
I understand that running the game with Proton under Linux is not officially supported, but come on. The game worked perfectly in the last month patch, you clearly broke something.

Link to the old thread:
https://steamcommunity.com/app/813780/discussions/2/2274827383927551044/

" -See pinned thread on 3v3/4v4. " I did not find any.
Last edited by FTr; Jun 6, 2020 @ 1:08pm
< >
Showing 1-15 of 21 comments
FTr Jun 7, 2020 @ 12:06pm 
Attaching screenshot to silently bump this thread. Happens every single time I attempt to play both ranked and custom lobbby.
https://i.imgur.com/rT01XIo.png
Paramedic10 Jun 12, 2020 @ 7:04pm 
Also having this problem. Happens all the time. 20-30 minutes into a game vs AI with friends, out of sync error. Autosaves, and the save game file wont even work.
zelphir Jun 20, 2020 @ 3:53pm 
Immediately desync once a multiplayer game starts. Good job.
FTr Jun 21, 2020 @ 5:37am 
I am curious, are developers even looking into this issue? I see no mention of this in https://www.ageofempires.com/support/aoe2/aoe2-issues/
FTr Jul 20, 2020 @ 12:38pm 
Any response from a developer? Why are you ignoring me? Are you not capable of generting a few log files to debug your broken game?
-Dare Devil/x/ Jul 20, 2020 @ 1:19pm 
Originally posted by FTr:
Any response from a developer? Why are you ignoring me? Are you not capable of generting a few log files to debug your broken game?

-Linux isn't officially supported so you'll have to rely on other Linux users to help.
Gardinho III. Jul 21, 2020 @ 9:03am 
I am on Manjaro and also launching it with Proton/Steam. before the latest update I encountered a disconnection every single ranked / unranked game after 5-10 seconds, after the update it changed to out-of-sync but still consistently every game after some seconds. Anybody has some idea, because I am not even sure if it is related to Linux. There are many issues in forums out there regarding the same problem, that I actually doubt that the Linux/Proton combination is the actual problem. In the list of issues a deconnection after 5 minutes were fixed by the june patch, but I assume this is something different. Anybody? Please
FTr Jul 21, 2020 @ 1:54pm 
Originally posted by -Dare Devil/x/:
Originally posted by FTr:
Any response from a developer? Why are you ignoring me? Are you not capable of generting a few log files to debug your broken game?

-Linux isn't officially supported so you'll have to rely on other Linux users to help.
I am sorry but I am not satisfied with your response. I understand you work for Microsoft and you officially only support the Windows platform, but this is very unprofessional.

I paid for this product and I expect some professional level of communication to solve this problem your programmers created in one patch.

I managed to find where some log files are stored. Here are some errors. I post here because I refuse to create another account to post on the official aoe2de forums. It is your job as a programmer/tester/whatever to watch bug reports on all platforms that you support and ship your product on. I will not rest until this issue will be resolved, however it is very embarassing I have to do your job on this bug tracking.

I copied only some error-relevant parts of the log. Everything prior to this log paste had to do with initialization or general info reports. Similarly, everything past this log paste had to do with termination of objects.
I did not change the formatting of the log file, there are blank lines by default, so your programmer should be ashamed they are logging in this disgusting manner.

... Loading player profile Setting up hotkeys [rlink - error] 2020/07/21 20:46:13.315 (UTC) Unknown presenceID entered [rlink - error] 2020/07/21 20:46:23.757 (UTC) Unknown presenceID entered [rlink - error] 2020/07/21 20:46:33.257 (UTC) Unknown presenceID entered [rlink - error] 2020/07/21 20:47:58.161 (UTC) Unknown presenceID entered [rlink - error] 2020/07/21 20:48:48.536 (UTC) Unknown presenceID entered [rlink - error] 2020/07/21 20:48:49.641 (UTC) Rejecting packet type 0 that claims to come from ourself [rlink - error] 2020/07/21 20:48:50.985 (UTC) Rejecting packet type 0 that claims to come from ourself [rlink - error] 2020/07/21 20:48:51.130 (UTC) Rejecting packet type 0 that claims to come from ourself [rlink - error] 2020/07/21 20:48:51.373 (UTC) Rejecting packet type 0 that claims to come from ourself [rlink - error] 2020/07/21 20:48:51.517 (UTC) Rejecting packet type 0 that claims to come from ourself [rlink - error] 2020/07/21 20:48:55.763 (UTC) Rejecting packet type 0 that claims to come from ourself [rlink - error] 2020/07/21 20:48:55.908 (UTC) Rejecting packet type 0 that claims to come from ourself [rlink - error] 2020/07/21 20:49:02.971 (UTC) Unknown presenceID entered Sync is being logged [rlink - error] 2020/07/21 20:49:08.085 (UTC) Rejected PlayerReadyRequest, state is not MS_Setup [rlink - error] 2020/07/21 20:49:08.141 (UTC) Rejected PlayerReadyRequest, state is not MS_Setup [rlink - error] 2020/07/21 20:49:08.262 (UTC) Rejected PlayerReadyRequest, state is not MS_Setup [rlink - error] 2020/07/21 20:49:08.388 (UTC) Rejected PlayerReadyRequest, state is not MS_Setup Sync is being logged [rlink - error] 2020/07/21 20:49:29.360 (UTC) SetVisible called while !IsConnected [rlink - error] 2020/07/21 20:49:29.378 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.404 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.428 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.454 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.479 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.505 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.530 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.554 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.579 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.603 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.628 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.649 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.670 (UTC) Session::SendQueuedMessagesToRelay local peer is missing, not sending [rlink - error] 2020/07/21 20:49:29.985 (UTC) Unknown presenceID entered Flushing pending telemetry events Terminating Game normally [rlink - error] 2020/07/21 20:49:39.002 (UTC) NetworkManagerInternal waited 5 seconds for async jobs to complete without success [rlink - error] 2020/07/21 20:49:39.830 (UTC) WorldwideItemService failed to load offline profile info because signedInventory profileID is invalid or defaultProfileInfo is invalid [rlink - error] 2020/07/21 20:49:39.830 (UTC) WorldwideAccountService failed to load offline profile info after logging out [rlink - error] 2020/07/21 20:49:40.030 (UTC) CallContext::SetComplete - ExtendedError -9 for AchievementSyncPlatformStatsAndAchievementAsync. Exception ID -1. [rlink - error] 2020/07/21 20:49:40.031 (UTC) AchievementSyncPlatformStatsAndAchievementAsync - response was failure: -9 We are not connected [rlink - error] 2020/07/21 20:49:40.037 (UTC) CallContext::SetComplete - ExtendedError -9 for LogoutAsync. Exception ID -1. [rlink - error] 2020/07/21 20:49:40.037 (UTC) LogoutAsync - response was failure: -9 We are not connected [rlink - error] 2020/07/21 20:49:40.038 (UTC) WorldwideItemService failed to load offline profile info because signedInventory profileID is invalid or defaultProfileInfo is invalid [rlink - error] 2020/07/21 20:49:40.038 (UTC) WorldwideAccountService failed to load offline profile info after logging out [rlink - error] 2020/07/21 20:49:44.006 (UTC) NetworkManagerInternal waited 5 seconds for async jobs to complete without success Terminating UI Widget Manager Terminating Network speed Data Terminating Random Manager ...
Last edited by FTr; Jul 21, 2020 @ 2:04pm
FTr Jul 21, 2020 @ 2:18pm 
Next to this log file I noticed another file with a timestamp and ending in "-sync.txt", it looks like it describes the game communication with the server. The file is almost 400k lines long, and a quick lookup of generic error terms did not yield me any results. Your programmers might be smarter than a 3rd party observer when reading this file. I assume you will have an in-house tool to analyze these massive log files.
Last edited by FTr; Jul 21, 2020 @ 2:19pm
FTr Jul 21, 2020 @ 2:22pm 
******** Desync summary ******** RelicLink Checksum Mismatch: Desync on turn 83, detected on turn 93. RelicLink Checksum Mismatch: PeerID 1 (Player 1) Peer Frame 83 Peer Checksum 6759596 RelicLink Checksum Mismatch: PeerID 2 (Player 2) Peer Frame 83 Peer Checksum 6759587 Checking player 1 for desync on world turn 000083 (NoteOnlySync) OUTOFSYNC: my value: 6759596 (NoteOnlySync) OUTOFSYNC: numplayers=2, diff=0, same=0 (NoteOnlySync) OUTOFSYNC: return not out Checking player 2 for desync on world turn 000083 (NoteOnlySync) OUTOFSYNC: DIDN'T FIND MY VALUE Checking player 3 for desync on world turn 000083 (NoteOnlySync) OUTOFSYNC: DIDN'T FIND MY VALUE Checking player 4 for desync on world turn 000083 (NoteOnlySync) OUTOFSYNC: DIDN'T FIND MY VALUE Checking player 5 for desync on world turn 000083 (NoteOnlySync) OUTOFSYNC: DIDN'T FIND MY VALUE Checking player 6 for desync on world turn 000083 (NoteOnlySync) OUTOFSYNC: DIDN'T FIND MY VALUE Checking player 7 for desync on world turn 000083 (NoteOnlySync) OUTOFSYNC: DIDN'T FIND MY VALUE Checking player 8 for desync on world turn 000083 (NoteOnlySync) OUTOFSYNC: DIDN'T FIND MY VALUE
Last edited by FTr; Jul 21, 2020 @ 2:22pm
Gardinho III. Jul 23, 2020 @ 2:36pm 
Originally posted by daredevilx:
-Linux isn't officially supported so you'll have to rely on other Linux users to help.

The problem is that it is not clear if Linux is actually the problem in this or if it is something else with the connection etc.

Also the game says:

Originally posted by AOE2-DE:
The game has stopped because it has encountered an error AND has gone out of sync!

So basically the debugging of the problem is not so straightforward, because the error message is not very specific and also ambigiuous, because did the game went out of sync because of some unknown error, or because of the error or is the desync simply the error the message states.

I understand that Linux is not supported, but as I see it the same error could (and most likely does) appear in the game running on WIndows as nothing Linux specific is stated in the message. So assuming the game runs on Wndows and the multiplayer goes out of sync after a few moments, what could possibly cause this?
Last edited by Gardinho III.; Jul 23, 2020 @ 5:12pm
-Dare Devil/x/ Jul 23, 2020 @ 7:47pm 
Originally posted by Gardinho III.:
Originally posted by daredevilx:
-Linux isn't officially supported so you'll have to rely on other Linux users to help.

The problem is that it is not clear if Linux is actually the problem in this or if it is something else with the connection etc.

Also the game says:

Originally posted by AOE2-DE:
The game has stopped because it has encountered an error AND has gone out of sync!

So basically the debugging of the problem is not so straightforward, because the error message is not very specific and also ambigiuous, because did the game went out of sync because of some unknown error, or because of the error or is the desync simply the error the message states.

I understand that Linux is not supported, but as I see it the same error could (and most likely does) appear in the game running on WIndows as nothing Linux specific is stated in the message. So assuming the game runs on Wndows and the multiplayer goes out of sync after a few moments, what could possibly cause this?

-I have not seen anyone else report this or continue to report this. That's seems indicative that OP has something they isnt behaving nice with the game and the biggest differentiator would be he is running on Linux.

-I haven't really seen many Linux posts to be honest so there might not be many people running aoe 2 on Linux.
Gardinho III. Jul 23, 2020 @ 8:40pm 
@dare davil /x/
thanks for the response
I just found another article that indicates that the desync indeed is because of something in the wine config. I will try this fix here
https://www.reddit.com/r/aoe2/comments/dwuplr/how_to_run_age_of_empires_2_definitive_edition_on/

"If you want to go into multiplayer you will get desynced after a few seconds, to fix that it is necessary to replace the ucrtbase.dll of the wine prefix."

The thing is before the latest patch it did not simply desync, but instead simply disconnected after 10 seconds and also the message said player x disconnected etc,

EDIT: @TFr
Running these commands from the link above in the terminal worked for me, now the desync does not appear again and I was able to play multiplayer without issues:

cd /home/$USER/.steam/steam/steamapps/compatdata/813780/pfx/drive_c/windows/system32/

wget "https://aka.ms/vs/16/release/vc_redist.x64.exe"

cabextract vc_redist.x64.exe

cabextract a10


Last edited by Gardinho III.; Jul 23, 2020 @ 9:03pm
FTr Jul 25, 2020 @ 12:44am 
Originally posted by Gardinho III.:
@dare davil /x/
thanks for the response
I just found another article that indicates that the desync indeed is because of something in the wine config. I will try this fix here
https://www.reddit.com/r/aoe2/comments/dwuplr/how_to_run_age_of_empires_2_definitive_edition_on/

"If you want to go into multiplayer you will get desynced after a few seconds, to fix that it is necessary to replace the ucrtbase.dll of the wine prefix."

The thing is before the latest patch it did not simply desync, but instead simply disconnected after 10 seconds and also the message said player x disconnected etc,

EDIT: @TFr
Running these commands from the link above in the terminal worked for me, now the desync does not appear again and I was able to play multiplayer without issues:

cd /home/$USER/.steam/steam/steamapps/compatdata/813780/pfx/drive_c/windows/system32/

wget "https://aka.ms/vs/16/release/vc_redist.x64.exe"

cabextract vc_redist.x64.exe

cabextract a10
You are correct.

I remember stumbling upon that thread and doing these steps. Now that I think of it, the patch that re-introduced the out-of-sync for me, was one of those where people got errors on game startup with vc_redist. It did not occur to me that I should re-do these steps again.

The game runs fine now.

You might also consider making a sticky thread with these instructions, so one does not have to wander over to reddit.
< >
Showing 1-15 of 21 comments
Per page: 1530 50

Date Posted: Jun 6, 2020 @ 1:07pm
Posts: 21