home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / pc / softdox / doomtcp.faq < prev    next >
Encoding:
Text File  |  2003-06-11  |  29.9 KB  |  642 lines

  1. Archive-name: games/doom/howto-tcp
  2. Rec-games-computer-doom-announce-archive-name: howto-tcp
  3. Posting-Frequency: monthly
  4.  
  5.                   The TCP/IP Internet DOOM FAQ
  6.                 by Scott Coleman (asre@uiuc.edu)
  7.              and Jay Cotton (jay@calc.vet.uga.edu)
  8.                         updated 1/11/95
  9.                            
  10.  
  11.    Introduction
  12.  
  13.         id Software's DOOM, DOOM II, and Heretic truly are
  14.    the Killer Apps of the MS-DOS world. The popularity of
  15.    these games is so immense, it has been estimated that
  16.    DOOM is installed on more PCs than OS/2 and Windows NT
  17.    combined. So many copies of these games have been sold
  18.    that the idGuys can commute to work in Ferarris. Interest
  19.    in these games has been so great that they have been
  20.    hacked, reverse-engineered, dissected, and enhanced more
  21.    than any other games in PC history. And now, as more and
  22.    more people become hooked into the Internet, DOOM-engine
  23.    games are rapidly becoming the Killer Apps of the 'net,
  24.    as well. Although the remainder of this document will
  25.    refer exclusively to DOOM, the procedures outlined here
  26.    will work equally well for either DOOM II or Heretic, as
  27.    well.
  28.  
  29.         DOOM, as released by id, only supports IPX network
  30.    or modem/direct serial link play; TCP/IP networks are not
  31.    supported. As a result, the DOOM documentation doesn't
  32.    include any information about DOOMing across the
  33.    Internet, and obviously DOOMers can't call id for help.
  34.    As a result, the following question is asked at least
  35.    once per week in the DOOM newsgroups: "How do I play DOOM
  36.    over the Internet?" In the pages that follow, we will
  37.    attempt to answer the most frequently asked questions
  38.    about Internet DOOM, including what you need, how to set
  39.    it up, and how to find new fragbait - er, I mean,
  40.    opponents.
  41.  
  42.         DOOM across the Internet is made possible by a
  43.    freeware program called iFrag. iFrag (formerly called
  44.    iDOOM) uses the UDP protocol (part of the TCP/IP protocol
  45.    suite) to send DOOM game information between multiple
  46.    machines on the Internet. By some strange coincidence,
  47.    the authors of this document are also the creators of
  48.    iFrag, and we have used the program to play Internet DOOM
  49.    sessions with opponents from as far away as Estonia. In
  50.    writing this FAQ, we hope that sharing some of our
  51.    experience will make it easier for you to get connected
  52.    in your own Internet DOOM sessions. NOTE: This tutorial
  53.    will refer specifically to games of DOOM played over the
  54.    Internet via a DIRECT CONNECTION, i.e. no modems are
  55.    involved anywhere in the link. Note that IHHD, SLIP and
  56.    PPP connections all involve modems at some point.
  57.    Although it is possible to connect two DOOM machines
  58.    together across the Internet using a modem link, the
  59.    resulting game will be slow, ranging from the unplayable
  60.    (e.g. a 14.4Kbps PPP connection) to the marginally
  61.    playable (e.g. a 28.8Kbps modem running a Compressed SLIP
  62.    driver). Since these sorts of connections are of only
  63.    marginal utility, this document will focus only on direct
  64.    net connections.
  65.                         The Frag Tracker
  66.  
  67.         The Frag Tracker is a major new enhancement to the
  68.    Internet DOOMing experience. Based on the premise that
  69.    the ability to play DOOM over the 'net isn't much good
  70.    unless you have other people with whom to play, the Frag
  71.    Tracker serves as a virtual meeting place for Internet
  72.    DOOMers. Frag Tracker support is built right into iFrag -
  73.    its use is completely transparent. People looking for
  74.    games run iFrag in client mode, which automatically
  75.    queries the Frag Tracker for a listing of registered
  76.    games. The type of game (DOOM, DOOM II, or Heretic), the
  77.    names of the players, the game parameters (episode, map,
  78.    skill level, etc.), and other information is displayed on
  79.    the iFrag screen. The player picks a game from this list
  80.    and she is instantly connected to that game. If there are
  81.    no games waiting, or the existing games aren't
  82.    sufficiently interesting, a player can register a new
  83.    iFrag game on the Frag Tracker which others can then
  84.    join.
  85.         
  86.                         Getting Prepared
  87.  
  88.         Q1: I want to play DOOM over the Internet using
  89.    iFrag. What hardware do I need?
  90.  
  91.         To successfully play DOOM across the Internet, you
  92.    will need the following hardware:
  93.  
  94.         * A machine capable of playing DOOM (D'OHH!) 
  95.  
  96.         * A network interface card (NIC). And not just any
  97.         old NIC, mind you - your NIC must be supported by a
  98.         packet driver if you wish to use it to play Internet
  99.         DOOM. Usually this means that your NIC must be an
  100.         ethernet card, although iFrag has been successfully
  101.         played over token ring. We will assume that your PC
  102.         is already equipped with a suitable NIC, although it
  103.         may currently be in use for some other non-TCP/IP
  104.         function (such as a node on a Novell network). As
  105.         long as your NIC is supported by a standard packet
  106.         driver (see below), your machine can be readily
  107.         converted into an iFrag "playstation."
  108.  
  109.         * A direct connection to the Internet. As noted
  110.         earlier, if there is a modem somewhere in the link
  111.         between your PC and your opponent's PC, this FAQ is
  112.         not for you. Although it is possible to play
  113.         Internet DOOM over a modem link (either by dialing
  114.         up to a UNIX machine and using IHHD or via
  115.         SLIP/PPP), such connection methods are beyond the
  116.         scope of this document.
  117.               
  118.  
  119.         Q2: OK, I've got all the hardware. What software do
  120.    I need? 
  121.                   
  122.         In addition to the hardware requirements, some
  123.    software is also required to round out your the package.
  124.    Before you can play, you'll need to pick up the
  125.    following:
  126.  
  127.         * The latest version of DOOM.  At the time of this
  128.         writing, the latest version of DOOM is 1.666, DOOM
  129.         II is 1.7a, and Heretic is 1.0. It's always best to
  130.         use the latest version of each game because that is
  131.         what the majority of other iFragers will be using,
  132.         and different versions of each game cannot be used
  133.         in the same network game. Additionally, DOOM
  134.         versions 1.1 and below are incapable of using iFrag.
  135.  
  136.         * A packet driver written specifically for your NIC.
  137.         The Packet Driver is a standardized interface that
  138.         lets iFrag (and therefore DOOM) "talk" to your NIC.
  139.  
  140.         * iFrag, the TCP/IP network driver for DOOM.  
  141.         
  142.         * Some basic network diagnostic tools, such as a
  143.         PING or TRACEROUTE program. These are not absolutely
  144.         necessary, but can definitely be useful for
  145.         debugging and testing your setup. 
  146.  
  147.         Q3: Hold on - I don't have some of this software!
  148.    Where can I get it?
  149.  
  150.         * To obtain iFrag: Log on to mrcnext.cso.uiuc.edu
  151.         via anonymous ftp. Change to directory /asre.
  152.         Download the file IFrag20.ZIP. This is version 2.0
  153.         of iFrag, the latest as of this writing. 
  154.  
  155.         * Many ethernet cards come with the appropriate
  156.         packet drivers on a utilities diskette packaged with
  157.         the card. If your card does not come with a packet
  158.         driver, there is an excellent collection of freely
  159.         available packet drivers called the Crynwr (nee
  160.         Clarkson) Packet Driver collection. You can obtain
  161.         it via anonymous ftp from oak.oakland.edu. Change to
  162.         the /pub/msdos/pktdrvr subdirectory and download
  163.         PKTD11.ZIP and PKTD11C.ZIP. You need not download
  164.         the files PKTD11A.ZIP and PKTD11B.ZIP; these contain
  165.         source code and example programs for the packet
  166.         drivers - while interesting (especially to
  167.         programmer types), you won't need these in order to
  168.         play iFrag.
  169.  
  170.         * If you need basic network diagnostic utilities,
  171.         the WATTCP applications are freely available and
  172.         include a PING program. To get them, anonymous ftp
  173.         to dorm.rutgers.edu, change to the
  174.         /pub/msdos/wattcp/ subdirectory, and download the
  175.         file APPS.ZIP.
  176.                   
  177.         Q4: OK, I've got everything, now what do I do to set
  178.    it up? 
  179.  
  180.         Setting your computer up to use the TCP/IP protocol
  181.    suite via a packet driver is very straightforward. As an
  182.    illustration, I'll be taking you through the steps
  183.    necessary to set up a PC with an SMC ethernet card and
  184.    the IP address 128.192.23.5. You'll of course need to
  185.    substitute your own specific information in place of the
  186.    examples given here. All set? OK, let's get started.
  187.  
  188.         Step 0: START WITH A CLEAN BOOT!!!!! Set up your
  189.    CONFIG.SYS and AUTOEXEC.BAT files to load as few drivers
  190.    as possible. Some definite things to EXclude are memory
  191.    managers (HIMEM, EMM386, QEMM, etc.) and network drivers
  192.    (e.g. LSL, IPXODI). DOOM doesn't need the former, and the
  193.    latter will probably conflict with the packet driver. We
  194.    recommend that you prepare an alternate configuration
  195.    (using the multiple configuration facility built into MS-
  196.    DOS; see your DOS manual for details) specifically for
  197.    Internet DOOM with a CONFIG.SYS portion containing only a
  198.    FILES=20 line, and an AUTOEXEC.BAT portion containing
  199.    only the line "prompt=$p$g". Be sure to include the line
  200.    which loads your mouse driver (if you play DOOM using a
  201.    mouse).
  202.  
  203.         Step 1: Set up the packet driver. If you do not
  204.    already have a suitable packet driver installed on your
  205.    machine, now is the time to install one. Start by
  206.    determining your ethernet card's IRQ setting, it's base
  207.    I/O port setting, and it's memory address setting (if
  208.    any). You should be able to determine this by looking at
  209.    the card itself and consulting the user manual. You'll
  210.    need some if not all of this information, depending upon
  211.    which packet driver you use and/or type of hardware you
  212.    have (for example, some IBM computers with the
  213.    MicroChannel bus can determine the settings on the card
  214.    automatically without you having to supply them on the
  215.    packet driver command line). Unzip the appropriate driver
  216.    from Crynwr Packet Driver collection archive. In our
  217.    example, the packet driver is called SMC_WD.COM. By
  218.    looking at the jumpers on the card and consulting the
  219.    manual, I determined that the card has been set to IRQ 7,
  220.    Base I/O port address 300h, and the base memory address
  221.    is at segment d800h. For this example, I have chosen to
  222.    use interrupt 60h for the packet driver. Packet drivers
  223.    typically operate on an interrupt in the range of 60h to
  224.    80h inclusive; since nothing else in my sample system
  225.    happens to be using the first available interrupt (INT
  226.    60h), I chose that. Thus, to load my packet driver, I use
  227.    the command line
  228.  
  229.  
  230.         SMC_WD 0x60 0x7 0x300 0xd800
  231.  
  232.    where 0x60 is the packet driver interrupt, 0x7 is the IRQ
  233.    setting on the card, 0x300 is the I/O port base address,
  234.    and 0xd800 is the memory base address (NOTE: all numbers
  235.    are in C-style HEX notation). Don't worry if you don't
  236.    understand what all this stuff means - as long as you use
  237.    the correct numbers, your packet driver should work.
  238.    NOTE: If your PC is currently part of a Novell network
  239.    (e.g. Netware, Netware Lite, Personal Netware) the
  240.    parameters you need can be found in a file called
  241.    NET.CFG, usually located in your \NOVELL, \NWLITE or
  242.    \NWCLIENT subdirectories (along with all the other
  243.    drivers needed by Novell). Add the proper command line to
  244.    the AUTOEXEC.BAT for your iFrag configuration so that the
  245.    packet driver will be loaded automatically whenever you
  246.    boot using the iFrag partition.
  247.  
  248.         When successfully loaded, the packet driver should
  249.    give a sign on message and report the ethernet address of
  250.    your NIC when you load it. Chances are that if your NIC
  251.    has been functioning properly for other tasks (e.g. as a
  252.    node on a Novell network) then you'll have no problems
  253.    here. If not, or if there are any error or warning
  254.    messages, something is wrong. One possibility is that one
  255.    of the settings on your NIC is in conflict with those of
  256.    another expansion card in your system. No two cards can
  257.    have the same IRQ, I/O port, or memory address settings,
  258.    nor can the memory areas of two cards overlap. Whatever
  259.    the cause, you'll need to find and correct the problem
  260.    before continuing.
  261.  
  262.         Step 2: Set up a new directory where iFrag and all
  263.    its configuration files will be kept. You can name this
  264.    directory anything you like (I suggest c:\iFrag). UnZIP
  265.    the idoom20.zip file into this new directory, and make it
  266.    the default (chdir to it). We will refer to this
  267.    directory as the "iFrag directory."
  268.  
  269.         Step 3: Set up your WATTCP.CFG file. Your WATTCP.CFG
  270.    file contains important parameters used by the WATTCP
  271.    TCP/IP kernel built into iFrag. These values MUST be
  272.    entered correctly if you wish to make a connection with
  273.    another DOOM PC. In preparation for this, you'll need
  274.    several bits of information. Contact the network
  275.    administrator for your site and find out the IP address
  276.    for your machine, the IP address for your gateway or
  277.    router, the IP address of at least one Domain Name Server
  278.    local to your site, and your netmask value. The three IP
  279.    addresses will each consist of four groups of digits
  280.    separated by periods. In our example, the machine's IP
  281.    address is 128.192.23.5, the gateway is 128.192.23.1, the
  282.    netmask is 255.255.255.0, and the nameserver address is
  283.    128.192.44.67. NOTE: it is important to use the numeric
  284.    IP addresses, not the actual host names. NOTE: If you
  285.    have other Internet programs currently installed on your
  286.    machine, such as a Gopher client or the Trumpet
  287.    newsreader, you can probably find the information you
  288.    need in the configuration files used for those programs.
  289.    If the application is based on the Waterloo TCP package,
  290.    it will have it's own WATTCP.CFG, in which case you can
  291.    simply copy it over to your iFrag directory. When you
  292.    have collected all this information, use your favorite
  293.    ASCII text editor to edit the WATTCP.CFG file in your
  294.    iFrag directory. Edit or add the lines beginning with
  295.    my_ip=, gateway=, nameserver=, and netmask=. On our
  296.    example machine, the WATTCP.CFG file looks like this:
  297.  
  298.    my_ip=128.192.23.5
  299.    gateway=128.192.23.1
  300.    netmask=255.255.255.0
  301.    nameserver=128.192.44.67
  302.  
  303.         Save the changed file and exit back to DOS.
  304.  
  305.         Some sites run what is called a BOOTP server. If
  306.    yours is such a site, you can put "BOOTP" on the "my_ip="
  307.    line and leave the other lines out. iFrag can contact the
  308.    BOOTP server and determine all the settings it needs to
  309.    communicate with other machines on the Internet. If your
  310.    site is not running a BOOTP server, then your task is a
  311.    little more difficult (but not impossible!)
  312.  
  313.         If you know your machine's IP address, but you can't
  314.    determine the other values, you can often get away with
  315.    some educated guesswork. For instance, the gateway for a
  316.    subnet usually has an IP address ending in .1, as is the
  317.    case with our example. Thus, if your IP address is
  318.    xxx.yyy.zzz.www, try setting your gateway's IP address to
  319.    xxx.yyy.zzz.1. As for the subnet mask, a common value for
  320.    this parameter is 255.255.255.0. In some cases, the
  321.    gateway value can be something like xxx.yyy.1.1 with a
  322.    corresponding netmask value of 255.255.0.0 - if one
  323.    doesn't work, it can't hurt to try the other. Finally, if
  324.    you don't know your nameserver's IP address, you can
  325.    probably get by without it for the purposes of DOOM
  326.    playing. Since you'll be specifying IP addresses for all
  327.    of your opponents' machines, a nameserver lookup won't be
  328.    necessary to resolve their addresses. 
  329.  
  330.         Step 4: Test your TCP/IP setup. Reboot your machine
  331.    and select your new iFrag configuration. Next, use your
  332.    network diagnostic programs to test the connection. For
  333.    example, if you are using the WATTCP application suite
  334.    mentioned earlier, unzip the TCPINFO and PING programs
  335.    from the WATTCP apps archive into your iFrag directory.
  336.    At the DOS prompt, type:
  337.  
  338.              TCPINFO    
  339.  
  340.    and press the <Enter> key. If your WATTCP.CFG values are
  341.    set up correctly, and if your packet driver and net
  342.    connection are functional, you'll see a couple of screens
  343.    of information about your system, including your ethernet
  344.    address and the parameters you specified in the
  345.    WATTCP.CFG file. 
  346.  
  347.         If everything looks OK, the next step is to use the
  348.    PING program to attempt to establish contact with your
  349.    subnet gateway. At the DOS prompt, type
  350.  
  351.         PING <yourgateway's.numeric.ip.address>
  352.  
  353.    and press the <Enter> key. After a brief delay, you
  354.    should see a message telling you that the host is
  355.    responding, as well as the round trip time for PING's
  356.    test packets. If you see the "Timeout" error message,
  357.    then something is wrong with your setup; if your PC is
  358.    unable to reach your gateway, it will be unable to reach
  359.    the rest of the Internet as well, since all network
  360.    packets which are sent to nodes outside of your local
  361.    area network must pass through your gateway. For our
  362.    sample system, we would type:
  363.  
  364.              ping 128.192.23.1
  365.  
  366.    If your gateway PING was successful, try PINGing your
  367.    Domain Name Server (at the IP address you specified in
  368.    WATTCP.CFG) as well as some well-known site on the
  369.    internet (e.g. the Frag Tracker, which is at IP address
  370.    128.174.134.150). These will test your machine's ability
  371.    to connect with other machines outside of your subnet as
  372.    well as those outside of your site. All of these PINGs
  373.    should result in a "host responding" message with a round
  374.    trip time. If any of these attempts fails, recheck your
  375.    entries in WATTCP.CFG and/or get some help from your
  376.    network administrator. Examples for our test system:
  377.  
  378.         ping 128.192.44.67
  379.    and
  380.  
  381.         ping 128.174.134.150
  382.  
  383.  
  384.         Step 5: Set up your iFrag.CFG. Again using your
  385.    preferred ASCII text editor, modify the iFrag.CFG file in
  386.    your iFrag directory so that all entries are correct for
  387.    your system. You will need to specify the paths to your
  388.    game and patch WAD directories, your chosen nickname (the
  389.    name by which other iFrag players will know you), the
  390.    number of lines you want on your video display (25 or
  391.    50), whether or not you want stealth (no sound) mode,
  392.    etc. As an example, let's suppose Joe Ayedume has chosen
  393.    the nickname FragLord, and that he has installed DOOM,
  394.    DOOM II, and Heretic into their standard directories on
  395.    his hard disk. The iFrag.CFG file for Joe's system will
  396.    look something like this:
  397.  
  398.    ;
  399.    ; Sample iFrag Configuration File
  400.    ;
  401.  
  402.    ; stealth 
  403.    nick=FragLord
  404.    tracker=128.174.134.150,6666
  405.    doom=c:\doom
  406.    doom2=c:\doom2
  407.    heretic=c:\heretic
  408.    doompwads=c:\doom\wads
  409.    doom2pwads=c:\doom2\wads
  410.    hereticpwads=c:\heretic\wads
  411.    videolines=50
  412.  
  413.         Edit your iFrag.CFG file to reflect your nickname as
  414.    well as the locations of your games and PWADs. If you
  415.    don't have one of the games installed, just leave the
  416.    corresponding entries blank. Save the changed file back
  417.    to disk.
  418.  
  419.  
  420.              Put Me in, Coach - I'm Ready to Play! 
  421.  
  422.         All right! iFrag is now installed and ready for
  423.    fragging! Now all I need are some more players to sink my
  424.    rockets into. From my iFrag directory, I start iFrag by
  425.    typing
  426.  
  427.    iFrag
  428.  
  429.    and pressing the <ENTER> key. The iFrag client-mode
  430.    screen comes up, and iFrag contacts the Internet Frag
  431.    Tracker to see which games are waiting for players at the
  432.    moment. Once iFrag has successfully contacted the Frag
  433.    Tracker and downloaded the list of available games, a
  434.    pop-up dialog box appears on the screen. Using the PgUp
  435.    and PgDn keys, I can view a summary of each available
  436.    game. This game summary includes the type of game (DOOM,
  437.    DOOM II, or Heretic), the nicknames of all the players
  438.    currently in the game, a brief description/comment, as
  439.    well as the current game settings (skill, episode, map,
  440.    etc.). I notice that my friend (who is known only as
  441.    "ArchVile") is currently hosting a game of Heretic. Since
  442.    it's been a while since I have turned him into a chicken,
  443.    I press the <ENTER> key to select his game. iFrag
  444.    immediately contacts ArchVile's machine and I join the
  445.    game.
  446.  
  447.         ArchVile is running iFrag in server mode. This makes
  448.    ArchVile the coordinator for this particular game - he is
  449.    the "boss," and gets to decide which game will be played
  450.    (DOOM, DOOM II, or Heretic as in this case) as well as
  451.    which parameters to set (such as episode, map, skill
  452.    level, which PWADs to use, and so forth). ArchVile also
  453.    decides who may be allowed to join the game and when the
  454.    game will begin. Although the other players in the game
  455.    may voice their opinions, only the server has the ability
  456.    to actually make changes to the game settings. In a sense
  457.    it's just like watching TV - although there may be four
  458.    people watching, only one person can have the remote
  459.    control.
  460.  
  461.         Now that I have successfully joined a game, the
  462.    iFrag chat mode screen appears. This screen is divided
  463.    into several sections: the credits, the output window,
  464.    the status bar, and the input line. At the top of the
  465.    screen is the name of the program, its version number,
  466.    and the copyright notice. The large area beginning with
  467.    the second screen line is the output window. Here is
  468.    where iFrag will display all status messages as well as
  469.    the chat text entered by the other players. Below the
  470.    output window is the status bar, where the current game
  471.    settings are displayed. Below the status bar is the input
  472.    line where all the text I type on my keyboard will
  473.    appear. Finally, the bottom line of the screen lists
  474.    significant contributors to iFrag. During this phase of
  475.    the game setup, all players who have connected thus far
  476.    can type messages to each other using iFrag's built-in
  477.    chat facility. To send a message to the other players in
  478.    the game, I simply type a message on the keyboard. My
  479.    keystrokes appear in the input line at the bottom of the
  480.    screen, and when I press <ENTER>, the text will be echoed
  481.    to the screens of all players (along with my nickname to
  482.    indicate that I sent the message). The server itself will
  483.    also send messages. Messages from the server will begin
  484.    with three asterisks ("***") to distinguish them from
  485.    messages typed by other players.
  486.  
  487.         In addition to sending text messages, iFrag's chat
  488.    facility also understands several commands, each
  489.    beginning with a slash '/' character. Some examples of
  490.    iFrag chat mode commands are /who, /quit, and /help.
  491.  
  492.         When my iFrag client connects to the iFrag server,
  493.    it automatically receives the game parameters which will
  494.    be used during this session. These game settings are
  495.    displayed on the status bar in an abbreviated form to
  496.    ensure that they will all fit within the available space.
  497.  
  498.         The server announces my arrival, and ArchVile greets
  499.    me by typing "re" (short for "re Hi," i.e. "Hi again"). I
  500.    reply with a "re" of my own. Gazing down at my status
  501.    bar, I notice that he has selected E1M8 as the default
  502.    episode and map for our game. I remind him that we've
  503.    been playing that one a lot lately, and suggest that we
  504.    play something else. "How about hl9.wad?" he asks,
  505.    referring to the PWAD (user-written level) which is a
  506.    Heretic DEATHMATCH level based on the famous DOOM
  507.    "Ledges" PWAD. I agree, and he issues the commands and
  508.    "/map 1" and "/pwads hl9.wad" to incorporate the new
  509.    level. Our status lines are immediately updated to
  510.    reflect these changes.
  511.     
  512.         Once all players have joined the game and all
  513.    parameters have been set, ArchVile presses the F10 key.
  514.    The iFrag server signals the clients that the game is
  515.    beginning, the chat facility is shut down, and iFrag sets
  516.    up the connections which will be used for the actual
  517.    game. Once these network links are established between
  518.    all the machines, the message "Prepare to meet your
  519.    DOOM!" is displayed, and iFrag launches the appropriate
  520.    game. We see the usual Heretic startup information, and
  521.    then there we are, in HL9.WAD, crystal wands charged and
  522.    ready! 
  523.  
  524.         After dining heartily on Chicken Flambe' (courtesy
  525.    of a Morph Ovum, a Phoenix Rod, and a Tome of Power), I
  526.    decide to fire up my own game with a little scenario I
  527.    call "Carnage-DOOM." From the DOS prompt, I type 
  528.  
  529.    iFrag -server
  530.  
  531.    and press <ENTER>. Since I like this particular scenario
  532.    quite a bit, I created a standard DOOM response file
  533.    called "carnage.rsp" containing the parameters -doom2, -
  534.    warp 1, -deathmatch, -nomonsters, and -skill 5. I use
  535.    iFrag's /load command to load the response file by typing
  536.    /load carnage.rsp, and my status bar is updated with the
  537.    new settings. After a few moments, NoOne, Caitiff, and
  538.    FragMastr join my game. After exchanging a few
  539.    jocularities, I confirm that everyone is ready to begin
  540.    and then I press the F10 key. DOOM II loads, and I grab
  541.    the rocket launcher for the first of many fabulously fun
  542.    frags.
  543.  
  544.         That's all there is to it! Gone are the days of long
  545.    command lines with 4 IP addresses and tons of other
  546.    parameters, setting up games via email, and other
  547.    frustrations. Now getting into a game of Internet DOOM is
  548.    as easy as getting fragged with a BFG-9000!
  549.  
  550.                    Oh Oh - It's Not Working!
  551.  
  552.              OK, so you've done everything, just like I've
  553.    shown you, but you're still having problems. The
  554.    following are some suggestions to try in case of trouble.
  555.  
  556.         Q: The music starts up fine, but all I see is a BSOD
  557.    (Black Screen of Death).
  558.         Q: My machine displays "sending network start info"
  559.    or "listening for network start info" and then locks up. 
  560.  
  561.         A: This problem can have several causes. Perhaps one
  562.    of the other players' machines is slower than the others,
  563.    or has a fragmented disk and takes a longer time to load
  564.    DOOM at startup. Or perhaps some packets were lost -
  565.    iFrag uses UDP (User Datagram Protocol) packets to
  566.    exchange game information between all machines in the
  567.    game. UDP packets are not guaranteed to reach their
  568.    destination, and there is no mechanism for the sender to
  569.    even be informed that what it sent never made to the
  570.    destination machine. iFrag is designed to compensate for
  571.    these lost packets to the extent possible, and
  572.    occasionally this detection and correction takes a few
  573.    extra seconds. You should always wait for at least 30 -
  574.    45 seconds for the other DOOM engines to sync up before
  575.    you abort the setup. 
  576.  
  577.  
  578.          Pointers and Tips for More Fragging Enjoyment 
  579.  
  580.         We'd like to leave you with a few experiences and
  581.    opinions about Internet deathmatches.
  582.  
  583.         First, try not to use the "pause" key. Do NOT use
  584.    the pause key just so you can type a message. DO use the
  585.    pause key if you have to answer the phone; either find a
  586.    hiding place to hole up, or if you are fragged, just stay
  587.    dead (don't hit the spacebar) until your call is
  588.    completed. It's inconsiderate to make everyone else wait
  589.    on you. Do NOT release the pause after someone else
  590.    pauses.  It's hard to yell at someone over an IP
  591.    connection. It's really annoying to play against people
  592.    who like to pause just when they're about to be shot. 
  593.    Argh!
  594.  
  595.         Second, DO type messages. A pause at the beginning
  596.    of the game is OK just to see if the other player is
  597.    there.  If you notice a sudden increase in game speed,
  598.    another player may have aborted or crashed. You might end
  599.    up playing by yourself if you are not alert... If you can
  600.    monitor network traffic (I have a repeater nearby that
  601.    gets very busy when I play), notice the difference
  602.    between the amount of traffic when connected and
  603.    disconnected. 
  604.  
  605.         Third, Be patient. It sometimes takes 30-60 seconds
  606.    for the connection to complete. The first phase, finding
  607.    a node, should be immediate. As mentioned above, if you
  608.    cannot find a node, something is wrong. The second phase,
  609.    looking/sending network start info, may take 30 seconds,
  610.    longer if one of the players has a slow or fragmented
  611.    hard disk (this is the phase where DOOM loads the info it
  612.    needs to play from the WAD file(s)).  The third phase,
  613.    sometimes a blank screen just before the game loads, may
  614.    take another 15-30 seconds.  After finding a node, please
  615.    don't abort until you have waiting a sufficient time for
  616.    a connect. Also, if your connection doesn't work the
  617.    first time, try again immediately! If it failed on your
  618.    end, chances are it failed on the other end, also, and
  619.    your partner will be back in iFrag trying to connect and
  620.    wondering where you are.
  621.  
  622.         Forth, Internet games will self abort sometimes with
  623.    errors. Don't panic, just restart iFrag. Sometimes one of
  624.    the computers will lock up - again, just restart. If you
  625.    get tired of restarting (this doesn't happen much), just
  626.    walk away! It's just a game!
  627.  
  628.         Last, hope for a fast connection. This isn't always
  629.    a problem, but when the connection is slow, the game
  630.    sucks! There's nothing you can do about it. Sometimes the
  631.    game will speed up and slow down throughout the match. 
  632.    Such is the Internet. Re-connection will not help. Every
  633.    packet that is sent back and forth picks a new path;
  634.    sometimes it's a fast path, and sometimes not.
  635.  
  636.  
  637.                         A Final Thought
  638.  
  639.         Fragging your friends across the Internet with DOOM,
  640.    DOOM II, and Heretic can be VERY addictive. Have fun, but
  641.    don't lose your "real" life just to play a game!
  642.