home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / UTILITY / CLSND30.ZIP / clanSND.DOC < prev    next >
Text File  |  2001-04-20  |  6KB  |  129 lines

  1.                    CLANS WWIV IBBS NETWORK PROCESSOR
  2.  
  3.  
  4. CLANSND -- WWIV NETWORK IBBS FILE PROCESSOR FOR CLANS
  5.  
  6. clansnd will take the outgoing net files created by CLANS, and convert
  7. them to messages that WWIV can deal with.  The receiving side
  8. will parse these messages, and store the data files in CLANS' incomming
  9. directory.  I tried to keep it simple - I belive it's a tad easier than
  10. installing Frontdoor :). CLANRCV.EXE is the receiver - it's a network post-
  11. processor that takes the incomming files created by CLANSND.EXE, converts
  12. them into a Fido format, and puts them into the CLANS incomming directory.
  13. CLANSND.EXE is the transmitter - it takes the files from CLANS' outbound
  14. directory, converts them into WWIV network messages, and puts them into
  15. the appropriate WWIV network directory.
  16.  
  17. Installation:
  18.  
  19. Copy clansnd.exe and clanrcv.exe to your wwiv directory.
  20. Also in your WWIV directory, Create a file called "clansnd.cfg".
  21. This file needs to have 3 or more lines:
  22.  
  23.                   1. CLANS incomming directory, as defined in plandata.bbs
  24.                   2. CLANS outgoing directory, as defined in plandata.bbs
  25.           3. Network dir for net #1, as defined in wwiv's init program
  26.           4. Network dir for net #2  (optional)
  27.           5. Network dir for net #3  (optional)
  28.  
  29. Be sure to include a trailing backslash.  Note that the order of the net
  30. directorys must be maintained across the league.  For example,  assume
  31. a league game with 'clans' on EViLNET, WWiVNet, and TERRANet.  In the
  32. example below, EViLNET is network #1, WWiVNet is net #2, and TERRANet
  33. is network #3.   If you you don't belong to one of the nets participating
  34. in the league, you must include a fake network direntry in it's place.
  35. This is what my clansnd.cfg looks like:
  36.  
  37. c:\wwiv\bre\inbound\
  38. c:\wwiv\bre\outbound\
  39. c:\wwiv\evil\
  40. c:\wwiv\temp\
  41. c:\wwiv\terranet\
  42.  
  43. Note that the fourth line, "c:\wwiv\temp\", is for WWiVNet, which my board
  44. does not connect to.  Gotta have the entry there, tho, or CLANSND would think
  45. that TERRANet was network #2.....
  46.  
  47. Next, go to the network directory defined in line 3, and create a file called
  48. "eprogs.net".  This file will consist of a single line:
  49.  
  50. clanrcv 27 59
  51.  
  52. This tells network2 that clanrcv.exe will process all 27/59 type messages.
  53. Network2 will scan all incomming packets for messages of type 27, New_extern.
  54. If it finds one, and the subtype is 59 (I chose that arbatraraly, hope it
  55. doesn't conflict with anything...), it will put that message in a temporary
  56. file.  Network2 will pass the name of this temporary file to CLANRCV,
  57. which will then do it's thing.
  58.  
  59. Then, in your clans directory, edit or create the file "world.ndx" - see
  60. the clans docs, it should look something like this:
  61.  
  62. WorldName       Shannarra
  63. LeagueId        01
  64.  
  65. BBSId           1
  66. BBSName         Monistary Of Evil
  67. VillageName     The Village
  68. Address         1:1/1
  69.  
  70. BBSId           2
  71. BBSName         Sherwood Forest BBS
  72. VillageName     Dude City
  73. Address         1:1/2
  74.  
  75. BBSId           3
  76. BBSName         The Enchanted Castle BBS
  77. VillageName     Wasteland
  78. Address         1:3/8501
  79.  
  80. BBSId           4
  81. BBSName         The Forgotten Realms BBS
  82. VillageName     Tombstone
  83. Address         1:2/3407
  84.  
  85.  
  86.  
  87. note that the 1:?/? is supposed to be a fido net/node.  As wwiv doesn't use net
  88. numbers, the first number is used to point to the appropriate network
  89. directory defined in clansnd.cfg.  In this example, Monistary of Evil is
  90. node 1 on EViLNET, and is the league coordinator.  Sherwood Forest is node
  91. number 2, also on EViLNET.  The Forgotten Realms is node 3047 on
  92. TERRANet.  The Enchanted Castle is on WWiVNet, so I can't connect directly.
  93. Instead, I put an entry in the clans file "route.cfg", (in the CLANS directory)
  94. as follows:
  95.  
  96. ROUTE 4 2
  97.  
  98. This tells CLANS to send any messages destined for The Enchanted Castle by
  99. way of Sherwood Forest. Sherwood Forest has a WWiVNet connect, so I route mail to
  100. WWIVNET nodes through there.  This raises another problem - SHERWOOD FOREST
  101. is node 2 on EViLNET, but node 3427 to WWiVNet connects!  How do the wwivnets
  102. know what nodenumber to send their packets to ?  Sherwood Forest is at 1/2,
  103. but their net #1 dir is pointing to a fake net dir.. they don't connect to
  104. EViLNET!  This dilemma is solved by (yet) another configuration file -
  105. "alias.net", located in your WWIV main directory.  Assume The Enchanted Castle
  106. was sending a packet to Sherwood Forest.  The Enchanted Castle doesn't belong
  107. to EViLNET, so that net dir entry is a fake.  CLANSND sees it's a fake, so it
  108. opens alias.net, and looks for an alternate address for Sherwood Forest.
  109. Alias.net consists of one or more entries like this:
  110.  
  111. 1/2,2/3427
  112.  
  113. this line indicates that Sherwood Forest, EViLNET/node2, is a.k.a.
  114. (also known as) WWiVNet/node 3427.   CLANSND will therefore send packets
  115. from The Enchanted Castle to Sherwood Forest via WWiVNet !
  116.  
  117.  
  118. Run "reset".  Your net number will be as above - in my case, as I'm
  119. playing over EViLNET, it'll be 1. Your node number will be your node
  120. number for that net, as defined in init.  So my board is 1/1.
  121. Define the inbound & outbound directories as they appear in "clansnd.cfg".
  122. Specify mailer type as "FRONTDOOR".
  123.  
  124. Finally, edit your CLANS batch file, a sample batch file is included to help
  125. ensure you set it up right.
  126.                                                                                 WW4NET 1@2109
  127.                                          EMAILNET 1@3456
  128.                                                                                  EViLNET 1@1
  129.