Results 1 to 7 of 7

Thread: Script is making the rs lag

  1. #1
    Join Date
    May 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Script is making the rs lag

    i need help with auto minner it clicks the rocks i want it to click but it lags rune scape so u cant possible do all night with it all it is right now cause of the lag is a auto clicker so u constantly have to press Ctrl+Alt+R and Ctrl+Alt+S
    Code:
    program New;
    var
    x,y: Integer;
    
    const
    RockColor = 2739963;
    
    begin
    if(FindColor(x,y,RockColor,1,1,888,745)) then
    begin
    MoveMouseSmoothEx(x,y +random(0),20,40,45,25,20);
    Wait(100+random(10));
    ClickMouse(x,y,true);
    wait(1000+random(10));
    repeat
    until(false);
    end;
    end.
    help much aprechiated

  2. #2
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    hmm... that shouldn't slow down your comp unless your comp is slow or something.

    They are sisters...
    Runescape Classic

  3. #3
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why new people use MoveMouseSmoothEx and ClickMouse!
    SCAR Code:
    Mouse(mousex, mousey : Integer, rax, ray : Integer; Click : Boolean)
    // and
    MMouse(x, y : Integer; rnx, rny : Integer)
    They will your best friend while scripting use them.


  4. #4
    Join Date
    May 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Cazax View Post
    Why new people use MoveMouseSmoothEx and ClickMouse!
    SCAR Code:
    Mouse(mousex, mousey : Integer, rax, ray : Integer; Click : Boolean)
    // and
    MMouse(x, y : Integer; rnx, rny : Integer)
    They will your best friend while scripting use them.
    wow ty i just used movemousesmoothEx cause it was in tut so i thought i had too XD

  5. #5
    Join Date
    Jan 2008
    Location
    Alberta
    Posts
    727
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Also that script will only do it once. Heres one that will mine it and drop everything in your inventory after. And repeats forever.

    SCAR Code:
    program New;
    {.include SRL/SRL.scar}

    var
      x,y: Integer;

    const
      RockColor = 2739963;

    procedure MineRock;
    begin
      if (FindObjCustom(x,y,['ine'], [RockColor], 10)) then
      begin
        repeat
          MMouse(x, y, 3, 3);
          Wait(100 + Random(50));
          Mouse(x, y, 3, 3, true);
          Wait(1000 + random(200));
        until(Invfull);
        DropAll; //Drops all inventory spots
      end;
    end.

    begin
      SetupSRL;
      repeat
        MineRock;
        Wait(500 + Random(500));
      until(false);
    end.

  6. #6
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by fudgepack a View Post
    wow ty i just used movemousesmoothEx cause it was in tut so i thought i had too XD
    no there are lots of different ways to make your mouse click or move.

    Just take a peek into the SRL core files and you'll see all the procedures listed there.

    They are sisters...
    Runescape Classic

  7. #7
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    color is prob bad get more colors

    and

    thats bannable

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. im new and need help making my 1st script
    By KEVINF342 in forum OSR Help
    Replies: 4
    Last Post: 01-24-2009, 06:15 PM
  2. help for making script
    By Simtoon in forum OSR Help
    Replies: 2
    Last Post: 08-28-2008, 02:19 PM
  3. Making first script need some help
    By AC Lova123 in forum OSR Help
    Replies: 4
    Last Post: 05-10-2008, 12:33 PM
  4. Help making script!
    By King of the Nites in forum OSR Help
    Replies: 2
    Last Post: 09-18-2007, 01:25 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
  •