From 49e2e439c2a899809dc6721cbe4a2b930f7e5393 Mon Sep 17 00:00:00 2001 From: VDm Date: Thu, 27 Mar 2025 20:46:28 +0400 Subject: [PATCH] chore(net): set localChallenge value to zero in HandleAuthChallenge --- src/net/connection/RealmConnection.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/net/connection/RealmConnection.cpp b/src/net/connection/RealmConnection.cpp index 64d5c48..0ba58f6 100644 --- a/src/net/connection/RealmConnection.cpp +++ b/src/net/connection/RealmConnection.cpp @@ -110,8 +110,6 @@ int32_t RealmConnection::HandleAuthChallenge(AuthenticationChallenge* challenge) // TODO switch to WDataStore CDataStore msg; - uint32_t localChallenge; - msg.Put(static_cast(CMSG_AUTH_SESSION)); msg.Put(static_cast(12340)); @@ -119,7 +117,8 @@ int32_t RealmConnection::HandleAuthChallenge(AuthenticationChallenge* challenge) msg.PutString(this->GetLoginData().m_account); msg.Put(static_cast(this->GetLoginData().m_loginServerType)); - // TODO + // TODO: uint32_t localChallenge = NTempest::CRandom::uint32_(v11); + uint32_t localChallenge = 0; msg.Put(localChallenge); // TODO