home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
RDRLOT10.ZIP
/
RDRLOTTO.DOC
< prev
next >
Wrap
Text File
|
1997-10-14
|
11KB
|
340 lines
RDRLotto
Version 1.0
RDR Time Bank Version
Copyright (c) 1995 - 1997 By Rob Ross
All Rights Reserved
Thank you for evaluating RDRLotto.
RDRLotto is a door that was designed for use with
RDR Time Bank.
RDRLotto allows users to gamble with their saved
time in the BBS's TIME BANK. They may "buy" lotto
tickets with time they have saved in the RDR Time Bank.
The lotto draws are made whenever the sysop desires.
UNREGISTERED copies of this door function exactly
the same as the registered copies, but include
an UNREGISTERED message at the end. Once you
register, RDRLotto displays a REGISTERED message
at the end, and the 10 second delay is reduced.
As an UNREGISTERED user, you are permitted to
use RDRLotto 2.0 for a period not to exceed 30 days
for evaluation purposes. If you wish to continue
using RDRLotto 2.0, you must register it with me.
RDRLotto is provided "as is" with no expressed
or implied warranties. I accept no responsablilty
for any damages caused directly or indirectly by
the use or misuse of this software. By using
RDRLotto, you agree to these terms.
Although RDRLotto has been extensively tested
and debugged, bugs do tend to appear where least
expected. If you discover any bugs or have any
comments or suggestions, you may E-Mail me at my
Internet address: rross@tason.com
The latest version of RDRLotto will always
be available for download from:
The Ajax Shuttle BBS (17+ Lines)
Ajax, Ontario
Sysop: David Nickleford
BBS Number: Speed:
-------------- ---------
(905) 686-4361 14.4-33.6
This document is separated into a few sections:
Installation, Sysop Functions, Additional Features,
Registration info.
INSTALLATION:
-------------
The initial set up of this door has been kept as
simple as possible. The following is a step by
step guide to quickly installing RDRLotto.
Step 1:
-------
Copy all of the door's files into its own
directory.
Step 2:
-------
Modify the "LOTTO.CFG" sample file to better suit
your BBS.
LOTTO.CFG
---------
Line 1: Door Data file type (GAP for DOOR.SYS )
Line 2: Path to door data files (Where DOOR.SYS is )
Line 3: Your BBS's Name (Your BBS Name )
Line 4: Sysop's Name (Your Name )
Line 5: Locked Baud Rate (0 if NOT locked )
Line 6: Main BBS Direcrtory (Main BBS directory)
Line 7: Path to RDR Time Bank (TIMEBANK.DAT dir )
Line 8: Cost per ticket (Suggested 5 )
Line 9: Bonus time added to jackpot(0 if none )
Line10: Registration Code (Blank if NOT reg. )
Example:
--------
GAP
C:\BBS\
Dizzy's Fun House
Rob Ross
38400
C:\BBS\
C:\DOORS\TIMEBANK\
5
50
[Reg. code goes here]
-----------------------------------------------------------------------------
The door's data file type (drop file) is specified in line 1
and can be PCB for PCBoard, GAP for GAP (DOOR.SYS), SF for Spitfire,
RBBS for RBBS, TRIBBS for TriBBS, or WWIV for WWIV.
The locked baud rate is specified in line 5.
-----------------------------------------------------------------------------
* NOTE *
The cost in Time Bank minutes per ticket and the bonus
amount to add to each jackpot are entirely up to you.
Step 3:
-------
Create a text file called PBLDATE.DAT and enter in the date
of the next draw. This date is just for display in the PBLotto
door and does not affect the actuall drawing of a winner.
Sample dates: (Any format will do on ONE line only)
-------------
01-01-1995
Jan 1st, 1995
Next Sunday
Each of the above is valid, as it is only to notify the users of
when the next draw will take place.
The last 10 winner's are stored in a file called WINNERS.LST and the
last winner is stored in WINNER.DAT. WINNERS.LST is a binary file.
If you wish to reset it (to blank out all winner's names) I have
included a program called PBLSET.EXE that will do this for you.
Step 4:
-------
Create a batch file for the door.
If you use a non-standard IRQ for your serial port, you must
include it last on the command line. The legitimate range of
values is from 0 to 15. If your IRQ is standard, then you do
not need the third parameter.
Example:
--------
c:
cd\rdrlotto
rdrlotto lotto.cfg [nonstandard irq]
cd\tribbs
board.bat
Step 5:
-------
Add the door to your BBS menu, and you are set!
Step 6:
-------
The actuall draws are performed by the program DRAW.EXE.
The program randomly selects one of the tickets, and adds
the total winnings to that users' RDR Time Bank account.
It will not exeed any limit you have set up for the bank.
After it selects a winner, DRAW updates all of the WINNER
data files, and also updates 2 bulletins (should you wish to
include them in your bulletins menu). They are called
RDRLWIN.ANS and RDRLWIN.ASC. The first is ANSI and the second
is ASCII.
As to how you run the DRAW program is up to you. You may
wish to run it manually or maybe include it in your maintenance
event on a particular day. The DRAW program will not be
run from the RDRLotto door. It must be run seperately.
Although it produces an ASCII bulletin, RDRLotto users must
be using an ANSI terminal. It will not function otherwise.
An ASCII version is being worked on at this time.
-----------------------------------------------------------------
*NOTE* RDRLotto can also be run locally, without being
logged on to your BBS by typing:
rdrlotto lotto.cfg LOCAL
(While in the RDRLOTTO directory, at the DOS prompt)
When run locally, the door does not require the door data file.
It will ask you to enter in your name when you run it.
(The name must be a valid username on your BBS for the DOOR
to function properly)
SYSOP Functions:
----------------
RDRLotto also offers a variety of SYSOP functions.
Special Keys:
Keys Function
-------- ---------------------------------------------------
HOME Toggles between the user status window and a help
display that lists the special keys
F6 Takes 5 minutes away from the caller.
NOTE: This will NOT be returned to the BBS.
F7 Gives 5 minutes to the caller.
NOTE: This will NOT be returned to the BBS.
F9 Quit the door and return the caller to the BBS
F10 Enter chat mode. Pressing the ESC key exits the
chat mode.
Alt+D Drop to DOS.
Additional Features:
--------------------
Autodetection and use of a FOSSIL driver if one is present
in memory.
Fully supports high speed modems: 16550 FIFO buffering and
locked serial ports.
Built-in ANSI emulator. No need to have ANSI.SYS loaded in
memory.
DesqView, Windows, and OS/2 aware. (I have not tested the
"awareness" features, but the door library kit that I use
says this. :) )
Can be run simultaneously on more than one node.
RDRLotto was programmed using Borland C++ 3.0, and
TriSoft's TDoor 3.0 Door programming library.
-----------------------------------------------------------
Borland C++ 3.0 (c) Copyright 1992 by Borland International
RDR Time Bank (c) Copyright 1997 by Rob Ross.
TDoor (c) Copyright 1992-1994 by Trisoft.
-----------------------------------------------------------
REGISTRATION INFO:
------------------
Due to the time required to design and develop door games,
I am asking for a nominal registration fee for the full
working copy of this program. By registering this and/or
other shareware programs either written by myself or other
shareware authors, you help support new software development.
I have deliberately kept the registration fees as low as
possible, as I understand how costly BBSes are to run.
Registration for RDRLotto is ONLY $10! (+ $5.00 for
shipping and handling and the shareware disk if you wish me to
send you the latest versions of other door programs and
utilities that I have written) If you register RDRLotto at the
same time as RDR Black Jack, registration for RDRLotto is only
$5.00! Cheque or Money Order please. When you register, I
will send you your personal registration code.
If you add the $5.00 for the shareware disk, you will receive
several other *shareware* versions of doors I have written for
use with the RDR Time Bank door.
Including RDR Black Jack ... another TIME BANK related door for
use with RDR Time Bank. Callers can gamble with their saved
time in their Time Bank account, and possibly win more time
or even lose it all! (Unregistered version does not modify
the RDR Time Bank data files)
Including RDR Time Transfer ... allow your users to transfer
RDR TIME BANK time from their OWN account into another user's
account.
--------------------------------------------------------------------------
Registration Order Form: (Please type in and print if possible)
--------------------------------------------------------------------------
First Name:________________________ BBS Name:____________________________
Last Name:________________________ BBS Ph#:____________________________
(optional)
Address:
Line 1:__________________________ Internet Address:____________________
Line 2:__________________________
Line 3:__________________________
Line 4:__________________________
Line 5:__________________________
--------------------------------------------------------------------------
| ITEM: | QTY | $each | Total |
--------------------------------------------------------------------------
|Register RDR Time Bank (Needed for others)| | 5.00 | |
--------------------------------------------------------------------------
|Register RDR Black Jack door game | | 10.00 | |
--------------------------------------------------------------------------
|Register RDRLotto! (With RDR Black Jack) | | 5.00 | |
--------------------------------------------------------------------------
|Register RDRLotto!(Without RDR Black Jack)| | 10.00 | |
--------------------------------------------------------------------------
|Register RDR Time Transfer | | 5.00 | |
--------------------------------------------------------------------------
| (Optional Disk) Shipping and Handling | | 5.00 | |
--------------------------------------------------------------------------
Total | |
Disk Format: (_) 5 1/4" -----------------
(Check one) (_) 3 1/2"
**Only if Disk is ordered**
* Make cheques payable to: Rob Ross *
Mail Registration to:
---------------------
Rob Ross
15 Tepee Court
Willowdale, ON
CANADA
M2J 3A8
---------------------