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:
@@ -106,6 +106,7 @@ enum WorldConfigs
|
||||
CONFIG_INTERVAL_DISCONNECT_TOLERANCE,
|
||||
CONFIG_PORT_WORLD,
|
||||
CONFIG_SOCKET_SELECTTIME,
|
||||
CONFIG_SOCKET_TIMEOUTTIME,
|
||||
CONFIG_GROUP_XP_DISTANCE,
|
||||
CONFIG_SIGHT_MONSTER,
|
||||
CONFIG_SIGHT_GUARDER,
|
||||
|
||||
Reference in New Issue
Block a user