diff --git a/src/DiIiS-NA/BGS-Server/ServicesSystem/Services/AuthenticationService.cs b/src/DiIiS-NA/BGS-Server/ServicesSystem/Services/AuthenticationService.cs index c8c1c7d..0ea801b 100644 --- a/src/DiIiS-NA/BGS-Server/ServicesSystem/Services/AuthenticationService.cs +++ b/src/DiIiS-NA/BGS-Server/ServicesSystem/Services/AuthenticationService.cs @@ -92,7 +92,7 @@ namespace DiIiS_NA.LoginServer.ServicesSystem.Services if (request.Program.ToLower() == "d3") if (request.ApplicationVersion != VersionRetail & request.ApplicationVersion != VersionPTR) { - Logger.Error("Подключение не правильной версии клиента!"); + //Logger.Error("Подключение не правильной версии клиента!"); var ercomplete = LogonResult.CreateBuilder().SetErrorCode(28); //(controller as HandlerController).Client.MakeRPC((lid) => AuthenticationListener.CreateStub((controller as HandlerController).Client).OnLogonComplete(controller, ercomplete.Build(), callback => { })); } diff --git a/src/DiIiS-NA/D3-GameServer/CommandManager/AccountCommands.cs b/src/DiIiS-NA/D3-GameServer/CommandManager/AccountCommands.cs index af89db7..c001157 100644 --- a/src/DiIiS-NA/D3-GameServer/CommandManager/AccountCommands.cs +++ b/src/DiIiS-NA/D3-GameServer/CommandManager/AccountCommands.cs @@ -133,25 +133,6 @@ namespace DiIiS_NA.GameServer.CommandManager return string.Format("Updated battle tag for account {0}.", email); } - [Command("sendmail", "Allows you to send the collection edition's mail for toon\nUsage: account sendmail ", Account.UserLevels.GM)] - public string SendMail(string[] @params, BattleClient invokerClient) - { - if (@params.Count() < 2) - return "Invalid arguments. Type 'help account sendmail' to get help."; - - var toonId = 0; - Int32.TryParse(@params[0], out toonId); - int setid = 0; - Int32.TryParse(@params[1], out setid); - - var toon = ToonManager.GetToonByLowID((ulong)toonId); - - if (toon == null) - return string.Format("No toon with id '{0}' exists.", toonId); - - return string.Format("Sent item in mail {0} for toon {1}.", setid, toonId); - } - [Command("setuserlevel", "Allows you to set a new user level for account\nUsage: account setuserlevel .\nAvailable user levels: owner, admin, gm, user.", Account.UserLevels.GM)] public string SetLevel(string[] @params, BattleClient invokerClient) {