mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
- Updated to latest PTR build 10952.
- Fixed SMSG_BATTLEFIELD_LIST packet.
This commit is contained in:
parent
90ee507cf7
commit
89da641afb
4 changed files with 8 additions and 6 deletions
|
|
@ -1883,15 +1883,17 @@ void BattleGroundMgr::BuildBattleGroundListPacket(WorldPacket *data, const uint6
|
||||||
if(bgTypeId == BATTLEGROUND_AA) // arena
|
if(bgTypeId == BATTLEGROUND_AA) // arena
|
||||||
{
|
{
|
||||||
*data << uint8(4); // unk
|
*data << uint8(4); // unk
|
||||||
|
*data << uint8(0); // unk
|
||||||
*data << uint32(0); // unk (count?)
|
*data << uint32(0); // unk (count?)
|
||||||
}
|
}
|
||||||
else // battleground
|
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();
|
size_t count_pos = data->wpos();
|
||||||
uint32 count = 0;
|
uint32 count = 0;
|
||||||
*data << uint32(0x00); // number of bg instances
|
*data << uint32(0); // number of bg instances
|
||||||
|
|
||||||
uint32 queue_id = plr->GetBattleGroundQueueIdFromLevel();
|
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)
|
for(std::set<uint32>::iterator itr = m_ClientBattleGroundIds[bgTypeId][queue_id].begin(); itr != m_ClientBattleGroundIds[bgTypeId][queue_id].end();++itr)
|
||||||
|
|
|
||||||
|
|
@ -474,7 +474,7 @@ void WorldSession::HandleQueryQuestsCompleted( WorldPacket & recv_data )
|
||||||
uint32 count = 0;
|
uint32 count = 0;
|
||||||
|
|
||||||
WorldPacket data(SMSG_QUERY_QUESTS_COMPLETED_RESPONSE, 4+4*count);
|
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)
|
for(QuestStatusMap::const_iterator itr = _player->getQuestStatusMap().begin(); itr != _player->getQuestStatusMap().end(); ++itr)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef _UPDATEFIELDS_AUTO_H
|
#ifndef _UPDATEFIELDS_AUTO_H
|
||||||
#define _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
|
enum EObjectFields
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -66,9 +66,9 @@ 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, 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
|
// At update excepted builds please update if need define DEFAULT_MAX_LEVEL
|
||||||
// in DBCEnum.h to default max player level expected by build
|
// in DBCEnum.h to default max player level expected by build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue