mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Handle classic unhandled opcodes 0x417 and 0x2D2
This commit is contained in:
parent
c6256b1631
commit
2ce8da52c6
4 changed files with 14 additions and 0 deletions
|
|
@ -220,6 +220,8 @@
|
|||
"SMSG_SET_PROFICIENCY": "0x127",
|
||||
"SMSG_ACTION_BUTTONS": "0x129",
|
||||
"SMSG_LEVELUP_INFO": "0x1D4",
|
||||
"SMSG_LEVELUP_INFO_ALT": "0x417",
|
||||
"SMSG_PLAY_SOUND": "0x2D2",
|
||||
"CMSG_UPDATE_ACCOUNT_DATA": "0x20B",
|
||||
"CMSG_BATTLEFIELD_LIST": "0x23C",
|
||||
"SMSG_BATTLEFIELD_LIST": "0x23D",
|
||||
|
|
|
|||
|
|
@ -344,6 +344,8 @@ enum class LogicalOpcode : uint16_t {
|
|||
SMSG_SET_PROFICIENCY,
|
||||
SMSG_ACTION_BUTTONS,
|
||||
SMSG_LEVELUP_INFO,
|
||||
SMSG_LEVELUP_INFO_ALT,
|
||||
SMSG_PLAY_SOUND,
|
||||
CMSG_TAXINODE_STATUS_QUERY,
|
||||
SMSG_TAXINODE_STATUS,
|
||||
CMSG_UPDATE_ACCOUNT_DATA,
|
||||
|
|
|
|||
|
|
@ -1778,6 +1778,14 @@ void GameHandler::handlePacket(network::Packet& packet) {
|
|||
case Opcode::SMSG_SET_PROFICIENCY:
|
||||
case Opcode::SMSG_ACTION_BUTTONS:
|
||||
case Opcode::SMSG_LEVELUP_INFO:
|
||||
case Opcode::SMSG_LEVELUP_INFO_ALT:
|
||||
break;
|
||||
|
||||
case Opcode::SMSG_PLAY_SOUND:
|
||||
if (packet.getSize() - packet.getReadPos() >= 4) {
|
||||
uint32_t soundId = packet.readUInt32();
|
||||
LOG_DEBUG("SMSG_PLAY_SOUND id=", soundId);
|
||||
}
|
||||
break;
|
||||
|
||||
case Opcode::SMSG_LOOT_MONEY_NOTIFY: {
|
||||
|
|
|
|||
|
|
@ -274,6 +274,8 @@ static const OpcodeNameEntry kOpcodeNames[] = {
|
|||
{"SMSG_SET_PROFICIENCY", LogicalOpcode::SMSG_SET_PROFICIENCY},
|
||||
{"SMSG_ACTION_BUTTONS", LogicalOpcode::SMSG_ACTION_BUTTONS},
|
||||
{"SMSG_LEVELUP_INFO", LogicalOpcode::SMSG_LEVELUP_INFO},
|
||||
{"SMSG_LEVELUP_INFO_ALT", LogicalOpcode::SMSG_LEVELUP_INFO_ALT},
|
||||
{"SMSG_PLAY_SOUND", LogicalOpcode::SMSG_PLAY_SOUND},
|
||||
{"CMSG_TAXINODE_STATUS_QUERY", LogicalOpcode::CMSG_TAXINODE_STATUS_QUERY},
|
||||
{"SMSG_TAXINODE_STATUS", LogicalOpcode::SMSG_TAXINODE_STATUS},
|
||||
{"CMSG_UPDATE_ACCOUNT_DATA", LogicalOpcode::CMSG_UPDATE_ACCOUNT_DATA},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue