hey I tried making this myself but it doesn't work for me so I need some help
WHAT I WANT IT TO DO
1)login to runescape by smart,
2)find the colour specified,
3)moves mouse to that colour,
4)clicks mouse on that colour,
5)presses "spacebar" and "2" 6 times
6)repeats steps 4 & 5 until I stop program or after 28 iterations (full inventory)
PROBLEMS WITH MY SCRIPT
Opens up smart but doesn't login (just presses spacebar and 2 keys in username and password),
I then pause program and login manually, I press run again and it just
presses spacebar and 2 keys over and over. The red dot is stuck in the top
left hand corner of smart and doesn't move or click.
I am using a laptop if that has anything to do with it.
MY SCRIPT
Code:
program mous;
{$i srl/srl/misc/smart.simba}
{$i SRL/SRL.simba}
var
x, y : Integer;
begin
setupsrl;
begin
wait(5000);
*
repeat
FindColor(x, y, 2255975,MSX1, MSY1, MSX2, MSY2)
MMouse(x, y, 4, 4)
Mouse(x, y, 4, 4,True)
TypeSend(' 2');
TypeSend(' 2');
TypeSend(' 2');
TypeSend(' 2');
TypeSend(' 2');
TypeSend(' 2');
until (false);
end;
end.
anything to help me with it would be great or create it yourself if it won't take you that long thankyou
