Core/NetworkIO: Adjust more packet throttling values

Thanks @Nefertumm at f5e38a7f57 for the heads-up

(cherry picked from commit 68fcd592f8)
This commit is contained in:
jackpoz
2020-04-08 17:43:07 +02:00
committed by Shauren
parent 33e495983b
commit dbb0f399fa

View File

@@ -1358,6 +1358,14 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
case CMSG_RANDOM_ROLL: // not profiled
case CMSG_TIME_SYNC_RESPONSE: // not profiled
case CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK: // not profiled
case CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK: // not profiled
case CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK:// not profiled
case CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK: // not profiled
case CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK: // not profiled
case CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK:// not profiled
case CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK: // not profiled
case CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK: // not profiled
case CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK: // not profiled
{
// "0" is a magic number meaning there's no limit for the opcode.
// All the opcodes above must cause little CPU usage and no sync/async database queries at all