wait question

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

wait question
  1. Unread #1 - Nov 2, 2008 at 7:33 AM
  2. BoD
    Referrals:
    0

    BoD Guest

    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.
     
  3. Unread #2 - Nov 2, 2008 at 1:53 PM
  4. GMK
    Joined:
    Aug 2, 2007
    Posts:
    395
    Referrals:
    0
    Sythe Gold:
    0

    GMK Forum Addict

    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
     
  5. Unread #3 - Nov 2, 2008 at 5:06 PM
  6. BoD
    Referrals:
    0

    BoD Guest

    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.
     
  7. Unread #4 - Nov 3, 2008 at 3:54 AM
  8. Macroman
    Joined:
    Jan 21, 2007
    Posts:
    6,919
    Referrals:
    9
    Sythe Gold:
    12

    Macroman Hero
    Do Not Trade

    wait question

    As far as I know 1. Is the minimum for scar scripts.
     
  9. Unread #5 - Nov 3, 2008 at 10:45 PM
  10. Jethr0x
    Joined:
    Jan 24, 2007
    Posts:
    3,070
    Referrals:
    13
    Sythe Gold:
    0

    Jethr0x Grand Master
    Banned

    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.
     
  11. Unread #6 - Nov 4, 2008 at 5:28 AM
  12. BoD
    Referrals:
    0

    BoD Guest

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site