From 29a8c4f0b928d3729d19acb37d872ad87782ee16 Mon Sep 17 00:00:00 2001 From: Gitea Date: Sun, 21 Aug 2022 13:31:51 +1000 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/AuthenticationService.cs | 2 +- .../CommandManager/AccountCommands.cs | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) 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) {