From 2c854f1afe7d6a8ee3a5568d06aa47b28e2ebffa Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 4 Jul 2023 22:36:22 +0200 Subject: [PATCH] 1.14.4 support. --- README.md | 5 +++-- src/Launcher.cs | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d7c94b0..dff3570 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,9 @@ A game launcher for World of Warcraft that allows you to connect to custom serve Please see our Open Source project [Documentation Repo](https://github.com/Arctium/Documentation) ### IMPORTANT NOTE FOR LOCAL DEVELOPMENT & SERVER CONNECTIONS -#### Applies to: 3.4.2 or later, 10.1.5 or later -* LOCAL HOSTNAME & IP: `USE` the `--dev` command line parameter to to avoid issues with invalid certificate chains. +#### Applies to: 1.14.4 or later, 3.4.2 or later, 10.1.5 or later +* **Dev Mode is enabled by default for local game portals.** +* LOCAL HOSTNAME & IP: `USE` the `--dev` command line parameter to force the dev mode to avoid issues with invalid certificate chains. * EXTERNAL HOSTNAME: * `DO NOT` use the `--dev` command line parameter. * `USE` a valid certificate matching your authentication/bnet server host name. diff --git a/src/Launcher.cs b/src/Launcher.cs index 830e7c2..09880c3 100644 --- a/src/Launcher.cs +++ b/src/Launcher.cs @@ -168,7 +168,7 @@ static class Launcher // We need to cache this here since we are using our RSA modulus as auth seed. var modulusOffset = memory.Data.FindPattern(Patterns.Common.SignatureModulus); - if (clientVersion is (1, >= 14, _, _) or (3, 4, <= 1, _) or (9, _, _, _) or (10, <= 1, _, _) and not (10, 1, 5, _)) + if (clientVersion is (1, >= 14, <= 3, _) or (3, 4, <= 1, _) or (9, _, _, _) or (10, <= 1, _, _) and not (10, 1, 5, _)) { Task.WaitAll(new[] { @@ -183,7 +183,7 @@ static class Launcher memory.PatchMemory(Patterns.Common.ConnectToModulus, Patches.Common.RsaModulus, "ConnectTo RsaModulus"), // Recent clients have a different signing algorithm in EnterEncryptedMode. - clientVersion is (9, 2, 7, _) or (3, _, _, _) or (10, _, _, _) + clientVersion is (9, 2, 7, _) or (3, _, _, _) or (10, _, _, _) or (1, >= 14, >= 4, _) ? memory.PatchMemory(Patterns.Common.CryptoEdPublicKey, Patches.Common.CryptoEdPublicKey, "GameCrypto Ed25519 PublicKey") : memory.PatchMemory(Patterns.Common.CryptoRsaModulus, Patches.Common.RsaModulus, "GameCrypto RsaModulus"), @@ -208,7 +208,7 @@ static class Launcher WaitForUnpack(ref processInfo, memory, ref mbi, gameAppData, antiCrash); #if x64 - if (clientVersion is (1, >= 14, _, _) or (3, 4, <= 1, _) or (9, _, _, _) or (10, <= 1, _, _) and not (10, 1, 5, _)) + if (clientVersion is (1, >= 14, <= 3, _) or (3, 4, <= 1, _) or (9, _, _, _) or (10, <= 1, _, _) and not (10, 1, 5, _)) { Task.WaitAll(new[] {