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

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: Developers

Forum rules
Please, if you can include a wad demonstrating the problem, do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

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

Postby Somagu » Mon Jan 01, 2018 8:52 pm

(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.
User avatar
Somagu
 
Joined: 22 Nov 2013

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

Postby _mental_ » Tue Jan 02, 2018 6:25 am

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?
_mental_
 
 
 
Joined: 07 Aug 2011

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

Postby Somagu » Tue Jan 02, 2018 4:29 pm

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
Somagu
 
Joined: 22 Nov 2013

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

Postby Rachael » Tue Jan 02, 2018 7:47 pm

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
Rachael
QZDoom Project Lead + Webmaster
 
Joined: 13 Jan 2004

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

Postby Marisa Kirisame » Fri Feb 09, 2018 6:48 am

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
Marisa Kirisame
I shouldn't be let anywhere near ZScript
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#4689

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

Postby Somagu » Fri Feb 09, 2018 4:00 pm

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
 
Joined: 22 Nov 2013


Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests