[r278] Multiplayer doesn't work with more than 2 players
Posted: Fri Dec 26, 2008 1:47
I'm not sure if this is gzdoom specific or not, as I can't run more than 1 zdoom/gzdoom-in-software-mode at a time on one computer and I only have 2 computers.
On my linux computer, I'm able to run any number of gzdoom instances at the same time. I can do a netgame with 2 (or multiple netgames each of 2 players), but I can't do a netgame with 3 or more players.
The host will start up normally, but all the clients start up with just a blank screen playing music and don't respond to any controls besides Alt+F4. On the host, the game is frozen, I guess waiting on the clients. The menu works mostly. If the host quits, then the clients will show a message that he quit, that all bots are removed (?) and that they are the new arbitrator. Blank other than that.
Sometimes the client just crashes after a bit of time being blank. I wasn't running a debug build so most of the log was useless, but it did say something about a "double free".
To make sure the problem wasn't caused by several running on one computer, I tried running 2 clients on one computer and hosting on another, or having a host+client on one computer and a client on the other computer; same results.
On my linux computer, I'm able to run any number of gzdoom instances at the same time. I can do a netgame with 2 (or multiple netgames each of 2 players), but I can't do a netgame with 3 or more players.
The host will start up normally, but all the clients start up with just a blank screen playing music and don't respond to any controls besides Alt+F4. On the host, the game is frozen, I guess waiting on the clients. The menu works mostly. If the host quits, then the clients will show a message that he quit, that all bots are removed (?) and that they are the new arbitrator. Blank other than that.
Sometimes the client just crashes after a bit of time being blank. I wasn't running a debug build so most of the log was useless, but it did say something about a "double free".
To make sure the problem wasn't caused by several running on one computer, I tried running 2 clients on one computer and hosting on another, or having a host+client on one computer and a client on the other computer; same results.