home *** CD-ROM | disk | FTP | other *** search
/ PCPP Game Guide 2 / PCPP_GG2.iso / PCPP / faqs / ihhd.txt < prev    next >
Text File  |  1998-06-02  |  11KB  |  226 lines

  1. IHHD - Internet Head-to-Head Protocol FAQ
  2. =========================================
  3.  
  4. IHHD does not require SLIP to do it.  This is a very impressive way to avoid
  5. long distance charge if you wanted to play multiplayer game with your friend
  6. who  is miles away from you.  What you and your firend need is  an  Internet
  7. account  that  is  running UNIX as the main OS.  IHHD servers  like  a  link
  8. between  two locations: from your modem line to your Internet acccount, data
  9. then route to your friend's Internet account (IHHD requires on both ends) to
  10. your's friends modem line.  An FAQ is posted seperately on this group too.
  11.  
  12. Here I attach the offical HOWTO document about IHHD, enjoy:
  13. ------------------------------------------------------------------------------
  14.  
  15. BIG HANK'S GUIDE TO AIRWARRIOR THROUGH THE INTERNET
  16. Practical Instructions for Total Dweebs
  17. by Henry "Big Hank" Liang
  18.    liangh@eniac.seas.upenn.edu
  19.  
  20. INTRODUCTION
  21.  
  22. Okay.  You've got SVGA AirWarrior, and chances are you've done a little
  23. bit of flying on GEnie.  Whether you're a seasoned GEnie veteran or a
  24. total dweeb, however, it's likely that you don't really have any cool
  25. things to do with AirWarrior when you're *not* plugged into the host. 
  26. You've had your fill shooting down drones, bombing targets, and all that
  27. other offline stuff ... if only you could fly AirWarrior against another
  28. calculating human pilot without spending the big bucks demanded on GEnie. 
  29. 'Course, it'd be even better if you didn't have to call into the next time
  30. zone to find a Head to Head opponent.
  31.  
  32. Enter IHHD -- the Internet Head to Head Daemon designed by Jim Knutson
  33. (aka "Red Beard" #5111).  With this brilliant little piece of code,
  34. multiplayer gaming has soared to new heights -- but no other game besides
  35. AirWarrior has gained such a large following of Internet-connected
  36. players.  With IHHD, you'll be able to fly Head to Head (H2H) against
  37. other human opponents all over the world, with the only cost to you being
  38. the regular prices you pay to connect to or use your Internet host.  
  39.  
  40.  
  41. HOW TO GET IT
  42.  
  43. First of all, your host needs to be running UNIX as its operating
  44. system.  Sorry, VAX VMS users, you're screwed.  If you aren't sure what
  45. your host is running for its operating system, check the information given
  46. at the login prompt or send mail to your host's computer guru.
  47.  
  48. Other than that, you should be able to run IHHD with ease.  Your first
  49. order of business is to get the IHHD software.  It is available via
  50. anonymous ftp at cactus.org in the pub/IHHD directory.  To get it, 
  51.  
  52.     1. FTP to cactus.org  (Type "ftp cactus.org" at the UNIX prompt.) 
  53.     2. At the login prompt, enter "ftp"
  54.     3. At the password prompt, enter your e-mail address
  55.     4. At the command prompt, type "cd pub/IHHD/src"
  56.     5. Type "binary"
  57.     6. Type "get dialer1.6.4.shar"
  58.     7. Type "quit"
  59.  
  60. Okay, if you followed the above steps, you should now have the
  61. dialer1.6.4.shar file in your home directory.  Type "ls" at your host's
  62. command prompt to verify its existence.  If you don't see it, try the
  63. above steps again or call for help.
  64.  
  65. Next, if you've successfully retrieved the dialer1.6.4.shar file from
  66. cactus.org, you need to prepare the IHHD to run on your computer.  For
  67. UNIX veterans, the dialer1.6.4.shar file is in fact a shar file, and
  68. contains a makefile for easy compiling on your system.  For the rest of
  69. us, follow these steps to get the IHHD up and running:
  70.  
  71.     1. Create a directory to put the IHHD software in.  
  72.        Type "mkdir IHHD" at the command prompt.
  73.     2. Move the IHHD file to the new directory.  
  74.        Type "mv dialer1.6.4.shar ~/IHHD"
  75.     3. Go to the IHHD directory.
  76.        Type "cd IHHD"
  77.     4. Unpack the IHHD files.
  78.        Type "sh dialer1.6.4.shar"
  79.     5. Compile the IHHD software to run on your system.
  80.        Type "make"
  81.     6. You should now see a whole mess of files in the IHHD directory.
  82.         The important filenames you're looking for should be:
  83.         dialer
  84.         tcpdialer
  85.         tcpanswer
  86.         call
  87.           showlog
  88.     7. If you've got these, you're cool.  Otherwise, try the above
  89.        steps again, re-retrieve the dialer1.6.4.shar file from
  90.        cactus.org using the instructions above, or call for help.
  91.  
  92. If everything checks out, you're ready to rumble!
  93.  
  94.  
  95. PLAYING AIRWARRIOR THROUGH IHHD
  96.  
  97. You'll want to test out IHHD to see if it really works, of course.  To do
  98. that, the best way is to simply try to play a regular H2H game of
  99. AirWarrior with someone else running the IHHD software.  The best way to
  100. arrange a match is through e-mail and "talk" on the Internet.
  101.  
  102. Here's how you get connected using IHHD:
  103.  
  104.     1. Set up a time to play with another Internet AW player. 
  105.        Ideally, you should use e-mail to make the prior arrangements,
  106.        and then agree to meet in "talk" or "ntalk" at a designated time.
  107.        
  108.        Make sure you and your opponent use the same lin settings for your
  109.        modems.  Your data bits, parity, and stop bits should be the same or
  110.        you'll experience heavy warping, line noise, and other yucky
  111.        stuff.  Generally, most AW players use 8 data bits, 1 stop bit, and
  112.        no parity (8N1) for H2H fights.
  113.  
  114.        Make sure data compression on your modem is off, if you have such a
  115.        feature.  A good modem string to use is ATZS46=0.
  116.  
  117.     2. When it's time to play, start up AirWarrior and go to the
  118.        "multiplayer" menu option.  Call up your Internet host using your
  119.        modem.  Make sure that your baud rate and line settings correspond 
  120.        to your opponent's.
  121.  
  122.     3. Login to your Internet host normally.
  123.  
  124.     4. Contact the other player through "talk" or "ntalk", or send a
  125.        short e-mail message indicating that you are on the net and ready to
  126.        play. 
  127.     
  128.     5. Once you both establish that you're there and ready to go, exit
  129.        "talk" and return to your UNIX prompt.
  130.  
  131.     6. Type "cd IHHD" to enter your IHHD directory.  Alternately, you
  132.        can add the IHHD directory to your path.  Ask your local UNIX
  133.        guru if you don't know how to do this.
  134.  
  135.     7. Type "dialer opponent's.host" to start the IHHD connection. 
  136.        For example, if you were playing against knuston@cactus.org,
  137.        you would type "dialer cactus.org" to initiate the connection.
  138.  
  139.        Another way is to type "tcpdialer opponent's.host" while your
  140.        opponent types "tcpdialer -answer".  Or reverse roles, where
  141.        you type "tcpdialer -answer" while your opponent types "tcpdialer
  142.        your.host".  Don't ask me what the difference is; I don't know.
  143.  
  144.        So, to recap, there are two methods of IHHD connection.
  145.        Method 1: dialer.  You each type "dialer other.guy's.host"  
  146.        Method 2: tcpdialer.  One of you types "tcpdialer other.guy's.host"
  147.              while the other types "tcpdialer -answer".
  148.  
  149.     8. Regardless of which method you use to connect, type short text
  150.        messages followed by a carriage return until you see your opponent
  151.        acknowledge you.  Unless you have "local echo" set to ON in
  152.        your serial settings, you will not see the text you type.
  153.  
  154.     9. If you don't see you opponent after a resonable amout of time,
  155.        exit dialer or tcpdialer by pressing "ctrl-c" (i.e. hitting
  156.        the "ctrl" and "c" key simultaneously) a number of times.  Contact
  157.         your opponent again through "talk" and agree to try the other method
  158.        of connecting. 
  159.     
  160.     10. If you're connection looks fine, your opponent has acknowledged
  161.         you and you have acknowledged him, verify again that you are
  162.         both in AirWarrior and, if so, hit the "H2H Link" button on
  163.         the AirWarrior menu bar.  Only one of you will need to hit
  164.         "H2H Link" to make the connection.  A successful link will cause a
  165.         white text bar to appear at the bottom of your screen.  If this
  166.         doesn't happen and you get an "Invalid link" message, try again.
  167.          Try the other connection method if you continue to have troubles,
  168.         or call for help.
  169.  
  170.     11. If you got the white bar and you're able to type messages to
  171.         your opponent, congratulations!  You're now connected via
  172.         IHHD.  You can now proceed to do all the H2H stuff as if you were
  173.         connected via a regular phone line.
  174.  
  175.  
  176. SOME THINGS TO BE AWARE OF
  177.  
  178. I. Net Delays and Warping
  179.  
  180. Unfortunately, because of the nature of the Internet, delays and warping
  181. may occur with your IHHD connection, depending on the quality of the
  182. connection between your and your opponent's host machines.  These delays
  183. are often sporadic, and depend largely on what's going on on the Internet
  184. at that particular times.  Then again, you might just be extremely unlucky
  185. and have a cruddy Internet connection.
  186.  
  187. To gauge the quality of the connection, try to "ping" your opponent's
  188. computer from your host.  At the UNIX prompt, type "ping -s
  189. opponent's.host".  You should get a listing of "ping times", which you may
  190. stop at any time by pressing "ctrl-c".  The shorter the times, the better.
  191.  
  192. Also, while you're flying via an IHHD connection, try hitting "ESC-q" to
  193. see the ratio of acknowledged packets versus rejected packets.  Of course,
  194. the less rejected packets you get, the better.
  195.  
  196. Another way to judge the quality of your connection is to simply look at
  197. the other plane's warping.  If he's jumping all over the place, you've got
  198. a cruddy connection.  If he's relatively steady, you've got a good connection.
  199.  
  200. If all else fails, burn incense and sacrifice a beautiful young virgin
  201. princess to the net.gods.  No, wait.  Better yet, send the virgin to Big
  202. Hank (finger liangh@eniac.seas.upenn.edu for an address).  :)
  203.  
  204. II. Getting Dumped After Connection
  205.  
  206. Sometimes, regardless of how great your connection, you'll get dumped from
  207. AW and get a screenful of garbage and stuff.  In this case, don't hang up
  208. yet.  Go back to the "Multiplayer" menu and hit "Connect" again, selecting
  209. "manual dial".  This should return control to your terminal.  If you don't
  210. see the white text bar, try hitting "H2H link" again, also.  If you've
  211. tried everything a number of times and it still doesn't work, hang up and
  212. redial into your host, starting everything from the top.
  213.  
  214. If you have further questions, post to the mailing lists IHHD@cactus.org or
  215. 666th-etal@cactus.org.
  216.  
  217.  
  218. --
  219. Northeastern University                   Vivo Software
  220. Undergraduate Candidate                   Member of Technical Staff
  221. College of Computer Science               Quality Assurance Team, Engineering
  222. acsm@ccs.neu.edu                          chow@vivo.com
  223.  
  224. World Wide Web: http://www.ccs.neu.edu/home/acsm           
  225.  
  226.