aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2014-05-27 21:19:19 +0200
committerjackpoz <giacomopoz@gmail.com>2014-05-27 21:19:19 +0200
commitf312b869417d5bc0ea10928284d040e04259c1d8 (patch)
treedc7daebd59db9faeed7759af41148caa4a311814 /src/server
parentacc9f1575ad9df1266b44fae51ef76563c30a02a (diff)
Core/NetworkIO: Adjust more packet throttling values
Diffstat (limited to 'src/server')
-rw-r--r--src/server/game/Server/WorldSession.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Server/WorldSession.cpp b/src/server/game/Server/WorldSession.cpp
index 5d5e6afdd7b..098cc6ae69f 100644
--- a/src/server/game/Server/WorldSession.cpp
+++ b/src/server/game/Server/WorldSession.cpp
@@ -1351,6 +1351,8 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
case CMSG_WHO:
case CMSG_SETSHEATHED:
case CMSG_CONTACT_LIST:
+ case CMSG_GUILD_SET_PUBLIC_NOTE:
+ case CMSG_GUILD_SET_OFFICER_NOTE:
{
maxPacketCounterAllowed = 50;
break;
@@ -1360,6 +1362,7 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
case CMSG_GAMEOBJ_USE:
case CMSG_GAMEOBJ_REPORT_USE:
case MSG_RAID_TARGET_UPDATE:
+ case CMSG_QUESTGIVER_COMPLETE_QUEST:
{
maxPacketCounterAllowed = 20;
break;
@@ -1419,7 +1422,6 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
case CMSG_QUESTGIVER_CANCEL:
case CMSG_QUESTLOG_REMOVE_QUEST:
case CMSG_QUEST_CONFIRM_ACCEPT:
- case CMSG_QUESTGIVER_COMPLETE_QUEST:
case CMSG_DISMISS_CRITTER:
case CMSG_REPOP_REQUEST:
case CMSG_PETITION_BUY:
@@ -1471,8 +1473,6 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
case CMSG_GUILD_DISBAND:
case CMSG_GUILD_LEADER:
case CMSG_GUILD_MOTD:
- case CMSG_GUILD_SET_PUBLIC_NOTE:
- case CMSG_GUILD_SET_OFFICER_NOTE:
case CMSG_GUILD_RANK:
case CMSG_GUILD_ADD_RANK:
case CMSG_GUILD_DEL_RANK: