- Updated to latest PTR build 10952.

- Fixed SMSG_BATTLEFIELD_LIST packet.
This commit is contained in:
tomrus88 2009-12-02 13:26:13 +03:00
parent 90ee507cf7
commit 89da641afb
4 changed files with 8 additions and 6 deletions

View file

@ -1883,15 +1883,17 @@ void BattleGroundMgr::BuildBattleGroundListPacket(WorldPacket *data, const uint6
if(bgTypeId == BATTLEGROUND_AA) // arena
{
*data << uint8(4); // unk
*data << uint8(0); // unk
*data << uint32(0); // unk (count?)
}
else // battleground
{
*data << uint8(0x00); // unk, different for each bg type
*data << uint8(0); // unk, different for each bg type
*data << uint8(0); // unk
size_t count_pos = data->wpos();
uint32 count = 0;
*data << uint32(0x00); // number of bg instances
*data << uint32(0); // number of bg instances
uint32 queue_id = plr->GetBattleGroundQueueIdFromLevel();
for(std::set<uint32>::iterator itr = m_ClientBattleGroundIds[bgTypeId][queue_id].begin(); itr != m_ClientBattleGroundIds[bgTypeId][queue_id].end();++itr)

View file

@ -474,7 +474,7 @@ void WorldSession::HandleQueryQuestsCompleted( WorldPacket & recv_data )
uint32 count = 0;
WorldPacket data(SMSG_QUERY_QUESTS_COMPLETED_RESPONSE, 4+4*count);
data << count;
data << uint32(count);
for(QuestStatusMap::const_iterator itr = _player->getQuestStatusMap().begin(); itr != _player->getQuestStatusMap().end(); ++itr)
{

View file

@ -19,7 +19,7 @@
#ifndef _UPDATEFIELDS_AUTO_H
#define _UPDATEFIELDS_AUTO_H
// Auto generated for version 0, 3, 0, 10894
// Auto generated for version 0, 3, 0, 10952
enum EObjectFields
{

View file

@ -66,9 +66,9 @@ enum LoginResult
// we need to stick to 1 version or half of the stuff will work for someone
// others will not and opposite
// will only support WoW, WoW:TBC and WoW:WotLK 3.3.0 client build 10894...
// will only support WoW, WoW:TBC and WoW:WotLK 3.3.0 client build 10952...
#define EXPECTED_MANGOS_CLIENT_BUILD {10894, 0}
#define EXPECTED_MANGOS_CLIENT_BUILD {10952, 0}
// At update excepted builds please update if need define DEFAULT_MAX_LEVEL
// in DBCEnum.h to default max player level expected by build