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 >
Wrap
Text File
|
2001-04-20
|
6KB
|
129 lines
CLANS WWIV IBBS NETWORK PROCESSOR
CLANSND -- WWIV NETWORK IBBS FILE PROCESSOR FOR CLANS
clansnd will take the outgoing net files created by CLANS, and convert
them to messages that WWIV can deal with. The receiving side
will parse these messages, and store the data files in CLANS' incomming
directory. I tried to keep it simple - I belive it's a tad easier than
installing Frontdoor :). CLANRCV.EXE is the receiver - it's a network post-
processor that takes the incomming files created by CLANSND.EXE, converts
them into a Fido format, and puts them into the CLANS incomming directory.
CLANSND.EXE is the transmitter - it takes the files from CLANS' outbound
directory, converts them into WWIV network messages, and puts them into
the appropriate WWIV network directory.
Installation:
Copy clansnd.exe and clanrcv.exe to your wwiv directory.
Also in your WWIV directory, Create a file called "clansnd.cfg".
This file needs to have 3 or more lines:
1. CLANS incomming directory, as defined in plandata.bbs
2. CLANS outgoing directory, as defined in plandata.bbs
3. Network dir for net #1, as defined in wwiv's init program
4. Network dir for net #2 (optional)
5. Network dir for net #3 (optional)
Be sure to include a trailing backslash. Note that the order of the net
directorys must be maintained across the league. For example, assume
a league game with 'clans' on EViLNET, WWiVNet, and TERRANet. In the
example below, EViLNET is network #1, WWiVNet is net #2, and TERRANet
is network #3. If you you don't belong to one of the nets participating
in the league, you must include a fake network direntry in it's place.
This is what my clansnd.cfg looks like:
c:\wwiv\bre\inbound\
c:\wwiv\bre\outbound\
c:\wwiv\evil\
c:\wwiv\temp\
c:\wwiv\terranet\
Note that the fourth line, "c:\wwiv\temp\", is for WWiVNet, which my board
does not connect to. Gotta have the entry there, tho, or CLANSND would think
that TERRANet was network #2.....
Next, go to the network directory defined in line 3, and create a file called
"eprogs.net". This file will consist of a single line:
clanrcv 27 59
This tells network2 that clanrcv.exe will process all 27/59 type messages.
Network2 will scan all incomming packets for messages of type 27, New_extern.
If it finds one, and the subtype is 59 (I chose that arbatraraly, hope it
doesn't conflict with anything...), it will put that message in a temporary
file. Network2 will pass the name of this temporary file to CLANRCV,
which will then do it's thing.
Then, in your clans directory, edit or create the file "world.ndx" - see
the clans docs, it should look something like this:
WorldName Shannarra
LeagueId 01
BBSId 1
BBSName Monistary Of Evil
VillageName The Village
Address 1:1/1
BBSId 2
BBSName Sherwood Forest BBS
VillageName Dude City
Address 1:1/2
BBSId 3
BBSName The Enchanted Castle BBS
VillageName Wasteland
Address 1:3/8501
BBSId 4
BBSName The Forgotten Realms BBS
VillageName Tombstone
Address 1:2/3407
note that the 1:?/? is supposed to be a fido net/node. As wwiv doesn't use net
numbers, the first number is used to point to the appropriate network
directory defined in clansnd.cfg. In this example, Monistary of Evil is
node 1 on EViLNET, and is the league coordinator. Sherwood Forest is node
number 2, also on EViLNET. The Forgotten Realms is node 3047 on
TERRANet. The Enchanted Castle is on WWiVNet, so I can't connect directly.
Instead, I put an entry in the clans file "route.cfg", (in the CLANS directory)
as follows:
ROUTE 4 2
This tells CLANS to send any messages destined for The Enchanted Castle by
way of Sherwood Forest. Sherwood Forest has a WWiVNet connect, so I route mail to
WWIVNET nodes through there. This raises another problem - SHERWOOD FOREST
is node 2 on EViLNET, but node 3427 to WWiVNet connects! How do the wwivnets
know what nodenumber to send their packets to ? Sherwood Forest is at 1/2,
but their net #1 dir is pointing to a fake net dir.. they don't connect to
EViLNET! This dilemma is solved by (yet) another configuration file -
"alias.net", located in your WWIV main directory. Assume The Enchanted Castle
was sending a packet to Sherwood Forest. The Enchanted Castle doesn't belong
to EViLNET, so that net dir entry is a fake. CLANSND sees it's a fake, so it
opens alias.net, and looks for an alternate address for Sherwood Forest.
Alias.net consists of one or more entries like this:
1/2,2/3427
this line indicates that Sherwood Forest, EViLNET/node2, is a.k.a.
(also known as) WWiVNet/node 3427. CLANSND will therefore send packets
from The Enchanted Castle to Sherwood Forest via WWiVNet !
Run "reset". Your net number will be as above - in my case, as I'm
playing over EViLNET, it'll be 1. Your node number will be your node
number for that net, as defined in init. So my board is 1/1.
Define the inbound & outbound directories as they appear in "clansnd.cfg".
Specify mailer type as "FRONTDOOR".
Finally, edit your CLANS batch file, a sample batch file is included to help
ensure you set it up right.
WW4NET 1@2109
EMAILNET 1@3456
EViLNET 1@1