Core: Added 4.3.4 opcodes from WPP, commented out some code to fix compile (switches with opcodes - duplicate case 0: labels) and fixed authentication
This commit is contained in:
1 parent
a6a556ce09
commit
c95905ddbb
14 files changed
+2610
-2574
No files matched your search
@@ -634,15 +634,19 @@ void WorldSession::SendAuthWaitQue(uint32 position)
|
||||
if (position == 0)
|
||||
{
|
||||
WorldPacket packet(SMSG_AUTH_RESPONSE, 1);
|
||||
packet.WriteBit(0); // has queue info
|
||||
packet.WriteBit(0); // has account info
|
||||
packet << uint8(AUTH_OK);
|
||||
SendPacket(&packet);
|
||||
}
|
||||
else
|
||||
{
|
||||
WorldPacket packet(SMSG_AUTH_RESPONSE, 6);
|
||||
packet.WriteBit(1); // has queue info
|
||||
packet.WriteBit(0); // unk queue bool
|
||||
packet.WriteBit(0); // has account info
|
||||
packet << uint8(AUTH_WAIT_QUEUE);
|
||||
packet << uint32(position);
|
||||
packet << uint8(0); // unk
|
||||
SendPacket(&packet);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user