diff options
| author | Machiavelli <none@none> | 2010-02-12 19:59:44 +0100 |
|---|---|---|
| committer | Machiavelli <none@none> | 2010-02-12 19:59:44 +0100 |
| commit | ce2d71e1d9cebbcba4a89323a4f745ae280ffa27 (patch) | |
| tree | 711387990d8373f273a99f05b5b07e0c8bfc9192 /src/trinitycore | |
| parent | ab146caaa86e5d0f89bdbcf967f3d620b5aa3c25 (diff) | |
Add config option that determines the maximum allowed time between the last received CMSG_CHAR_ENUM and another incoming packet, and will disconnect the peer if this time limit is exceeded.
In other words, a time limit in which idlers can stay logged in on the character selection screen before they are disconnected.
Fixes issue #335
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore')
| -rw-r--r-- | src/trinitycore/trinitycore.conf.dist | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/trinitycore/trinitycore.conf.dist b/src/trinitycore/trinitycore.conf.dist index 6fe239f554c..e8bfddbd39f 100644 --- a/src/trinitycore/trinitycore.conf.dist +++ b/src/trinitycore/trinitycore.conf.dist @@ -124,6 +124,11 @@ EAIErrorLevel = 2 # Socket select time (in milliseconds) # Default: 10000 (10 secs) # +# SocketTimeOutTime +# Time in milliseconds afer which a connection sitting idle on the character +# selection screen is disconnected. +# Default: 900000 (15 minutes) +# # GridCleanUpDelay # Grid clean up delay (in milliseconds) # Default: 300000 (5 min) @@ -217,6 +222,7 @@ SaveRespawnTimeImmediately = 1 MaxOverspeedPings = 2 GridUnload = 1 SocketSelectTime = 10000 +SocketTimeOutTime = 900000 GridCleanUpDelay = 300000 MapUpdateInterval = 100 ChangeWeatherInterval = 600000 |
