Jump to content
Zodiakk93

unknown identifier 'HoldMouse'

Recommended Posts

I am getting 'Unknown Identifier 'Holdmouse''. I also get it on'ActivateClient' and 'FindColorTolerance' but not 'FindColor'.

For the record, this same script runs just fine on my primary laptop which runs 3.12. I tried running it on 3.12 on my new Secondary laptop and got no compilation errors, but it will not click. Anyone know what may be going on here?

 

Also, here is the current script (it is not for RS, its for another game called Oz)

 

program cast;
var
 x, y: Integer;
begin
Repeat



 if (FindColor(x, y, 4367103, 75, 190, 75, 190))then //if fish detected

begin
x := 82;
y := 184;

wait(random(100)+8000)
HoldMouse(x,y,true);
wait(random(300)+120);
releasemouse(x,y,true);
wait(random(200)+9000)
end;
until false


end.

 

EDIT: I see now that 'FindColorTolerance' is now just 'FindColorTol', maybe there are other functions(is that the right term?) that have been renamed.

Edited by Zodiakk93
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...