Jump to content

Auto Captcha


joniko1990

Recommended Posts

  • 1 month later...

 

 

var Captcha:string;
begin
while delay(500) do
if Captcha <> Engine.DlgText then
begin
Captcha := Engine.DlgText;
if (Pos('снятия', Captcha) <> 0) then
PlaySound('Sounds/hp.wav',false);
Delay(1800);
end;
end.

 

or 

 

he not reacts ,captcha code does not write

function SetForegroundWindow(hwnd: integer) : Boolean; stdcall;
external 'user32.dll';

function captcha:boolean; begin
if engine.dlgtext.contains('Refresh') or
engine.dlgtext.contains('Captcha') or
engine.dlgtext.contains('60 seconds') or
engine.dlgtext.contains('Bot') then begin
SetForegroundWindow(Engine.GameWindow); 
PlaySound(exepath+'\sounds\'+'PlayerAlarm'+'.wav');
delay(500); 
StopSound;
end; 

Edited by valentin
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...