chore(net): set localChallenge value to zero in HandleAuthChallenge

This commit is contained in:
VDm 2025-03-27 20:46:28 +04:00
parent f1d1dad08b
commit 49e2e439c2

View File

@ -110,8 +110,6 @@ int32_t RealmConnection::HandleAuthChallenge(AuthenticationChallenge* challenge)
// TODO switch to WDataStore
CDataStore msg;
uint32_t localChallenge;
msg.Put(static_cast<uint32_t>(CMSG_AUTH_SESSION));
msg.Put(static_cast<uint32_t>(12340));
@ -119,7 +117,8 @@ int32_t RealmConnection::HandleAuthChallenge(AuthenticationChallenge* challenge)
msg.PutString(this->GetLoginData().m_account);
msg.Put(static_cast<uint32_t>(this->GetLoginData().m_loginServerType));
// TODO
// TODO: uint32_t localChallenge = NTempest::CRandom::uint32_(v11);
uint32_t localChallenge = 0;
msg.Put(localChallenge);
// TODO