home *** CD-ROM | disk | FTP | other *** search
/ Toolkit for DOOM / DOOMTOOL.ISO / net_doom / tcpset9b.zip / TCPSETUP.DOC < prev    next >
Text File  |  1994-04-08  |  6KB  |  139 lines

  1. DOOM TCP/IP Network Driver, version 0.9Beta
  2.    by Jake Page
  3. (with the use of ipxsetup source generously supplied by id Software,
  4. and the WATTCP library by Erick Engelke and others)
  5.  
  6. ** NOTE: this version is NOT compatible with any earlier release.
  7.  
  8. New to this version:
  9.  * the major change involves 3 & 4 player games.  I have added a few
  10.     hacks that will _hopefully_ help things.  id has said that they will
  11.     make changes to their net startup in their next release that should 
  12.     fix the problem for good (for IPX games as well).  
  13.  
  14.  * user can specify port number for connection.  I have changed the
  15.     default port to 5029, since several people said it made their lives
  16.     difficult when messing around with UNIX stuff (which reserves ports
  17.     < 1024).  5029 is used because this is the same port the NeXT version
  18.     of DOOM uses (though I don't think the packets are compatible-- yet.)
  19.     However, there is also an option, "-port <portnumber>" to select
  20.     the port.  All players in a game MUST use the same port to play.
  21.     Version 0.8 used 666 (I HAD to do it...), but version 0.8 is NOT
  22.     compatible with 0.9.
  23.  
  24.  * I rewrote/modified several of the library routines that I was using, 
  25.     dropping the size of the executable to about 37k, and hopefully
  26.     improving performance as well (though not much can be done to help
  27.     speed up those LONG distance games...)
  28.  
  29.  
  30. This uses a standard packet driver to access the ethernet card, so 
  31. if you don't have one, you'll have to find one for your card.
  32. I am using the Crynwr driver with a 3c503, and it works fine.
  33.  
  34. if you need a packet driver, a collection for most cards (with 
  35. instructions) can be found by anonymous ftp at
  36. wuarchive.wustl.edu in /systems/ibmpc/msdos/pktdrvr/pktd11.zip,
  37. (or at any SIMTEL20 mirror in */pktdrvr/pktd11.zip).
  38.  
  39.  
  40. You must set the information in the WATTCP.CFG to your particular
  41. setup (IP, gateway, nameserver, etc.)
  42.  
  43.  
  44.  
  45. Parameters to pass to TCPSETUP are as follows:
  46.  
  47. TCPSETUP [other game parameters] -net <node#> [host2 host3 host4]
  48.  
  49.  
  50. where <node#> is a number between 1 and 4.  It determines who "calls"
  51. who to set up the socket connections, and will also be the player number
  52. in the game.  host2-host4 are the other computers in the game, which
  53. can be specified as either a host name or an IP address.  Their order
  54. MUST be consistent across all players in the game, from 1-4 with
  55. the local host excluded.
  56.  
  57. Example 4 player game setup:
  58.  
  59. player1> tcpsetup -net 1 player2 player3 player4
  60. player2> tcpsetup -net 2 player1 player3 player4
  61. player3> tcpsetup -net 3 player1 player2 player4
  62. player4> tcpsetup -net 4 player1 player2 player3
  63.  
  64.  
  65. (If you have seen the NeXT version, you might have noticed that this
  66. basically follows that format...)
  67.  
  68. The program determines the number of players by these hosts as well as the
  69. node number.  So, for example, if you are player 1, any hosts after the
  70. node number will add to the total player count.  This means that you should
  71. NOT specify, say, "-net 4" with only two other hosts.  I know, it's not the
  72. best way to do it, but right now I'm still concerned with the thing working
  73. at all...
  74.  
  75. Since my parameter parsing is only semi-intelligent, it's important that
  76. the "-net" parameter is LAST.  So if you want to set deathmode, skill,
  77. mission, etc, you have to put them BEFORE -net, or the setup will think 
  78. that they are host names.
  79.  
  80. Other parameters:
  81.  
  82. -vector 0x??
  83.         where ?? is a number between 60-66.  This sets the interrupt 
  84.         vector DOOM will use, rather than searching for a free one.
  85.         Not recommended-- you MUST make sure the packet driver isn't
  86.         already using this vector.
  87.  
  88. -port <portnumber>
  89.         allows you to specify a port number, instead of using the default
  90.         5029.  Version 0.8 used 666, but this can sometimes be reserved.
  91.  
  92.  
  93. ******************
  94. FREQUENT PROBLEMS:
  95. ******************
  96. NOTE: at most times when the setup is "stuck" looking for other nodes,
  97.       etc, pressing ESC (or alternatively Ctrl-Break) should exit.
  98.  
  99. * Get "NO PACKET DRIVER FOUND" when running tcpsetup:
  100.    - make sure that you have a packet driver correctly loaded,
  101.      and there is no other net software loaded (you might be able
  102.      to use PKTMUX to do this, but I haven't tried).
  103.    - if you need a packet driver, a collection for most cards (with 
  104.      instructions) can be found by anonymous ftp at 
  105.      wuarchive.wustl.edu in /systems/ibmpc/msdos/pktdrvr/pktd11.zip,
  106.      (or at any SIMTEL20 mirror in */pktdrvr/pktd11.zip).
  107.  
  108. * Hangs at "listening for node..." in tcpsetup.
  109.    - as above, make sure there are no other programs using the packet
  110.      driver.
  111.    - make sure that the WATTCP.CFG file is in the same directory as
  112.      tcpsetup, and is corretly configured.
  113.    - make sure that the command line parameters are correct; with a
  114.      2 player game, one player uses "-net 1 <addr2>", the other 
  115.      "-net 2 <addr1>"-- the number does NOT specify the number of players
  116.      in the game.
  117.  
  118. * Hangs at "sending(listening for) network start info...".
  119.    - this is in the DOOM setup, so I really don't know.
  120.  
  121. * In a 3 or 4 player game, gets into DOOM and doesn't crash (player 1
  122.   usually sees graphics, all players can use menus, but there is no
  123.   action).
  124.    - this is a common problem seen for 3 & 4 player games.  It is 
  125.      (probably) due to DOOM's network startup sending too many packets
  126.      and thus overloading the other nodes.  I have tried to limit the 
  127.      number of packets sent in startup, but I don't guarantee anything.
  128.      The best fix will be when id releases DOOM 1.3.
  129.  
  130.  
  131. Feel free to report any problems, suggestions, etc. (or offers to "test" 
  132. it, of course...) to me at:
  133.  
  134. snake@leland.stanford.edu
  135.  
  136. Jake Page
  137. 4/07/94
  138.  
  139.