SRL Archive - General Botting Help

SRL help, I need help setting the mouseSpeed to a random range


newguy45

2019-12-14 18:03:42

Hey guys im trying to make a really simple dart fletcher for myself but ive noticed my code is giving off a really predictable
mouse speed. I just want to change the SRL mouseSpeed in mouse.simba to something random like this


var
mouseSpeed: randomRange(25,31);

any help would be appreciated.

Joopi

2019-12-16 14:25:39

Is this for OSRS (SRL) or RS3 (SRL-6)?

newguy45

2019-12-17 12:40:19

im coding for OSRS

so far ive got this


program Fletch;
{$I SRL-6/SRL.Simba}

procedure firstRun;
begin
Mouse(1468, 799, 6, 10, MOUSE_LEFT);
wait(gaussRangeInt(20, 100));
end;
procedure everythingElse
begin
Mouse(1510, 793, 6, 10, MOUSE_LEFT);
wait(gaussRangeInt(10, 36));
Mouse(1510, 793, 6, 10, MOUSE_LEFT);
wait(gaussRangeInt(20, 100));
Mouse(1468, 799, 6, 10, MOUSE_LEFT);
wait(gaussRangeInt(10, 36));
Mouse(1468, 799, 6, 10, MOUSE_LEFT);
wait(gaussRangeInt(10, 36));
end;
begin
firstRun;
repeat
everythingElse;
until(false);
end.

sorry for the bad everything. I just make ugly, quick scripts for myself

Dan the man

2019-12-17 19:19:07

If you are doing fletching, could you not just replicate the mousekey method like most others do with AHK?
You would be moving the mouse a static number of pixels each way with a keypress and left clicking as soon as it lands. Could even add some human movement to vary the locations over prolonged use (bumping the mouse and realigning etc).

newguy45

2019-12-18 00:42:21

im not really interested in using AHK

Joopi

2019-12-22 18:08:24

I don't think you're hearing what anyone's saying :D
I was suggesting to use the SRL/SRL library instead of SRL-6 if youre coding this for osrs
Dan was suggesting you can "replicate" AHK, AKA make your bot look like its using AHK which is often better xp/h :p

acow

2019-12-24 22:30:33

guide on using srl/srl for osrs https://villavu.com/forum/showthread.php?t=118229
src code: https://github.com/SRL/SRL

join discord in guide if not already in it. gl

ogustuce

2020-02-16 00:41:18

I tried to modify the mouse speed before and changing it in var or const or in the include didn't do anything. What fixed it for me was calling the 'new' mouse speed just before the mousemove line.