Page 1 of 2

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

Posted: Wed Aug 06, 2008 7:03 pm
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

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

Posted: Wed Aug 06, 2008 8:05 pm
by Project Shadowcat
In a few minutes I'll be able to debunk this or confirm it. I'll let you know.

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

Posted: Wed Aug 06, 2008 8:52 pm
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?

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

Posted: Wed Aug 06, 2008 9:07 pm
by Project Shadowcat
Sorry, but I can confirm it.

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

Posted: Wed Aug 06, 2008 9:10 pm
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? :?

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

Posted: Fri Aug 08, 2008 3:04 pm
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 :(

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

Posted: Sun Dec 28, 2008 11:11 pm
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)

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

Posted: Mon Dec 29, 2008 1:58 am
by Thecoolgman
What a nasty bug. I should try this on my PC

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

Posted: Mon Dec 29, 2008 2:40 pm
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...

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

Posted: Mon Dec 29, 2008 2:49 pm
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.

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

Posted: Tue Dec 30, 2008 7:28 am
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.

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

Posted: Tue Dec 30, 2008 7:46 pm
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.

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

Posted: Wed Dec 31, 2008 6:24 am
by edward850
You just tried to open the same port 3 times at once on one pc. That should never work.

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

Posted: Wed Dec 31, 2008 3:18 pm
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.

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

Posted: Wed Dec 31, 2008 8:02 pm
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?