Adblock breaks this site

wait question

Discussion in 'Scar/Simba Help' started by BoD, Nov 2, 2008.

  1. BoD

    BoD Guest

    Referrals:
    0
    wait question

    Im trying to make my script run faster, currently the wait is at wait(1), if i drop the wait to 0 than it lags the script too much.

    Is there a way to make the wait 0.5 or something?

    This is my script, it wont really help tho

    Code:
    program Awesome;
    var
      x,y:integer;
      s: string;
    
    Begin
      s:= ',';
      activateclient;
      Begin
           Repeat
           if findcolor(x,y,2694624,240,321,1040,735) then
             Begin
               Movemouse(x,y);
    //           Writeln(intToStr(x) + s + intToStr(y));
               wait(1);
             End;
           until(3=4)
      End;
    End.
     
  2. GMK

    GMK Forum Addict

    Joined:
    Aug 2, 2007
    Posts:
    395
    Referrals:
    0
    Sythe Gold:
    0
    wait question

    Woah there! that wait is too short! wait is in milliseconds. so wait(1000) is one second wait(500) is a half a second and so on
     
  3. BoD

    BoD Guest

    Referrals:
    0
    wait question

    It is a reaction times game, it is obvious everyone is cheating because they have high scores than this script can produce.

    I know its in ms, im trying to reduce the wait to be ever slightly faster.
     
  4. Macroman

    Macroman Hero
    Do Not Trade

    Joined:
    Jan 21, 2007
    Posts:
    6,919
    Referrals:
    9
    Sythe Gold:
    12
    wait question

    As far as I know 1. Is the minimum for scar scripts.
     
  5. Jethr0x

    Jethr0x Grand Master
    Banned

    Joined:
    Jan 24, 2007
    Posts:
    3,070
    Referrals:
    13
    Sythe Gold:
    0
    wait question

    holy shit. u want faster than 1 ms? im sure 10ms would be plenty...

    but i do not know of a program that can click faster than 1ms without lagging or crashing the system.
     
  6. BoD

    BoD Guest

    Referrals:
    0
    wait question

    Fair enough

    Thanks heaps anyway

    www.mirrorsedge.com.au

    That is the site im trying to script, good luck with getting above everyone else :p

    If your not australian i wouldn't bother submitting scores
     
< Need help with a script | Noob in need of help >


 
 
Adblock breaks this site