From 7a070f3ce89fd872a21d9e13ed69c88bc5434af0 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 30 Aug 2020 12:01:03 +0200 Subject: [PATCH] update of 1.32.1 --- Comun/Frames/Autentificacion/AccountLogin.cs | 2 +- Forms/GestionCuentas.Designer.cs | 11 ++-------- Otros/Account.cs | 2 +- Utilities/Config/AccountConfig.cs | 22 ++++---------------- 4 files changed, 8 insertions(+), 29 deletions(-) diff --git a/Comun/Frames/Autentificacion/AccountLogin.cs b/Comun/Frames/Autentificacion/AccountLogin.cs index b11d9f7ef..7cd53665c 100644 --- a/Comun/Frames/Autentificacion/AccountLogin.cs +++ b/Comun/Frames/Autentificacion/AccountLogin.cs @@ -25,7 +25,7 @@ public void GetWelcomeKeyAsync(TcpClient prmClient, string prmPacket) account.AccountState = AccountStates.CONNECTED; account.welcomeKey = prmPacket.Substring(2); - prmClient.SendPacket("1.31.2"); + prmClient.SendPacket("1.32.1"); prmClient.SendPacket(prmClient.account.accountConfig.accountUsername + "\n" + Hash.Crypt_Password(prmClient.account.accountConfig.accountPassword, prmClient.account.welcomeKey)); prmClient.SendPacket("Af"); } diff --git a/Forms/GestionCuentas.Designer.cs b/Forms/GestionCuentas.Designer.cs index 4c8c3a7d3..f34fbfe68 100644 --- a/Forms/GestionCuentas.Designer.cs +++ b/Forms/GestionCuentas.Designer.cs @@ -482,15 +482,8 @@ private void InitializeComponent() this.comboBox_Servidor.Items.AddRange(new object[] { "Eratz", "Henual", - "Clustus", - "Nabur", - "Arty", - "Algathe", - "Hogmeiser", - "Droupik", - "Bilby", - "Ayuto", - "Issering"}); + "Crail", + "Galgarion"}); this.comboBox_Servidor.Location = new System.Drawing.Point(3, 16); this.comboBox_Servidor.Name = "comboBox_Servidor"; this.comboBox_Servidor.Size = new System.Drawing.Size(297, 29); diff --git a/Otros/Account.cs b/Otros/Account.cs index bb472b592..1cc10a817 100644 --- a/Otros/Account.cs +++ b/Otros/Account.cs @@ -57,7 +57,7 @@ public Account(AccountConfig prmAccountConfig) public void Connect() { connexion = new TcpClient(this); - connexion.ConnectToServer(Dns.GetHostAddresses("dofus-co-retro-f9e1b368375d4153.elb.eu-west-1.amazonaws.com"), GlobalConfig.loginPort); + connexion.ConnectToServer(Dns.GetHostAddresses("54.194.75.38"), GlobalConfig.loginPort); } public void Disconnect() diff --git a/Utilities/Config/AccountConfig.cs b/Utilities/Config/AccountConfig.cs index 5101fe3b4..1c498429e 100644 --- a/Utilities/Config/AccountConfig.cs +++ b/Utilities/Config/AccountConfig.cs @@ -54,24 +54,10 @@ public int Get_Server_ID() return 601; case "Henual": return 602; - case "Nabur": - return 603; - case "Arty": - return 604; - case "Algathe": - return 605; - case "Hogmeiser": - return 606; - case "Droupik": - return 607; - case "Ayuto": - return 608; - case "Bilby": - return 609; - case "Clustus": - return 610; - case "Issering": - return 611; + case "Crail": + return 613; + case "Galgarion": + return 614; default: return 601; }