summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2013-01-13 15:37:53 +0400
committerAndrey Nazarov <skuller@skuller.net>2013-01-13 15:37:53 +0400
commit04a19eb8b31e7a50200bbbe38535d74ba3e92b1f (patch)
treeb23be4cd276626a5bfbed0594de60a00f1261992 /doc
parenta9ebb23c4084b12e4eed1a8df658825c0a7b5042 (diff)
Make dummy MVD client optional (server side).
Add ‘sv_mvd_spawn_dummy’ variable. Spawn dummy client by default only when game mod advertises support for MVD. Fix a memory leak when dummy MVD client is rejected by game mod. Properly push the last server command sent to all GTV clients before they are dropped due to fatal error or server shutdown.
Diffstat (limited to 'doc')
-rw-r--r--doc/server.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/server.txt b/doc/server.txt
index cc8d4b6..6384d59 100644
--- a/doc/server.txt
+++ b/doc/server.txt
@@ -315,7 +315,8 @@ sv_mvd_nomsgs::
When enabled, MVD/GTV spectators in chasecam mode will not receive any text
messages routed to their chase targets (which are normally on a team), but
will receive messages routed to the dummy MVD observer. Default value is 1
- (enabled).
+ (enabled). This variable is only effective when dummy client is spawned,
+ see ‘sv_mvd_spawn_dummy’ variable description for more information.
sv_mvd_maxtime::
Maximum duration, in minutes, of the locally recorded MVD. Default value
@@ -340,7 +341,7 @@ sv_mvd_scorecmd::
This command is issued on behalf of dummy MVD observer each time no layout
updates are detected for more than 9 seconds. Useful for reopening the
scoreboard if the game mod closes it for some reason. MVD observer has
- it's own command buffer and each ‘wait’ cycle lasts 100 ms there. Default
+ its own command buffer and each ‘wait’ cycle lasts 100 ms there. Default
value is "putaway; wait 10; help;".
sv_mvd_suspend_time::
@@ -349,6 +350,18 @@ sv_mvd_suspend_time::
Setting this to zero disables server side suspending entirely. Default
value is 5.
+sv_mvd_disconnect_time::
+ Dummy MVD observer is disconnected after this period of time, in minutes,
+ counted from the moment last GTV client disconnects or becomes inactive.
+ Setting this to zero makes dummy client persistent. Default value is 15.
+
+sv_mvd_spawn_dummy::
+ Specifies if dummy MVD observer needs to be spawned. Default value is 1.
+ - 0 — never spawn dummy client
+ - 1 — only spawn if game mod advertises support for MVD
+ - 2 — always spawn dummy client
+
+
MVD/GTV client
~~~~~~~~~~~~~~