From 6389597004ca5d6a8740f9909a016676aa98b704 Mon Sep 17 00:00:00 2001 From: Maple Date: Thu, 26 Jan 2023 03:32:22 -0300 Subject: [PATCH] Update Loby encryption key --- src/lobby/GameConnection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lobby/GameConnection.cpp b/src/lobby/GameConnection.cpp index b7156cd4..8b804afe 100644 --- a/src/lobby/GameConnection.cpp +++ b/src/lobby/GameConnection.cpp @@ -452,8 +452,8 @@ void Lobby::GameConnection::generateEncryptionKey( uint32_t key, const std::stri m_baseKey[ 2 ] = 0x34; m_baseKey[ 3 ] = 0x12; memcpy( m_baseKey + 0x04, &key, 4 ); - m_baseKey[ 8 ] = 0x18; - m_baseKey[ 9 ] = 0x15; + m_baseKey[ 8 ] = 0xD4; + m_baseKey[ 9 ] = 0x17; memcpy( ( char* ) m_baseKey + 0x0C, keyPhrase.c_str(), keyPhrase.size() ); Common::Util::md5( m_baseKey, m_encKey, 0x2C ); }