BogusHTML Installation

BogusHTML Installation Instructions

BogusHTML will ONLY run on BogusTrivia 2.06.3+. Locate the installation instructions below which correspond to your current situation. It is recommened you read all the included documentation in both BogusTrivia and BogusHTML prior to any installation. If your upgrading from a previous version it is recommended you back up your existing BogusTrivia installation.

Important BogusHTML Shell Setup Notes
  1. Be sure to setup your Web Space per your Shell Provider's instructions.
    Most shell accounts include web space. Make note of your url. The common shell account web site is http://your.shellbox.net/~yourlogin/
  2. You need to set the following Permissions on your root & public_html directories:
    a.  you have to chmod 755 on public_html.
    b.  you have to chmod 711 on your home directory. (this directory could be called home or your login name).
    c.  you have to chmod 700 on eggdrop (or whatever you have named your bot folder.)
  3. Log into you shell. At the prompt use the commands below to create you html directory and set file permission.
    Examples:
    Creating the Directory
    makdir public_html

    Setting File Permissions
    chmod -R 755 public_html
    chmod 711
    chmod 700 eggdrop (or your bots directory name)
New Installation
  1. Unzip the contents of BogusTrivia to your computer.
  2. Unzip the contents of BogusHTML to your computer.
  3. Open the t-2.settings.tcl and set your channel & game options.
  4. Open the t-2.html.tcl to change output page settings.
  5. Upload the following files to your bot's /scripts directory:
    • t-2.settings.tcl
    • t-2.tcl
    • t-2.commands.tcl
    • bogus.ques.sample
    • t-2.html.tcl
    • default.css
    • index.html
    • active.html
    • ever.html
    • history.html
    • xhistory.html
  6. Restart Your Bot.
  7. Add Questions to Create the Database
    Using the /msg command, message your bot with one of the .add commands.
    .add is sufficient if you're adding the included question file or files with *triv* in the filename. Follow the message window as the script will ask for user input. It has you verify by showing 3 examples from the file you're adding. You will need to answer yes or no {or: y or n}.
    Note: If you are adding multiple question files and you're sure they're all the same format, you may answer using yes all {or: y a}.
    the script provides error correction and creates a file called t2.badqes, these are broken q&a and may later be edited or discarded as you wish.
  8. Mix the Question Database using one of the Mix Commands:
    The default .mix will mix the question & kaos files 4 times.
    Note: Extra large databases may not mix well and stall the bot. This is NOT a BogusTrivia issue. The issue occurs when mixing large databases causes your bot to exceed your shells process load limit.
  9. Starting the Game
    The command to Start & Stop the Trivia is now optional. The default On|Off triggers are .t2|.t2off and may be changed to anything you like in the t-2settings.tcl This is a public command used in the channel and you may set user access by flags in the t-2.settings.tcl to minimize abuse.

A new installation will have no stats available until players have played and the first timed save you set in your t-2settings.tcl occurs.

Upgrade Installation with BogusTrivia 2.06.3.2 Installed
  1. Backup your existing t2 folder
  2. Unzip the contents of BogusHTML to your computer.
  3. Open the t-2.html.tcl to change output page settings.
  4. Upload the following files to your bot's /scripts directory:
    • t-2.html.tcl
    • default.css
    • index.html
    • active.html
    • ever.html
    • history.html
    • xhistory.html
  5. Restart Your Bot.
  6. Use the /msg command to make your new html pages with the following commands.
    /msg botnick .makex
    This command creates the extended history pages per your settings in the t-2html.tcl
    /msg botnick .make
    This command creates your standard web pages using the new templates.
  7. Restart Game Play:
  8. View your pages with the URL supplied by your Shell Provider
Upgrade Installation with a Previous Version of bogustrivia 2.06.* Installed

Installation Upgrades for Any Version of BogusTrivia prior to 2.06.3.2 requires All NEW files.

  1. Backup your existing t2 folder
  2. Unzip the contents of BogusTrivia 2.06.3.2.zip to your computer.
  3. Unzip the contents of BogusHTML to your computer.
  4. Open the t-2.settings.tcl and set your channel & game options.
  5. Open the t-2.html.tcl to change output page settings.
  6. Upload the following files to your bot's /scripts directory:
    • t-2.settings.tcl
    • t-2.tcl
    • t-2.commands.tcl
    • t-2.html.tcl
    • default.css
    • index.html
    • active.html
    • ever.html
    • history.html
    • xhistory.html
  7. Restart Your Bot.
  8. Use the /msg command to make your new HTML pages with the following commands.
    /msg botnick .makex
    This command creates the extended history pages per your settings in the t-2html.tcl
    /msg botnick .make
    This command creates your standard web pages using the new templates.
  9. Restart Game Play
  10. View your pages with the URL supplied by your Shell Provider
Support This Site