mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
Updated opcodes enum.
This commit is contained in:
parent
05eee70e50
commit
857e7ae7ee
9 changed files with 1222 additions and 1219 deletions
|
|
@ -107,12 +107,12 @@ void WorldSession::HandleCalendarComplain(WorldPacket &recv_data)
|
||||||
recv_data.hexlike();
|
recv_data.hexlike();
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldSession::HandleCalendarPendingInvites(WorldPacket &recv_data)
|
void WorldSession::HandleCalendarGetNumPending(WorldPacket &recv_data)
|
||||||
{
|
{
|
||||||
sLog.outDebug("WORLD: CMSG_CALENDAR_PENDING_INVITES");
|
sLog.outDebug("WORLD: CMSG_CALENDAR_GET_NUM_PENDING");
|
||||||
recv_data.hexlike();
|
recv_data.hexlike();
|
||||||
|
|
||||||
WorldPacket data(SMSG_CALENDAR_PENDING_INVITES, 4);
|
WorldPacket data(SMSG_CALENDAR_SEND_NUM_PENDING, 4);
|
||||||
data << uint32(0); // 0 - no pending invites, 1 - some pending invites
|
data << uint32(0); // 0 - no pending invites, 1 - some pending invites
|
||||||
SendPacket(&data);
|
SendPacket(&data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2379
src/game/Opcodes.cpp
2379
src/game/Opcodes.cpp
File diff suppressed because it is too large
Load diff
|
|
@ -366,7 +366,7 @@ enum Opcodes
|
||||||
SMSG_SPELLBREAKLOG = 0x14F,
|
SMSG_SPELLBREAKLOG = 0x14F,
|
||||||
SMSG_SPELLHEALLOG = 0x150,
|
SMSG_SPELLHEALLOG = 0x150,
|
||||||
SMSG_SPELLENERGIZELOG = 0x151,
|
SMSG_SPELLENERGIZELOG = 0x151,
|
||||||
CMSG_SHEATHE_OBSOLETE = 0x152,
|
SMSG_BREAK_TARGET = 0x152,
|
||||||
CMSG_SAVE_PLAYER = 0x153,
|
CMSG_SAVE_PLAYER = 0x153,
|
||||||
CMSG_SETDEATHBINDPOINT = 0x154,
|
CMSG_SETDEATHBINDPOINT = 0x154,
|
||||||
SMSG_BINDPOINTUPDATE = 0x155,
|
SMSG_BINDPOINTUPDATE = 0x155,
|
||||||
|
|
@ -725,8 +725,8 @@ enum Opcodes
|
||||||
SMSG_SCRIPT_MESSAGE = 0x2B6,
|
SMSG_SCRIPT_MESSAGE = 0x2B6,
|
||||||
SMSG_DUEL_COUNTDOWN = 0x2B7,
|
SMSG_DUEL_COUNTDOWN = 0x2B7,
|
||||||
SMSG_AREA_TRIGGER_MESSAGE = 0x2B8,
|
SMSG_AREA_TRIGGER_MESSAGE = 0x2B8,
|
||||||
CMSG_TOGGLE_HELM = 0x2B9,
|
CMSG_SHOWING_HELM = 0x2B9,
|
||||||
CMSG_TOGGLE_CLOAK = 0x2BA,
|
CMSG_SHOWING_CLOAK = 0x2BA,
|
||||||
SMSG_MEETINGSTONE_JOINFAILED = 0x2BB,
|
SMSG_MEETINGSTONE_JOINFAILED = 0x2BB,
|
||||||
SMSG_PLAYER_SKINNED = 0x2BC,
|
SMSG_PLAYER_SKINNED = 0x2BC,
|
||||||
SMSG_DURABILITY_DAMAGE_DEATH = 0x2BD,
|
SMSG_DURABILITY_DAMAGE_DEATH = 0x2BD,
|
||||||
|
|
@ -1123,8 +1123,8 @@ enum Opcodes
|
||||||
SMSG_CALENDAR_EVENT_UPDATED_ALERT = 0x444,
|
SMSG_CALENDAR_EVENT_UPDATED_ALERT = 0x444,
|
||||||
SMSG_CALENDAR_EVENT_MODERATOR_STATUS_ALERT = 0x445,
|
SMSG_CALENDAR_EVENT_MODERATOR_STATUS_ALERT = 0x445,
|
||||||
CMSG_CALENDAR_COMPLAIN = 0x446,
|
CMSG_CALENDAR_COMPLAIN = 0x446,
|
||||||
CMSG_CALENDAR_PENDING_INVITES = 0x447,
|
CMSG_CALENDAR_GET_NUM_PENDING = 0x447,
|
||||||
SMSG_CALENDAR_PENDING_INVITES = 0x448,
|
SMSG_CALENDAR_SEND_NUM_PENDING = 0x448,
|
||||||
CMSG_SAVE_DANCE = 0x449,
|
CMSG_SAVE_DANCE = 0x449,
|
||||||
SMSG_NOTIFY_DANCE = 0x44A,
|
SMSG_NOTIFY_DANCE = 0x44A,
|
||||||
CMSG_PLAY_DANCE = 0x44B,
|
CMSG_PLAY_DANCE = 0x44B,
|
||||||
|
|
@ -1205,19 +1205,20 @@ enum Opcodes
|
||||||
SMSG_AURA_UPDATE = 0x496,
|
SMSG_AURA_UPDATE = 0x496,
|
||||||
CMSG_FLOOD_GRACE_CHEAT = 0x497,
|
CMSG_FLOOD_GRACE_CHEAT = 0x497,
|
||||||
SMSG_SERVER_FIRST_ACHIEVEMENT = 0x498,
|
SMSG_SERVER_FIRST_ACHIEVEMENT = 0x498,
|
||||||
SMSG_PET_LEARNED_SPELL = 0x499, // uint16 spellid, Your pet learned spell: %s
|
SMSG_PET_LEARNED_SPELL = 0x499,
|
||||||
SMSG_PET_UNLEARNED_SPELL = 0x49A, // uint16 spellid, Your pet unlearned %s
|
SMSG_PET_REMOVED_SPELL = 0x49A,
|
||||||
CMSG_MOVE_UNKNOWN_1179 = 0x49B, // movement opcode
|
CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE = 0x49B,
|
||||||
CMSG_UNKNOWN_1180 = 0x49C, // LUA: HearthAndResurrectFromArea
|
CMSG_HEARTH_AND_RESURRECT = 0x49C,
|
||||||
SMSG_SHOW_VEHICLE_UI = 0x49D, // empty
|
SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA = 0x49D,
|
||||||
SMSG_CRITERIA_REMOVE = 0x49E, // uint32, broadcasts EVENT_CRITERIA_UPDATE
|
SMSG_CRITERIA_DELETED = 0x49E,
|
||||||
SMSG_ACHIEVEMENT_REMOVE = 0x49F, // uint32, broadcasts EVENT_ACHIEVEMENT_EARNED
|
SMSG_ACHIEVEMENT_DELETED = 0x49F,
|
||||||
UMSG_UNKNOWN_1184 = 0x4A0, // not found in client
|
CMSG_SERVER_INFO_QUERY = 0x4A0,
|
||||||
UMSG_UNKNOWN_1185 = 0x4A1, // not found in client
|
SMSG_SERVER_INFO_RESPONSE = 0x4A1,
|
||||||
UMSG_UNKNOWN_1186 = 0x4A2, // not found in client
|
CMSG_CHECK_LOGIN_CRITERIA = 0x4A2,
|
||||||
UMSG_UNKNOWN_1187 = 0x4A3, // not found in client
|
SMSG_SERVER_BUCK_DATA_START = 0x4A3,
|
||||||
UMSG_UNKNOWN_1188 = 0x4A4, // not found in client
|
CMSG_QUERY_VEHICLE_STATUS = 0x4A4,
|
||||||
NUM_MSG_TYPES = 0x4A5
|
SMSG_PET_GUIDS = 0x4A5,
|
||||||
|
NUM_MSG_TYPES = 0x4A6
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Player state
|
/// Player state
|
||||||
|
|
|
||||||
|
|
@ -1387,7 +1387,7 @@ bool Pet::unlearnSpell(uint16 spell_id)
|
||||||
{
|
{
|
||||||
if(!m_loading)
|
if(!m_loading)
|
||||||
{
|
{
|
||||||
WorldPacket data(SMSG_PET_UNLEARNED_SPELL, 2);
|
WorldPacket data(SMSG_PET_REMOVED_SPELL, 2);
|
||||||
data << uint16(spell_id);
|
data << uint16(spell_id);
|
||||||
((Player*)GetOwner())->GetSession()->SendPacket(&data);
|
((Player*)GetOwner())->GetSession()->SendPacket(&data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18758,7 +18758,7 @@ void Player::EnterVehicle(Vehicle *vehicle)
|
||||||
|
|
||||||
SetClientControl(vehicle, 1); // redirect controls to vehicle
|
SetClientControl(vehicle, 1); // redirect controls to vehicle
|
||||||
|
|
||||||
WorldPacket data(SMSG_SHOW_VEHICLE_UI, 0); // shows vehicle UI?
|
WorldPacket data(SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA, 0);
|
||||||
GetSession()->SendPacket(&data);
|
GetSession()->SendPacket(&data);
|
||||||
|
|
||||||
data.Initialize(MSG_MOVE_TELEPORT_ACK, 30);
|
data.Initialize(MSG_MOVE_TELEPORT_ACK, 30);
|
||||||
|
|
|
||||||
|
|
@ -6409,7 +6409,7 @@ void Aura::HandleAuraControlVehicle(bool apply, bool Real)
|
||||||
if(Pet *pet = m_target->GetPet())
|
if(Pet *pet = m_target->GetPet())
|
||||||
pet->Remove(PET_SAVE_AS_CURRENT);
|
pet->Remove(PET_SAVE_AS_CURRENT);
|
||||||
|
|
||||||
WorldPacket data(SMSG_SHOW_VEHICLE_UI, 0);
|
WorldPacket data(SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA, 0);
|
||||||
((Player*)m_target)->GetSession()->SendPacket(&data);
|
((Player*)m_target)->GetSession()->SendPacket(&data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -659,7 +659,7 @@ class MANGOS_DLL_SPEC WorldSession
|
||||||
void HandleCalendarEventStatus(WorldPacket& recv_data);
|
void HandleCalendarEventStatus(WorldPacket& recv_data);
|
||||||
void HandleCalendarEventModeratorStatus(WorldPacket& recv_data);
|
void HandleCalendarEventModeratorStatus(WorldPacket& recv_data);
|
||||||
void HandleCalendarComplain(WorldPacket& recv_data);
|
void HandleCalendarComplain(WorldPacket& recv_data);
|
||||||
void HandleCalendarPendingInvites(WorldPacket& recv_data);
|
void HandleCalendarGetNumPending(WorldPacket& recv_data);
|
||||||
|
|
||||||
void HandleSpellClick(WorldPacket& recv_data);
|
void HandleSpellClick(WorldPacket& recv_data);
|
||||||
void HandleAlterAppearance(WorldPacket& recv_data);
|
void HandleAlterAppearance(WorldPacket& recv_data);
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,8 @@ enum LoginResult
|
||||||
|
|
||||||
// we need to stick to 1 version or half of the stuff will work for someone
|
// we need to stick to 1 version or half of the stuff will work for someone
|
||||||
// others will not and opposite
|
// others will not and opposite
|
||||||
// will only support WoW and WoW:TBC 3.0.3 client build 9155, 9174, 9183...
|
// will only support WoW and WoW:TBC 3.0.3 client build 9155, 9174, 9183, 9328...
|
||||||
|
|
||||||
#define EXPECTED_MANGOS_CLIENT_BUILD {9155, 9174, 9183, 0}
|
#define EXPECTED_MANGOS_CLIENT_BUILD {9155, 9174, 9183, 9328, 0}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ struct AchievementEntry
|
||||||
uint32 ID; // 0
|
uint32 ID; // 0
|
||||||
uint32 factionFlag; // 1 -1=all, 0=horde, 1=alliance
|
uint32 factionFlag; // 1 -1=all, 0=horde, 1=alliance
|
||||||
uint32 mapID; // 2 -1=none
|
uint32 mapID; // 2 -1=none
|
||||||
//uint32 unk; // 3
|
//uint32 unk; // 3 parent achievement (previous, required)
|
||||||
//char *name[16]; // 4-19
|
//char *name[16]; // 4-19
|
||||||
//uint32 name_flags; // 20
|
//uint32 name_flags; // 20
|
||||||
//char *description[16]; // 21-36
|
//char *description[16]; // 21-36
|
||||||
|
|
@ -53,7 +53,7 @@ struct AchievementEntry
|
||||||
//char *unk1[16]; // 43-58
|
//char *unk1[16]; // 43-58
|
||||||
//uint32 unk_flags; // 59
|
//uint32 unk_flags; // 59
|
||||||
//uint32 count; // 60
|
//uint32 count; // 60
|
||||||
uint32 refAchievement; // 61
|
uint32 refAchievement; // 61 related achievement?
|
||||||
};
|
};
|
||||||
|
|
||||||
struct AchievementCategoryEntry
|
struct AchievementCategoryEntry
|
||||||
|
|
@ -459,8 +459,9 @@ struct AchievementCriteriaEntry
|
||||||
//uint32 name_flags; // 25
|
//uint32 name_flags; // 25
|
||||||
uint32 completionFlag; // 26
|
uint32 completionFlag; // 26
|
||||||
uint32 groupFlag; // 27
|
uint32 groupFlag; // 27
|
||||||
|
//uint32 unk1; // 28
|
||||||
uint32 timeLimit; // 29 time limit in seconds
|
uint32 timeLimit; // 29 time limit in seconds
|
||||||
//uint32 unk1; // 30
|
//uint32 order; // 30 order
|
||||||
};
|
};
|
||||||
|
|
||||||
struct AreaTableEntry
|
struct AreaTableEntry
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue