Jump to content

Recommended Posts

  • 1 month later...
Posted (edited)

 

 

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...