Core/Units: Started work on updating movement (main goal: remove SendMovementFlagUpdate())

This commit is contained in:
Shauren committed 2013-04-03 20:13:33 +02:00
1 parent 7e9ac70420
commit 1ba6d0ce6f
9 files changed
+245 -210

No files matched your search

+3 -3
View File
@@ -1486,10 +1486,10 @@ void WorldSession::HandleTimeSyncResp(WorldPacket& recvData)
sLog->outDebug(LOG_FILTER_NETWORKIO, "CMSG_TIME_SYNC_RESP");
uint32 counter, clientTicks;
recvData >> clientTicks >> counter;
recvData >> counter >> clientTicks;
if (counter != _player->m_timeSyncCounter - 1)
sLog->outDebug(LOG_FILTER_NETWORKIO, "Wrong time sync counter from player %s (cheater?)", _player->GetName().c_str());
if (counter != _player->m_timeSyncCounter)
sLog->outError(LOG_FILTER_NETWORKIO, "Wrong time sync counter from player %s (cheater?)", _player->GetName().c_str());
sLog->outDebug(LOG_FILTER_NETWORKIO, "Time sync received: counter %u, client ticks %u, time since last sync %u", counter, clientTicks, clientTicks - _player->m_timeSyncClient);