3P (or more) multiplayer doesn't work in peer-to-peer.

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Somagu
Posts: 684
Joined: Fri Nov 22, 2013 8:56 pm

3P (or more) multiplayer doesn't work in peer-to-peer.

Post by Somagu »

(Using gzdoom-x64-g3.3pre-265-gbe81474 as linked on drdteam)

When three players try to connect using peer-to-peer mode, invariably one of them will meet with an unresponsive screen, while the other two players will be held up ingame waiting for the third player.

No mods are being loaded, and all players are able to connect to host and join to each other player if there are only two players.

Packet Server mode works fine.

Reverting to version 3.1.0a works under the above conditions with 3 or more players, but I am not thrilled with the idea of condoning the use of an insecure version of GZDoom (or any other program.)

[edit] Version 3.2.1 works, version 3.2.2 and beyond do not. Hope that helps.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by _mental_ »

I cannot reproduce this on one machine using three GZDoom running.
Could you please be more specific about that unresponsive screen? Is it just a black screen? Does something work in it (like menu or console) or should player just kill GZDoom process?
User avatar
Somagu
Posts: 684
Joined: Fri Nov 22, 2013 8:56 pm

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by Somagu »

The frozen player is unable to access the menu or console, the entire window becomes unresponsive, although the music begins playing first, and continues playing into the window being unresponsive, such as when a program stops responding in Windows, for example, and they are normally forced to kill the process. The other two players can look around and access the menu.

The host and the unresponsive window player can begin playing normally if the second responsive player leaves, but if the host leaves or the unresponsive player leaves, the session will remain frozen and unplayable.
User avatar
Rachael
Posts: 13530
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by Rachael »

It sounds like what's happening is with the peer-to-peer method the ports are not being opened and GZDoom is caught waiting for packets that never arrive from the other hosts.
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by Marisa the Magician »

I've tested up to 8 players on the same network, and there were no desyncs or "waiting for" happening. So I can confirm that this is definitely due to ports not being open.

You really have to make sure port 5029 is open for all players participating.
User avatar
Somagu
Posts: 684
Joined: Fri Nov 22, 2013 8:56 pm

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by Somagu »

I can personally confirm in all but one user's case (That's 3 out of the 4 other people besides myself that I had help me test this) that ports 5029 as well as the custom ports we attempted using (6667 and 27015) were all open, and we tested each user hosting each port. Again, they worked in an older version as mentioned in the first post, and it's fairly unlikely that they would have ever worked at all in peer-to-peer mode if the ports weren't open.

[edit]Nonetheless I'll check again later today so I can assuredly make myself look like an ass.
User avatar
Somagu
Posts: 684
Joined: Fri Nov 22, 2013 8:56 pm

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by Somagu »

I realize it's a bit late for "later today" but I finally got around to testing this again with two other people I can be absolutely certain have their ports (but most particularly port 5029) forwarded. As per my earlier testing, version 3.2.1 worked, and the latest unstable revision released (GZDoom-g3.3pre-623-gd83456e9c) does not. Exact same issues as described earlier in the thread.

Cannot be replicated by a single user running multiple instances on one computer.
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by Marisa the Magician »

We're gonna need 3 people to bisect and check at what commit this started happening.

Edit: Since I have 3 computers I can try doing this on my own, wish me luck.

Edit #2: I need someone to do windows builds for me.

Edit #3: I can confirm at least that 3.2.1 works flawlessly and 3.2.2 is broken, so the bisect shouldn't need many steps.
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by Marisa the Magician »

After a lengthy session of bisecting, I've narrowed it down to commit 090943eaa49baa2a60ac89e2cb6ed8681f0301f6: "Fix freeze interpolation bug".

@dpJudas: I'm pointing all my fingers at you on this one :P
dpJudas
 
 
Posts: 3036
Joined: Sat May 28, 2016 1:01 pm

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by dpJudas »

Should be fixed on master now.
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: 3P (or more) multiplayer doesn't work in peer-to-peer.

Post by Marisa the Magician »

We should celebrate with an 8-player match :P
Post Reply

Return to “Closed Bugs [GZDoom]”