SRL Archive - OSR Script Requests

Auto clicker


scoping6

2015-04-14 14:40:00

can someone please just make an auto clicker script with smart client that clicks in 1 place thanks

scoping6

2015-04-14 14:45:18

For osrs

Hoodz

2015-04-14 14:49:48


program autoClicker;
{$DEFINE SMART}
{$I SRL-OSR/SRL.simba}

const
waitTime = 1000; {1000 = 1 sec}
randomWait = 300; {if waitTime = 1000 (1sec) and randomWait = 300 it will randomly sleep between 700-1300 ms}
locX = 40;
locY = 40;

begin
setupSRL;
repeat
clickMouse(locX, locY, MOUSE_LEFT);
sleep(waitTime + randomRange(-randomWait, randomWait));
until (false);
end.

scoping6

2015-04-14 14:56:25

EVERY TIME i run a script i get Error: Duplicate declaration "AddDTM" at line 164

scoping6

2015-04-14 15:14:55

i tried it and got it to work, but still doesn't click

Hoodz

2015-04-14 15:32:29

From: scoping6
i tried it and got it to work, but still doesn't click


is smart enabled and have you put in the correct coords?

scoping6

2015-04-17 11:57:56

yes smart client opens just doesnt click at all

CynicRus

2015-04-17 12:32:30

Also you can try this: https://villavu.com/forum/showthread.php?t=95747

Prometheus

2015-04-19 02:19:21

From: scoping6
EVERY TIME i run a script i get Error: Duplicate declaration "AddDTM" at line 164


Make sure the Interpreter is set to PascalScript and not Lape. Can be found under the 'Script' tab.