Results 1 to 5 of 5

Thread: Repeating script

  1. #1
    Join Date
    Jun 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Repeating script

    im jus having trouble on how to make scripts repeat
    i read a tut but didint understand it
    and where do i place it in the script?

  2. #2
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Post the script and what you want to repeat, and I'll show you a couple ways you could make it repeat.
    Interested in C# and Electrical Engineering? This might interest you.

  3. #3
    Join Date
    Jun 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Begin
    MoveMouse(84,96);
    Wait(600);
    ClickMouse(84,96,true);
    Wait(600);
    MoveMouse(82,118);
    Wait(600);
    ClickMouse(82,118,true);
    end;

    (((its jus something simple i made to switch in rsc private duels cuz im new to scare )))

  4. #4
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Begin
      repeat
        MoveMouse(84,96);
        Wait(600);
        ClickMouse(84,96,true);
        Wait(600);
        MoveMouse(82,118);
        Wait(600);
        ClickMouse(82,118,true);
      until(False) // Endless repeat
    end;

    MoveMouse and ClickMouse will give you a fast ban. Also, your waiting is static, meaning that Jagex will find out you're a bot pretty fast. Here's a little fix that will make you seem less "Botty":
    SCAR Code:
    begin
      SetupSRL;
      MouseSpeed:= 25+random(5);  // Sets the mousespeed pretty fast
      repeat
        Mouse(84,96,2,2,true); // Read Comment 1
        Wait(600+random(200)); // Read Comment 2
        Mouse(82,118,2,2,true); // Same as comment 1
        Wait(600+random(200));  // Same as comment 2
      until(False)
    end;
    Comment 1: In theory, "Mouse" does the same a MoveMouse and ClickMouse, just a lot less detectable. "84,96" are the co-ordinates on which to click. "2,2" are the randomness on the x and the y-axis. "True" is the same as in ClickMouse.
    Comment 2: +random(Somenumber) is really what keeps us undetectable. This will do that your character never waits the same amount of time. Just like a human.

    -Knives

  5. #5
    Join Date
    Jun 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    noo its for a private rsc server
    thxs thoe this helped

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. repeating a certain number of times?
    By takeout in forum OSR Help
    Replies: 7
    Last Post: 09-28-2007, 07:33 PM
  2. Not Repeating...
    By Tails111 in forum OSR Help
    Replies: 9
    Last Post: 08-12-2007, 05:43 PM
  3. Problem with repeating ? (ASAP pls)
    By mage of begu in forum OSR Help
    Replies: 0
    Last Post: 01-24-2007, 05:49 PM

Posting Permissions

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