home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / pjt14c.zip / TRIVIA.DOC < prev    next >
Text File  |  1994-09-01  |  20KB  |  470 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.      _____________________________________________________________________
  19.  
  20.  
  21.  
  22.  
  23.                             Plain Jane Trivia v1.4c
  24.                                        
  25.                                   Written by
  26.  
  27.                                  Rob Williams
  28.                                  WCS Software
  29.  
  30.  
  31.  
  32.      _____________________________________________________________________
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.                               Table of Contents
  54.                               -----------------
  55.  
  56.      Copyright Notice...................................................  1
  57.  
  58.      Warranty...........................................................  1
  59.  
  60.      Features of Plain Jane Trivia......................................  2
  61.  
  62.      Files used in the program..........................................  3
  63.  
  64.      Setting up Plain Jane Trivia.......................................  4
  65.  
  66.      Setting up Plain Jane Trivia for Multinode Play....................  4
  67.  
  68.      Playing the game...................................................  5
  69.  
  70.      Make-Up Days Explanation...........................................  6
  71.  
  72.      Special Keys.......................................................  7
  73.  
  74.      Support............................................................  8
  75.  
  76.      Registering Plain Jane Trivia......................................  8
  77.  
  78.      Acknowledgements...................................................  9
  79.  
  80.  
  81.                           
  82.                             Copyright Notice
  83.                             ----------------
  84.  
  85.      This door game is distributed under the SHAREWARE concept.  This
  86.      concept gives you the chance to "try before you buy", and see if it
  87.      meets your needs.  
  88.  
  89.      I've decided to break away from the standard "30 day trial period"
  90.      that many door authors are using and instead go to a much simpler 
  91.      and more realistic policy. This is simply; Try it on your BBS.
  92.      If you like it and your users like it, then register it.  If it's not 
  93.      good enough to register, then delete it.  
  94.  
  95.      While I'd like you to register my doors as soon as possible, I'm also 
  96.      realistic enough to know that different boards have different requirements
  97.      and interests, and sometimes it takes longer befor a game catches on, or a
  98.      sysop can get to the Doors on his list to register.  And frankly, I'd 
  99.      rather you ran it for awhile and register, than try it for a short 
  100.      period of time and delete it. Nobody wins that way...I lose out on a 
  101.      registration and your users lose out on the chance of having the 
  102.      registered door to play.
  103.  
  104.      Once registered, you will also be allowed to use other functions in the
  105.      TRIVEDIT program.  Registration is good for any future versions of the
  106.      product.
  107.  
  108.      As a shareware  program, Plain Jane Trivia  may be freely 
  109.      distributed.  Shareware distributors may distribute copies of Plain
  110.      Jane Trivia on disk for a modest disk duplication charge not to exceed
  111.      $4 per disk.
  112.  
  113.  
  114.  
  115.                                     Warranty
  116.                                     --------
  117.  
  118.      Plain Jane Trivia is distributed on as as is basis.  In no event will
  119.      Rob Williams or WCS Software be liable to you for damages, including 
  120.      any loss of profits, lost savings, or other incidental or  
  121.      consequential damages arising out of your use of or inability to use 
  122.      this program, even if Rob Williams, WCS Software, or an authorized 
  123.      representative has been advised of the possibility of such damages.  
  124.      Rob Williams and WCS Software will not be liable for any such claim 
  125.      by any other party.
  126.  
  127.  
  128.                       Features of Plain Jane Trivia
  129.                       -----------------------------
  130.  
  131.      Assembly language serial input/output routines for maximum speed.
  132.  
  133.      Fully supports high speed modems: 16550 FIFO buffering and locked
  134.      serial ports.
  135.  
  136.      Built in ANSI terminal emulator.  No need to have ANSI.SYS loaded in
  137.      memory.
  138.  
  139.      DesqView, Windows, and OS/2 aware.
  140.  
  141.      Supports all of the most popular door data file formats:
  142.      TriBBS, PCBoard, GAP  (DOOR.SYS), Spitfire, WildCat!,  RBBS, and WWIV.
  143.  
  144.      ANSI and ASCII Bulletins of high scorers.
  145.  
  146.      Automatic monthly maintenance with no intervention from the Sysop.
  147.  
  148.      Ability to enter, edit, print, import and export questions from the
  149.      database. (some features in registered version only)
  150.  
  151.      Supports play ahead and make up days when registered.  This is
  152.      completely sysop configurable.
  153.  
  154.      Now Plain Jane Trivia is Multinode Aware!
  155.  
  156.  
  157.                          Files used in the Program
  158.                          -------------------------
  159.  
  160.      TRIVIA.EXE    -   The main trivia program
  161.  
  162.      TRIVEDIT.EXE  -   The user/question maintenance program
  163.  
  164.      REGISTER.FRM  -   Information on registration
  165.  
  166.      QUESTION.DAT  -   Question database
  167.  
  168.      SAMPLE.CFG    -   Sample configuration file
  169.  
  170.      SAMPLE.BAT    -   Sample batch file to run PJT
  171.  
  172.      HISCORE.DAT   -   Created when the program runs-contains hi score info
  173.  
  174.      USER.DAT      -   Created when the program runs-contains user info
  175.  
  176.      TRIVIA.KEY    -   Key file for registered versions
  177.  
  178.      TRIVIA.USE    -   Created when the game is running, will be deleted
  179.                        when the user exits normally.  
  180.      
  181.      ************************************************************************
  182.      ** IMPORTANT - The game will not run if this file (TRIVIA.USE) exists **
  183.      ************************************************************************
  184.  
  185.      TRIVIA.HLP    -   Help file for the game.  When the Instructions option
  186.                        is selected, this file is displayed.  You may edit
  187.                        this file if you wish.  It is a plain ASCII text file.
  188.  
  189.      TRIVIA.HIS    -   History of the product.  Shows what enhancements were
  190.                        made in what version.
  191.  
  192.      WCSINFO.TXT   -   A text file explaining more about WCS Software and 
  193.                        showing all currently available WCS Software programs.
  194.  
  195.      READ.ME       -   A brief text file explaining how to get up and running
  196.                        quickly.
  197.  
  198.  
  199.                       Setting up Plain Jane Trivia
  200.                       ----------------------------
  201.  
  202.      Plain Jane Trivia is run by  entering a command similar to the
  203.      following:
  204.       
  205.      TRIVIA TRIVIA.CFG
  206.  
  207.      The configuration file can have any name you choose, but it must
  208.      reside in the same directory as the door.  The configuration file is
  209.      an ASCII text file with the following format:
  210.  
  211.      Line 1:   Door data file type.
  212.      Line 2:   Path to the door data file(s).
  213.      Line 3:   BBS name.
  214.      Line 4:   Sysop's name.
  215.      Line 5:   Locked baud rate.
  216.      Line 6:   ASCII High Score Bulletin Name
  217.      Line 7:   ANSI High Score Bulletin Name
  218.      Line 8:   Number of Questions per day (a number between 5 and 30)
  219. *    Line 9:   Number of extra days allowed for make up days
  220. *    Line 10:  Day to start playing make up days-31 to disable
  221.      Line 11:  Write log file (YES or NO)
  222. *    Line 11:  Line to display a message (donated by, etc)
  223.  
  224.      Lines with a "*" to the left indicate features only present in the
  225.      registered version of the program.  *** The lines must be present,
  226.      even if the door is not registered. ***
  227.  
  228.      As illustrated above, the door's data file type is specified in line 1
  229.      and can be PCB for PCBoard, GAP for GAP (DOOR.SYS), SF for Spitfire,
  230.      RBBS for RBBS, WC for WildCat!, TRIBBS for TriBBS, or WWIV for WWIV. 
  231.      The locked baud rate is specified in line 5.  If you don't lock your
  232.      serial port, you must specify 0 for the locked baud rate.  
  233.      The following is a sample door configuration file:
  234.  
  235.      WC                             <== BBS Type
  236.      C:\WC30\WCWORK\NODE1           <== Drop file location
  237.      WCS Software BBS               <== BBS Name
  238.      Rob Williams                   <== Sysop Name
  239.      0                              <== Locked baud rate
  240.      C:\WC30\BULL\BULL10.BBS        <== ASCII bulletin
  241.      C:\WC30\BULL\BULL10.SCR        <== ANSI bulletin
  242.      10                             <== # of questions per day
  243.      2                              <== Extra days allowed for make up days
  244.      10                             <== Day to start make up days
  245.      YES                            <== Write a log file (TRIVIA.nodenumber)
  246.      By WCS Software                <== Donated by line
  247.      ************************************************************************
  248.      ** IMPORTANT - Even if the game is not registered, the last  three    **
  249.      ** lines must exist, or the game will not run.  You will get an error **
  250.      ** when the game starts up.                                           **
  251.      ************************************************************************      
  252.      Plain Jane Trivia can be run locally without a door data file (handy
  253.      for the sysop to use the door without logging on to the BBS) by
  254.      specifying /L after the  configuration  file  parameter in  the  DOS 
  255.      command line.  PJT will request you to enter your name before running
  256.      the door.
  257.  
  258.      To play the game in Multiuser mode, you must have a registered multinode 
  259.      copy,and DOS SHARE must be loaded.  If these two things are not done,  
  260.      the game will display a message if you try to run multinode.
  261.  
  262.      Nonstandard IRQs can be used by specifying the IRQ number after the 
  263.      "config" parameter in the command line used to run the door as
  264.      follows:
  265.  
  266.      TRIVIA TRIVIA.CFG 4
  267.  
  268.  
  269.               Setting up Plain Jane Trivia for Multinode Play
  270.               -----------------------------------------------
  271.  
  272.     In order to set Trivia up for multinode play, you need to create a
  273.     .cfg file for each node that will be using the game.  The .cfg files
  274.     will be similar, except that lines 2 and possibly 5 will be different.
  275.     Line 2 is the location of the door drop file.  This needs to be unique
  276.     for each node that runs the game.  Line 5 is the locked baud rate for
  277.     the node.  If you have nodes that are locked at different rates, then
  278.     this line may be different for different nodes.  For example, the
  279.     configuration file for node 1 (TRIVIA.CF1) might look like this:
  280.  
  281.       GAP
  282.       H:\WILDCAT\WCWORK\NODE1     <=== Notice this is the node 1 directory
  283.       Williams Computer Services BBS
  284.       Rob Williams
  285.       19200
  286.       [etc].....
  287.  
  288.     And the configuration file for node 2 (TRIVIA.CF2) might look like this:
  289.  
  290.       GAP
  291.       H:\WILDCAT\WCWORK\NODE2     <=== Notice this is the node 2 directory
  292.       Williams Computer Services BBS
  293.       Rob Williams
  294.       19200
  295.       [etc].....
  296.  
  297.     You will also need to set an environment variable to tell the program
  298.     what node it is currently running on.  Since I run Wildcat, I call
  299.     this variable WCNODEID.  In my .BAT file that calls the BBS, I set the
  300.     WCNODEID to whatever node is running.  You can use wahtever name you
  301.     wish, it just needs to be a unique node ID.
  302.  
  303.     Next, in the batch file that calls PJT, you would change the sample.bat
  304.     that is included with this archive to look like this:
  305.  
  306.        CD\TRIVIA               
  307.        TRIVIA TRIVIA.CF%WCNODEID%
  308.  
  309.     What this will do, is when the game is started, it will look for the
  310.     WCNODEID (or whatever you called it), and append that to TRIVIA.CF.  So
  311.     when the game runs, and you run it from node 1 say, it will use .cfg file
  312.     TRIVIA.CF1.
  313.  
  314.     Hopefully, I have not totally confused you on how to set the door up for
  315.     mult-node use.  If you have questions on environment variables, refer
  316.     to your DOS manual.
  317.  
  318.    **************************************************************************
  319.    ** Running this game on more than a single node requires a Multi-Node   **
  320.    ** Key.  When running in Evaluation mode, only one (1) Node will be able**
  321.    ** to access the door at a time.                                        **
  322.    **************************************************************************
  323.  
  324.  
  325.  
  326.                             Playing the Game
  327.                             ----------------
  328.      Plain Jane Trivia was named that for a reason.  It is VERY simple
  329.      to play.  When you go into the door, you will see an opening screen,
  330.      wait for you to press a key, then show you the main menu.  From here,
  331.      there are four options.  P will take you to the playing screen, H will
  332.      show you the high score list, I will show you a help file for playing
  333.      the game, and Q will return you to the BBS.
  334.  
  335.      When the play option is chosen, it will take you into the playing
  336.      screen.  There are three menu options that can be chosen at any time.
  337.      R for redraw the screen, H for viewing the high score bulletin, and
  338.      Q to quit the current game.  After quitting, if the game is registered,
  339.      and it is past the extra day set up in the .cfg file, and you have
  340.      not played too many games (as set in the .cfg file), you will be asked
  341.      if you want to play make-up days.  (how is that for a run-on sentence?)
  342.      If you answer no, you will be asked if you want to view the high scores.
  343.      If you answer no to this, you will be returned back to the BBS.
  344.  
  345.      When a question appears, all you need to do is press the answer you
  346.      think is correct, and it will tell you if you were right or not, and
  347.      then display another question.  When you have answered the maximum
  348.      number of questions (as determined in the trivia.cfg file), if make up
  349.      days are enabled and you have not played too many times today, you will
  350.      then be asked if you want to play make up days.  If you say yes, you
  351.      will see a screen showing what days are available for you to play.
  352.      Choose a day and press enter, or choose 99 to exit.  After finishing
  353.      playing, you will be asked if you wish to view the high scores.  After
  354.      viewing the high scores, you will then see a screen while it is writing
  355.      the bulletin, and then be returned to the BBS.  Pretty simple!
  356.  
  357.      The first time a player plays the game each month, the system will
  358.      automatically reset the player and question statistics.  The player
  359.      statistics are the number of questions attempted, and the number of
  360.      correct guesses.  The question statistics are the number of times that
  361.      question has been asked, and the number of correct answers.  The high
  362.      score table will also be reset, and the last months hi scorer and all
  363.      time hi scorer will be recomputed.  This process should not take more
  364.      than a few seconds, and is automatic, so no intervention from the Sysop
  365.      is necessary.
  366.                            
  367.                            Make-Up Days Explanation
  368.                            ------------------------
  369.  
  370.      The make up days feature warrants a little more explanation here.
  371.      When the game is registered, after you have played your game for today,
  372.      it will check to see if make up days has been enabled (start day < 31).
  373.      If today is greater than the start day, and the total number of days you
  374.      have played is not greater than what was specified in the .cfg file, it
  375.      will ask you if you want to play a make up day.  It will then show a
  376.      calendar of days for the current month.  Days that you have played will
  377.      show up in red with an x, playable days will show up in green with an o.
  378.      Choose a valid date (one with an o, within the current month), and you
  379.      will start another days game.  If you changed your mind and do not want
  380.      to play a make up day, enter 99, and you will be asked if you want to
  381.      view the high scores, then be returned to the BBS.
  382.                             
  383.                               Special Keys
  384.                               ------------
  385.                                     
  386.      While PJT is running, the sysop can press certain special keys to
  387.      perform a variety of functions.   The following is a list of the
  388.      functions that the special keys perform:
  389.  
  390.      Key(s)              Function
  391.  
  392.      HOME                Toggles between the user  status window and a help
  393.                          display that lists the special keys.
  394.  
  395.      F6                  Takes 5 minutes away from the caller.
  396.                          NOTE:  This will NOT be returned to BBS.
  397.  
  398.      F7                  Gives 5 minutes to the caller.
  399.                          NOTE:  This will NOT be returned to the BBS.
  400.  
  401.      F9                  Quit the door and return the caller to the BBS.
  402.  
  403.      F10                 Enter  chat mode.  Pressing the  ESC key exits the
  404.                          chat mode.
  405.  
  406.      Alt+D               Drop to DOS.
  407.  
  408.                                  
  409.                                 Support
  410.                                 -------
  411.  
  412.      If you have problems, I will try and help as best I can, whether you
  413.      are registered or not.  Registered users will get priority over non-
  414.      registered users, though.  You may get help with problems by calling 
  415.      Williams Computer Services BBS at (503) 631-8439, or by writing to 
  416.      the author at the following addresses:
  417.  
  418.      FIDO                      : 1:105/278
  419.  
  420.      US Mail:
  421.  
  422.           Rob Williams
  423.           18370 S. Henrici Road
  424.           Oregon City, OR 97045
  425.  
  426.  
  427.                       Registering Plain Jane Trivia
  428.                       -----------------------------
  429.  
  430.      Registration of Plain Jane Trivia is only $15.00 for single node
  431.      or $17.00 for Multi-Node.   Please use the form in the file 
  432.      REGISTER.FRM.   When  you register,  you will receive a registration 
  433.      key that will turn your version into a registered version.
  434.  
  435.      Registered users will have access to the special area of the support
  436.      BBS for additional questions, and also be able to add new questions,
  437.      edit questions and users, print questions and users, and import and
  438.      export questions.
  439.  
  440.                             Things to Come
  441.                             --------------
  442.         - Additional questions
  443.         - Any user requested features
  444.  
  445.         ***** ALL UPDATES ARE FREE FOR THE LIFE OF THE PROGRAM *****
  446.  
  447.                             Acknowledgements
  448.                             ----------------
  449.  
  450.  Thanks go to the following people/companies (Listed in no particular order):
  451.  
  452.           - Mustang Software for creating Wildcat!
  453.           - Randy Hunt and Mark Goodwin for creating RMDoor which was used
  454.             to create this game.
  455.           - Mike Jordan for his help with some of the routines, and for the
  456.             idea of the make up days, and also help in testing, and his help 
  457.             in helping me get started in door programming.
  458.           - Marcus and Ronda Eikenberry for their help in testing and finding
  459.             a few stubborn bugs.
  460.           - Bob Ainsbury for creating the Turbo Technojock Toolkit, and not
  461.             crippling it.  This toolkit was also used for the TRIVEDIT
  462.             program.
  463.           - Gayle Davis and all the people that have contributed to the 
  464.             SWAG archives.  I have used various snippets from those
  465.             archives, as well as them giving me good ideas on how to
  466.             proceed next.  Thank you.
  467.  
  468. There are probably more people that I have forgotten, but these have been
  469. the most instrumental in the writing of this program.
  470.