home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / sunrise / bbdice18.zip / BBDICE.DOC < prev    next >
Text File  |  1993-06-19  |  19KB  |  424 lines

  1.  
  2.                              BASEBALL DICE
  3.  
  4.                                   v1.8
  5.  
  6.                                    by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                          (404) 256-9525 (Data)
  12.                          (404) 705-9104 (Data)
  13.                   (404) 256-9518 (Voice, 9am-9:30pm EST)
  14.  
  15.  
  16.  
  17.                                 OVERVIEW
  18.                                 ________
  19.  
  20.  
  21.    Baseball Dice plays pretty much like a regular game of baseball, with the
  22.    exception that you use dice to "hit" the ball and we do not count the balls
  23.    and strikes (ie: 1 strike = a strikeout AND 1 ball = a walk).
  24.  
  25.    The object of the game is to beat the game score that you, the Sysop, have
  26.    already posted.  NOTE: Ties lose!
  27.  
  28.  
  29.    NOTE: Most errors will be logged to a file called DFRAME.ERR which is
  30.          created in the directory you run the door from.
  31.  
  32.  
  33.  
  34.                               INSTALLATION
  35.                               ____________
  36.  
  37.  
  38.    Installation is fairly easy and straight-forward. The following steps and
  39.    examples should have you up and running in a very short period of time.
  40.    It is assumed that you are familiar with setting up DOORS on your system.
  41.    To this end, only examples of the configuration file and Door batch file
  42.    are described.
  43.  
  44.       1) Create a directory to hold all BBDICE files
  45.  
  46.       2) Unzip BBDICExx.ZIP into the the above directory
  47.  
  48.       3) Create a configuration file, with a name of your choice, or
  49.          modify the supplied BBDICE.CFG file. A description follows:
  50.  
  51.             **                       Location of system file (See Below)
  52.             SUNRISE-80 BBS           Your BBS Name
  53.             Al                       Sysop's First name
  54.  
  55.             Lawrence                 Sysop's Last Name
  56.  
  57. |-----------------------------------------------------------------------------|
  58. | READ!     1                        CommPort  \ These 2 lines are required   |
  59. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  60. |-----------------------------------------------------------------------------|
  61.  
  62.             00000000                 Registration Number
  63.  
  64.     !   #   1                        Maximum # of Games per day
  65.                                      (Sysop gets 99, Registered version ONLY)
  66.  
  67.             50                       Number of Top Score entries.
  68.                                      Minimum = 5, Maximum = 99 (default=50)
  69.  
  70.         #   NONE                     Drive:\Path\Filename to contain the
  71.                                      Top Score Bulletin or enter NONE
  72.                                      for NO Bulletin creation.
  73.  
  74.         #   NONE                     Drive:\Path\Filename to contain the
  75.                                      Top Score Bulletin (Color) or enter NONE
  76.                                      for NO Bulletin creation.
  77.  
  78.             2                        1 = DO NOT Display ADOPT-A-DOOR Message
  79.                                      2 = Display ADOPT-A-DOOR message
  80.  
  81.         #   2                        Keyboard timeout value in Minutes
  82.  
  83.     !   #   0                        Time allowed in Door
  84.                                      (Sysop = Time Remaining - REG. VERSION)
  85.  
  86.         #   Y                        Y = Allow Sysop to play 99 games
  87.                                      N = Don't Allow Sysop to play 99 games
  88.  
  89.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  90.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  91.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  92.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  93.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  94.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  95.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  96.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  97.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  98.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  99.     @   #   XXXX/YYYY                 Blackout Range  From/To
  100.     @   #   XXXX/YYYY                 Blackout Range  From/To
  101.     @   #   XXXX/YYYY                 Blackout Range  From/To
  102.     @   #   XXXX/YYYY                 Blackout Range  From/To
  103.     @   #   XXXX/YYYY                 Blackout Range  From/To
  104.  
  105.  
  106.  
  107.               ** = Replace with ONE of the following:
  108.  
  109. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  110. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  111. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  112. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  113. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  114. c:\bbs\TRIBBS.SYS               <- For TriBBS systems.
  115. C:\BBS\CHAIN.TXT                <- For WWIV systems
  116. C:\BBS\GTUSER.BBS               <- For GT Power
  117.                                    * if using this option you must put the
  118.                                      ComPort # on line 5 and the Node # on
  119.                                      line 6 of the configuration file
  120.  
  121.  
  122.  
  123.  
  124.            # = Requires registration to change to a different value.
  125.            ! = See "Plays Per Day" Below
  126.            @ = See "Blackout Periods" Below
  127.  
  128.                NOTE: There are NO Blank Lines in the Config File!!
  129.  
  130.  
  131.  
  132.  
  133.       4) Create a batch file or modify the BBDICE file supplied. A
  134.          description of this file follows:
  135.  
  136.             ECHO off
  137.             cd\PCB\DOORS\BBDICE       Location of BBDICE files
  138.             BBDICE  BBDICE.CFG        EXE filename and CFG filename (Name
  139.                                       used in creating file in #3 above)
  140.             CD\PCB
  141.             BOARD
  142.  
  143.  
  144.        5) When running in more than one node, be sure to supply a
  145.           different configuration name for each node (your choice of name).
  146.  
  147.        6) If running with a Fossil-based multi-port boards add
  148.           /FD to the line containing the CFG name as follows:
  149.  
  150.                           BBDICE BBDICE.CFG /FD
  151.  
  152.  
  153.  
  154.                          TEAM ROSTER FILE
  155.                          ________________
  156.  
  157.       You must have a file called BBDICE.ROS in your directory. This file
  158.       contains the team line-up. You can have a maximum of 9 entries, with
  159.       no entry longer than 33 characters.
  160.  
  161.  
  162.  
  163.                           BLACKOUT PERIODS
  164.                           ________________
  165.  
  166.       Use the Blackout ranges option to define up to 5 time periods during
  167.       which you DO NOT want the Door to be played. If a caller tries to access
  168.       the Door during the Blackout period, they will be shown a message that
  169.       contains ALL the Blackout periods you have defined, and to try the Door
  170.       at a later time.
  171.  
  172.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  173.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  174.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  175.  
  176.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  177.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  178.                    a Blackout range.
  179.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  180.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  181.  
  182.  
  183.  
  184.                           PLAYS Per DAY/DOOR Time
  185.                           _______________________
  186.  
  187.       Plays Per Day and Door Time can be controlled several ways:
  188.  
  189.       (1) You can use the Games Per Day, singular option, in the config
  190.           file above. This option, will affect ALL callers whose Security
  191.           Level is NOT defined in any of the 10 optional Security Level/
  192.           Plays Per Day entries in the config file.
  193.  
  194.       (2) You can use the Door Time, singular option, in the config file
  195.           above. This option, will affect ALL callers whose Security
  196.           Level is NOT defined in any of the 10 optional Security Level/
  197.           Plays Per Day/Door Time entries in the config file.
  198.  
  199.       (3) You can restrict the number of games a specific Security Level
  200.           will be allowed to play per day or REWARD specific Levels with
  201.           more Plays Per Day.
  202.  
  203.           Likewise, you can restrict the Play time for a specific Security
  204.           Level or REWARD specific Levels with more Door Time.
  205.  
  206.           These options are handled by the use of the 10 config
  207.           entries (000=00/00).
  208.  
  209.           The format of each entry is as follows:
  210.  
  211.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  212.                      where =  is a constant and MUST be included
  213.                      where YY is the # of games per day (must be 2 digits)
  214.                      where / is a constant and MUST be included
  215.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  216.  
  217.           If the callers Security Level is NOT defined, his/her Plays Per
  218.           Day and Door Time will be controlled by the values in items
  219.           (1) and (2), above, respectively..
  220.  
  221.           You may define up to 10 Security Levels. All unused entries must
  222.           be defined as   000=00/00
  223.         --------------------------------------------------------------------
  224.           Example: Suppose you had 3 Security Levels defined on your BBS as
  225.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you
  226.           wanted to set Plays Per Day as :     Subscriber=5
  227.                                            Visiting Sysop=2
  228.                                                   CoSysop=3
  229.                                                    Friend=10
  230.  
  231.           and Door Time as follows:     Subscriber=30 minutes
  232.                                     Visiting Sysop=20 minutes
  233.                                            CoSysop=10 minutes
  234.                                             Friend=remaining call time
  235.  
  236.  
  237.           You would set the Individual "Games per Day" config entry to 1 and
  238.           the individual "Door Time" to 5 minutes (these would be the
  239.           default number of games and default Time for all Security Levels
  240.           other than 20,30 or 40... make them any number you want). Next you
  241.           would replace 4 of the Security Level entries as :  020=05/30
  242.                                                               030=02/20
  243.                                                               040=03/10
  244.                                                               090=10/0
  245.  
  246.  
  247.                         NON-STANDARD COM SUPPORT
  248.                         ________________________
  249.  
  250.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  251.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  252.       number after the configuration filename. Let's assume your Door is
  253.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  254.       passed to your Door would be:
  255.  
  256.                             FOOBAR FOOBAR.CFG /5
  257.  
  258.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  259.       normally used with COM1. No /x parameter is needed for the standard
  260.       IRQ's.
  261.  
  262.       As an alternative, you may use an environmental variable on the command
  263.       line. To use the variable (following the example above), place a
  264.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a
  265.       different IRQ number for each node). The command line would now look
  266.       like this:
  267.  
  268.                           FOOBAR FOOBAR.CFG /%IRQ%
  269.  
  270.       This, in combination with the use of the environmental variables
  271.       described in the MULTI-NODE SETUP section will allow you to use one
  272.       batch file and one config file to run this door on all nodes.
  273.  
  274.  
  275.  
  276.  
  277.                            MULTI-NODE SETUP
  278.                            ________________
  279.  
  280.       All Sunrise Doors are Multi-Node capable. Each node must have the
  281.       ability to access a configuration file which will have its own system
  282.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first
  283.       line. There are 2 ways to accomplish this:
  284.  
  285.       (1) Create a separate configuration file for each node. The only
  286.           difference between each file would be the location of the system
  287.           file for that particular node. For example, on my system there are 2
  288.           nodes and the first line of the config files would look like this:
  289.  
  290.                         NODE1:  H:\PCB1\DOOR.SYS
  291.                         NODE2:  H:\PCB2\DOOR.SYS
  292.  
  293.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  294.  
  295.       (2) Use ONE configuration file for ALL nodes. This Door will recognize
  296.           the following PCBoard environmental variables:
  297.  
  298.                  PCBDIR    (Directory containing the System file)
  299.                  PCBDRIVE  (Drive containing the System file)
  300.  
  301.           Thus, the first line of the SINGLE configuration file, for this Door
  302.           would look like this:
  303.  
  304.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  305.  
  306.       NOTE: This option, as described, assumes that you are running PCBoard
  307.             14.5a software. The environmental variables are automatically
  308.             created by the software for each node.
  309.  
  310.             HOWEVER, if you are running other BBS software you should be able
  311.             to set the variables EXACTLY as described below, for EACH node
  312.             (more than likely in each batch file you use to bring up EACH node):
  313.  
  314.                             PCBDRIVE=C:
  315.                             ^^^^^^^^^
  316.                             PCBDIR=\NODE2
  317.                             ^^^^^^^^
  318.  
  319.             Info with a carat (^) under it, MUST be typed as is. The rest
  320.             depends on your naming conventions.
  321.  
  322.             This, in combination with the use of the optional environmental
  323.             variable described in the NON-STANDARD COM SUPPORT section, will
  324.             allow you to use one batch file and one config file to run this
  325.             door on all nodes.
  326.  
  327.  
  328.                                ADOPT-A-DOOR
  329.                                ____________
  330.  
  331.     Having been a Sysop for a number of years, I have had my share of problems
  332.     and frustrations getting financial support for my board's upkeep. A fellow
  333.     Sysop left a message on my board, not long ago, about a concept that was
  334.     being used by several boards around the country.
  335.  
  336.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  337.     would be the same as sending in a donation, only this way it is earmarked
  338.     for registering a particular door. In a way, the user feels he/she is
  339.     "getting something in return". As a Door author I have decided to build
  340.     this concept into each of my Door programs. The concept replaces the
  341.     usual message "tell the Sysop to register this Door" we find in most
  342.     doors.
  343.  
  344.     If the Door is unregisterd then a message appears on the opening screen
  345.     to that effect. After finishing or suspending a game, a message screen
  346.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  347.     caller to contact the Sysop to find out if there is any further details
  348.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  349.     time, etc to callers that ADOPT-A-DOOR.
  350.  
  351.     If the Door has been registered, either by the Sysop or other callers,
  352.     the names of those contributors will be displayed in the closing screen.
  353.  
  354.     NOTE: If you want to display the names of the callers that contributed
  355.           to registering the Door, you must create an ASCII file called
  356.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  357.           the name(s) of the contributors (one on each line, maximum of 5
  358.           entries, each a maximum of 30 characters long). This file must be
  359.           saved, in ASCII format, and placed in the Door directory.
  360.  
  361.  
  362.  
  363.                               LEGALITIES
  364.                               __________
  365.  
  366.  
  367.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  368.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  369.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  370.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  371.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  372.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  373.       OR BREACH OF ANY WARRANTY.
  374.  
  375.  
  376.  
  377.  
  378.  
  379.                              DISTRIBUTION
  380.                              ____________
  381.  
  382.    You may make this file available for downloading from your BBS or you may
  383.    upload it to any BBS of your choice, provided that you do not make any
  384.    changes to the contents of the archive (ZIP file). The archive and its
  385.    individual contents may not be used by any service that charges any money
  386.    whatsoever, without the written permission of the author.
  387.  
  388.  
  389.  
  390.  
  391.  
  392.                              REGISTRATION
  393.                              ____________
  394.  
  395.    Registration and the subsequent insertion of the registration number into
  396.    your configuation file, allows for the display of your BBS name on the
  397.    opening and closing screen as well as the reduction of a delay built into
  398.    the opening screen display along with the ability to change certain
  399.    values in the configuration file.
  400.  
  401.    To register your copy of BBDICE, please fill out the registration form
  402.    (REGISTER.FRM) and mail it along with the registration form to
  403.    the name and address on the form.
  404.  
  405.    Be sure to use the proper upper/lower case when filling in your name and
  406.    BBS name, as they MUST match the way you entered them in the configuration
  407.    file.             ^^^^
  408.  
  409.    Based upon information supplied on the registration form, I will pre-
  410.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  411.    up your registration number.
  412.  
  413.  
  414.  
  415.                                  MISC
  416.                                  ____
  417.  
  418.    The latest version of BASEBALL DICE and other fine SUNRISE DOOR programs
  419.    are always available for download from SUNRISE-80 BBS.
  420.  
  421.    Remember, should you have any problems, questions or suggestions, be sure
  422.    to drop me a message on Sunrise-80 or in the RIME network (BBS_Doors,
  423.    PCBHints, SYSops) or on SMARTNET (SN_Sysops) OR Fido 1:133/604
  424.