Results 1 to 6 of 6

Thread: Mouse move slow

  1. #1
    Join Date
    Aug 2007
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Mouse move slow

    Whys is this making my mouse move super slow?



    SCAR Code:
    program JadKilla;
    {.include SRL\SRL.Scar}

    var
    x,y: Integer;

    procedure CheckBox;
    begin
     if(FindColor(x,y,16711680,104, 406, 104, 406)) then
      begin
       wait(100+random(400))
       Gametab(6)
       Mouse(640, 340, 10, 10, true);
       Writeln('Range Protect Mofo!');
       wait(1100+random(400));
      end;
    end;

    procedure CheckBox1;
    begin
      if not(FindColor(x,y,16711680,104, 406, 104, 406)) then
       begin
        wait(100+random(400))
        Gametab(6)
        Mouse(680, 340, 10, 10, true);
        wait(1100+random(400));
        writeln('Mage Protect Mofo!');
       end;
    end;

    begin
     repeat
      CheckBox;
      CheckBox1;
     until(false)
    end.

    Thanks in advance

  2. #2
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    Add this into the main loop.

    SCAR Code:
    MouseSpeed:= 16;

    So basically change...

    SCAR Code:
    begin
     repeat
      CheckBox;
      CheckBox1;
     until(false)
    end.

    To...

    SCAR Code:
    begin
    MouseSpeed:= 16;
     repeat
      CheckBox;
      CheckBox1;
     until(false)
    end.
    STOP PM'ING ME

  3. #3
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Or you could just call SetupSRL in the main loop, which does that for you.
    :-)

  4. #4
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    FINE or do it the easy way!!!

    (Didn't even notice it wasn't there )
    STOP PM'ING ME

  5. #5
    Join Date
    Aug 2007
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks guys sorry if I constantly ask noob questions but I promise if I get the hang of scripting I will be able to give back to the community

  6. #6
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by lemonfuzz View Post
    thanks guys sorry if I constantly ask noob questions but I promise if I get the hang of scripting I will be able to give back to the community
    Thats the general idea of things

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. what mouse move is best
    By yanix in forum OSR Help
    Replies: 11
    Last Post: 07-31-2007, 06:58 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
  •