mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[12683] Add support for client 1.12.3 (build 6141) to realmd
original author @wowpsp
This commit is contained in:
parent
f41967cfa3
commit
ab23f6978a
3 changed files with 5 additions and 2 deletions
|
|
@ -283,6 +283,7 @@ void AuthSocket::SendProof(Sha1Hash sha)
|
||||||
{
|
{
|
||||||
case 5875: // 1.12.1
|
case 5875: // 1.12.1
|
||||||
case 6005: // 1.12.2
|
case 6005: // 1.12.2
|
||||||
|
case 6141: // 1.12.3
|
||||||
{
|
{
|
||||||
sAuthLogonProof_S_BUILD_6005 proof;
|
sAuthLogonProof_S_BUILD_6005 proof;
|
||||||
memcpy(proof.M2, sha.GetDigest(), 20);
|
memcpy(proof.M2, sha.GetDigest(), 20);
|
||||||
|
|
@ -898,6 +899,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer& pkt, uint32 acctid)
|
||||||
{
|
{
|
||||||
case 5875: // 1.12.1
|
case 5875: // 1.12.1
|
||||||
case 6005: // 1.12.2
|
case 6005: // 1.12.2
|
||||||
|
case 6141: // 1.12.3
|
||||||
{
|
{
|
||||||
pkt << uint32(0); // unused value
|
pkt << uint32(0); // unused value
|
||||||
pkt << uint8(sRealmList.size());
|
pkt << uint8(sRealmList.size());
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ INSTANTIATE_SINGLETON_1(RealmList);
|
||||||
|
|
||||||
extern DatabaseType LoginDatabase;
|
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
|
// 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)
|
// 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'},
|
{11159, 3, 3, 0, 'a'},
|
||||||
{10505, 3, 2, 2, 'a'},
|
{10505, 3, 2, 2, 'a'},
|
||||||
{8606, 2, 4, 3, ' '},
|
{8606, 2, 4, 3, ' '},
|
||||||
|
{6141, 1, 12, 3, ' '},
|
||||||
{6005, 1, 12, 2, ' '},
|
{6005, 1, 12, 2, ' '},
|
||||||
{5875, 1, 12, 1, ' '},
|
{5875, 1, 12, 1, ' '},
|
||||||
{0, 0, 0, 0, ' '} // terminator
|
{0, 0, 0, 0, ' '} // terminator
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12682"
|
#define REVISION_NR "12683"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue