Results 1 to 10 of 10

Thread: Clickmouse safe?

  1. #1
    Join Date
    Jun 2009
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Clickmouse safe?

    I usually use mousekeys to do repetitive tasks, such as high alching. I have written a script that simulates a person using mousekeys to high alch over and over again. The question is, I've read that ClickMouse can get you banned, but I assume this is because it does not include a random movement (Unless there is another reason, such as RS being able to detect when one uses this function. That's why I'm asking). Since I use mousekeys, it is not uncommon for me to not move my mouse at all for the entire high alching session. Here is my script:

    Code:
    program New;
    {.include SRL/SRL.scar}
    
    var
       x,y : Integer;
    
    Procedure SetUp;
    begin
      x:=RandomRange(670, 684);
      y:=RandomRange(275, 289);
    end;
    
    Procedure Click;
    begin
         ClickMouse(x, y, True);
         wait(1300+random(500));
    end;
    
    
    begin
      SetUp;
      repeat
      Click;
      until(false)
    end.
    If needed, I could add random break/skill-checking codes in... but I'm mostly interested in how risky this script is (Haven't tried to auto RS in a while lol)

  2. #2
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    The reason ClickMouse is thought to be detectable is because it clicks at well above human speeds.

  3. #3
    Join Date
    Jun 2009
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    The reason ClickMouse is thought to be detectable is because it clicks at well above human speeds.
    I see.

    Well, it seems that my original script wouldn't have worked anyhow. The first click would be at superhuman speeds.

    Here is an updated one, which should work, I think:

    Code:
    program New;
    {.include SRL/SRL.scar}
    
    var
       x,y : Integer;
    
    Procedure SetUp;
    begin
      x:=RandomRange(670, 684);
      y:=RandomRange(275, 289);
      MoveWindMouseEx(x, y, 0, 0, 10);
      wait(1000+random(500));
    end;
    
    Procedure Click;
    begin
         ClickWindMouse(x, y, 0, 0, True);
         wait(1300+random(500));
    end;
    
    
    begin
      SetUp;
      repeat
      Click;
      until(false)
    end.

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    The most common/ only mouse functions really used in SRL scripts are
    Mouse(x, y rx, ry:Integer, ClickLeft:Boolean);
    and
    MMouse(x, y rx, ry:Integer);

    :]
    Try looking though some already made scripts to get a better idea of basic scripting techniques etc.
    Last edited by YoHoJo; 02-20-2010 at 06:30 AM.

  5. #5
    Join Date
    Feb 2010
    Location
    England
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    a little typo by YoHoJo

    they aren't functions they're procedures

    the latter procedure is MMouse(x, y, rx, ry: Integer);

    void_hatred

  6. #6
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Thanks for MMouse typo.
    And bla bla function procedure, same thing, almost...

  7. #7
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Thanks for MMouse typo.
    And bla bla function procedure, same thing, almost...
    You still have them mixed up. ^^ It should be Mouse then MMouse. Mouse has five params, while MMouse has four.

  8. #8
    Join Date
    Feb 2010
    Location
    England
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    You still have them mixed up. ^^ It should be Mouse then MMouse. Mouse has five params, while MMouse has four.
    Quote Originally Posted by YoHoJo
    Mouse(x, y rx, ry:Integer, ClickLeft:Boolean);
    and
    MMouse(x, y rx, ry:Integer);
    that's what he has, no?

    void_hatred

  9. #9
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Quote Originally Posted by void_hatred View Post
    that's what he has, no?

    void_hatred
    His edit: Last edited by YoHoJo; Yesterday at 10:30 PM.

    My post: Yesterday 10:25 PM


  10. #10
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I don't know how MouseKeys work but if it clicks much like ClickMouse wouldn't it be instant? And people using MouseKeys legit shouldn't be banned right? So they can't tell the difference.

    You may need to just try to make your own though..
    SCAR Code:
    procedure ClickMouse2(x, y : integer; Left : boolean);
    begin
      HoldMouse(x, y, Left);
      Wait(50 + random(100)); // or whatever you want
      ReleaseMouse(x, y, Left);
    end;
    I would just use Mouse though.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •