• Log in or sign up for an account here: https://www.sythe.org/login

Scar with rsc, help with colors.

MyNan0wns

Newcomer
Joined
Jun 17, 2007
Sythe Gold
0
Messages
2
Don't know whether its a problem with using Vista 64bit or writing a script for SCAR, but everytime I run a basic command such as:
//
program CombineExample1;

var
x,y: Integer;

const
MonsterColor = 293491;

begin
if(FindColor(x,y,MonsterColor,0,0,100,100)) then
begin
MoveMouseSmoothEx(x,y +random(0),20,40,45,25,20);
Wait(100+random(10));
ClickMouse(x,y,true);
end;
end.
//

The script compiles, and "successfully executes" within a second without actually visibly clicking anywhere. & yes my colour is set to 32bit :)



--Edit, solved it, changed back to 16bit and all is well. o0
 
Because you only set the script to run the procedure once.

You can make sure the script has found color by adding

begin
MoveMouseSmoothEx(x,y +random(0),20,40,45,25,20);
Wait(100+random(10));
Writeln('Found color');
ClickMouse(x,y,true);
end;



The mosemousesmooth and clickmouse procedure is off dates and detectable, so I recommend you use the procedure mouse(x, y, random x, random y, left click); and mmouse(x, y, random x, randomy y);

Clickmouse can be replaced with this
Example:
Begin
Mouse(310, 310, 3,3,true);
End.

its similiar for mmouse, there is just no true,false in the end.

I think you have a lot of potential, being able to learn the very basics from un offical source. I would suggest you start to learn it from a REAL and PROPER source, which is villavu.com
 
Runescape Gamblingrunescape gambling
Back
Top