mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Possible queue bug fix.
Player flags enum update.
This commit is contained in:
parent
925ea7630e
commit
f7de2ce1d7
6 changed files with 45 additions and 44 deletions
|
|
@ -277,16 +277,15 @@ void World::AddQueuedPlayer(WorldSession* sess)
|
|||
m_QueuedPlayer.push_back (sess);
|
||||
|
||||
// The 1st SMSG_AUTH_RESPONSE needs to contain other info too.
|
||||
WorldPacket packet (SMSG_AUTH_RESPONSE, 1 + 4 + 1 + 4 + 1);
|
||||
WorldPacket packet (SMSG_AUTH_RESPONSE, 1 + 4 + 1 + 4 + 1 + 4 + 1);
|
||||
packet << uint8 (AUTH_WAIT_QUEUE);
|
||||
packet << uint32 (0); // BillingTimeRemaining
|
||||
packet << uint8 (0); // BillingPlanFlags
|
||||
packet << uint32 (0); // BillingTimeRested
|
||||
packet << uint8 (sess->Expansion()); // 0 - normal, 1 - TBC, must be set in database manually for each account
|
||||
packet << uint32(GetQueuePos (sess));
|
||||
packet << uint32(GetQueuePos (sess)); // position in queue
|
||||
packet << uint8(0); // unk 3.3.0
|
||||
sess->SendPacket (&packet);
|
||||
|
||||
//sess->SendAuthWaitQue (GetQueuePos (sess));
|
||||
}
|
||||
|
||||
bool World::RemoveQueuedPlayer(WorldSession* sess)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue