Sephiroth Posted August 18, 2001 how do i play a 2 person game in zdoom. i have 2 computers linked threw 2 lan cards. i am not network person so i dont know how to do this. al the drivers are installed and zdoom, and doom2.wad are the same versions 0 Share this post Link to post
AirRaid Posted August 18, 2001 I had problems getting that to work as well. You might want to try one of the launchers. 0 Share this post Link to post
AirRaid Posted August 18, 2001 ooer. I did. It said how to set up the command line stuff, ie. which port to use etc, but I still couldn't get it going. I don't really mind tho, although sephiroth could still use some help..... So here it is. "6. Playing a network game ========================= Due to changes ZDoom has made to the message format of network games, you will definitely not be able to play a network game between ZDoom and another version of Doom. Since ZDoom uses the UDP protocol for networking, it is possible to play a game on the Internet as well as a LAN. If you want to try it, a good frontend to try is ZM (http://www.doomworld.com/zm). 6-1. Playing a network game with the DOS version ------------------------------------------------ The information in the following sections about network games does *not* apply to the DOS version of ZDoom. While networking with the DOS version is untested, it should work just like the original DOOM: through sersetup or ipxsetup. If you want to try it, rename zdoomdos.exe to whatever sersetup or ipxsetup expects (it varies depending on which game they came with). BE SURE TO RENAME THE ORIGINAL DOOM.EXE, DOOM2.EXE, HERETIC.EXE, OR HEXEN.EXE TO SOMETHING ELSE BEFORE YOU DO THIS. Then launch a game using DM or some similar program. Please note that due to the size of the network packets used during game startup, you may experience access violations with the DOS version. 6-2. Playing a network game the nice way ---------------------------------------- As of version 1.19, starting network games has been vastly simplified. The old method is retained for compatibility (see the next section), but you are encouraged to use this new method. Not only is the new method easier, but it should work with IP masquerading, providing that only the machines connect to the host use IP masquerading. What follows are Jeffrey Cuenco's instructions for using them: The syntax for these command-line parameters are as follows: To start (host) a game you simply type: zdoom -host <x> where x is the number of players that are going to be in the game (including yourself). To join a game you simply type: zdoom -join <host ip> where host ip is the ip address of the "host" computer. These functions simplify the netgame process by having one computer, the "host," accept connection requests from other computers running ZDoom. The host then sends back a response packet to the client, which contains the client's console number. When the total number of hosts connected to the host + the host itself equals the number of players specified in "-host," then the host sends a packet to all the clients connected to the host, containing the ip addresses of all the other computers connected to the host excluding the ip of the host itself and your ip (which you already have). When each client receives this "all here" packet, then it stores each address under a different index in the array that holds all the addresses of the client computers you're playing against. After each client successfully receives the "all here" packet and has already sent ACKs (acknowledgement packets) to the host, then the host sends a "Go" packet to all clients stating that it's ok to start the netgame. What follows this is the normal activity that you've already seen after you execute "-net ..." 6-3. Playing a network game the old way --------------------------------------- To begin a network game, start ZDoom with the "-net" command-line parameter. This is *different* from the DOS version of Doom (but the same as the Linux version). The -net parameter takes the form: -net <console> [machine1] [machine2] ... <console> is the player number that your machine is playing as (1 to 8) and is followed by the addresses of the other machines in the network game. These addresses can be either IP addresses like 192.168.0.1 or hostnames like some.machine.com. To specify an alternate port to connect to on the other machines, append a colon to the address and follow it with the port number you wish to use (i.e. some.machine.com:26000). The number of players in a netgame is determined by the number of machines after <console> in the -net parameter. For a two-player game, you would only list one other machine. For a four-player game, you would list three. Each player must choose a different console number. One person *must* be console 1, and there can be no gaps between console numbers. For instance, in a two-player game it's okay for one player to be console 1 and the other to be console 2, but it's not okay if one player is console 1 and the other is console 4. An example for a two-player game: One machine named joe runs: zdoom -net 1 bob -deathmatch The other machine named bob runs: zdoom -net 2 joe -deathmatch It's also possible to start a network game on your own machine if you run ZDoom in a window with the -nomusic and -noidle parameters: Start the first copy of zdoom: zdoom -net 1 localhost:26000 -port 26001 -noidle -nomusic Then start the second copy: zdoom -net 2 localhost:26001 -port 26000 -noidle -nomusic This works much nicer under Windows NT than it does under 95/98. 6-4. Configuring ICQ to launch an Internet game ----------------------------------------------- I don't personally recommend using ZDoom on the Internet (and have never tried it), but if you want to give it a try, it's just like setting it up for a LAN game. You might also want to try specifying the -extratic and -dup 2 parameters to help compensate for the latency the Internet introduces. Doomworld's Linguica has also provided instructions for setting up ICQ to launch a game of ZDoom: With a little tweaking I was able to successfully configure the nearly ubiquitous program ICQ to launch ZDoom games with literally the click of a button. Here's how: Go into the "Preferences" menu in ICQ and then "Internet Phone/Games/Chat." Then click on "New External." You'll be given a box with three empty lines to fill in. In the first line, type in the title of the application, i.e. "ZDoom." In the second line, type in the path to your zdoom.exe -- "C:\DOOM2\zdoom.exe" or whatever. In the third line, type in the following: "-net 2 %i -extratic -dup 2 -deathmatch -nomonsters -skill 5 -warp 01 -nomusic" which will configure ZDoom to DM on Map01 with the optimum TCP/IP deathmatch settings. Then click on the "Client/Server Application" button. This will bring up two additional lines to fill in. In the fourth line, type the same thing as in line 2: "C:\DOOM2\zdoom.exe" or whatever. In the fifth line, type "-net 1 %i -extratic -dup 2 -deathmatch -nomonsters -skill 5 -warp 01 -nomusic" which once again configures ZDoom for optimum Internet play. It's exactly the same as line 3 except it has "-net 1" instead of "-net 2." Once all this is typed in, press OK. Then, if you want to DM a friend who has similarly enabled his ICQ, simply click on their name, click on "Internet Phone/Games," and then on "ZDoom." And away you go! 6-5. Playing with a modem/serial/parallel cable connection ---------------------------------------------------------- ZDoom only supports UDP games. However, using Microsoft's Dial-Up Networking (included with Windows 95/98/NT), it should be possible to also play a game on two computers connected with modems or null-modem serial or parallel cables. My only network connection is my Ethernet card, so I haven't actually tried this, but I can't see any reason why it shouldn't work. If you're running Windows 95, go download Dial-Up Networking 1.3 from http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wunetworking/dun13win95/default.asp and install it. If you're running Windows 98, open the "Add/Remove Programs" control panel and click the Windows Setup tab. Choose "Communications" from the components list and click "Details..." If there isn't a check by "Dial-Up Networking" and "Dial-Up Server," check them and click OK. Click OK again to close the control panel. Now go visit http://www.geocities.com/TimesSquare/Fortress/4004/guide.html and start reading the section entitled "Configuring the Dial-Up-Server." Once you have everything set up, start a game using the instructions for starting a LAN game above. If you want to use two computers connected directly using a parallel or serial cable, you also have to use Microsoft's Direct Cable Connection." Sorry if that was a bit long. 0 Share this post Link to post
AirRaid Posted August 18, 2001 ooer. I did. It said how to set up the command line stuff, ie. which port to use etc, but I still couldn't get it going. I don't really mind tho, although sephiroth could still use some help..... So here it is. "6. Playing a network game ========================= Due to changes ZDoom has made to the message format of network games, you will definitely not be able to play a network game between ZDoom and another version of Doom. Since ZDoom uses the UDP protocol for networking, it is possible to play a game on the Internet as well as a LAN. If you want to try it, a good frontend to try is ZM (http://www.doomworld.com/zm). 6-1. Playing a network game with the DOS version ------------------------------------------------ The information in the following sections about network games does *not* apply to the DOS version of ZDoom. While networking with the DOS version is untested, it should work just like the original DOOM: through sersetup or ipxsetup. If you want to try it, rename zdoomdos.exe to whatever sersetup or ipxsetup expects (it varies depending on which game they came with). BE SURE TO RENAME THE ORIGINAL DOOM.EXE, DOOM2.EXE, HERETIC.EXE, OR HEXEN.EXE TO SOMETHING ELSE BEFORE YOU DO THIS. Then launch a game using DM or some similar program. Please note that due to the size of the network packets used during game startup, you may experience access violations with the DOS version. 6-2. Playing a network game the nice way ---------------------------------------- As of version 1.19, starting network games has been vastly simplified. The old method is retained for compatibility (see the next section), but you are encouraged to use this new method. Not only is the new method easier, but it should work with IP masquerading, providing that only the machines connect to the host use IP masquerading. What follows are Jeffrey Cuenco's instructions for using them: The syntax for these command-line parameters are as follows: To start (host) a game you simply type: zdoom -host <x> where x is the number of players that are going to be in the game (including yourself). To join a game you simply type: zdoom -join <host ip> where host ip is the ip address of the "host" computer. These functions simplify the netgame process by having one computer, the "host," accept connection requests from other computers running ZDoom. The host then sends back a response packet to the client, which contains the client's console number. When the total number of hosts connected to the host + the host itself equals the number of players specified in "-host," then the host sends a packet to all the clients connected to the host, containing the ip addresses of all the other computers connected to the host excluding the ip of the host itself and your ip (which you already have). When each client receives this "all here" packet, then it stores each address under a different index in the array that holds all the addresses of the client computers you're playing against. After each client successfully receives the "all here" packet and has already sent ACKs (acknowledgement packets) to the host, then the host sends a "Go" packet to all clients stating that it's ok to start the netgame. What follows this is the normal activity that you've already seen after you execute "-net ..." 6-3. Playing a network game the old way --------------------------------------- To begin a network game, start ZDoom with the "-net" command-line parameter. This is *different* from the DOS version of Doom (but the same as the Linux version). The -net parameter takes the form: -net <console> [machine1] [machine2] ... <console> is the player number that your machine is playing as (1 to 8) and is followed by the addresses of the other machines in the network game. These addresses can be either IP addresses like 192.168.0.1 or hostnames like some.machine.com. To specify an alternate port to connect to on the other machines, append a colon to the address and follow it with the port number you wish to use (i.e. some.machine.com:26000). The number of players in a netgame is determined by the number of machines after <console> in the -net parameter. For a two-player game, you would only list one other machine. For a four-player game, you would list three. Each player must choose a different console number. One person *must* be console 1, and there can be no gaps between console numbers. For instance, in a two-player game it's okay for one player to be console 1 and the other to be console 2, but it's not okay if one player is console 1 and the other is console 4. An example for a two-player game: One machine named joe runs: zdoom -net 1 bob -deathmatch The other machine named bob runs: zdoom -net 2 joe -deathmatch It's also possible to start a network game on your own machine if you run ZDoom in a window with the -nomusic and -noidle parameters: Start the first copy of zdoom: zdoom -net 1 localhost:26000 -port 26001 -noidle -nomusic Then start the second copy: zdoom -net 2 localhost:26001 -port 26000 -noidle -nomusic This works much nicer under Windows NT than it does under 95/98. 6-4. Configuring ICQ to launch an Internet game ----------------------------------------------- I don't personally recommend using ZDoom on the Internet (and have never tried it), but if you want to give it a try, it's just like setting it up for a LAN game. You might also want to try specifying the -extratic and -dup 2 parameters to help compensate for the latency the Internet introduces. Doomworld's Linguica has also provided instructions for setting up ICQ to launch a game of ZDoom: With a little tweaking I was able to successfully configure the nearly ubiquitous program ICQ to launch ZDoom games with literally the click of a button. Here's how: Go into the "Preferences" menu in ICQ and then "Internet Phone/Games/Chat." Then click on "New External." You'll be given a box with three empty lines to fill in. In the first line, type in the title of the application, i.e. "ZDoom." In the second line, type in the path to your zdoom.exe -- "C:\DOOM2\zdoom.exe" or whatever. In the third line, type in the following: "-net 2 %i -extratic -dup 2 -deathmatch -nomonsters -skill 5 -warp 01 -nomusic" which will configure ZDoom to DM on Map01 with the optimum TCP/IP deathmatch settings. Then click on the "Client/Server Application" button. This will bring up two additional lines to fill in. In the fourth line, type the same thing as in line 2: "C:\DOOM2\zdoom.exe" or whatever. In the fifth line, type "-net 1 %i -extratic -dup 2 -deathmatch -nomonsters -skill 5 -warp 01 -nomusic" which once again configures ZDoom for optimum Internet play. It's exactly the same as line 3 except it has "-net 1" instead of "-net 2." Once all this is typed in, press OK. Then, if you want to DM a friend who has similarly enabled his ICQ, simply click on their name, click on "Internet Phone/Games," and then on "ZDoom." And away you go! 6-5. Playing with a modem/serial/parallel cable connection ---------------------------------------------------------- ZDoom only supports UDP games. However, using Microsoft's Dial-Up Networking (included with Windows 95/98/NT), it should be possible to also play a game on two computers connected with modems or null-modem serial or parallel cables. My only network connection is my Ethernet card, so I haven't actually tried this, but I can't see any reason why it shouldn't work. If you're running Windows 95, go download Dial-Up Networking 1.3 from http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wunetworking/dun13win95/default.asp and install it. If you're running Windows 98, open the "Add/Remove Programs" control panel and click the Windows Setup tab. Choose "Communications" from the components list and click "Details..." If there isn't a check by "Dial-Up Networking" and "Dial-Up Server," check them and click OK. Click OK again to close the control panel. Now go visit http://www.geocities.com/TimesSquare/Fortress/4004/guide.html and start reading the section entitled "Configuring the Dial-Up-Server." Once you have everything set up, start a game using the instructions for starting a LAN game above. If you want to use two computers connected directly using a parallel or serial cable, you also have to use Microsoft's Direct Cable Connection." Sorry if that was a bit long. 0 Share this post Link to post
Zaldron Posted August 19, 2001 Yes. http://www.doomworld.com/forums/viewthread.php?FID=1&TID=2027 0 Share this post Link to post
AirRaid Posted August 19, 2001 Zaldron - ROFL Lüt - No, I copied it out of my zdoom.txt file. I don't of anywhere where it's on the net available for viewing. 0 Share this post Link to post
Zaldron Posted August 19, 2001 I suppose you have TCP/IP protocol for both comps, right? Not the one of the modem, but another one meant for the net cards. You need Microsoft File/Printer Sharing too. You can kill IPX alright. I had problems too, but for some weird reason, if I use a hub to connect only 2 comps it starts working. Don't ask... 0 Share this post Link to post
Sephiroth Posted August 19, 2001 i have been toying around with networking a bit. networking is not my area so as of now i am just trying to get the 2 computers to talk to each other. 0 Share this post Link to post
Zaldron Posted August 19, 2001 Check cables, EPPROM and Memory. There's a fuckload of utilities that do that. When one of those things is fucked up, they just doesn't communicate so it doesn't really look like a fatal error. If those netcards are old, it wouldn't surprise me. I ditched 3 net cards for EPPROM problems. 0 Share this post Link to post