mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 22:37:05 +00:00
Fixed bug with professions in trainer list not being marked as known until trainer list re-opened.
This commit is contained in:
parent
112046718a
commit
b99f51a984
13 changed files with 108 additions and 91 deletions
|
|
@ -248,14 +248,14 @@ int WorldSocket::open (void *a)
|
|||
WorldPacket packet (SMSG_AUTH_CHALLENGE, 24);
|
||||
packet << uint32(1); // 1...31
|
||||
packet << m_Seed;
|
||||
packet << uint32(0xF3539DA3); // random data
|
||||
packet << uint32(0x6E8547B9); // random data
|
||||
packet << uint32(0x9A6AA2F8); // random data
|
||||
packet << uint32(0xA4F170F4); // random data
|
||||
packet << uint32(0xF3539DA3); // random data
|
||||
packet << uint32(0x6E8547B9); // random data
|
||||
packet << uint32(0x9A6AA2F8); // random data
|
||||
packet << uint32(0xA4F170F4); // random data
|
||||
|
||||
BigNumber seed1;
|
||||
seed1.SetRand(16 * 8);
|
||||
packet.append(seed1.AsByteArray(16), 16); // new encryption seeds
|
||||
|
||||
BigNumber seed2;
|
||||
seed1.SetRand(16 * 8);
|
||||
packet.append(seed1.AsByteArray(16), 16); // new encryption seeds
|
||||
|
||||
if (SendPacket (packet) == -1)
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue