PDA

View Full Version : [SkyFireEmu] [PATCH] Updated Opcodes MoP 5.4.8 by Dr.Core aka CoC



Dr.Core
09-11-15, 05:17 AM
Hope you can use it !


From b20473d750460c679f16c0e3745b320ca31292cb Mon Sep 17 00:00:00 2001
From: CoC <[email protected]>
Date: Mon, 9 Nov 2015 11:05:08 +0100
Subject: [PATCH] Opcode Updates

---
src/server/game/Movement/MovementStructures.cpp | 8 ++++----
src/server/game/Server/Protocol/Opcodes.cpp | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/server/game/Movement/MovementStructures.cpp b/src/server/game/Movement/MovementStructures.cpp
index eeacfd0..12cf91d 100644
--- a/src/server/game/Movement/MovementStructures.cpp
+++ b/src/server/game/Movement/MovementStructures.cpp
@@ -5493,10 +5493,10 @@ MovementStatusElements const* GetMovementStatusElementsSequence(Opcodes opcode)
// return MovementSetRunMode;
//case MSG_MOVE_SET_WALK_MODE:
// return MovementSetWalkMode;
- //case SMSG_MOVE_UPDATE_FLIGHT_SPEED:
- // return MovementUpdateFlightSpeed;
- //case SMSG_MOVE_UPDATE_RUN_SPEED:
- // return MovementUpdateRunSpeed;
+ case SMSG_MOVE_UPDATE_FLIGHT_SPEED:
+ return MovementUpdateFlightSpeed;
+ case SMSG_MOVE_UPDATE_RUN_SPEED:
+ return MovementUpdateRunSpeed;
//case SMSG_MOVE_UPDATE_KNOCK_BACK:
// return MovementUpdateKnockBack;
//case SMSG_MOVE_UPDATE_RUN_BACK_SPEED:
diff --git a/src/server/game/Server/Protocol/Opcodes.cpp b/src/server/game/Server/Protocol/Opcodes.cpp
index 4411e2a..1d82d61 100644
--- a/src/server/game/Server/Protocol/Opcodes.cpp
+++ b/src/server/game/Server/Protocol/Opcodes.cpp
@@ -1052,13 +1052,13 @@ void OpcodeTable::InitializeServerTable()
DEFINE_OPCODE_HANDLER(SMSG_MOVE_UNSET_CAN_FLY, 0x0162, STATUS_NEVER ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(SMSG_MOVE_UNSET_CAN_TRANSITI ON_BETWEEN_SWIM_AND_FLY, 0x0868, STATUS_UNHANDLED );
DEFINE_OPCODE_HANDLER(SMSG_MOVE_UNSET_HOVER, 0x02D3, STATUS_NEVER ); // 5.4.8 18414
- DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_COLLISION_H EIGHT, 0x0000, STATUS_UNHANDLED);
- DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_FLIGHT_BACK _SPEED, 0x0000, STATUS_UNHANDLED);
- DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_FLIGHT_SPEE D, 0x0000, STATUS_UNHANDLED);
- DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_KNOCK_BACK, 0x0000, STATUS_UNHANDLED);
+ DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_COLLISION_H EIGHT, 0x158E, STATUS_NEVER );
+ DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_FLIGHT_BACK _SPEED, 0x036A, STATUS_UNHANDLED); // 5.4.8 18414
+ DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_FLIGHT_SPEE D, 0x00E1, STATUS_NEVER ); // 5.4.8 18414
+ DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_KNOCK_BACK, 0x0251, STATUS_UNHANDLED); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_PITCH_RATE, 0x0000, STATUS_UNHANDLED);
DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_RUN_BACK_SP EED, 0x0000, STATUS_UNHANDLED);
- DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_RUN_SPEED, 0x0000, STATUS_UNHANDLED);
+ DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_RUN_SPEED, 0x158E, STATUS_NEVER ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_SWIM_BACK_S PEED, 0x0000, STATUS_UNHANDLED);
DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_SWIM_SPEED, 0x0000, STATUS_UNHANDLED);
DEFINE_OPCODE_HANDLER(SMSG_MOVE_UPDATE_TELEPORT, 0x0000, STATUS_UNHANDLED);
--
1.9.5.msysgit.0