home *** CD-ROM | disk | FTP | other *** search
- ╓─╖ ╓─╖ ╓╥╖ ╓╖ ╓ ╓ ╓ ╓─ ╓──
- ║ ║ ║ ║ ║ ║║ ║ ║ ║ ║ ║
- ╟╥╜ ╟─╢ ║ ║╙╖║ ║ ║ ╙╖ ╟─
- ║╙╖ ║ ║ ║ ║ ║║ ║ ║ ║ ║
- ╙ ╙ ╙ ╙ ╙╨╜ ╙ ╙╜ ╙─╜ ─╜ ╙──
-
- Multi-Node Door Kit v1.00 by Brian Tardiff & Mark Warnat
-
- HysteriaWare Software from The MASS Hysteria BBS
- Line #1: (508)465-3198 300-9600 HST Mail/Users
- Line #2: (508)462-1565 300-2400 Bps Users Only
- Fido-Net 1:324/174
-
- ════════════════════════════════════════════════════════════════════════════
-
-
- What is RA-In-Use?
- ══════════════════
-
- RA-In-Use is the "fixed up" version of a program we have been using on
- our system for almost a year now. This program will allow a multi-node
- system to safely run doors that were designed for single node systems.
-
- How?
-
- RA-In-Use will only allow one user in a specific door at a time. If
- a user enters a door which is already being used on another node, the
- user will get an information screen saying why he or she can't enter
- the door INSTEAD of being granted access to the system.
-
- Is it easy to set up?
-
- We have included numerous batch files on how to run certain doors under
- a multi-node environment. We have even gone so far as rigged doors
- to run that have to specify only 1 communication port in their config
- file. Lets be honest. IF YOU ARE A NOVICE SYSOP AND HAVE NO KNOWLEDGE
- OF HOW BATCH FILES WORK, you may have some trouble with this program.
- However, if you are a beginner, and FOLLOW our examples, its really
- not that hard.
-
- Will it work on my system?
-
- If you run QuickBBS, RemoteAccess, or ANY other BBS package that uses
- the Quick/RA DORINFO1.DEF file, then this will work for you! The
- DORINFO1.DEF file is the only "system file" used by this package.
-
-
- Installing RA-In-Use
- ════════════════════
-
- The RA-In-Use program must be installed on a door-to-door basis. However,
- once you have one door set-up, you can usually simply duplicate the
- batch file and change the program names inside it. Also, if you run
- a door that we have included, simply change the paths to match your
- system and use it! This section will include:
-
- 1) Overview of the two programs
- 2) Running the door from RA or QUICKBBS
- 3) A detailed description of an actual batch file
-
- 1) DOORINUSE.EXE and PUTINUSE.EXE
-
- These are the two external programs that make up this package. Place
- these in a PATHED DIRECTORY WHERE THEY CAN BE RUN FROM ANY DIRECTORY.
- If you do not wish to put them in a pathed directory, you will have
- to copy them into each individual door directory.
-
- PUTINUSE.EXE
-
- Put-In-Use is the program that makes the door "In-Use"
- once a user enters it. This part takes down the
- system information and the name of the user who is
- using the door. It creates the data file INUSE.DAT.
-
- syntax : PUTINUSE.EXE [Path to DORINFO1.DEF]
-
- example : PUTINUSE.EXE C:\RA\LINE1
-
- DORINUSE.EXE
-
- Door-In-Use is the part of the program that informs
- the user trying to use the in-use door that the door
- is currently being used on the other line.
-
- syntax : DORINUSE.EXE [Path DORINFO1.DEF] [Name_Door]
-
- example : DORINUSE.EXE C:\RA\LINE1 Trade_Wars
-
- All spaces in the Name of Door must be replaced with
- the _ character. They will be stripped out before
- they are displayed.
-
-
- 2) Running from the Bulletin Board
-
- Hopefully you run a system where the only difference in paths is the
- difference in the node number. (ie: \RA\LINE1 and \RA\LINE2). If
- you use this type of system, then this will work for you. You'll
- see why later.
-
- To run a door from the bbs, you must run the door and pass the
- communication port along to the batch file. To do this with
- a QuickBBS or RemoteAccess system, execute a Type 7 door command
- with the optional data:
-
- COMMAND.COM /C FILENAME.BAT *N
-
- Note: If you aren't using QuickBBS or RA, check your BBS
- docs to see how to pass com port # to a batch file.
-
- The *N will be passed to the batch file as the first parameter.
- Otherwise known as %1. When these batch files look for the
- system files, they look in C:\RA\LINE%1. If the %1 was a 1 (for node
- one) then the program will look in C:\RA\LINE1 and if the %1 was
- a 2, it would look in C:\RA\LINE2 and so on... Your paths will
- probably be different than ours, but as mentioned earlier, if
- the only difference between the paths is the node it represents,
- this will work!
-
-
- 4) An example batch file!
-
- This will probably be the most valuable section of the docs. The
- following is a batch file that runs a door that simply needs to
- find the directory that the system files are in.
-
-
- CD\PROGRAM
-
- If Exist InUse.Dat Goto SkipDoor
-
- PutInuse.Exe C:\RA\LINE%1
- PROGRAM C:\RA\LINE%1
- Del InUse.Dat
- Goto End
-
- :SkipDoor
- DorInUse.Exe C:\QUICKBBS\LINE%1 Dummy_Program
-
- :End
- CD\
- CD\RA\LINE%1
-
- Overview: The batch file switches to the door directory. The next
- line tells the batch file that "if you find the file
- INUSE.DAT (which means the door is currently being
- used), then skip to the heading marked :SkipDoor and
- run the Door-In-Use Program". If the file doesn't
- exist, it procedes with the batch file. By
- continuing, it does the following:
-
- ■ Puts the door in use
- ■ Runs the door telling it which dir to find
- its data files.
- ■ Deletes the INUSE.DAT file so the door is
- now open to all lines.
- ■ Skips to the :END so DorInUse won't run.
-
-
- Special Techniques
- ══════════════════
-
- All doors should follow the example batch file. However, HOW the
- door needs to be run with vary from program to program. Therefore, after
- the door is Put-In-Use, you may have to "rig" your specific door to
- work. The above example was easy because the door took all information
- (such as Com Port) from the Quick/RA EXITINFO.BBS or DORINFO1.DEF files.
- Heres what to do in the following situations:
-
- 1) The COM is specified in the door's config file
-
- Some doors require that you specify which COM port the door is
- to be run on. To get around this problem, make more than one
- config file. If you have two nodes, you will create a
- FILENAME.CF1 and FILENAME.CF2, each with the com port for
- each node.
-
- If the door allows you to specify the config file name, simply
- run the door like this:
-
- PROGRAM.EXE FILENAME.CF%1
-
- If its node 1, it will look for FILENAME.CF1 and if
- its node 2, it will look for FILENAME.CF2.
-
- However, say the door has to have a certain config file. If the
- door always looks for FILENAME.CFG, then do this:
-
- COPY FILENAME.CF%1 FILENAME.CFG
-
- If its node 1, it copies the CF1 file to the name
- the door looks for. If its CF2 then it copies
- the node 2 file.
-
-
- 2) Door must be run where EXITINFO.BBS/DORINFO1.DEF are.
-
- The original example shows what to do if a path can be specified
- where the door can locate system files. If the door was written
- to run the directory where DORINFO1.DEF or EXITINFO.BBS were
- created, simply copy the appropriate file into the directory
- where you want to run the door from. To get the right node's
- files, do the following:
-
- COPY C:\RA\LINE%1\DORINFO1.DEF
- COPY C:\RA\LINE%1\EXITINFO.BBS
-
- If its node 1, the system files created will
- be copied from C:\RA\LINE1 into the directory
- which the door is run. If its node 2, the
- files from C:\RA\LINE2 are copied.
-
-
- Assistance
- ══════════
-
- Hopefully you understand the concept of this package. This
- documentation file was incredibly difficult to write because of the
- "concept" of it. Here at MASS Hysteria, we have not come across
- a door setup yet that we haven't been able to run multi-node. If
- you cannot get a door set-up, we will try and assist you. Please
- do the following:
-
- Send the following to 1:324/174 (or call as a user)
-
- 1) The .ZIP door package you are running
- 2) NET-Mail explaining your problem and
- a filename. We will attempt to run get
- the door running, and if successful,
- we will make a zip file using the name
- you sepcify so you can F'Req it. The
- zip will have the batch file in it.
-
- Note: PLEASE check and see that we haven't included
- a batch file for your door before you call
- our system for assistance.
-
-
- One final note
- ══════════════
-
- Since we never charge a lot of money to register our "BIG" doors, it
- only makes sense to allow the public to use things like this for free. Our
- attitude at Hysteria is that computer programming should be fun and the
- author should get satisfaction that other people have interest in his
- programs. People that require $10.00+ dollars for insignificant programs
- are greedy. We enjoy what we do....so please, you enjoy it too!
-
-
- Brian R. Tardiff & Mark R. Warnat
- HysteriaWare Software
-