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
This commit is contained in:
Machiavelli
2010-02-12 19:59:44 +01:00
parent ab146caaa8
commit ce2d71e1d9
5 changed files with 32 additions and 1 deletions
+6
View File
@@ -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