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

  1.  
  2.                             TRIPLE   YAHTZEE
  3.  
  4.                                   v5.4
  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.  
  18.                                 OVERVIEW
  19.                                 ________
  20.  
  21.  
  22.    Triple Yahtzee is played exactly like the board game. A high score file
  23.    is maintained  (size is controlled from the configuration file). Since
  24.    this game can take a while to play to completion,  a game save feature
  25.    has been included. This feature allows the caller to save the  game
  26.    contents and return to the same game on their next call automatically.
  27.  
  28.  
  29.  
  30.    NOTE: Most errors will be logged to a file called DFRAME.ERR, which is
  31.          created in the directory you run the door from.
  32.  
  33.  
  34.  
  35.                               INSTALLATION
  36.                               ____________
  37.  
  38.  
  39.    Installation is fairly easy and straight-forward. The following steps and
  40.    examples should have you up and running in a very short period of time.
  41.    It is assumed that you are familiar with setting up DOORS on your system.
  42.    To this end, only examples of the configuration file and Door batch file
  43.    are described.
  44.  
  45.       1) Create a directory to hold all YAHTZEE files
  46.  
  47.       2) Unzip TYAHTZxx.ZIP into the the above directory
  48.  
  49.       3) Create a configuration file, with a name of your choice, or
  50.          modify the supplied YAHTZEE.CFG file. A description follows:
  51.  
  52.             **                       Location of System file
  53.  
  54.             SUNRISE-80 BBS           Your BBS Name
  55.  
  56.             Al                       SYSOP's First Name
  57.  
  58.             Lawrence                 Sysop's Last Name
  59.  
  60. |-----------------------------------------------------------------------------|
  61. | READ!     1                        CommPort  \ These 2 lines are required   |
  62. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  63. |-----------------------------------------------------------------------------|
  64.  
  65.             00000000                 Registration Number
  66.  
  67.             50                       Number of Top Score entries.
  68.                                      Minimum = 10, Maximum = 99.
  69.  
  70.         #   2                        Keyboard timeout value in minutes.
  71.                                      If key not depressed for 2 minutes
  72.                                      board is saved and caller is returned
  73.                                      to BBS. Minimum=2, Maximum=5
  74.  
  75.         #   NONE                     Drive:\Path\Filename to contain the
  76.                                      Top Score Bulletin or enter NONE
  77.                                      for NO Bulletin creation.
  78.  
  79.         #   NONE                     Drive:\Path\Filename to contain the
  80.                                      Top Score Bulletin (Color) or enter NONE
  81.                                      for NO Bulletin creation.
  82.  
  83.             1                        Initial setting of the HOTKEY feature.
  84.                                      1=ON, 0=OFF. Default will be 1 if any
  85.                                      other value is encountered.
  86.  
  87.             2                        1 = DO NOT Display the ADOPT-A-DOOR Msg
  88.                                      2 = DO Display the ADOPT-A-DOOR Message
  89.                                      When YAHTZEE is Registerd, this option
  90.                                      will have no effect. This option is for
  91.                                      those Sysops that do not like the
  92.                                      ADOPT-A-DOOR Concept.
  93.  
  94.  
  95.         #   1                        Color of Main Portion of Board
  96.                                      1=Blue, 4=Red, 5=Magenta, 14=Yellow
  97.  
  98.             2                        1=Caller will appear only one time in the
  99.                                        HiScore file
  100.                                      2=Caller can appear any number of times in
  101.                                        then Hiscore file
  102.  
  103.  
  104.     !   #   1                        Number of games allowed each day
  105.                                      (Sysop gets 99 in registered version ONLY!)
  106.  
  107.     !   #   0                        Time Allowed in Door
  108.                                      (0 = BBS call time remaining)
  109.                                      (Sysop = Time Remaining - REG. VERSION)
  110.  
  111.         #   Y                        Y = Allow Sysop to have 99 games
  112.                                      N = Do Not Allow Sysop 99 games
  113.  
  114.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  115.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  116.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  117.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  118.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  119.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  120.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  121.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  122.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  123.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  124.  
  125.     @   #   XXXX/YYYY                 Blackout Range  From/To
  126.     @   #   XXXX/YYYY                 Blackout Range  From/To
  127.     @   #   XXXX/YYYY                 Blackout Range  From/To
  128.     @   #   XXXX/YYYY                 Blackout Range  From/To
  129.     @   #   XXXX/YYYY                 Blackout Range  From/To
  130.  
  131.  
  132.        ** = Replace with ONE of the following:
  133.  
  134. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  135. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  136. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  137. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  138. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  139. c:\bbs\TRIBBS.SYS               <- For TriBBS systems.
  140. C:\BBS\CHAIN.TXT                <- For WWIV systems
  141. C:\BBS\GTUSER.BBS               <- For GT Power
  142.                                    * if using this option you must put the
  143.                                      ComPort # on line 5 and the Node # on
  144.                                      line 6 of the configuration file
  145.  
  146.  
  147.  
  148.         # = Requires registration to change to a different value
  149.         ! = See "Plays Per DAY/DOOR Time" Below
  150.         @ = See "Blackout Periods" Below
  151.  
  152.  
  153.       4) Create a batch file or modify the YAHTZEE file supplied. A
  154.          description of this file follows:
  155.  
  156.             ECHO off
  157.             cd\BBS\DOORS\YAHTZEE      Location of Yahtzee files
  158.             YAHTZEE YAHTZEE.CFG       EXE filename and CFG filename (Name
  159.                                       used in creating file in #3 above)
  160.             CD\BBS
  161.             BOARD
  162.  
  163.  
  164.        5) When running in more than one node, be sure to supply a
  165.           different configuration name for each node (your choice of name).
  166.  
  167.        6) If running with Fossil-based multi-port boards add
  168.            /FD to the line containing the CFG name as follows:
  169.  
  170.                        YAHTZEE YAHTZEE.CFG /FD
  171.  
  172.  
  173.  
  174.                           BLACKOUT PERIODS
  175.                           ________________
  176.  
  177.       Use the Blackout ranges option to define up to 5 time periods during
  178.       which you DO NOT want the Door to be played. If a caller tries to access
  179.       the Door during the Blackout period, they will be shown a message that
  180.       contains ALL the Blackout periods you have defined, and to try the Door
  181.       at a later time.
  182.  
  183.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  184.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  185.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  186.  
  187.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  188.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  189.                    a Blackout range.
  190.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  191.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  192.             NOTE: There should be NO BLANK LINES in the configuration file!
  193.  
  194.  
  195.  
  196.                           PLAYS Per DAY/DOOR Time
  197.                           _______________________
  198.  
  199.       Plays Per Day and Door Time can be controlled several ways:
  200.  
  201.       (1) You can use the Games Per Day, singular option, in the config
  202.           file above. This option, will affect ALL callers whose Security
  203.           Level is NOT defined in any of the 10 optional Security Level/
  204.           Plays Per Day entries in the config file.
  205.  
  206.       (2) You can use the Door Time, singular option, in the config file
  207.           above. This option, will affect ALL callers whose Security
  208.           Level is NOT defined in any of the 10 optional Security Level/
  209.           Plays Per Day/Door Time entries in the config file.
  210.  
  211.       (3) You can restrict the number of games a specific Security Level
  212.           will be allowed to play per day or REWARD specific Levels with
  213.           more Plays Per Day.
  214.  
  215.           Likewise, you can restrict the Play time for a specific Security
  216.           Level or REWARD specific Levels with more Door Time.
  217.  
  218.           These options are handled by the use of the 10 config
  219.           entries (000=00/00).
  220.  
  221.           The format of each entry is as follows:
  222.  
  223.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  224.                      where =  is a constant and MUST be included
  225.                      where YY is the # of games per day (must be 2 digits)
  226.                      where / is a constant and MUST be included
  227.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  228.  
  229.           If the callers Security Level is NOT defined, his/her Plays Per
  230.           Day and Door Time will be controlled by the values in items
  231.           (1) and (2), above, respectively..
  232.  
  233.           You may define up to 10 Security Levels. All unused entries must
  234.           be defined as   000=00/00
  235.         --------------------------------------------------------------------
  236.           Example: Suppose you had 3 Security Levels defined on your BBS as
  237.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you
  238.           wanted to set Plays Per Day as :     Subscriber=5
  239.                                            Visiting Sysop=2
  240.                                                   CoSysop=3
  241.                                                    Friend=10
  242.  
  243.           and Door Time as follows:     Subscriber=30 minutes
  244.                                     Visiting Sysop=20 minutes
  245.                                            CoSysop=10 minutes
  246.                                             Friend=remaining call time
  247.  
  248.  
  249.           You would set the Individual "Games per Day" config entry to 1 and
  250.           the individual "Door Time" to 5 minutes (these would be the
  251.           default number of games and default Time for all Security Levels
  252.           other than 20,30 or 40... make them any number you want). Next you
  253.           would replace 4 of the Security Level entries as :  020=05/30
  254.                                                               030=02/20
  255.                                                               040=03/10
  256.                                                               090=10/0
  257.  
  258.  
  259.                         NON-STANDARD COM SUPPORT
  260.                         ________________________
  261.  
  262.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  263.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  264.       number after the configuration filename. Let's assume your Door is
  265.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  266.       passed to your Door would be:
  267.  
  268.                             FOOBAR FOOBAR.CFG /5
  269.  
  270.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  271.       normally used with COM1. No /x parameter is needed for the standard
  272.       IRQ's.
  273.  
  274.       As an alternative, you may use an environmental variable on the command
  275.       line. To use the variable (following the example above), place a
  276.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a
  277.       different IRQ number for each node). The command line would now look
  278.       like this:
  279.  
  280.                           FOOBAR FOOBAR.CFG /%IRQ%
  281.  
  282.       This, in combination with the use of the environmental variables
  283.       described in the MULTI-NODE SETUP section will allow you to use one
  284.       batch file and one config file to run this door on all nodes.
  285.  
  286.  
  287.  
  288.  
  289.                            MULTI-NODE SETUP
  290.                            ________________
  291.  
  292.       All Sunrise Doors are Multi-Node capable. Each node must have the
  293.       ability to access a configuration file which will have its own system
  294.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first
  295.       line. There are 2 ways to accomplish this:
  296.  
  297.       (1) Create a separate configuration file for each node. The only
  298.           difference between each file would be the location of the system
  299.           file for that particular node. For example, on my system there are 2
  300.           nodes and the first line of the config files would look like this:
  301.  
  302.                         NODE1:  H:\PCB1\DOOR.SYS
  303.                         NODE2:  H:\PCB2\DOOR.SYS
  304.  
  305.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  306.  
  307.       (2) Use ONE configuration file for ALL nodes. This Door will recognize
  308.           the following PCBoard environmental variables:
  309.  
  310.                  PCBDIR    (Directory containing the System file)
  311.                  PCBDRIVE  (Drive containing the System file)
  312.  
  313.           Thus, the first line of the SINGLE configuration file, for this Door
  314.           would look like this:
  315.  
  316.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  317.  
  318.       NOTE: This option, as described, assumes that you are running PCBoard
  319.             14.5a software. The environmental variables are automatically
  320.             created by the software for each node.
  321.  
  322.             HOWEVER, if you are running other BBS software you should be able
  323.             to set the variables EXACTLY as described below, for EACH node
  324.             (more than likely in each batch file you use to bring up EACH node):
  325.  
  326.                             PCBDRIVE=C:
  327.                             ^^^^^^^^^
  328.                             PCBDIR=\NODE2
  329.                             ^^^^^^^^
  330.  
  331.             Info with a carat (^) under it, MUST be typed as is. The rest
  332.             depends on your naming conventions.
  333.  
  334.             This, in combination with the use of the optional environmental
  335.             variable described in the NON-STANDARD COM SUPPORT section, will
  336.             allow you to use one batch file and one config file to run this
  337.             door on all nodes.
  338.  
  339.  
  340.  
  341.  
  342.                       UPLOADED SCORE UPDATING(PC-YAHTZEE)
  343.                       ___________________________________
  344.  
  345.  
  346.     Triple Yahtzee's companion program, PC-YAHTZEE, is used by your callers
  347.     to play Triple Yahtzee offline on their PC's. When they register PC-YAHTZEE,
  348.     they unlock the ability to upload their scores to your BBS. You in turn
  349.     combine all uploaded scores and merge them into your BBS' Triple Yahtzee
  350.     high score file. You have the option to implement this feature or not.
  351.  
  352.     Your callers will be uploading numeric filenames with .UPL as the
  353.     extension (ex: 12345678.UPL). You can have them upload them to a private
  354.     upload directory or to your regular upload directory. If you choose the
  355.     regular upload directory, then be sure you allow uploads with a .UPL
  356.     extension. The uploaded filename is a fixed format, unique to each user
  357.     of PC-YAHTZEE. Be sure to let your callers know how/where to upload their
  358.     Yahtzee High Score files !
  359.  
  360.     I would appreciate your posting the latest PC-YAHTZEE program as I believe
  361.     it will benefit the throughput of your board, by reducing the amount of
  362.     time spent playing Triple Yahtzee. Please be sure to download a copy for
  363.     yourself and POST one on your BBS!!!
  364.  
  365.     Should you decide to implement (and I would suggest that you do), use the
  366.     following batch file (modify where appropriate) to automate this updating
  367.     process.
  368.  
  369.  
  370.            (1) D:
  371.            (2) CD\NEWUPLD
  372.            (3) COPY *.UPL YAHTZEE.CMB
  373.            (4) DEL *.UPL
  374.            (5) COPY YAHTZEE.CMB C:\PCB\DOORS\YAHTZEE3\
  375.            (6) DEL YAHTZEE.CMB
  376.            (7) C:
  377.            (8) CD\C:\PCB\DOORS\YAHTZEE3
  378.            (9) YAHTZMRG YAHTZEE.CFG
  379.           (10) DEL YAHTZEE.CMB
  380.  
  381.      (1) Change to D: drive
  382.      (2) Change to directory containing the uploaded score files
  383.      (3) Merge all .UPL files into YAHTZEE.CMB (DO NOT rename YAHTZEE.CMB !!!)
  384.      (4) Delete uploaded files (*.UPL)
  385.      (5) Copy YAHTZEE.CMB to Triple Yahtzee door directory
  386.      (6) Delete YAHTZEE.CMB from upload directory
  387.      (7) Change to C: drive
  388.      (8) Change to Triple Yahtzee door directory
  389.      (9) Merge uploaded scores with YAHZTEE.SCO file(Use Yahtzee config file)
  390.     (10) Delete YAHTZEE.CMB
  391.  
  392.          NOTE: This can be run in a nightly event process!!
  393.  
  394.     When merging, YAHTZMRG.EXE will reject duplicate entries within the
  395.     uploaded file(s) as well as entries that duplicate existing entries
  396.     in the YAHTZEE.SCO file. The uploaded score file(s) are created by
  397.     PC-YAHTZEE. Any attempt to change these scores with an editor will
  398.     result in YAHTZMRG rejecting them outright.
  399.  
  400.  
  401.  
  402.                                ADOPT-A-DOOR
  403.                                ____________
  404.  
  405.     Having been a Sysop for a number of years, I have had my share of problems
  406.     and frustrations getting financial support for my board's upkeep. A fellow
  407.     Sysop left a message on my board, not long ago, about a concept that was
  408.     being used by several boards around the country.
  409.  
  410.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  411.     would be the same as sending in a donation, only this way it is earmarked
  412.     for registering a particular door. In a way, the user feels he/she is
  413.     "getting something in return". As a Door author I have decided to build
  414.     this concept into each of my Door programs. The concept replaces the
  415.     usual message "tell the Sysop to register this Door" we find in most
  416.     doors.
  417.  
  418.     If the Door is unregisterd then a message appears on the opening screen
  419.     to that effect. After finishing or suspending a game, a message screen
  420.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  421.     caller to contact the Sysop to find out if there is any further details
  422.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  423.     time, etc to callers that ADOPT-A-DOOR.
  424.  
  425.     If the Door has been registered, either by the Sysop or other callers,
  426.     the names of those contributors will be displayed in the closing screen.
  427.  
  428.     NOTE: If you want to display the names of the callers that contributed
  429.           to registering the Door, you must create an ASCII file called
  430.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  431.           the name(s) of the contributors (one on each line, maximum of 5
  432.           entries, each a maximum of 30 characters long). This file must be
  433.           saved, in ASCII format, and placed in the Door directory.
  434.  
  435.  
  436.  
  437.                               LEGALITIES
  438.                               __________
  439.  
  440.  
  441.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  442.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  443.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  444.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  445.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  446.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  447.       OR BREACH OF ANY WARRANTY.
  448.  
  449.  
  450.  
  451.  
  452.  
  453.                              DISTRIBUTION
  454.                              ____________
  455.  
  456.    You may make this file available for downloading from your BBS or you may
  457.    upload it to any BBS of your choice, provided that you do not make any
  458.    changes to the contents of the archive (ZIP file). The archive and its
  459.    individual contents may not be used by any service that charges any money
  460.    whatsoever, without the written permission of the author.
  461.  
  462.  
  463.  
  464.  
  465.  
  466.                              REGISTRATION
  467.                              ____________
  468.  
  469.    Registration and the subsequent insertion of the registration number into
  470.    your configuation file, allows for the display of your BBS name on the
  471.    opening and closing screen as well as the reduction of a delay built into
  472.    the opening screen display along with the ability to change certain values
  473.    in the configuration file.
  474.  
  475.    To register your copy of YAHTZEE, please fill out the registration form
  476.    (REGISTER.FRM) and mail it along with the registration fee to
  477.    the name and address on the form.
  478.  
  479.    Be sure to use the proper upper/lower case when filling in your name and
  480.    BBS name, as they MUST match the way you entered them in the configuration
  481.    file.             ^^^^
  482.  
  483.    Based upon information supplied on the registration form, I will pre-
  484.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  485.    up your registration number or supply a self-addressed stamped envelope.
  486.  
  487.  
  488.  
  489.                                  MISC
  490.                                  ____
  491.  
  492.    The latest version of TRIPLE YAHTZEE and other fine SUNRISE DOOR programs
  493.    are always available for download from SUNRISE-80 BBS and/or SALTAIR BBS.
  494.  
  495.    Remember, should you have any problems, questions or suggestions, be sure
  496.    to drop me a message on either of the aforementioned BBS' or via the
  497.    DOORS conference on PCRELAY/RIME, Node=SUNRISE.
  498.  
  499.  
  500.