Jump to content

[9807][Patch] Add handler to all opcodes that don't have any


Guest Spp_

Recommended Posts

* What bug does the patch fix? What features does the patch add?

Adds null handler to all opcodes that don't have any

* For which repository revision was the patch created?

9806

* Who has been writing this patch?

Spp

diff --git a/src/game/Opcodes.cpp b/src/game/Opcodes.cpp
index 13ae079..0b876e3 100644
--- a/src/game/Opcodes.cpp
+++ b/src/game/Opcodes.cpp
@@ -1313,4 +1313,24 @@ OpcodeHandler opcodeTable[NUM_MSG_TYPES] =
    /*0x504*/ { "UMSG_UNKNOWN_1284",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
    /*0x505*/ { "UMSG_UNKNOWN_1285",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
    /*0x506*/ { "UMSG_UNKNOWN_1286",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x507*/ { "UMSG_UNKNOWN_1287",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x508*/ { "CMSG_UNKNOWN_1288",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x509*/ { "CMSG_UNKNOWN_1289",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x50A*/ { "SMSG_CAMERA_SHAKE",                            STATUS_NEVER,    &WorldSession::Handle_ServerSide               },
+    /*0x50B*/ { "SMSG_UNKNOWN_1291",                            STATUS_NEVER,    &WorldSession::Handle_ServerSide               },
+    /*0x50C*/ { "UMSG_UNKNOWN_1292",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x50D*/ { "UMSG_UNKNOWN_1293",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x50E*/ { "CMSG_UNKNOWN_1294",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x50F*/ { "UMSG_UNKNOWN_1295",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x510*/ { "CMSG_UNKNOWN_1296",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x511*/ { "UMSG_UNKNOWN_1297",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x512*/ { "CMSG_UNKNOWN_1298",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x513*/ { "UMSG_UNKNOWN_1299",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x514*/ { "SMSG_UNKNOWN_1300",                            STATUS_NEVER,    &WorldSession::Handle_ServerSide               },
+    /*0x515*/ { "SMSG_UNKNOWN_1301",                            STATUS_NEVER,    &WorldSession::Handle_ServerSide               },
+    /*0x516*/ { "SMSG_UNKNOWN_1302",                            STATUS_NEVER,    &WorldSession::Handle_ServerSide               },
+    /*0x517*/ { "CMSG_UNKNOWN_1303",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x518*/ { "SMSG_UNKNOWN_1304",                            STATUS_NEVER,    &WorldSession::Handle_ServerSide               },
+    /*0x519*/ { "UMSG_UNKNOWN_1305",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
+    /*0x51A*/ { "UMSG_UNKNOWN_1306",                            STATUS_NEVER,    &WorldSession::Handle_NULL                     },
};

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use