Jump to content
byron

unknown identyfier findwindowtitlepart

Recommended Posts

i used to use this script and worked fine...

now it gives me an error

unknown identyfier findwindowtitlepart

 

how do we fix this? please.

 

the script is this:

 

program New;

var

x, y, z, monster1: Integer;

begin

monster1:= 4342049;//<======== The color of monster right here

z:=0;

findwindowtitlepart('Endless Online',false);

activateclient;

wait(20);

repeaT

keydown(112);

wait(10)

keyup(112);

if(FindColorSpiral(x, y, monster1, 13, 61, 630, 332))then

begin

clickmouse(x, y, true)

wait(600) //Time to wait between attacks with magic

END // Some spells take longer ei: boulders and fire from the sky

until(x = 5000000)

end.

Link to comment
Share on other sites

Updated to SCAR Divi 3.35+ series:

 

var
 x, y, z, monster1: Integer;
 w: THwndArray;

begin
 monster1 := 4342049;//<======== The color of monster right here
 z := 0; 
 w := FindWindows('Endless Online');      
 if (High(w) > -1) then
 begin
   ActivateWindow(w[0]); 
   SetLength(w, 0);
   Wait(500);
   repeat
     VKeyDown(VK_F1);
     Wait(10)
     VKeyUp(VK_F1);
     if FindColorSpiral(307, 135, x, y, monster1, 13, 61, 630, 332) then
     begin
       ClickMouse(x, y, mbLeft);
       Wait(600) //Time to wait between attacks with magic
     end; // Some spells take longer ei: boulders and fire from the sky
   until False;    
 end else
   WriteLn('Couldn''t find Engless Online! ');
end.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...