Reject movement packet if a cheat is detected.
Completely neutralizes some cheats, without kicking innocent players on false positive. The packet is rejected and correct position and flags are sent back to the client.
This commit is contained in:
@@ -83,7 +83,7 @@ WorldSession::WorldSession(uint32 id, WorldSocket *sock, AccountTypes sec, time_
|
||||
m_sessionDbLocaleIndex(sObjectMgr.GetIndexForLocale(locale)), m_latency(0), m_tutorialState(TUTORIALDATA_UNCHANGED), m_warden(nullptr), m_cheatData(nullptr),
|
||||
m_bot(nullptr), m_lastReceivedPacketTime(0), _clientOS(CLIENT_OS_UNKNOWN), _gameBuild(0),
|
||||
_charactersCount(10), _characterMaxLevel(0), _clientHashComputeStep(HASH_NOT_COMPUTED), m_masterSession(nullptr), m_nodeSession(nullptr),
|
||||
m_masterPlayer(nullptr), m_lastPubChannelMsgTime(NULL)
|
||||
m_masterPlayer(nullptr), m_lastPubChannelMsgTime(NULL), m_moveRejectTime(0)
|
||||
{
|
||||
if (sock)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user