diff --git a/Source/Game/AI/SmartScripts/SmartAIManager.cs b/Source/Game/AI/SmartScripts/SmartAIManager.cs index 17734ea0c..b7e39e812 100644 --- a/Source/Game/AI/SmartScripts/SmartAIManager.cs +++ b/Source/Game/AI/SmartScripts/SmartAIManager.cs @@ -3866,7 +3866,7 @@ namespace Game.AI [FieldOffset(20)] public Raw raw; - [FieldOffset(36)] + [FieldOffset(40)] public string param_string; #region Structs diff --git a/Source/Game/Networking/WorldSocket.cs b/Source/Game/Networking/WorldSocket.cs index 25e61a664..9c39518a2 100644 --- a/Source/Game/Networking/WorldSocket.cs +++ b/Source/Game/Networking/WorldSocket.cs @@ -504,6 +504,7 @@ namespace Game.Networking // Check that Key and account name are the same on client and server if (!hmac.Digest.Compare(authSession.Digest)) { + SendAuthResponseError(BattlenetRpcErrorCode.Denied); Log.outError(LogFilter.Network, "WorldSocket.HandleAuthSession: Authentication failed for account: {0} ('{1}') address: {2}", account.game.Id, authSession.RealmJoinTicket, address); CloseSocket(); return;