[2.2.0] Can't Play multiplayer with more than 3 players

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.
User avatar
DMPhobos
Posts: 53
Joined: Sun Jan 06, 2008 4:12 pm

[2.2.0] Can't Play multiplayer with more than 3 players

Post by DMPhobos »

Hi, this is a problem that I and some friends we are having:
When we try to play coop or deathmatch with only 2 players, everything works just perfect
however when we try to play any of this modes with a 3rd player, when the game starts, there is a huge lag that never disapears 'till everyone leaves the game, we have no idea what's causing this, we are using zdoom 2.2.0 with ZDL3 launcher(dunno if this is of importance but nevermind) it also happens with GZDoom, never tried the SVN
I think it's user error, but we are not really sure what's going on, since coop with 2 players has no problem at all

please excuse my poor english btw
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Project Shadowcat »

In a few minutes I'll be able to debunk this or confirm it. I'll let you know.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Macil »

Is everyone on the same LAN, or are you connecting over the internet? If it's over the internet, maybe your 4th player simply has a bad connection?
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Project Shadowcat »

Sorry, but I can confirm it.
User avatar
Zok
Posts: 54
Joined: Sun Jan 21, 2007 12:53 am
Location: Mexico
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Zok »

well i have the same problem when i try to play coop with 3 players over internet, with 2 dont have problems, but 3 have the problem explained there. i think was Gzdoom so we tried with Zdoom and the same problem. what would be the problem? :?
User avatar
DMPhobos
Posts: 53
Joined: Sun Jan 06, 2008 4:12 pm

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by DMPhobos »

)
Agent ME wrote:Is everyone on the same LAN, or are you connecting over the internet? If it's over the internet, maybe your 4th player simply has a bad connection?
No, its not LAN, i dont think it has something to do with the 3rd(not 4th :wink: ) player conection, we have tried with diferent players but it always happens the same Lag at the start of the game :(
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Macil »

I think this is the same as this glitch I reported in gzdoom not too long ago: http://forum.drdteam.org/viewtopic.php?t=3756. Three (or more) player multiplayer doesn't work for me at all. (Oh btw, the topic title is wrong and misleading assuming this is the same issue - Multiplayer doesn't work with more than 2 players)
Last edited by Macil on Wed Dec 31, 2008 11:07 pm, edited 1 time in total.
Thecoolgman
Posts: 5
Joined: Sun Dec 28, 2008 2:30 am
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Thecoolgman »

What a nasty bug. I should try this on my PC
User avatar
Zhs2
Posts: 1299
Joined: Fri Nov 07, 2008 3:29 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Maryland, USA, but probably also in someone's mod somewhere
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Zhs2 »

I'm actually not sure about this... I've tried three player multiplayer before [GZDoom official release 1.1.6], and somehow it manages to make us all out of sync with one another, but it has never created a huge lag. I'll try to test it more extensively...
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Macil »

When I tried to do 3 players, 2 of the games only got to a black screen and the host stopped soon as the player spawned - I'm not sure if this is what the topic maker meant by a huge lag.
User avatar
edward850
Posts: 5886
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by edward850 »

Simple. Two (or more) players must have closed ports, resaulting in said players being unable to talk to eachother. '-netmode 1' should fix it (Which uses master/slave code instead of peer to peer).

Peer to peer should only ever be used in a 2 player game, or on a LAN if you feel lazy.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Macil »

In the example I posted in the link I posted, the three (g)zdoom instances were running on the same computer, so there weren't any closed ports involved. And using the -host # and -join #.#.#.# commands make the game use master/slave network model, right? Then I'm good on that part too.
User avatar
edward850
Posts: 5886
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by edward850 »

You just tried to open the same port 3 times at once on one pc. That should never work.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by Macil »

In my understanding, only the server actually binds to and opens a port. Even then the example in my other post where I have a host and a client on one machine, and a client on another machine should have worked.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [2.2.0] Can't Play multiplayer with more than 3 players

Post by randi »

Agent ME wrote:And using the -host # and -join #.#.#.# commands make the game use master/slave network model, right?
No, that's what the -netmode parameter is for. Network setup always uses a master/slave setup, but after that it is free to switch to peer to peer if you don't force it to master/slave.

And I am confused by this bug report. Is the problem that 3 players does not work at all or that it is too laggy to be playable?
Post Reply

Return to “Closed Bugs [GZDoom]”