by edward850 » Thu Jan 01, 2009 7:05 am
Allow me to explain fully zdooms networking method for those who don't understand.
When zdoom starts, it waits for its set amount of players (lets say 3 players). At this point, the host is the master, and the 2 clients are the slaves. Zdoom sets up the game, and launches it. At this point it checks for -netmode.
If -netmode is 0 (or not set), it defults to peer to peer. Each player is the host, which means each player needs a port open depending. Player 1 already has an open port (or the game wouldn't have started), but player 2 or 3 must have an open port as well. In zdoom (while it peer to peer), the rules stands that only one player can have a closed port. If player 2 and 3 both have closed ports, they can't talk to eachother, and the game just dies. In short, peer to peer requires everybody to be talking to everybody.
If -netmode is 1, it defults to master / slave. In this case, only player 1 needs an open port. Although player 2 and 3 exist in the game, they don't need to talk to eachother, but rather, talk to eachother though player 1.
Allow me to explain fully zdooms networking method for those who don't understand.
When zdoom starts, it waits for its set amount of players (lets say 3 players). At this point, the host is the master, and the 2 clients are the slaves. Zdoom sets up the game, and launches it. At this point it checks for -netmode.
If -netmode is 0 (or not set), it defults to peer to peer. Each player is the host, which means each player needs a port open depending. Player 1 already has an open port (or the game wouldn't have started), but player 2 or 3 must have an open port as well. In zdoom (while it peer to peer), the rules stands that only one player can have a closed port. If player 2 and 3 both have closed ports, they can't talk to eachother, and the game just dies. In short, peer to peer requires everybody to be talking to everybody.
If -netmode is 1, it defults to master / slave. In this case, only player 1 needs an open port. Although player 2 and 3 exist in the game, they don't need to talk to eachother, but rather, talk to eachother though player 1.