From e8370987eac95986554bac10cb82ef94a62f606f Mon Sep 17 00:00:00 2001 From: JustArchi Date: Mon, 21 Dec 2015 10:24:29 +0100 Subject: [PATCH] State the origin of 0xBAADF00D clearly --- ArchiSteamFarm/Bot.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index f6eb73a99..f85f640b6 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -25,6 +25,7 @@ using Newtonsoft.Json; using SteamAuth; using SteamKit2; +using SteamKit2.Internal; using System; using System.Collections.Concurrent; using System.Collections.Generic; @@ -37,9 +38,9 @@ namespace ArchiSteamFarm { internal sealed class Bot { private const ulong ArchiSCFarmGroup = 103582791440160998; private const ushort CallbackSleep = 500; // In miliseconds - private const uint LoginID = 0xBAADF00D; // This must be the same for all ASF bots and all ASF processes private static readonly ConcurrentDictionary Bots = new ConcurrentDictionary(); + private static readonly uint LoginID = MsgClientLogon.ObfuscationMask; // This must be the same for all ASF bots and all ASF processes private readonly string ConfigFile, LoginKeyFile, MobileAuthenticatorFile, SentryFile;