Core/Units: Started work on updating movement (main goal: remove SendMovementFlagUpdate())
This commit is contained in:
1 parent
7e9ac70420
commit
1ba6d0ce6f
9 files changed
+245
-210
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user