LittlePip
2013-02-10 01:39:49
I'm using FindObj to find an object and it is working fine but it moves the mouse across the screen so incredibly slow. It takes several minutes for the cursor to get halfway across the runescape client. Anyone know what i'm doing wrong? here's the script for reference.
A bit of an afterthought, I've been scripting with SCAR for a while and today I've been messing around with Simba and SRL. Is there any documentation with a description of everything in SRL that I can use, or do I need to search through the .simba files?
EDIT: Ok what the fuck is with the Mouse() function? It's shit, it also moves the cursor at about a 2 pixels a second.
program Theiving;
{$i srl/srl.simba}
var
x,y:Integer;
Procedure Steal;
begin
//if FindColorTolerance(x,y,2014744,6,27,510,330,35) then
if FindObj(x,y,'pice',2014744,100) then
begin
Writeln('found');
end;
end;
begin
Steal;
end.A bit of an afterthought, I've been scripting with SCAR for a while and today I've been messing around with Simba and SRL. Is there any documentation with a description of everything in SRL that I can use, or do I need to search through the .simba files?
EDIT: Ok what the fuck is with the Mouse() function? It's shit, it also moves the cursor at about a 2 pixels a second.