mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Fixed MSG_LIST_STABLED_PETS
This commit is contained in:
parent
2af3c01a23
commit
c5dbf49ece
3 changed files with 18 additions and 6 deletions
|
|
@ -750,4 +750,18 @@ void WorldSession::HandleAuctionListPendingSales( WorldPacket & recv_data )
|
||||||
{
|
{
|
||||||
sLog.outDebug("CMSG_AUCTION_LIST_PENDING_SALES");
|
sLog.outDebug("CMSG_AUCTION_LIST_PENDING_SALES");
|
||||||
recv_data.hexlike();
|
recv_data.hexlike();
|
||||||
|
|
||||||
|
uint32 count = 0;
|
||||||
|
|
||||||
|
WorldPacket data(SMSG_AUCTION_LIST_PENDING_SALES, 4);
|
||||||
|
data << uint32(count); // count
|
||||||
|
/*for(uint32 i = 0; i < count; ++i)
|
||||||
|
{
|
||||||
|
data << ""; // string
|
||||||
|
data << ""; // string
|
||||||
|
data << uint32(0);
|
||||||
|
data << uint32(0);
|
||||||
|
data << float(0);
|
||||||
|
}*/
|
||||||
|
SendPacket(&data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -517,8 +517,7 @@ void WorldSession::SendStablePet(uint64 guid )
|
||||||
data << uint32(pet->GetEntry());
|
data << uint32(pet->GetEntry());
|
||||||
data << uint32(pet->getLevel());
|
data << uint32(pet->getLevel());
|
||||||
data << pet->GetName(); // petname
|
data << pet->GetName(); // petname
|
||||||
data << uint32(0); // was loyalty
|
data << uint8(0x01); // flags?, client slot 1 == current pet (0)
|
||||||
data << uint8(0x01); // client slot 1 == current pet (0)
|
|
||||||
++num;
|
++num;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -535,7 +534,6 @@ void WorldSession::SendStablePet(uint64 guid )
|
||||||
data << uint32(fields[3].GetUInt32()); // creature entry
|
data << uint32(fields[3].GetUInt32()); // creature entry
|
||||||
data << uint32(fields[4].GetUInt32()); // level
|
data << uint32(fields[4].GetUInt32()); // level
|
||||||
data << fields[5].GetString(); // name
|
data << fields[5].GetString(); // name
|
||||||
data << uint32(0); // was loyalty
|
|
||||||
data << uint8(fields[1].GetUInt32()+1); // slot
|
data << uint8(fields[1].GetUInt32()+1); // slot
|
||||||
|
|
||||||
++num;
|
++num;
|
||||||
|
|
|
||||||
|
|
@ -1208,10 +1208,10 @@ enum Opcodes
|
||||||
SMSG_PET_LEARNED_SPELL = 0x499, // uint16 spellid, Your pet learned spell: %s
|
SMSG_PET_LEARNED_SPELL = 0x499, // uint16 spellid, Your pet learned spell: %s
|
||||||
SMSG_PET_UNLEARNED_SPELL = 0x49A, // uint16 spellid, Your pet unlearned %s
|
SMSG_PET_UNLEARNED_SPELL = 0x49A, // uint16 spellid, Your pet unlearned %s
|
||||||
UMSG_UNKNOWN_1179 = 0x49B, // not found in client
|
UMSG_UNKNOWN_1179 = 0x49B, // not found in client
|
||||||
CMSG_UNKNOWN_1180 = 0x49C, // lua: HearthAndResurrectFromArea
|
CMSG_UNKNOWN_1180 = 0x49C, // LUA: HearthAndResurrectFromArea
|
||||||
SMSG_UNKNOWN_1181 = 0x49D, // empty
|
SMSG_UNKNOWN_1181 = 0x49D, // empty
|
||||||
SMSG_UNKNOWN_1182 = 0x49E, // uint32 EVENT_CRITERIA_UPDATE
|
SMSG_CRITERIA_REMOVE = 0x49E, // uint32, broadcasts EVENT_CRITERIA_UPDATE
|
||||||
SMSG_UNKNOWN_1183 = 0x49F, // uint32 EVENT_ACHIEVEMENT_EARNED
|
SMSG_ACHIEVEMENT_REMOVE = 0x49F, // uint32, broadcasts EVENT_ACHIEVEMENT_EARNED
|
||||||
UMSG_UNKNOWN_1184 = 0x4A0, // not found in client
|
UMSG_UNKNOWN_1184 = 0x4A0, // not found in client
|
||||||
UMSG_UNKNOWN_1185 = 0x4A1, // not found in client
|
UMSG_UNKNOWN_1185 = 0x4A1, // not found in client
|
||||||
UMSG_UNKNOWN_1186 = 0x4A2, // not found in client
|
UMSG_UNKNOWN_1186 = 0x4A2, // not found in client
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue