View Full Version : My edited left/right script ... is it catchable?
supersayian2224
09-06-2009, 01:08 PM
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.
Can anyone help me make it less catchable? I'm using it right now to sell stuff to shops.
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
09-06-2009, 01:17 PM
Tyvm :]
supersayian2224
09-06-2009, 01:25 PM
wait, so is mouse not bannable then? Your second script?
BobboHobbo
09-06-2009, 01:31 PM
Yes the mouse from SRL is not banable because it replicates a humans click.
supersayian2224
09-06-2009, 01:37 PM
WTF:
Line 10: [Error] (10:1): Unknown identifier 'Mouse' in script
Neehosoft
09-06-2009, 03:29 PM
WTF:
Line 10: [Error] (10:1): Unknown identifier 'Mouse' in script
1. Is SRL included?
Try:
MMouse(x,y);
Floor66
09-07-2009, 01:27 AM
SRL isn't included :p
add
{.include SRL/SRL.scar}
After the Program blabla; part.
You also need to put SetupSRL; after begin.
supersayian2224
09-07-2009, 01:52 AM
Sorry guys I should have known that hahah..
supersayian2224
09-07-2009, 08:18 AM
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
09-07-2009, 09:22 PM
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.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.