From ab23f6978a328969e512e82a91edd9885cfda295 Mon Sep 17 00:00:00 2001 From: sanctum32 Date: Fri, 11 Oct 2013 19:31:16 +0300 Subject: [PATCH] [12683] Add support for client 1.12.3 (build 6141) to realmd original author @wowpsp --- src/realmd/AuthSocket.cpp | 2 ++ src/realmd/RealmList.cpp | 3 ++- src/shared/revision_nr.h | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/realmd/AuthSocket.cpp b/src/realmd/AuthSocket.cpp index e625eb322..18b51e0b2 100644 --- a/src/realmd/AuthSocket.cpp +++ b/src/realmd/AuthSocket.cpp @@ -283,6 +283,7 @@ void AuthSocket::SendProof(Sha1Hash sha) { case 5875: // 1.12.1 case 6005: // 1.12.2 + case 6141: // 1.12.3 { sAuthLogonProof_S_BUILD_6005 proof; memcpy(proof.M2, sha.GetDigest(), 20); @@ -898,6 +899,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer& pkt, uint32 acctid) { case 5875: // 1.12.1 case 6005: // 1.12.2 + case 6141: // 1.12.3 { pkt << uint32(0); // unused value pkt << uint8(sRealmList.size()); diff --git a/src/realmd/RealmList.cpp b/src/realmd/RealmList.cpp index ab606af3b..d06591d2f 100644 --- a/src/realmd/RealmList.cpp +++ b/src/realmd/RealmList.cpp @@ -31,7 +31,7 @@ INSTANTIATE_SINGLETON_1(RealmList); extern DatabaseType LoginDatabase; -// will only support WoW 1.12.1/1.12.2, WoW:TBC 2.4.3, WoW:WotLK 3.3.5a and official release for WoW:Cataclysm and later, client builds 15595, 10505, 8606, 6005, 5875 +// will only support WoW 1.12.1/1.12.2/1.12.3, WoW:TBC 2.4.3, WoW:WotLK 3.3.5a and official release for WoW:Cataclysm and later, client builds 15595, 10505, 8606, 6005, 5875 // if you need more from old build then add it in cases in realmd sources code // list sorted from high to low build and first build used as low bound for accepted by default range (any > it will accepted by realmd at least) @@ -46,6 +46,7 @@ static RealmBuildInfo ExpectedRealmdClientBuilds[] = {11159, 3, 3, 0, 'a'}, {10505, 3, 2, 2, 'a'}, {8606, 2, 4, 3, ' '}, + {6141, 1, 12, 3, ' '}, {6005, 1, 12, 2, ' '}, {5875, 1, 12, 1, ' '}, {0, 0, 0, 0, ' '} // terminator diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 69dd54cbc..82700d1f4 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12682" + #define REVISION_NR "12683" #endif // __REVISION_NR_H__