home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
DOOR
/
EXITBUG.ZIP
/
EXITBUG.DOC
next >
Wrap
Text File
|
1994-09-03
|
5KB
|
105 lines
EXITBUG
=======
Drop file compatibility fix for QuickBBS and some doors
Written in Turbo C by Bruce Bowman
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
DISCLAIMER: The author hereby makes no claims about the suitability of this
program for its given purpose...and takes on no responsibility for whatever
consequences may occur as a result of using this program.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exitbug is freeware. Feel free to use and distribute it at will, as long as
no charge is made for procurement or use of this program beyond the normal
BBS membership fees. However, this program is NOT public domain -- it is
copyrighted, and the author retains all legal rights.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Why ExitBug?
-----------
Version 2.76a (and undoubtedly some others) of QuickBBS suffers from some
compatibility problems with a number of doors, regarding the time the door
thinks is available when the user starts it. Many doors, it appears, read
only the EXITINFO.BBS file, and assume the TmLimit field contains the time
the user had when they drop to the door. In actuality, this field contains
the amount of time the user had when he LOGGED ON. This allows the caller
to circumvent events and time limits for awhile by entering a door shortly
before they run out of time and using the extra time to play. ExitBug reads
the DORINFO1.DEF and patches EXITINFO.BBS with the proper values so these
doors will operate properly under QuickBBS.
A Comment...
------------
The format of the QuickBBS drop files has been standard for some time...but
unfortunately they appear to have become out of line with the norm amongst
other BBS software that also use the EXITINFO.BBS drop file. The author of
this program makes no claims as to who is "at fault" for this situation --
he is merely trying to rectify it. Hopefully this problem will take care of
itself with the release of version 2.80 of QuickBBS and its support for the
DOOR.SYS drop file.
How to Run ExitBug
------------------
ExitBug must be run both before and after the door, from the directory in
which the DORINFO1.DEF and EXITINFO.BBS drop files are located. This is
necessary so the program can re-patch the EXITINFO.BBS file back the way
it was before QuickBBS reads it. The program itself can also be in this
directory, or anywhere on your DOS path.
The program will create a temporary file TMP$$.TMP, which contains an
integer value which is the amount of time the caller used before they
entered the door. This is necessary to rebuild the EXITINFO.BBS file after
the door is run.
Command Syntax:
--------------
EXITBUG BEFORE|AFTER {BANK}
Obviously, use the "before" keyword prior to running the door, and the
"after" keyword afterwards. If the improper syntax is given or the program
cannot find the drop files, ExitBug will print an error message to StdOut
and exit with an errorlevel of 1. An errorlevel of 0 indicates successful
program termination.
Typical batch application:
CD \BBS\NODE%2
EXITBUG BEFORE
CD \DOORS\GAME
GAME <parameters>
CD \BBS\NODE%2
EXITBUG AFTER
EXIT
If you are using exitbug for a time banking or gambling door, add the BANK
keyword (actually, ANY word in this position will be treated as BANK).
Sometimes this will help -- other times it won't. There seems to be little
consistency in how doors monitor time usage; therefore, you will just have
to try it. At least ExitBug gives you some chance of getting it working --
it did help me get one time gambling door to work correctly.
. . . . . . . . . .
That's about all. Hopefully it will help you overcome this problem until a
more polished remedy can be found.
Obtaining ExitBug
-----------------
ExitBug can be file requested direct from the author at the following email
addresses under the magic name of EXITBUG:
1:231/710@fidonet.org
15:655/402@adltnet.ftn
75:7317/71@doornet.ftn
If you feel compelled to pay me for this, I will accept donations towards
my other programming endeavors (such as BCheckers). Send what you feel it
is worth to the following address:
Bruce Bowman
8364 S SR 39
Clayton, IN 46118
BEB
9/2/94