Code:
if (client.WaitingKillCaptcha)
{
if (Now32 > client.KillCountCaptchaStamp.AddSeconds(60))
{
client.Disconnect();
}
}
else
{
if (client.Entity.KillCount < 0) client.Entity.KillCount = 0;
if (client.Entity.KillCount >= 1500 || client.Entity.KillCount2 >= 150)
{
client.KillCountCaptchaStamp = Time32.Now;
client.WaitingKillCaptcha = true;
Npcs dialog = new Npcs(client);
client.ActiveNpc = 9999997;
client.KillCountCaptcha = client.GenerateCaptcha(5);
dialog.Text("Input the current text: " + client.KillCountCaptcha + " to verify your humanity.");
dialog.Input("Captcha message:", 1, (byte)client.KillCountCaptcha.Length);
dialog.Option("No thank you.", 255);
dialog.Send();
return;
}
else
{
if (Now32 > client.LastMove.AddMinutes(5) && Now32 < client.LastAttack.AddSeconds(5))
{
if (client.WaitingKillCaptcha)
{
if (Now32 > client.KillCountCaptchaStamp.AddSeconds(60))
{
client.Disconnect();
}
}
else
{
client.KillCountCaptchaStamp = Time32.Now;
client.WaitingKillCaptcha = true;
Npcs dialog = new Npcs(client);
client.ActiveNpc = 9999997;
client.KillCountCaptcha = client.GenerateCaptcha(5);
dialog.Text("Input the current text: " + client.KillCountCaptcha + " to verify your humanity.");
dialog.Input("Captcha message:", 1, (byte)client.KillCountCaptcha.Length);
dialog.Option("No thank you.", 255);
dialog.Send();
}
}
}
}
I put the correct captcha, the dialog appears again and then get disconnection
Anyone help me?
THX






