This wiki is archived and useful information is being migrated to the main bzflag.org website

Editing BZFS 2.4 Upgrade

Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: Archived wiki

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
Stub for BZFS 2.0.x to 2.4 server upgrade path
 
Stub for BZFS 2.0.x to 2.4 server upgrade path
 +
 +
==TODO==
 +
 +
* document r21903
 +
** should not change for well defined groups
 +
** may change behaviour if the group definitions were wrong
  
 
==Overview==
 
==Overview==
Line 17: Line 23:
 
* '''-offa''' selects teamless free-for-all game style
 
* '''-offa''' selects teamless free-for-all game style
 
* '''-time''' can specify end time for timed games
 
* '''-time''' can specify end time for timed games
* '''-noTeamKills''' can remove teamkilling possibilities from the map
 
* Groups can now be referenced in the groupdb before they are defined
 
  
 
==Getting your server listed on the server list==
 
==Getting your server listed on the server list==
Line 49: Line 53:
 
You need to provide the key value to the bzfs server option '''''-publickey''''' like this
 
You need to provide the key value to the bzfs server option '''''-publickey''''' like this
  
  $ bzfs -publictitle "Map name goes here" -publickey 1234567890123456789  
+
  $ bzfs -public "Map name goes here" -publickey 1234567890123456789  
  
 
The '''''-publicaddr''''' and '''''-p''''' parameters have not changed from 2.0.x and are used to  
 
The '''''-publicaddr''''' and '''''-p''''' parameters have not changed from 2.0.x and are used to  
Line 64: Line 68:
 
==BZFlag server commandline option changes==
 
==BZFlag server commandline option changes==
  
=== Removed options ===
+
=== Options no longer supported ===
 
* Local password databases are no longer supported for authentication
 
* Local password databases are no longer supported for authentication
 
** '''-passdb''' has been removed as a command line option
 
** '''-passdb''' has been removed as a command line option
Line 70: Line 74:
 
** '''-requireudp''' has been removed as a command line option
 
** '''-requireudp''' has been removed as a command line option
  
=== Changed options ===
+
=== Command line options changes ===
 
* The option for specifying the map name on the server list has changed
 
* The option for specifying the map name on the server list has changed
 
** '''-public''' changed to '''-publictitle'''
 
** '''-public''' changed to '''-publictitle'''
Line 76: Line 80:
 
** '''-time''' now takes either the number of seconds or an end time as an option (format hh:mm or hh:mm:ss)
 
** '''-time''' now takes either the number of seconds or an end time as an option (format hh:mm or hh:mm:ss)
  
=== New options ===
+
=== New commandline options ===
* Ability to turn off teamkilling for a map
+
** '''-noTeamKills''' added as an option to prevent players from dying from each other.
+
 
* New game mode for teamless free-for-all
 
* New game mode for teamless free-for-all
 
** '''-offa''' added as an option to select this mode
 
** '''-offa''' added as an option to select this mode
Line 85: Line 87:
 
* Public keys are required to have your server included on the BZFlag server list
 
* Public keys are required to have your server included on the BZFlag server list
 
** '''-publickey''' is used to specify your key. See [[BZFS_2.4_Upgrade#Getting your server listed on the server list|Getting your server listed on the server list]] for details
 
** '''-publickey''' is used to specify your key. See [[BZFS_2.4_Upgrade#Getting your server listed on the server list|Getting your server listed on the server list]] for details
 
==Server Groups==
 
With this release BZFlag groups defined in the ''groupdb'' can now be referenced before they are defined.
 
 
Permissions provided by existing server groups will work with no modifications as long as no forward references to
 
groups exist in your ''groupdb''.
 
 
If your group files reference other groups that were not yet defined the permissions provided by
 
those forward-referenced groups will now be granted to your group members.
 
 
We recommend that you review your server ''groupdb'' settings.
 
 
 
An example
 
 
<pre>
 
group1: *group2 +spawn
 
group2: +talk
 
group3: *group2
 
group2: +poll
 
</pre>
 
 
In 2.0 the "*group2" statement in line one would have been ignored because group2 was not yet defined. Also line 4 would have been ignored becaused group2 was used as a reference in line 3.
 
Now in 2.4 these aren't errors anymore, so while in 2.0  the resulting perms are:
 
 
group1: spawn<br />
 
group2: talk<br />
 
group3: talk<br />
 
 
they are in 2.4
 
 
group1: spawn talk poll<br />
 
group2: talk poll<br />
 
group3: talk poll<br />
 
 
If bzfs didn't warn (with -d) about bad group references or skipped lines in 2.0 your groupdb file should work the same way in 2.4. Else you should have a look on it or expect unexpected effects.
 
 
[[Category:Server]]
 

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)