Results 1 to 6 of 6

Thread: Help Repeating same mouse click

  1. #1
    Join Date
    Jan 2014
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    20 Post(s)

    Default Help Repeating same mouse click

    I'm right next to a bank, and I'm thieving from a stall.. I want to thieve 28 times (1 time an item) and then bank...
    For clicking on the stall i'm just clicking cordinates, but how would I make this click the stall 28 times? Thanks..

    Program StallClicker;

    begin
    moveMouse(314, 216);
    Sleep(30 + Random(100));
    ClickMouse(314, 216, Mouse_left);
    end.

  2. #2
    Join Date
    Jun 2014
    Location
    Lithuania
    Posts
    475
    Mentioned
    27 Post(s)
    Quoted
    200 Post(s)

    Default

    Quote Originally Posted by Volture View Post
    I'm right next to a bank, and I'm thieving from a stall.. I want to thieve 28 times (1 time an item) and then bank...
    For clicking on the stall i'm just clicking cordinates, but how would I make this click the stall 28 times? Thanks..

    Program StallClicker;

    begin
    moveMouse(314, 216);
    Sleep(30 + Random(100));
    ClickMouse(314, 216, Mouse_left);
    end.
    Simba Code:
    Program StallClicker;
    var i:integer;
    begin
       
      for i:=1 to 28 do //repeats from 1 to 28 , thats 28 times actions after do, in this case between begin and end;
        begin
          moveMouse(314, 216);
          Sleep(30 + Random(100));
          ClickMouse(314, 216, Mouse_left);
          wait(1000); // waits 1 seconds(1000ms) before clicking again i think should be some wait time added to allow it to thieve item.
        end;
    end.

  3. #3
    Join Date
    Jan 2014
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    20 Post(s)

    Default

    Quote Originally Posted by cosmasjdz View Post
    Simba Code:
    Program StallClicker;
    var i:integer;
    begin
       
      for i:=1 to 28 do //repeats from 1 to 28 , thats 28 times actions after do, in this case between begin and end;
        begin
          moveMouse(314, 216);
          Sleep(30 + Random(100));
          ClickMouse(314, 216, Mouse_left);
          wait(1000); // waits 1 seconds(1000ms) before clicking again i think should be some wait time added to allow it to thieve item.
        end;
    end.
    Thanks that helps a lot... Now how would I add banking after that? I need to move mouse and click on chords for banking but I'm not really sure how to add on more mouse movements because I tried and it's adding the movements to the bank after everytime it thieves.. Thanks in advance

  4. #4
    Join Date
    Jun 2014
    Location
    Lithuania
    Posts
    475
    Mentioned
    27 Post(s)
    Quoted
    200 Post(s)

    Default

    Simba Code:
    Program StallClicker;
    var i:integer;
    begin
       
      for i:=1 to 28 do //repeats from 1 to 28 , thats 28 times actions after do, in this case between begin and end;
        begin
          moveMouse(314, 216);
          Sleep(30 + Random(100));
          ClickMouse(314, 216, Mouse_left);
          wait(1000); // waits 1 seconds(1000ms) before clicking again i think should be some wait time added to allow it to thieve item.
        end;
    // your banking stuff

    end.

    It basicly depends what bank you gona use, the banking procedure i mean.

  5. #5
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    using pure mouse click is very. very. VERY dangerous.

  6. #6
    Join Date
    Jan 2015
    Location
    Hungary
    Posts
    90
    Mentioned
    0 Post(s)
    Quoted
    34 Post(s)

    Default

    Quote Originally Posted by theholyone View Post
    using pure mouse click is very. very. VERY dangerous.
    Also, It's just ask for bugs, so your script won't run for as long as it could if you had used better methods.
    Everything is achievable!

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
  •