From ff00b3049a9543e3d173f955accef256c622cdad Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 30 Aug 2016 17:42:01 +0200 Subject: [PATCH] Correct LoginID to use 0 It seems that some broken OSes actually can lead to result of obfuscation mask instead of real value, so ASF shouldn't use it --- ArchiSteamFarm/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 6ee1445ed..b214dc699 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -41,11 +41,11 @@ using SteamKit2.Discovery; namespace ArchiSteamFarm { internal sealed class Bot : IDisposable { private const ushort CallbackSleep = 500; // In miliseconds + private const uint LoginID = 0; // This must be the same for all ASF bots and all ASF processes private const ushort MaxSteamMessageLength = 2048; internal 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 static readonly SemaphoreSlim GiftsSemaphore = new SemaphoreSlim(1); private static readonly SemaphoreSlim LoginSemaphore = new SemaphoreSlim(1);