
- BZFLAG SERVER CONFIG HOW TO
- BZFLAG SERVER CONFIG INSTALL
- BZFLAG SERVER CONFIG REGISTRATION
Edit the BZFS config file #List Server Connection# section to include something like the following. A number of tables must be added to the PHPBB3 database to accommodate player tracking These tables can be found here. `user_tokenip` varchar(40) COLLATE utf8_bin NOT NULL DEFAULT , `user_tokendate` int(10) unsigned NOT NULL DEFAULT '0', `user_token` int(10) unsigned NOT NULL DEFAULT '0', The fields are user_token, user_tokendate, and user_tokenip: The PHPBB3 phpbb_user MySQL table must have additional fields created to track the BZFLAG players. Include($phpbb_root_path.'banfunctions.'.$phpEx) Include($phpbb_root_path.'serversettings.'.$phpEx) Include($phpbb_root_path.'includes/utf/utf_normalizer.'.$phpEx) Include($phpbb_root_path.'includes/utf/utf_tools.'.$phpEx) Include($phpbb_root_path.'includes/functions.'.$phpEx) $phpbb_root_path = '/usr/share/phpbb3/www/' The following lines were changed to accomplish this (linux example): For ease of setup, bzfls.php was edited to house files in the "main" PHPBB3 folder (ex: /usr/share/phpbb3/www/). SELECT g.group_id FROM phpbb_user_group ug, phpbb_groups g WHERE g.group_id=ug.group_id AND ug.user_pending=0 AND ug.user_id = $playerid") SELECT g.group_id FROM bzbb3_user_group ug, bzbb3_groups g
Edit/Replace them as necessary to match the table prefix you used for YOUR phpbb3 MySQL tables: To find them, search bzfls.php for "bzbb3_" (as seen in the code sample below). These MySQL table names may conflict with YOUR table names.
BZFLAG SERVER CONFIG REGISTRATION
There are many places in the bzfls.php file that are customized to the MySQL tables names used in the official BZFlag Global Registration Server. Note that this example assumes that the same database used by bzfls.php is also used by the PHPBB3 installation: Edit serversettings.php such that it can connect to your PHPBB3 MySQL database. In the "main" PHPBB3 folder, (ex: /usr/share/phpbb3/www/), place the following THREE files found in the SVN DB Repository ( ):. BZFLAG SERVER CONFIG INSTALL
Install PHPBB3 on a web server, configure settings, test that users can REGISTER to the PHPBB3 board.Make sure clients can connect and play the game. There are multiple points of failure during this process. While no particular step in this process is overly difficult, there are many steps, and many interactions between steps. This article was written using Windows clients to access both the game server and the private List Server.This article was written using Linux for the BZFS server.
BZFLAG SERVER CONFIG HOW TO
This article assumes the server admin understands how to perform basic editing of PHP code.This article assumes the private List Server will use the same database as PHPBB3.This article assumes the server admin understands how to download and install PHPBB3.This article assumes the server admin has access to web hosting with MySQL and PHP.This article assumes the server admin understands how to set up a BZFS groups file (see Sample Group File).This article assumes a working BZFS server is already in place and has been tested.