User Tools

Site Tools


Sidebar

B3 Homepage


Main Links


Support Subjects


Related Links


This wiki was updated recently and all user accounts were reset. If you want to contribute to this documentation wiki drop me an email at xlr8or[at]bigbrotherbot[dot]net.

installation:running_b3

Phase 3: Running B3

Running B3

You can run B3 from the command line when you've installed it as a source install or python egg.

  1. Open a command shell or linux screen session.
  2. Change to the B3 install directory
  3. Run b3_run.py specifying your config file:

python ./b3_run.py -c /home/b3/conf/b3.xml

Command line options for running B3

python ./b3_run.py

Can be extended with these options:

-c, --config <path/configfile>

Running B3 specifying a specific config file. This option enables running B3 from one install for multiple gameservers when supplying different config files.

-r, --restart

This option will restart the bot after a shutdown or error.

-s, --setup

This option will run the B3 config wizard, prompting you for the config options and saving the config file in a proper xml format.

-n, --nosetup

This setup will NOT initiate the configwizard when running B3 while the config file is missing. This option is only of interest when running B3 in a scripted environment (ie. for GSP's).

Is B3 running properly?

A normal startup procedure will first check if a new version of B3 is available, in this case, we're running the latest version.

After a few seconds it will start up all functions of the bot and try to connect to its dependencies like the gamelog (on q3a based games) or the gameserver (on BFBC2 servers) and it will connect to the database.

The screen above indicates that B3 is running properly. It might however fail and tell you what is going wrong. See the common errors or the FAQ if something went wrong.

installation/running_b3.txt · Last modified: 2010/05/27 00:00 (external edit)

Page Tools