// vhM=.pxo=
private bool tBo=(bool tRo=)
{
bool flag = false;
bool result;
if (this.qBo=.Text == "0000-0000")
{
MessageBox.Show("Invalid Hardware ID.");
result = false;
}
else
{
base.Size = new Size(328, 162);
Random random = new Random();
string text = random.Next(1, 9999999).ToString();
DateTime dateTime = DateTime.Now;
dateTime = dateTime.Date;
int dayOfYear = dateTime.DayOfYear;
string a = "9";
string b = "";
int num = 0;
int num2 = 0;
string str = "0";
string a2 = "";
IPAddress[] hostAddresses;
try
{
hostAddresses = Dns.GetHostAddresses("tibiaibot.dominiotemporario. com");
Uri destination = new Uri("http://tibiaibot.dominiotemporario.com");
Uri proxy = WebRequest.GetSystemWebProxy().GetProxy(destinatio n);
a2 = proxy.Host;
}
catch
{
this.rBo=.Text = "Host server error connection. Try again in a few minutes.";
base.Size = new Size(328, 185);
this.rho=.Visible = false;
result = false;
return result;
}
if ((!(a2 == "tibiaibot.dominiotemporario.com") || a2 == "187.17.96.84") && hostAddresses[0].ToString() == "187.17.96.84")
{
goto MACROS;
}
MACROS:
this.rho=.Visible = true;
this.Refresh();
try
{
this.Days = 8;
this.rxo= = true;
}
catch
{
MessageBox.Show("Connection fail.");
this.rho=.Visible = false;
result = false;
return result;
}
if (!(a == "0"))
{
string str2 = pxo=.phc=(this.qBo=.Text.Trim() + dayOfYear.ToString());
string text2 = pxo=.phc=(str2 + text.Trim());
if (!(text2 == b))
{
this.rRo=.Text = "MaCrOs " + num.ToString() + " . o ";
this.rRo=.Font = new Font("Segoe Print", 16f, FontStyle.Bold);
base.Update();
Thread.Sleep(3000);
this.ActivateLogin = true;
flag = true;
this.KeySystem = text2;
this.KeySend = text.Trim();
this.VarSysEm = this.qRo=.Text.Trim();
this.VarSysId = this.qBo=.Text.Trim();
this.VarLogin = this.rxo=;
base.Close();
}
}
else
{
if (a == "1")
{
this.rBo=.Text = "No data server connection. Try again in a few minutes.";
}
else
{
if (a == "2")
{
this.rBo=.Text = "Bad Login. You have used " + num2.ToString() + " out of 5 login attempts.";
}
else
{
if (a == "3")
{
this.rBo=.Text = "Bad Login. You have used " + num2.ToString() + " out of 5 login attempts.";
}
else
{
if (a == "4")
{
this.rBo=.Text = "Sorry, but you don't have days. Purchase a license time.";
}
else
{
if (a == "5")
{
this.rBo=.Text = "Bad login. You will be unable to login for 15 minutes.";
}
else
{
if (a == "6")
{
this.rBo=.Text = "Sorry, but your account are blocked.";
}
else
{
if (a == "7")
{
string str3 = "The computer which you have last logged in with account appears to be different than currently being used. iBot can oly used on one computer at a time.\n\n";
string str4 = "If you are changing computers, have formatted or changed hardware, you should assign this computer to this account. This will make it so that you can use the bot on this computer only.\n\n";
string str5 = "Warnung : You may only changed the assigned computer for the account once every 7 days.\n\n";
string str6 = "Do you want to assign this computer to the account?\n";
DialogResult dialogResult = MessageBox.Show(str3 + str4 + str5 + str6, "Hardware ID Change ?", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);
if (dialogResult == DialogResult.Yes)
{
flag = this.tBo=(true);
}
else
{
this.rBo=.Text = "Hardware ID change.";
}
}
else
{
if (a == "8")
{
this.rBo=.Text = "Hardware ID change. You will be unable to change in " + str + " . o ";
}
else
{
this.rBo=.Text = "Invalid version.";
}
}
}
}
}
}
}
}
}
if (this.rBo=.Text == "")
{
base.Size = new Size(328, 162);
}
else
{
base.Size = new Size(328, 185);
}
this.rho=.Visible = false;
result = flag;
}
return result;
}
Zakładki