home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / bbs_door / mmaker23.arj / MMAKER.DOC < prev    next >
Text File  |  1992-05-03  |  24KB  |  559 lines

  1.  
  2.                               MATCH MAKER
  3.  
  4.                                   v2.3
  5.  
  6.  
  7.                                    by
  8.  
  9.                               Al Lawrence
  10.  
  11.                             Sunrise-80  BBS
  12.                             (404) 256-9525
  13.  
  14.  
  15.  
  16.  
  17.                                DESCRIPTION
  18.                                ___________
  19.  
  20.    Match Maker allows for the matching of callers with like interests 
  21.    based upon answers given to questions developed by the Sysop.
  22.   
  23.    You may create up to 50 questions to be asked of each caller. You may 
  24.    create a different set of questions, based upon the callers sex. All 
  25.    that is required is to assign the proper filename to each set.
  26.  
  27.    You may create a trashcan file containing names you do not want used as an 
  28.    alias (registered version only).
  29.  
  30.    You may limit the number of times a caller may access the door.
  31.  
  32.    You may send and receive PRIVATE messages (does not affect the normal
  33.    BBS message base).
  34.  
  35.    Message database can accomodate unlimited number of messages. (Reg Version)
  36.  
  37.    Caller database can accomodate unlimited number of users. (Reg version)
  38.  
  39.    All Caller database records contain the logon name of the caller. 
  40.  
  41.    A maintainance program is supplied to be used to purge the databases and
  42.    recreate Index files. Command line parameters define the purge criteria
  43.    for Event maintenance (Registered version only). When run locally you define
  44.    the purge criteria at run time (Registered version only). Unregistered 
  45.    version allows for the search and viewing of Callers records (search may be
  46.    Alias or logon name) as well as the recreation of Indexes.
  47.  
  48.    Maintenance program can clear all answers to questions. The Door pgm will 
  49.    then detect this and force the caller to answer the new set of questions.
  50.  
  51.  
  52.    NOTE: Most errors will be logged to a file called DFRAME.ERR which is
  53.          created in the directory you run the door from.
  54.  
  55.  
  56.  
  57.                         INSTALLATION/LIMITATIONS
  58.                         ________________________
  59.  
  60.  
  61.    >>>>>>>> ++++ BE SURE THAT YOU HAVE SHARE.EXE LOADED!!!! ++++ <<<<<<<<
  62.  
  63.  
  64.    Installation is fairly easy and straight-forward. The following steps and
  65.    examples should have you up and running in a very short period of time.
  66.    It is assumed that you are familiar with setting up DOORS on your system.
  67.    To this end, only examples of the configuration file and Door batch file
  68.    are described.
  69.  
  70.       1) Create a directory to hold all MATCH MAKER files
  71.  
  72.       2) Unzip MMAKERxx.ZIP into the the above directory
  73.  
  74.          NOTE: BRUN45.EXE is not included but is required !!!
  75.  
  76.       3) Create a configuration file, with a name of your choice, or
  77.          modify the supplied MMAKER.CFG file. A description follows:
  78.  
  79.             **                       Location of system file (See Below)
  80.             SUNRISE-80 BBS           Your BBS Name
  81.             Al                       Sysop's First Name
  82.  
  83.             Lawrence                 Sysop's Last Name
  84.  
  85.             00000000                 Registration Number
  86.  
  87.         #   2                        Keyboard timeout value in Minutes
  88.  
  89.     !   #   1                        Maximum # of Games per day
  90.                                      (Sysop gets 99, Registered version ONLY)
  91.  
  92.     !   #   0                        Time allowed in Door
  93.                                      (Sysop = Time Remaining - REG. VERSION)
  94.  
  95.             1                         Message Center Functions
  96.                                       1 = allow msg to be left/read
  97.                                       0 = disable message function
  98.  
  99.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  100.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  101.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  102.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  103.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  104.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  105.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  106.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  107.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  108.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  109.  
  110.     @   #   XXXX/YYYY                 Blackout Range  From/To
  111.     @   #   XXXX/YYYY                 Blackout Range  From/To
  112.     @   #   XXXX/YYYY                 Blackout Range  From/To
  113.     @   #   XXXX/YYYY                 Blackout Range  From/To
  114.     @   #   XXXX/YYYY                 Blackout Range  From/To
  115.  
  116.  
  117.      
  118.               ** = Replace with ONE of the following:
  119.  
  120. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  121. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  122. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  123.                                    (Note:DOOR.SYS must be in SAME directory)
  124. C:\BBS\DOOR.SYS                 <- For systems that support DOOR.SYS
  125. C:\BBS\DORINFOx.DEF             <- For QBBS/RBBS/RA. Replace x with Node #.
  126. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  127. C:\BBS\CHAIN.TXT                <- For WWIV systems 
  128.  
  129.  
  130.            # = Requires registration to change to a different value.
  131.            ! = See "Plays Per Day" Below
  132.            @ = See "Blackout Periods" Below
  133.  
  134.                NOTE: There are NO Blank Lines in the Config File!!
  135.  
  136.  
  137.  
  138.  
  139.       4) Create a batch file or modify the MMAKER file supplied. A
  140.          description of this file follows:
  141.  
  142.             ECHO off
  143.             cd\PCB\DOORS\MMAKER       Location of MatchMaker files
  144.             MMAKER MMAKER.CFG         EXE filename and CFG filename (Name
  145.                                       used in creating file in #3 above)
  146.             CD\PCB
  147.         *   BOARD
  148.  
  149.                * This is for PCboard. Replace with whatever your software
  150.                  requires to return to the BBS
  151.  
  152.        5) When running in more than one node, be sure to supply a
  153.           different configuration name for each node (your choice of name).
  154.  
  155.        6) The maximum number of messages that can exist in the Message
  156.           Database is 10 in the UNREGISTERED version and unlimited in
  157.           REGISTERED version.
  158.  
  159.        7) The maximum number of users that can exist in the User Database
  160.           is 20, in the UNREGISTERED version and unlimited when REGISTERED!
  161.  
  162.  
  163.                          WELCOME Text File (MMWELCOM)
  164.                          ____________________________
  165.  
  166.       To allow you complete flexibility in the way in which you can welcome 
  167.       your callers to the MatchMaker Door, you would use a Text editor to 
  168.       create a freeform file called MMWELCOM. The MMWELCOM file included in the
  169.       ZIP file MUST be used if MatchMaker is NOT registered. In the registered 
  170.       version use of the file is optional.
  171.     
  172.  
  173.    
  174.                      New Questions Bulletin (MMNEWQUE.TXT)
  175.                      _____________________________________
  176.  
  177.       This file is displayed when the Sysop has chosen to clear the current set
  178.       of questions and force the callers to re-answer the new set. You can use
  179.       the default file supplied or create your own. The file name must be 
  180.       called MMNEWQUE.TXT !
  181.  
  182.  
  183.                                BLACKOUT PERIODS
  184.                                ________________
  185.  
  186.       Use the Blackout ranges option to define up to 5 time periods during
  187.       which you DO NOT want the Door to be played. If a caller tries to access 
  188.       the Door during the Blackout period, they will be shown a message that
  189.       contains ALL the Blackout periods you have defined, and to try the Door
  190.       at a later time.
  191.  
  192.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  193.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  194.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  195.  
  196.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  197.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  198.                    a Blackout range.
  199.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  200.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  201.  
  202.  
  203.                               TRASHCAN FILE
  204.                               _____________
  205.  
  206.       This is a text file you must create (if you wish to use one), with
  207.       a file name of MMTCAN.DAT and it must reside in the Door directory.
  208.  
  209.       This file is used if you want to block the use of "offensive" alias'
  210.       callers may choose to use. Each name (up to a maximum of 10 characters
  211.       must appear on a separate line within the text file. 
  212.  
  213.       NOTE: The name must match EXACTLY !!!
  214.  
  215.       This file is valid only with registered versions of the Door
  216.  
  217.  
  218.  
  219.                           PLAYS Per DAY/DOOR Time
  220.                           _______________________
  221.  
  222.       Plays Per Day and Door Time can be controlled several ways:
  223.  
  224.       (1) You can use the Games Per Day, singular option, in the config
  225.           file above. This option, will affect ALL callers whose Security
  226.           Level is NOT defined in any of the 10 optional Security Level/
  227.           Plays Per Day entries in the config file.
  228.  
  229.       (2) You can use the Door Time, singular option, in the config file
  230.           above. This option, will affect ALL callers whose Security
  231.           Level is NOT defined in any of the 10 optional Security Level/
  232.           Plays Per Day/Door Time entries in the config file.
  233.  
  234.       (3) You can restrict the number of games a specific Security Level
  235.           will be allowed to play per day or REWARD specific Levels with 
  236.           more Plays Per Day. 
  237.  
  238.           Likewise, you can restrict the Play time for a specific Security
  239.           Level or REWARD specific Levels with more Door Time.
  240.  
  241.           These options are handled by the use of the 10 config 
  242.           entries (000=00/00). 
  243.           
  244.           The format of each entry is as follows:
  245.  
  246.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  247.                      where =  is a constant and MUST be included
  248.                      where YY is the # of games per day (must be 2 digits)
  249.                      where / is a constant and MUST be included
  250.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  251.           
  252.           If the callers Security Level is NOT defined, his/her Plays Per
  253.           Day and Door Time will be controlled by the values in items
  254.           (1) and (2), above, respectively..
  255.  
  256.           You may define up to 10 Security Levels. All unused entries must
  257.           be defined as   000=00/00
  258.         --------------------------------------------------------------------
  259.           Example: Suppose you had 3 Security Levels defined on your BBS as
  260.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you 
  261.           wanted to set Plays Per Day as :     Subscriber=5
  262.                                            Visiting Sysop=2
  263.                                                   CoSysop=3
  264.                                                    Friend=10 
  265.           
  266.           and Door Time as follows:     Subscriber=30 minutes
  267.                                     Visiting Sysop=20 minutes
  268.                                            CoSysop=10 minutes 
  269.                                             Friend=remaining call time
  270.                                
  271.  
  272.           You would set the Individual "Games per Day" config entry to 1 and 
  273.           the individual "Door Time" to 5 minutes (these would be the 
  274.           default number of games and default Time for all Security Levels
  275.           other than 20,30 or 40... make them any number you want). Next you
  276.           would replace 4 of the Security Level entries as :  020=05/30                                               
  277.                                                               030=02/20
  278.                                                               040=03/10
  279.                                                               090=10/0
  280.  
  281.  
  282.  
  283.  
  284.                            QUESTION FILE(S) SETUP
  285.                            ______________________
  286.  
  287.         MatchMaker has the ability to use 2 question files, one for Male
  288.         and one for Female. The Male question file must be named MMQUESTM.QUE
  289.         and the Female question file must be named MMQUESTF.QUE. The Male 
  290.         file is REQUIRED to be present and the Female file is OPTIONAL. If you
  291.         do NOT want separate question files, DO NOT create the MMQUESTF.QUE
  292.         file. If you do use both, bear in mind that the questions should be
  293.         essentially the same, but may be "slanted" to either sex. You will
  294.         not get many matches if you use entirely different questions and
  295.         answers. A sample MMQUESTM.QUE file is included to get you started.
  296.         
  297.         **You can force existing users to re-answer the questions by using the
  298.           option on the MMAINT menu.
  299.  
  300.         You  may have up to 50 questions.
  301.  
  302.         Each question can be up to 2 lines
  303.  
  304.         Each question can have up to 14 answers.
  305.  
  306.         The following is an explanation of how to set up this file:
  307.  
  308.         38                         <number of questions in this file
  309.         1                          <number of lines in the 1st question
  310.         10                         <number of answers
  311.         How old are you?           <question line 1
  312.         Less than 18 years old     <answer A
  313.         18 - 20 years old          <answer B
  314.         21 - 25 years old          <answer C
  315.         26 - 28 years old          <answer D
  316.         29 - 32 years old          <answer E
  317.         33 - 38 years old          <answer F
  318.         39 - 43 years old          <answer G
  319.         44 - 49 years old          <answer H
  320.         50 - 60 years old          <answer I
  321.         Over 60 years old          <answer J
  322.         2                          <number of lines in the last question
  323.         3                          <number of answers
  324.         "Now honestly, did you tell the whole truth on the"
  325.         "questionnaire, and nothing but the truth so help you God?"
  326.         "Yes, I told the whole truth"
  327.         A few lies never hurt anyone
  328.         I told mostly the truth
  329.  
  330.         In  the  above  example  the first line is the  total  number  of 
  331.         questions contained in the file.
  332.  
  333.         Line 2 is the number of lines in the first question.
  334.  
  335.         Line 3 is the number of answers listed for the question.
  336.  
  337.         Line 4 is the first question in the file.
  338.  
  339.         Lines 5 to 13 are the answers for the first question
  340.  
  341.         The last 7 lines break down as follows:
  342.  
  343.         Line 1 states that this question has two lines.
  344.  
  345.         Line 2 states that there are 3 answers listed
  346.  
  347.         Line 3 is the first line of the question.
  348.  
  349.         Line 4 is the second line of the question.
  350.  
  351.         Line 5 is the first answer.
  352.  
  353.         Line 6 is the second answer.
  354.  
  355.         Line 7 the third and last answer.
  356.  
  357.         A  line,  whether a question or an answer,  must be  enclosed  in 
  358.         quotation  marks  (") if the line contains any punctuation  other 
  359.         then a '?'. (see example files)
  360.  
  361.         The shorter the question the better.  One liners are the 
  362.         best, two liners ok, but three or more becomes tedious.
  363.  
  364.         There are two questions you need not worry about including in the 
  365.         file. These are:
  366.  
  367.                          What is your Sex
  368.                          What is your current age
  369.  
  370.         Since  the program must have these to work correctly,  they are
  371.         asked when you first log on.
  372.  
  373.  
  374.  
  375.  
  376.               MATCHMAKER MAINTENANCE PROGRAM (MMAINT)
  377.               _______________________________________
  378.  
  379.       The Caller Database and Message Database, that MatchMaker utilizes, 
  380.       must be purged periodically. The Caller database can hold an unlimited
  381.       number of callers, and the Message database can hold an unlimited
  382.       number of messages.
  383.  
  384.       After a message is read, it is marked for deletion, but not physically 
  385.       deleted from the database. The maintenance program (MMAINT), when run, 
  386.       will remove all messages marked for deletion, as well as those messages
  387.       that have been on the system longer than the number of days specified on
  388.       the command line, for Events, or requested when run manually.
  389.  
  390.       There are 2 ways to remove a caller form the Callers database. You can
  391.       delete it manually, after searching for & viewing the record or 
  392.       automatically if the door has not been accessed in the number of days
  393.       specified on the command line, for Events or requested when run manually.
  394.  
  395.       The command line required to run MMAINT as an EVENT is as follows:
  396.  
  397.               MMAINT /vvvvvvv.CFG /MDAYS:yy /CDAYS:zzz
  398.  
  399.       The command line required to run MMAINT MANUALLY is as follows:
  400.  
  401.                      MMAINT /vvvvvvv.CFG
  402.  
  403.           vvvvvvv.CFG  =  MatchMaker Configuration FIle
  404.                   yyy  =  Delete message if message is older than yyy days.
  405.                   zzz  =  Delete User if MMAKER not accessed in zzz days.
  406.  
  407.       As you can see, you can run MMAINT in your nightly event and/or manually.
  408.       Just adjust the command line, accordingly.
  409.  
  410.       Special Note: The only option available to Non=Registered users is the
  411.                     option to search/view a caller's record. All other require
  412.                     you to run a registered copy of MatchMaker.
  413.  
  414.  
  415.  
  416.                         NON-STANDARD COM SUPPORT
  417.                         ________________________
  418.  
  419.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  420.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  421.       number after the configuration filename. Let's assume your Door is
  422.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  423.       passed to your Door would be:
  424.  
  425.                             FOOBAR FOOBAR.CFG /5
  426.  
  427.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  428.       normally used with COM1. No /x parameter is needed for the standard
  429.       IRQ's.
  430.  
  431.       As an alternative, you may use an environmental variable on the command
  432.       line. To use the variable (following the example above), place a 
  433.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a 
  434.       different IRQ number for each node). The command line would now look 
  435.       like this: 
  436.  
  437.                           FOOBAR FOOBAR.CFG /%IRQ%
  438.       
  439.       This, in combination with the use of the environmental variables 
  440.       described in the MULTI-NODE SETUP section will allow you to use one 
  441.       batch file and one config file to run this door on all nodes.
  442.  
  443.  
  444.  
  445.  
  446.                            MULTI-NODE SETUP
  447.                            ________________
  448.  
  449.       All Sunrise Doors are Multi-Node capable. Each node must have the 
  450.       ability to access a configuration file which will have its own system 
  451.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first 
  452.       line. There are 2 ways to accomplish this:
  453.  
  454.       (1) Create a separate configuration file for each node. The only 
  455.           difference between each file would be the location of the system 
  456.           file for that particular node. For example, on my system there are 2
  457.           nodes and the first line of the config files would look like this:
  458.  
  459.                         NODE1:  H:\PCB1\DOOR.SYS
  460.                         NODE2:  H:\PCB2\DOOR.SYS
  461.  
  462.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  463.  
  464.       (2) Use ONE configuration file for ALL nodes. This Door will recognize 
  465.           the following PCBoard environmental variables:
  466.  
  467.                  PCBDIR    (Directory containing the System file)
  468.                  PCBDRIVE  (Drive containing the System file)
  469.  
  470.           Thus, the first line of the SINGLE configuration file, for this Door
  471.           would look like this:
  472.  
  473.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  474.  
  475.       NOTE: This option, as described, assumes that you are running PCBoard 
  476.             14.5a software. The environmental variables are automatically 
  477.             created by the software for each node.
  478.  
  479.             HOWEVER, if you are running other BBS software you should be able
  480.             to set the variables EXACTLY as described below, for EACH node 
  481.             (more than likely in each batch file you use to bring up EACH node):
  482.  
  483.                             PCBDRIVE=C:
  484.                             ^^^^^^^^^
  485.                             PCBDIR=\NODE2
  486.                             ^^^^^^^^
  487.             
  488.             Info with a carat (^) under it, MUST be typed as is. The rest 
  489.             depends on your naming conventions. 
  490.  
  491.             This, in combination with the use of the optional environmental
  492.             variable described in the NON-STANDARD COM SUPPORT section, will
  493.             allow you to use one batch file and one config file to run this 
  494.             door on all nodes.
  495.  
  496.  
  497.                               LEGALITIES
  498.                               __________
  499.  
  500.  
  501.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  502.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  503.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  504.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  505.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  506.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  507.       OR BREACH OF ANY WARRANTY.
  508.  
  509.  
  510.  
  511.  
  512.  
  513.                              DISTRIBUTION
  514.                              ____________
  515.  
  516.    You may make this file available for downloading from your BBS or you may
  517.    upload it to any BBS of your choice, provided that you do not make any
  518.    changes to the contents of the archive (ZIP file). The archive and its
  519.    individual contents may not be used by any service that charges any money
  520.    whatsoever, without the written permission of the author.
  521.  
  522.  
  523.  
  524.  
  525.  
  526.                              REGISTRATION
  527.                              ____________
  528.  
  529.    Registration and the subsequent insertion of the registration number into
  530.    your configuation file, allows for the display of your BBS name on the
  531.    opening and closing screen as well as the reduction of a delay built into
  532.    the opening screen display along with the ability to change certain
  533.    values in the configuration file. In addition it will activate certain
  534.    options in the maintenance program.
  535.  
  536.    To register your copy of MatchMaker, please fill out the registration 
  537.    form (REGISTER.FRM) and mail it along with a small donation of $25 to
  538.    the name and address on the form.
  539.  
  540.    Be sure to use the proper upper/lower case when filling in your name and
  541.    BBS name, as they MUST match the way you entered them in the configuration
  542.    file.             ^^^^
  543.  
  544.    Based upon information supplied on the registration form, I will pre-
  545.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  546.    up your registration number.
  547.  
  548.  
  549.  
  550.                                  MISC
  551.                                  ____
  552.  
  553.    The latest version of MATCH MAKER and other fine SUNRISE DOOR programs
  554.    are always available for download from SUNRISE-80 BBS.
  555.  
  556.    Remember, should you have any problems, questions or suggestions, be sure
  557.    to drop me a message on Sunrise-80 or in the RIME network (BBS_Doors, 
  558.    PCBHints, SYSops) or on SMARTNET (SN_Sysops).
  559.