SRL Archive - Help

My edited left/right script ... is it catchable?


supersayian2224

2009-09-06 09:08:39

[PHP]program New;

var
cX, cY: Integer;

begin
Sleep(10001); //10 second break. 10 * 1000 = 10000 (milliseconds)
GetMousePos(cX, cY); //Get the current mouse position and store it in cX and cY
repeat //Start a loop
ClickMouse(cX, cY, False); //Right Click the mouse at cX and cY
wait(430+random(560));
ClickMouse(cX, cY, True); //Left Click the mouse at cX and cY.
wait(400+random(539));
Until(IsFKeyDown(2)); //Specifies that to stop this script you have to press F2.
end.[/PHP]

Can anyone help me make it less catchable? I'm using it right now to sell stuff to shops.

JAD

2009-09-06 09:15:08


program New;

var
cX, cY: Integer;

begin
Sleep(10001+random(2000)); //10 second break. 10 * 1000 = 10000 (milliseconds)
GetMousePos(cX, cY); //Get the current mouse position and store it in cX and cY
repeat //Start a loop
HoldMouse(cX, cY, False); //Right Click the mouse at cX and cY
wait(50+random(50));
ReleaseMouse(cX, cY, False);
wait(430+random(560));
HoldMouse(cX, cY, True); //Left Click the mouse at cX and cY.
wait(50+random(50));
ReleaseMouse(cX, cY, True);
wait(400+random(539));
Until(IsFKeyDown(2)); //Specifies that to stop this script you have to press F2.
end.

Like that?


ClickMouse is bannable because it doesn't hold the mouse at all. You could also take advantage of SRL's Mouse and MMouse functions.

Edit: Use them like:


program New;

var
cX, cY: Integer;

begin
Sleep(10001+random(2000)); //10 second break. 10 * 1000 = 10000 (milliseconds)
GetMousePos(cX, cY); //Get the current mouse position and store it in cX and cY
repeat //Start a loop
Mouse(cX, cY, 0, 0, false);
wait(430+random(560));
Mouse(cX, cY, 0, 0, true);
wait(400+random(539));
Until(IsFKeyDown(2)); //Specifies that to stop this script you have to press F2.
end.

supersayian2224

2009-09-06 09:17:15

Tyvm :]

supersayian2224

2009-09-06 09:25:02

wait, so is mouse not bannable then? Your second script?

BobboHobbo

2009-09-06 09:31:20

Yes the mouse from SRL is not banable because it replicates a humans click.

supersayian2224

2009-09-06 09:37:17

WTF:

Line 10: [Error] (10:1): Unknown identifier 'Mouse' in script

Neehosoft

2009-09-06 11:29:01

From: supersayian2224
WTF:

Line 10: [Error] (10:1): Unknown identifier 'Mouse' in script


1. Is SRL included?
Try:
MMouse(x,y);

Floor66

2009-09-06 21:27:00

SRL isn't included :p
add

{.include SRL/SRL.scar}

After the Program blabla; part.

Rich

2009-09-06 21:29:55

You also need to put
SetupSRL;
after begin.

supersayian2224

2009-09-06 21:52:32

Sorry guys I should have known that hahah..

supersayian2224

2009-09-07 04:18:55

One more thing,… I accidentally forgot to stop it after everything was sold in my inv… by the time I got there the screen was black so it wasn't clicking anymore….

could I get banned o.O

Sabzi

2009-09-07 17:22:00

I wouldn't worry about that. If you weren't reported I think they won't check you. Once I was "alching" in a random. Of course I wasn't alching because I was in a random …
That was about a month ago and my account is still alive.