Implementing automatic kick of players after a certain timeout within a game.

This commit is contained in:
lotodore
2011-12-16 22:39:24 +00:00
parent 91b3307584
commit 0a8cd1cce4
8 changed files with 51 additions and 27 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
#define SERVER_INIT_SESSION_TIMEOUT_SEC 60
#define SERVER_TIMEOUT_WARNING_REMAINING_SEC 60
#define SERVER_SESSION_ACTIVITY_TIMEOUT_SEC 180/*1800*/ // 30 min, MUST be > SERVER_TIMEOUT_WARNING_REMAINING_SEC
#define SERVER_SESSION_ACTIVITY_TIMEOUT_SEC 1800 // 30 min, MUST be > SERVER_TIMEOUT_WARNING_REMAINING_SEC
#define SERVER_SESSION_FORCED_TIMEOUT_SEC 86400 // 1 day, should be quite large.
#define SERVER_ADDRESS_LOCALHOST_STR_V4 "127.0.0.1"