mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
Fix(Core/Packets/AntiDOS): Remove from default some repetitive movement packets (#2809)
This commit is contained in:
@@ -1480,7 +1480,15 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
|
||||
case MSG_RANDOM_ROLL: // not profiled
|
||||
case CMSG_TIME_SYNC_RESP: // not profiled
|
||||
case CMSG_TRAINER_BUY_SPELL: // not profiled
|
||||
case CMSG_FORCE_SWIM_SPEED_CHANGE_ACK: // not profiled
|
||||
case CMSG_FORCE_SWIM_BACK_SPEED_CHANGE_ACK: // not profiled
|
||||
case CMSG_FORCE_RUN_SPEED_CHANGE_ACK: // not profiled
|
||||
case CMSG_FORCE_RUN_BACK_SPEED_CHANGE_ACK: // not profiled
|
||||
case CMSG_FORCE_FLIGHT_SPEED_CHANGE_ACK: // not profiled
|
||||
case CMSG_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK: // not profiled
|
||||
case CMSG_FORCE_WALK_SPEED_CHANGE_ACK: // not profiled
|
||||
case CMSG_FORCE_TURN_RATE_CHANGE_ACK: // not profiled
|
||||
case CMSG_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
|
||||
|
||||
Reference in New Issue
Block a user