Core/NetworkIO: sync opcode values with wpp and removed duplicate ones

This commit is contained in:
joschiwald
2015-01-18 23:56:01 +01:00
parent 1a4b1beb14
commit fd6668d17a
30 changed files with 489 additions and 303 deletions

View File

@@ -1343,7 +1343,7 @@ public:
target->DestroyForNearbyPlayers(); // Force new SMSG_UPDATE_OBJECT:CreateObject
else
{
WorldPacket data(SMSG_PLAYER_MOVE);
WorldPacket data(SMSG_MOVE_UPDATE);
target->WriteMovementInfo(data);
target->SendMessageToSet(&data, true);
}

View File

@@ -1777,7 +1777,7 @@ class npc_gunship_mage : public CreatureScript
but it actually is a valid flag - needs more research to fix both freezes and keep the flag as is (see WorldSession::ReadMovementInfo)
Example packet:
ClientToServer: CMSG_FORCE_MOVE_ROOT_ACK (0x00E9) Length: 67 ConnectionIndex: 0 Time: 03/04/2010 03:57:55.000 Number: 471326
ClientToServer: CMSG_MOVE_FORCE_ROOT_ACK (0x00E9) Length: 67 ConnectionIndex: 0 Time: 03/04/2010 03:57:55.000 Number: 471326
Guid:
Movement Counter: 80
Movement Flags: OnTransport, Root (2560)