Netplay desync caused by player name

These bugs do plan to be resolved, when they can be.

Moderator: GZDoom Developers

Netplay desync caused by player name

Postby Somagu » Thu Aug 03, 2017 5:03 am

If netplay is started and one of the players has a name containing/beginning with a backslash, the game will consistently desync after about 20-40 seconds. Confirmed on both 3.1.0 stable and the most recent published build as of this moment. (gzdoom-g3.2pre-399-g04be9fe)

Confirmed with three separate people, and is consistently repeatable. Can also confirm this was not the case previously, as I had used that name years ago with no issue.
User avatar
Joined: 22 Nov 2013

Re: Netplay desync caused by player name

Postby _mental_ » Sun Aug 06, 2017 3:03 am

I cannot reproduce this. Could you please specify exact player's name and command line used?
Joined: 07 Aug 2011

Re: Netplay desync caused by player name

Postby Somagu » Sun Aug 06, 2017 8:43 am

The two names I used were \Akkari-n/ and \Test.

Code: Select allExpand view
gzdoom.exe -host 2 -skill 4 -port 27015 -noautoload

Was alternately tested with variations including the mapset Fragport, the gameplay mod Reelism, and on port 7707. Always with two players, always over a net connection and not locally. Desynced after roughly 20-40 seconds of normal gameplay, which always indicated actual desyncs between players as opposed to superficial ones that might be skin or sound related. Tested with all 3 people (2 player netplay again each time) and with mod and map permutations afterwards and the desyncing ceased after my name was changed to not contain a backslash.

[edit]Also, always peer to peer netmode and not packet server.

Curiously, it doesn't happen if the name is changed to contain a backslash during gameplay, only if it's started as such. Netplay works fine with all 3 players otherwise. No tunneler programs are in use.

[editx2]Using the 32-bit and 64-bit Windows versions both have the same result, in matching or differing pairs between the two players.
User avatar
Joined: 22 Nov 2013

Re: Netplay desync caused by player name

Postby Graf Zahl » Sat Aug 12, 2017 2:23 am

Well, unfortunately this will be very hard to find because I got no idea where the backslash gets misinterpreted as a filter character.
For now, all I can recommend is not to use backslashes in the player name. The relevant CVar was smartly named 'name' so good luck finding where things go wrong.

What I need is some information about when this broke, due to the generic naming here there's little chance to find anything by looking for variables.
User avatar
Graf Zahl
Lead GZDoom Developer
Joined: 19 Jul 2003
Location: Germany

Re: Netplay desync caused by player name

Postby Rachael » Sun Sep 10, 2017 6:49 am

Moving to "on hold" since this one is going to be particularly tricky to track down.
User avatar
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Return to On Hold Bugs

Who is online

Users browsing this forum: No registered users and 1 guest