Results 1 to 9 of 9

Thread: Script issues

  1. #1
    Join Date
    Jan 2017
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Script issues

    Currently trying to set up a basic autoclicker that'd spam rapidly on same spot. First question can this be done via simba w/o locking mouse so you can use pc meanwhile, if not this is all a waste of time. Current script: (which isnt working)

    program Autoclicker;
    {$define SMART}
    {$i srl-6/srl.simba}

    procedure autoType;
    begin
    SetupSRL;
    repeat
    mouse(1201,415, mouse_left); //srl6
    wait(randomrange(100, 100));
    until false;
    end

  2. #2
    Join Date
    Jun 2007
    Posts
    106
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    Yes it's possible. Your coords might have to use the form point(x,y) instead of the raw numbers. Take out the procedure declaration, and assuming you setup srl properly it should work.

  3. #3
    Join Date
    Jan 2017
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Can you explain the form point, example would help didnt understand that. Other than that i think its working. Which part of script defines click speed however?

  4. #4
    Join Date
    Jun 2007
    Posts
    106
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    Simba Code:
    begin
    SetupSRL;
    repeat
    mouse(point(1201,415), mouse_left); // moves mouse to point(x,y), clicks left
    wait(randomrange(100, 100)); // waits amount of time in milliseconds (minWait,maxWait), adjust for click frequency
    until false;
    end

    protip: When you enter "mouse(" or most other functions for that matter, simba will bring up the tooltip for said function and describe the parameters that it takes. You'll find this very helpful in understanding new functions.
    Last edited by anoobis; 01-20-2017 at 09:29 PM.

  5. #5
    Join Date
    Jan 2017
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Adjusted as above, it doesn't seem to click though. It does indeed bring the tooltip up, but I think I'm just stupid. I don't understand it at all haha.

    Simbay says in the box:

    ------ Succesfully initialized via pairing to a previously spawned client
    ---- initSmart()
    ---- Waiting up to 5 minutes for RS to load...
    ---- TRSActionBar.__find(): Didn't find button border colors
    ---- Client is ready.
    ---- Setup SRL in 0 Seconds
    -- setupSRL(): True
    Last edited by aww yiss; 01-20-2017 at 09:40 PM.

  6. #6
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    496
    Mentioned
    5 Post(s)
    Quoted
    220 Post(s)

    Default

    you are calling setupsrl, along with the srl-6 include. You don't need an include to make an auto clicker

  7. #7
    Join Date
    Jan 2017
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Removed the include. Currently looks like this:

    program Autoclicker;
    {$define SMART}
    {$i srl-6/srl.simba}

    begin
    SetupSRL;
    repeat
    mouse(point(1201,415), mouse_left);
    wait(randomrange(100, 100));
    until false;
    end

    Still nothing happening though.

  8. #8
    Join Date
    Jun 2007
    Posts
    106
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    I haven't played RS3 or use SRL6 so I'm not sure how the game looks but did you make sure that you selected the runescape window as the active window (by dragging the green crosshairs onto target window), then take the coordinates? Those coords are out of bounds for osrs at least. To be clear, it is Runescape you're trying to use a clicker for correct?
    Last edited by anoobis; 01-20-2017 at 10:04 PM.

  9. #9
    Join Date
    Jan 2017
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Yes it was rs3. You're the real hero, I didn't it, works now. Love you guys.
    Last edited by aww yiss; 01-20-2017 at 10:10 PM.

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •