mirror of
https://github.com/araxiaonline/WoW-Launcher.git
synced 2026-06-13 01:22:21 -04:00
Fix anti crash check.
This commit is contained in:
@@ -167,8 +167,9 @@ 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);
|
||||
var legacyCertMode = clientVersion is (1, >= 14, <= 3, _) 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, _))
|
||||
if (legacyCertMode)
|
||||
{
|
||||
Task.WaitAll(new[]
|
||||
{
|
||||
@@ -201,14 +202,14 @@ static class Launcher
|
||||
#if CUSTOM_FILES
|
||||
antiCrash = true;
|
||||
#else
|
||||
antiCrash = commandLineResult.HasOption(LaunchOptions.UseStaticAuthSeed) ||
|
||||
antiCrash = legacyCertMode || commandLineResult.HasOption(LaunchOptions.UseStaticAuthSeed) ||
|
||||
commandLineResult.GetValueForOption(LaunchOptions.DevMode) && LaunchOptions.IsDevModeAllowed;
|
||||
#endif
|
||||
|
||||
WaitForUnpack(ref processInfo, memory, ref mbi, gameAppData, antiCrash);
|
||||
|
||||
#if x64
|
||||
if (clientVersion is (1, >= 14, <= 3, _) or (3, 4, <= 1, _) or (9, _, _, _) or (10, <= 1, _, _) and not (10, 1, 5, _))
|
||||
if (legacyCertMode)
|
||||
{
|
||||
Task.WaitAll(new[]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user