Remove occurrences of mkpt

This commit is contained in:
Akkadius
2015-01-16 22:12:36 -06:00
parent 449c12d6c2
commit 647874d424
2 changed files with 0 additions and 20 deletions
-16
View File
@@ -1899,7 +1899,6 @@ void Client::Handle_0x0193(const EQApplicationPacket *app)
void Client::Handle_OP_AAAction(const EQApplicationPacket *app)
{
mlog(AA__IN, "Received OP_AAAction");
mpkt(AA__IN, app);
if (app->size != sizeof(AA_Action)){
printf("Error! OP_AAAction size didnt match!\n");
@@ -5847,7 +5846,6 @@ void Client::Handle_OP_GetGuildMOTD(const EQApplicationPacket *app)
void Client::Handle_OP_GetGuildsList(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_GetGuildsList");
mpkt(GUILDS__IN_PACKET_TRACE, app);
SendGuildList();
}
@@ -7217,7 +7215,6 @@ void Client::Handle_OP_GuildCreate(const EQApplicationPacket *app)
void Client::Handle_OP_GuildDelete(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_GuildDelete");
mpkt(GUILDS__IN_PACKET_TRACE, app);s
if (!IsInAGuild() || !guild_mgr.IsGuildLeader(GuildID(), CharacterID()))
Message(0, "You are not a guild leader or not in a guild.");
@@ -7234,7 +7231,6 @@ void Client::Handle_OP_GuildDelete(const EQApplicationPacket *app)
void Client::Handle_OP_GuildDemote(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_GuildDemote");
mpkt(GUILDS__IN_PACKET_TRACE, app);
if (app->size != sizeof(GuildDemoteStruct)) {
mlog(GUILDS__ERROR, "Error: app size of %i != size of GuildDemoteStruct of %i\n", app->size, sizeof(GuildDemoteStruct));
@@ -7286,7 +7282,6 @@ void Client::Handle_OP_GuildDemote(const EQApplicationPacket *app)
void Client::Handle_OP_GuildInvite(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_GuildInvite");
mpkt(GUILDS__IN_PACKET_TRACE, app);
if (app->size != sizeof(GuildCommand_Struct)) {
std::cout << "Wrong size: OP_GuildInvite, size=" << app->size << ", expected " << sizeof(GuildCommand_Struct) << std::endl;
@@ -7359,7 +7354,6 @@ void Client::Handle_OP_GuildInvite(const EQApplicationPacket *app)
gc->guildeqid = GuildID();
mlog(GUILDS__OUT_PACKETS, "Sending OP_GuildInvite for promotion to %s, length %d", client->GetName(), app->size);
mpkt(GUILDS__OUT_PACKET_TRACE, app);
client->QueuePacket(app);
}
@@ -7393,7 +7387,6 @@ void Client::Handle_OP_GuildInvite(const EQApplicationPacket *app)
gc->guildeqid = GuildID();
mlog(GUILDS__OUT_PACKETS, "Sending OP_GuildInvite for invite to %s, length %d", client->GetName(), app->size);
mpkt(GUILDS__OUT_PACKET_TRACE, app);
client->SetPendingGuildInvitation(true);
client->QueuePacket(app);
@@ -7417,7 +7410,6 @@ void Client::Handle_OP_GuildInvite(const EQApplicationPacket *app)
void Client::Handle_OP_GuildInviteAccept(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_GuildInviteAccept");
mpkt(GUILDS__IN_PACKET_TRACE, app);
SetPendingGuildInvitation(false);
@@ -7509,7 +7501,6 @@ void Client::Handle_OP_GuildInviteAccept(const EQApplicationPacket *app)
void Client::Handle_OP_GuildLeader(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_GuildLeader");
mpkt(GUILDS__IN_PACKET_TRACE, app);
if (app->size < 2) {
mlog(GUILDS__ERROR, "Invalid length %d on OP_GuildLeader", app->size);
@@ -7553,7 +7544,6 @@ void Client::Handle_OP_GuildManageBanker(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Got OP_GuildManageBanker of len %d", app->size);
mpkt(GUILDS__IN_PACKET_TRACE, app);
if (app->size != sizeof(GuildManageBanker_Struct)) {
mlog(GUILDS__ERROR, "Error: app size of %i != size of OP_GuildManageBanker of %i\n", app->size, sizeof(GuildManageBanker_Struct));
return;
@@ -7631,14 +7621,12 @@ void Client::Handle_OP_GuildManageBanker(const EQApplicationPacket *app)
void Client::Handle_OP_GuildPeace(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Got OP_GuildPeace of len %d", app->size);
mpkt(GUILDS__IN_PACKET_TRACE, app);
return;
}
void Client::Handle_OP_GuildPromote(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_GuildPromote");
mpkt(GUILDS__IN_PACKET_TRACE, app);
if (app->size != sizeof(GuildPromoteStruct)) {
mlog(GUILDS__ERROR, "Error: app size of %i != size of GuildDemoteStruct of %i\n", app->size, sizeof(GuildPromoteStruct));
@@ -7688,7 +7676,6 @@ void Client::Handle_OP_GuildPromote(const EQApplicationPacket *app)
void Client::Handle_OP_GuildPublicNote(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_GuildPublicNote");
mpkt(GUILDS__IN_PACKET_TRACE, app);
if (app->size < sizeof(GuildUpdate_PublicNote)) {
// client calls for a motd on login even if they arent in a guild
@@ -7725,7 +7712,6 @@ void Client::Handle_OP_GuildPublicNote(const EQApplicationPacket *app)
void Client::Handle_OP_GuildRemove(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_GuildRemove");
mpkt(GUILDS__IN_PACKET_TRACE, app);
if (app->size != sizeof(GuildCommand_Struct)) {
std::cout << "Wrong size: OP_GuildRemove, size=" << app->size << ", expected " << sizeof(GuildCommand_Struct) << std::endl;
@@ -7882,7 +7868,6 @@ void Client::Handle_OP_GuildUpdateURLAndChannel(const EQApplicationPacket *app)
void Client::Handle_OP_GuildWar(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Got OP_GuildWar of len %d", app->size);
mpkt(GUILDS__IN_PACKET_TRACE, app);
return;
}
@@ -11864,7 +11849,6 @@ void Client::Handle_OP_SenseTraps(const EQApplicationPacket *app)
void Client::Handle_OP_SetGuildMOTD(const EQApplicationPacket *app)
{
mlog(GUILDS__IN_PACKETS, "Received OP_SetGuildMOTD");
mpkt(GUILDS__IN_PACKET_TRACE, app);
if (app->size != sizeof(GuildMOTD_Struct)) {
// client calls for a motd on login even if they arent in a guild