[SRL4] AutoClicker

Discussion in 'RuneScape Scripts' started by -------owned-------, Sep 20, 2007.

Thread Status:
Not open for further replies.
[SRL4] AutoClicker
  1. Unread #1 - Sep 20, 2007 at 2:17 PM
  2. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

    -------owned------- Guru
    Banned

    [SRL4] AutoClicker

    Code:
    program AutoClicker;
    {.include /SRL/SRL.scar}
    var
    x,y,betweenclicks:integer;
    procedure setup;
    begin;
    betweenclicks:=5; //How many seconds between clicks
    // Don't touch \\
    betweenclicks := betweenclicks * 1000;
    end;
    begin
    setup;
    repeat
    GetMousePos(x,y);
    mouse(x,y,1,1,true);
    sleep(betweenclicks + random(50));
    until(isfkeydown(12))
    end.
    
     
  3. Unread #2 - Sep 20, 2007 at 4:45 PM
  4. Town
    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5

    Town Grand Master
    Scar Programmers

    [SRL4] AutoClicker

    Code:
    program AutoClicker;
    {.include /SRL/SRL.scar}
    var
    x,y,betweenclicks:integer;
    
    const
    betweenclicks=5; //How many seconds between clicks
    procedure setup;
    begin
    // Don't touch \\
    betweenclicks := betweenclicks * 1000;
    end;
    begin
    setup;
    repeat
    GetMousePos(x,y);
    mouse(x,y,1,1,true);
    sleep(betweenclicks + random(50));
    until(isfkeydown(12))
    end.
    You probably want to use Wait() instead of Sleep().
     
  5. Unread #3 - Sep 20, 2007 at 5:15 PM
  6. Runescapian321
    Joined:
    Sep 19, 2007
    Posts:
    179
    Referrals:
    0
    Sythe Gold:
    0

    Runescapian321 Active Member

    [SRL4] AutoClicker

    Failed when compiling
    Line 4: [Error] (14453:1): Duplicate identifier 'x' in script

    I'm a newbie lol how do you fix that?
     
  7. Unread #4 - Sep 21, 2007 at 10:16 AM
  8. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

    -------owned------- Guru
    Banned

    [SRL4] AutoClicker

    Get the newest SRL.

    Can you explain why?
     
  9. Unread #5 - Sep 21, 2007 at 2:52 PM
  10. Town
    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5

    Town Grand Master
    Scar Programmers

    [SRL4] AutoClicker

    I was hoping you wouldn't ask that. . .

    Sleep() pretty much just shuts everything down for however long.

    Wait() gives the script time to recover, reduces lag, etc.

    If you have no waits in a loop then you may have some lag issues.
     
  11. Unread #6 - Sep 26, 2007 at 2:40 PM
  12. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

    -------owned------- Guru
    Banned

    [SRL4] AutoClicker

    Okay. Do you know the Delphi code for wait()? Because I pretty much thought they were the same, since I'm comfort with VB.
    Code:
    Function wait(ms)
    for i = 1 to ms 
    sleep(1)
    next i
    end function
    
    You've got to do the declares, ofcourse.
     
  13. Unread #7 - Sep 26, 2007 at 3:02 PM
  14. Town
    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5

    Town Grand Master
    Scar Programmers

    [SRL4] AutoClicker

    Nope, I've never tried scripting in Delphi even though I'm sure I could with a little work.
     
  15. Unread #8 - Sep 28, 2007 at 1:10 AM
  16. BullsEye
    Joined:
    Apr 4, 2007
    Posts:
    1,233
    Referrals:
    0
    Sythe Gold:
    0

    BullsEye Guru
    Banned

    [SRL4] AutoClicker

    Dang i got error.. so ill use my .exe autotyper then
     
  17. Unread #9 - Oct 3, 2007 at 10:46 PM
  18. c0ldb0y
    Joined:
    Oct 3, 2007
    Posts:
    81
    Referrals:
    0
    Sythe Gold:
    0

    c0ldb0y Member

    [SRL4] AutoClicker

    guys i know your ganna hate me but im new and how do you make your own scar script cause i wanna make my own auto *gulp*
    p.s please dont practicaly hate on me...:(
     
  19. Unread #10 - Oct 5, 2007 at 4:21 AM
  20. H A X 0 R
    Joined:
    Feb 8, 2007
    Posts:
    141
    Referrals:
    0
    Sythe Gold:
    0

    H A X 0 R Active Member
    Banned

    [SRL4] AutoClicker

    Learn to script c0ldb0y Like in vb or sumthing...
     
  21. Unread #11 - Oct 14, 2007 at 5:25 PM
  22. trent the first
    Referrals:
    0

    trent the first Guest

    [SRL4] AutoClicker

    i don't know know how to make one either
     
  23. Unread #12 - Oct 14, 2007 at 5:25 PM
  24. trent the first
    Referrals:
    0

    trent the first Guest

    [SRL4] AutoClicker

    and i need to learn how to autoclick for killing chickens and fishing
     
  25. Unread #13 - Oct 14, 2007 at 5:31 PM
  26. trent the first
    Referrals:
    0

    trent the first Guest

    [SRL4] AutoClicker

    what's vb?
     
  27. Unread #14 - Oct 27, 2007 at 1:33 PM
  28. gauthiertim
    Referrals:
    0

    gauthiertim Guest

    [SRL4] AutoClicker

    visual basic
     
  29. Unread #15 - Nov 3, 2007 at 1:20 PM
  30. neto
    Joined:
    Apr 2, 2007
    Posts:
    32
    Referrals:
    0
    Sythe Gold:
    0

    neto Member

    [SRL4] AutoClicker

    Line 4: [Error] (17665:1): Duplicate identifier 'x' in script
    wtf?
     
  31. Unread #16 - Nov 3, 2007 at 1:46 PM
  32. neto
    Joined:
    Apr 2, 2007
    Posts:
    32
    Referrals:
    0
    Sythe Gold:
    0

    neto Member

    [SRL4] AutoClicker

    Line 7: [Error] (14688:1): Duplicate identifier '' in script wtf!
     
  33. Unread #17 - Nov 3, 2007 at 2:48 PM
  34. neto
    Joined:
    Apr 2, 2007
    Posts:
    32
    Referrals:
    0
    Sythe Gold:
    0

    neto Member

    [SRL4] AutoClicker

    dang the mouse just goes to one of the corners of the screen instead of clicking
     
  35. Unread #18 - Nov 3, 2007 at 2:52 PM
  36. neto
    Joined:
    Apr 2, 2007
    Posts:
    32
    Referrals:
    0
    Sythe Gold:
    0

    neto Member

    [SRL4] AutoClicker

    [this sucks!
     
  37. Unread #19 - Nov 3, 2007 at 2:56 PM
  38. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

    -------owned------- Guru
    Banned

    [SRL4] AutoClicker

    Sir, would you mind reading the title? Simply, get SRL 4.
     
  39. Unread #20 - Nov 3, 2007 at 4:07 PM
  40. ! W!LL !
    Referrals:
    0

    ! W!LL ! Guest

    [SRL4] AutoClicker

    Thanks for posting works for me!

    W!LL
     
< RSC Scar scripts? | >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site