Log in

View Full Version : Bank not found!



Robbiej
05-13-2007, 12:17 PM
Hey guys,
i'm making this banking script... My first script, but i've got this problem. Let me explain:

My code to move to the bank.

procedure MoveToBank;
begin
Writeln('Searching for bank...');
if(FindColor(x,y,BankColor,0,0,600,600)) then
begin
Writeln('Bank found!');
MoveMouseSmooth(x,y);
Wait(500);
ClickMouse(x,y,true);
end else
begin
Writeln('Bank not found!');
end
end;


What's wrong with this? I'm sure the BankColor is correct, i've even tried to change the bank color to a color you can see very clear. It keeps saying 'Bank not found!'

nielsie95
05-13-2007, 12:29 PM
Maybe you should use the coords of the MM?
Hint: Also use MMouse and Mouse instead of MoveMouse and ClickMouse. ;)

Robbiej
05-13-2007, 12:48 PM
:duh: I should've known that

But what's MMouse and Mouse?

nielsie95
05-13-2007, 12:59 PM
They're the mouse procedures from SRL. It won't give you an instant ban, unlike MoveMouse and ClickMouse.

Mouse - Move and click.
MMouse - Only move.

Robbiej
05-13-2007, 06:35 PM
Got it, thanks... Script almost finished...

~alex~
05-13-2007, 07:59 PM
also use findcolortolerance instead of findcolor.

Destroy Macintosh
05-15-2007, 10:34 PM
you should make wait(500) into wait(500+random(500)) so you dont get banned. using anti ban makes you less detectable.