Results 1 to 3 of 3

Thread: Making this not laggy at java games?

  1. #1
    Join Date
    Jul 2007
    Posts
    85
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Making this not laggy at java games?

    Title says it all.
    I need help.
    Here is my code.

    SCAR Code:
    program New;
    procedure test;
    begin
        if(iskeydown('1'))then
        begin
            MoveMouse(203,264);
            ClickMouse(203,264,true);
        end;
        if(iskeydown('2'))then
        begin
            MoveMouse(370,272);
            ClickMouse(370,272,true);
        end;
        if(iskeydown('3'))then
        begin
            MoveMouse(279,301);
            ClickMouse(279,301,true);
        end;
        if(iskeydown('4'))then
        begin
            MoveMouse(186,326);
            ClickMouse(186,326,true);
        end;
        if(iskeydown('5'))then
        begin
            MoveMouse(364,334);
            ClickMouse(364,334,true);
        end;
    end;
    begin
    repeat
         test;
    until(false)
    end.

  2. #2
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    SCAR Code:
    begin
    repeat
         test;
         Wait(30);
    until(false);
    end.
    waits do wonders
    Infractions, reputation, reflection, the dark side of scripting, they are.

  3. #3
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Also, the wait can be like Wait(2) or Wait(5), because if its like 30 or 50, you have a small chance of SCAR noticing you hit the key on the first time you press it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Scar making Runescape choppy/laggy
    By lil rahmer662 in forum OSR Help
    Replies: 5
    Last Post: 12-24-2008, 08:40 AM
  2. making java unsigned?
    By mattman709 in forum OSR Help
    Replies: 5
    Last Post: 12-24-2008, 12:39 AM
  3. Looking for Java Programmer(s) for java Game.
    By Windoze in forum Java Help and Tutorials
    Replies: 7
    Last Post: 03-04-2008, 11:03 PM
  4. making scar games?
    By RudeBoiAlex in forum OSR Help
    Replies: 3
    Last Post: 10-11-2007, 09:29 PM
  5. Laggy Procedure
    By crossback7 in forum OSR Help
    Replies: 24
    Last Post: 07-14-2007, 09:20 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
  •