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

Editing Recordmatch

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:
Recordmatch is a standard [[Plug-ins|plug-in]] that is shipped with the [[BZFlag Source|source code]].  It allows for match games, such as league matches, to be recorded onto the server to be replayed later.  It will automatically record when a game (match) is started, and it will record with a filename given by the current date and time. Recordmatch is included in [[BZFlag 2.0.6|v2.0.6]] and later releases.
+
If you run a match server or a server with countdown you have to use all the time '''/record'''... It you load the plugin, you dont need that. The plugin is recording automatically the match.
  
==Usage==
+
'''1.'''
Before trying to use this plug-in, [[Replay_Server#Recording_Setup|configure]] bzfs to support recording.
+
'''Add''' in your '''config''' option '''-loadplugin patch/to/recordmatch.dll'''    '''or''' use   '''/loadplugin patch/to/recordmatch.dll'''.
  
When the recordmatch plug-in is loaded, it waits for a match game to be started. When a game is started, it will create a new file to store the recording, named with the current date and time. When the game is ended, it will stop recording and close the file. The plug-in is loaded in the same way as any other and takes no parameters:
+
'''2.'''
 +
Start the match (Use /countdown)
  
-loadplugin "/path/to/the/plugin/recordmatch"
+
'''3.'''
 +
Just '''play''' the '''match'''. '''The plugin''' is '''recording''' the '''match'''.
  
or with the in game commands if the server is already running:
 
  
/loadplugin "/path/to/the/plugin/recordmatch"
+
The records are '''saved under'''
 +
e.g.: '''match-20080824-211216'''                                                          The Match was '''saved at 24.08.2008 at 21:12:16'''
  
The "-loadplugin" syntax is used in the [[sample conf|server configuration]] file or at the command line when invoking a game [[BZFS|server]].
 
  
Be sure that you have in the configuration file:
 
* -time X (Where X is the number of seconds of a match)
 
* -timemanual
 
  
==Commands==
 
For most match servers for leagues the players will have the following commands:
 
  
* /countdown "Will start the match"
 
* /gameover    "Will end the match immediately.
 
* /timelimit X  "Allows player to change the time limit to X, where X is the number of seconds"
 
  
==History==
+
If you '''want to see the match''' use at your replay server '''command /replay'''
The BZFS API was changed in the development of [[BZFlag 2.0.6|v2.0.6]] to allow for recordings to be started. Recordmatch is the first plug-in to use the newly-added capability.
+
 
+
 
+
[[Category:Plug-Ins]]
+

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)