Core/Packets:

- added inspect packets
- updated opcode values
This commit is contained in:
joschiwald
2015-02-01 20:52:05 +01:00
parent b6eb66e192
commit 053d5f24ee
32 changed files with 1024 additions and 538 deletions
+7 -7
View File
@@ -1207,7 +1207,7 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
//case CMSG_CORPSE_MAP_POSITION_QUERY: // 0 1
case CMSG_MOVE_TIME_SKIPPED: // 0 1
//case MSG_QUERY_NEXT_MAIL_TIME: // 0 1
case CMSG_SETSHEATHED: // 0 1
case CMSG_SET_SHEATHED: // 0 1
//case MSG_RAID_TARGET_UPDATE: // 0 1
case CMSG_LOGOUT_REQUEST: // 0 1
//case CMSG_PET_RENAME: // 0 1
@@ -1293,7 +1293,7 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
case CMSG_QUESTGIVER_ACCEPT_QUEST: // 0 4
//case CMSG_QUESTLOG_REMOVE_QUEST: // 0 4
case CMSG_QUESTGIVER_CHOOSE_REWARD: // 0 4
//case CMSG_CONTACT_LIST: // 0 5
//case CMSG_SEND_CONTACT_LIST: // 0 5
case CMSG_AUTOBANK_ITEM: // 0 6
case CMSG_AUTOSTORE_BANK_ITEM: // 0 6
case CMSG_WHO: // 0 7
@@ -1365,10 +1365,10 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
case CMSG_CHAR_CREATE: // 7 5 3 async db queries
case CMSG_CHAR_ENUM: // 22 3 2 async db queries
//case CMSG_GMTICKET_CREATE: // 1 25 1 async db query
//case CMSG_GMTICKET_UPDATETEXT: // 0 15 1 async db query
//case CMSG_GMTICKET_DELETETICKET: // 1 25 1 async db query
//case CMSG_GMRESPONSE_RESOLVE: // 1 25 1 async db query
//case CMSG_GM_TICKET_CREATE: // 1 25 1 async db query
//case CMSG_GM_TICKET_UPDATETEXT: // 0 15 1 async db query
//case CMSG_GM_TICKET_DELETETICKET: // 1 25 1 async db query
//case CMSG_GM_TICKET_RESPONSE_RESOLVE: // 1 25 1 async db query
//case CMSG_CALENDAR_UPDATE_EVENT: // not profiled
//case CMSG_CALENDAR_REMOVE_EVENT: // not profiled
//case CMSG_CALENDAR_COPY_EVENT: // not profiled
@@ -1413,7 +1413,7 @@ uint32 WorldSession::DosProtection::GetMaxPacketCounterAllowed(uint16 opcode) co
break;
}
case CMSG_ITEM_REFUND_INFO: // not profiled
case CMSG_GET_ITEM_PURCHASE_DATA: // not profiled
{
maxPacketCounterAllowed = PLAYER_SLOTS_COUNT;
break;