diff -ur OgamePlayer_v2beta_src/Bot/FuncionesBot.cs OgamePlayer_v2beta_src_jarfil01/Bot/FuncionesBot.cs --- OgamePlayer_v2beta_src/Bot/FuncionesBot.cs 2006-06-02 19:05:24.000000000 +0200 +++ OgamePlayer_v2beta_src_jarfil01/Bot/FuncionesBot.cs 2007-06-02 07:17:19.000000000 +0200 @@ -15,7 +15,7 @@ { public partial class CuentaBot { - public static string UrlLogin = "http://www.ogame.com.es/portal/?lang=es&frameset=1"; + public static string UrlLogin = "http://ogame.com.es/"; /// /// Hace login en Ogame y devuelve la cadena de sesión obtenida @@ -64,7 +64,7 @@ res[1] = ServerUniverso.Match(WebBrowser.Document.Body.OuterHtml).Value; foreach (HtmlElement elemento in WebBrowser.Document.All) { - if (elemento.Name == "Uni") + if (elemento.Name == "universe") { elemento.SetAttribute("value", res[1]); } @@ -79,7 +79,7 @@ } } //Simular tecla Enter - WebBrowser.PulsarBoton(null, "Login"); + WebBrowser.PulsarBoton("button", null); //Obtener la sesion try