Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-10-26 21:08:12 +0000
committerStijn Buys <ingar@osirion.org>2010-10-26 21:08:12 +0000
commit75c6db097b990e58b4b2585580a89561c838d923 (patch)
tree8c913bdc531ea9a76dcaa9e10a65763f95fa55e4 /src/core/application.cc
parent23c7d2c11170ee8736673e82a88e87a3d2e538f7 (diff)
updated network protocol version to 20, implemented invemtory depletion, unified depletion with keepalive
Diffstat (limited to 'src/core/application.cc')
-rw-r--r--src/core/application.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/application.cc b/src/core/application.cc
index 1d7ded2..f21dcad 100644
--- a/src/core/application.cc
+++ b/src/core/application.cc
@@ -110,9 +110,6 @@ void Application::init(int count, char **arguments)
Cvar::sv_private = Cvar::get("sv_private", "0");
Cvar::sv_private->set_info("[bool] enable or disable network server for a client");
- Cvar::cl_prediction = Cvar::get("cl_prediction", "0", Cvar::Archive);
- Cvar::cl_prediction->set_info("[bool] enable or disable client prediction");
-
// load configuration
load_config();
load_autoexec();
@@ -133,10 +130,13 @@ void Application::init(int count, char **arguments)
Cvar::sv_password = Cvar::get("sv_password", "", Cvar::Archive);
Cvar::sv_password->set_info("[string] server rcon password");
+
+ Cvar::sv_keepalive = Cvar::get("sv_keepalive", "120", core::Cvar::Archive);
+ Cvar::sv_keepalive->set_info("[int] number of seconds to keep dynamic objects alive");
// network settings
Cvar::net_host = Cvar::get("net_host", "0.0.0.0", Cvar::Archive);
- Cvar::net_host->set_info("[ip] IP address the network server binds to");
+ Cvar::net_host->set_info("[address] IP address the network server binds to");
Cvar::net_port = Cvar::get("net_port", "8042", Cvar::Archive);
Cvar::net_port->set_info("[int] default network port");