Results 1 to 9 of 9

Thread: Simple Alcher Script Help?

  1. #1
    Join Date
    Feb 2009
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Simple Alcher Script Help?

    I just started TRYING to make scripts and I used this to high alch around 2k yew longbows, while I was watching it. I didn't get banned but I'm wondering how I make the area where the mouse clicks random every time I start it. I've just been changing it manually every time I use it.

    Any help is appreciated!

    program Alcher;

    procedure Clicks;
    begin
    ClickMouse(576, 267, true);
    wait(500+random(166));
    ClickMouse(576, 267, true);
    wait(3000+random(1000));
    end;

    begin
    repeat
    clicks;
    until(false)
    end.

  2. #2
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    =X wait a week.. if you're not banned I'll be amazed..

    DO NOT USE THIS EVER AGAIN

    ClickMouse is EXTREMELY detectable..

    to use a good (but simple) alcher..

    you can do this..

    SCAR Code:
    program Alcher;
    {.include SRL/SRL.scar}

    procedure Clicks;
    begin
      MouseBox(563, 339, 583, 358, 1);
      wait(500+random(166));
      MouseBox(565, 552, 592, 276, 1);
      wait(3000+random(1000));
    end;

    begin
      SetupSRL;
      repeat
        clicks;
      until(IsFKeyDown(12));
    end.

    have the item to alch where it was before..

    and to end it press F12

  3. #3
    Join Date
    Feb 2009
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh, whoops XD

    Thank god I wasn't banned! *crosses fingers I won't be, ever*

    So with my extreme deductive skills, I'm guessing "MouseBox" makes your mouse click in an area of the box you specify with those 5 numbers. The first four make the box, right? but what does the 1 mean at the end? And while I'm at it, what difference does it make adding the SRL stuff "{.include SRL/SRL.scar}" and "SetupSRL;"?

    Thanks again!

  4. #4
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    The SRL stuff allows you to use the SRL functions. Anyway, the 1 at the end tells it to left click. 2 is for right click, and 3 is for just moving the mouse.

  5. #5
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the 1 will left click.. 2 will right click.. 3 just moves the mouse to those coords..

    {.include SRL/SRL.scar} means it will use SRL functions.. SetupSRL; will call it so that you can use SRL..

    in case you don't know what SRL is (a lot of people don't surprisingly)

    it's SCAR Resource Library..

    it has hundreds of premade functions to make everything more human like/easier

    look at the stuff in C:/program files/SCAR/srl/srl/anything

    (that's the default path.. if you have a Program Files(x86) folder then it's in there..)

    you can learn a lot

  6. #6
    Join Date
    Feb 2009
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So that's what it SRL was...

    I have a new problem, sorry for asking so much.

    SCAR Code:
    program Alcher;
    {.include SRL/SRL.scar}
     
    procedure Clicks;
    begin
      MouseBox(563, 339, 583, 358, 1);
      wait(500+random(166));
      MouseBox(565, 552, 592, 276, 1);
      wait(3000+random(1000));
    end;
     
    begin
      SetupSRL;
      repeat
        clicks;
      until(IsFKeyDown(12));
    end.

    I tried that script but it keeps saying:
    Access to file denied by user.
    even if I ran SCAR as "Run as Administratot"

    So I tried removing the SRL stuff and ended up with this:

    SCAR Code:
    program Alcher;

    procedure Clicks;
    begin
      MouseBox(563, 339, 583, 358, 1);
      wait(500+random(166));
      MouseBox(565, 552, 592, 276, 1);
      wait(3000+random(1000));
    end;

    begin
      repeat
        clicks;
      until(IsFKeyDown(12));
    end.

    But then I got a new error message:
    Failed when compiling
    Line 5: [Error] (5:32): Invalid number of parameters in script C:\Users\Cesar\Desktop\Alcher.scar
    What did I do wrong?

  7. #7
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    their are two MouseBox functions in SCAR/SRL..

    one built into SCAR.. and one in SRL.. the one in SCAR doesn't have the option to move/right/left click..

    the one in SCAR just moves..

    anyways..

    you have to get the administrator to download SRL.. or else you can't get it

  8. #8
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    The problem with access is that you need to go to tools - options - FILEWALL access *NOT FIREWALL* - Allow all - CLick o.k.

    If this works, rep is apreciated.
    I do visit every 2-6 months

  9. #9
    Join Date
    Feb 2009
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yay! It works now!

    I tested it again, after doing the firewall thing, and it worked!

    P.S. I repped you three up, I think that's allowed. Oh well, w/e.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Simple Auto Alcher
    By skilld u in forum RS3 Outdated / Broken Scripts
    Replies: 6
    Last Post: 01-30-2008, 09:02 PM
  2. [Request] Simple High Alcher
    By Dangerous Garden Tools in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 09-16-2007, 06:23 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
  •