From c94edca8c3500228635ce573ef67764d0a533fa1 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 27 Nov 2019 11:15:03 -0500 Subject: [PATCH] Core: Updated allowed build to 8.2.5.32638 Port From (https://github.com/TrinityCore/TrinityCore/commit/387705a8fceb3072581872680201a7642dec93d8) --- README.md | 2 +- Source/Framework/Realm/RealmManager.cs | 1 + Source/Game/Network/WorldSocket.cs | 2 +- sql/base/auth_database.sql | 7 ++++--- sql/updates/auth/master/2019_11_23_00_auth.sql | 3 +++ 5 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 sql/updates/auth/master/2019_11_23_00_auth.sql diff --git a/README.md b/README.md index e34450edb..1748fc8f1 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ CypherCore is an open source server project for World of Warcraft written in C#. -The current support game version is: 8.2.5.32580 +The current support game version is: 8.2.5.32638 ### Prerequisites * Visual Studio 2017 with netcore 2.2 [Download](https://www.visualstudio.com/downloads/) diff --git a/Source/Framework/Realm/RealmManager.cs b/Source/Framework/Realm/RealmManager.cs index 9d3137ef1..95d08ab4f 100644 --- a/Source/Framework/Realm/RealmManager.cs +++ b/Source/Framework/Realm/RealmManager.cs @@ -122,6 +122,7 @@ public class RealmManager : Singleton // List of client builds for verbose version info in realmlist packet RealmBuildInfo[] ClientBuilds = { + new RealmBuildInfo(32638, 8, 2, 5, ' ' ), new RealmBuildInfo(32580, 8, 2, 5, ' ' ), new RealmBuildInfo(32494, 8, 2, 5, ' ' ), new RealmBuildInfo(28938, 8, 1, 5, ' ' ), diff --git a/Source/Game/Network/WorldSocket.cs b/Source/Game/Network/WorldSocket.cs index 5ae87c50c..2d7ab09a3 100644 --- a/Source/Game/Network/WorldSocket.cs +++ b/Source/Game/Network/WorldSocket.cs @@ -37,7 +37,7 @@ namespace Game.Network static byte[] ContinuedSessionSeed = { 0x16, 0xAD, 0x0C, 0xD4, 0x46, 0xF9, 0x4F, 0xB2, 0xEF, 0x7D, 0xEA, 0x2A, 0x17, 0x66, 0x4D, 0x2F }; static byte[] EncryptionKeySeed = { 0xE9, 0x75, 0x3C, 0x50, 0x90, 0x93, 0x61, 0xDA, 0x3B, 0x07, 0xEE, 0xFA, 0xFF, 0x9D, 0x41, 0xB8 }; - static byte[] ClientTypeSeed_Wn64 = { 0x87, 0xC2, 0xFA, 0xA0, 0xD7, 0x93, 0x1B, 0xF0, 0x16, 0x29, 0x90, 0x25, 0xC0, 0xDD, 0xCA, 0x14 }; + static byte[] ClientTypeSeed_Wn64 = { 0x5D, 0x07, 0xEC, 0xE7, 0xD4, 0xA8, 0x67, 0xDD, 0xDE, 0x61, 0x5D, 0xAD, 0x22, 0xB7, 0x6D, 0x4E }; static byte[] ClientTypeSeed_Mc64 = { 0x34, 0x1C, 0xFE, 0xFE, 0x3D, 0x72, 0xAC, 0xA9, 0xA4, 0x40, 0x7D, 0xC5, 0x35, 0xDE, 0xD6, 0x6A }; public WorldSocket(Socket socket) : base(socket) diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index aa7ca82ad..cb8640b0e 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -2009,7 +2009,7 @@ CREATE TABLE `realmlist` ( `timezone` tinyint(3) unsigned NOT NULL DEFAULT '0', `allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', `population` float unsigned NOT NULL DEFAULT '0', - `gamebuild` int(10) unsigned NOT NULL DEFAULT '32580', + `gamebuild` int(10) unsigned NOT NULL DEFAULT '32638', `Region` tinyint(3) unsigned NOT NULL DEFAULT '1', `Battlegroup` tinyint(3) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), @@ -2024,7 +2024,7 @@ CREATE TABLE `realmlist` ( LOCK TABLES `realmlist` WRITE; /*!40000 ALTER TABLE `realmlist` DISABLE KEYS */; INSERT INTO `realmlist` VALUES -(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,32580,1,1); +(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,32638,1,1); /*!40000 ALTER TABLE `realmlist` ENABLE KEYS */; UNLOCK TABLES; @@ -2190,7 +2190,8 @@ INSERT INTO `updates` VALUES ('2019_08_18_00_auth.sql','0479A04B669A67D2E5A498CFB91507E742EFB34F','RELEASED','2019-08-17 11:51:02',0), ('2019_10_27_00_auth.sql','C943A651B5C9AC51BB7DF69821886F4B59F57153','RELEASED','2019-10-27 13:06:06',0), ('2019_11_13_00_auth.sql','EB680BA7D6B3A21A432687F452CDD86FB2DA677C','RELEASED','2019-11-13 11:49:55',0), -('2019_11_20_00_auth.sql','9BC11595D9CEA486AC1540A204DCE9D86A008D7D','RELEASED','2019-11-20 12:31:56',0); +('2019_11_20_00_auth.sql','9BC11595D9CEA486AC1540A204DCE9D86A008D7D','RELEASED','2019-11-20 12:31:56',0), +('2019_11_23_00_auth.sql','098708CDC5614B4523AD3B17670939671E661443','RELEASED','2019-11-23 12:20:03',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/updates/auth/master/2019_11_23_00_auth.sql b/sql/updates/auth/master/2019_11_23_00_auth.sql new file mode 100644 index 000000000..4df0a0e23 --- /dev/null +++ b/sql/updates/auth/master/2019_11_23_00_auth.sql @@ -0,0 +1,3 @@ +UPDATE `realmlist` SET `gamebuild`=32638 WHERE `gamebuild`=32580; + +ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int(10) unsigned NOT NULL DEFAULT '32638';