Results 1 to 6 of 6

Thread: I'm *attempting* to create an autoalcher.

  1. #1
    Join Date
    May 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default I'm *attempting* to create an autoalcher.

    Hey,

    I've never made a successful RS script before, except one that walks from a to b (which is like 10 feet lol). Anyways, I was looking through the "my first script" thing when I came upon this : http://www.villavu.com/forum/showthread.php?t=22487

    I was like, alright, cool, here's a magic script. Normally when I try to learn something, I end up trying to duplicate an original WITH slight differences. This is how I learned to pixel.
    Anyways, I've been trying to use that script as a sort of model, however make it auto alch.

    here is what I have so far.
    3rd Update:
    SCAR Code:
    program AutoAlch;
    {.include SRL/SRL.scar}
    var
    x,y: Integer;

    const
    AlchColor=643794;      //this determines if it is high(643794) or low alch(3195184
    notecolor=7642540;     //be smart and don't touch this
    m = 862;
    b = 416;
    procedure MagicTab;
      begin
        MMouse(m,b); //this is line 13 (the first error)
        Mouse(m,b,true);
    end;

    procedure Alch;
      begin
      if (FindColor (x,y,AlchColor,823,487,823,582)) then
      begin
         MMouse(x, y);
         Mouse(x, y, True);
         end
         else
            WriteLn ('Oops! You specified an invalid color')
          if (FindColor(x, y,NoteColor,807,697,851,698)) then
          MMouse (x, y);
          Mouse(x, y, true);
          else
             WriteLn ('Have you forgotten to note your items? Color not found')
    end.

    as you can see, it ultimately sucks. I may have corrected the things after AlchColor etc, I looked at a tutorial and the numbers are like a box for the color to be searched in. I am also trying to figure out how to make it see like "ok it has 1k natures and a firestaff equipt" and so on. So when it gets to 0, it terminates the script.

    Also if anyone could supply help with any of the points listed below, I would </3 you.

    ● Creating Anti-Randoms
    ● Terminating script when all alchs are done/no runes left
    ● Creating anti-ban features
    ● Making it run if a fight is located.

    A few things I've done that may or may not help:

    Changed MoveMouse to MMouse and ClickMouse to Mouse
    Declared m = 862 and b = 416 (however I don't think it will do anything, see the first script error below)

    Errors:
    Line 13: [Error] (14694:12): Invalid number of parameters in script

  2. #2
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    My first word of advice would be to use SRL functions...

    things like movemousesmooth and such will get you banned.

    Read up on some tutorials in the beginner section...there are some great tuts there on scripting with SRL
    METAL HEAD FOR LIFE!!!

  3. #3
    Join Date
    May 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Banned from SRL or RuneScape? ^^

  4. #4
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Benz View Post
    Banned from SRL or RuneScape? ^^
    In runescape because it is very detectable...
    METAL HEAD FOR LIFE!!!

  5. #5
    Join Date
    May 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alright, thank you

  6. #6
    Join Date
    Jul 2007
    Posts
    1,055
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yea like he said use mostly all SRL functions. Also read up on Anti Ban and Anti Random tuts. There are many. Start off with Anti Ban its probably the easyest thing you'll encounter in scripting.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [RS2][AutoAlcher] v1.2
    By r4z0rlike in forum First Scripts
    Replies: 10
    Last Post: 03-14-2008, 06:28 PM
  2. N1keee's AutoAlcher!
    By Naike in forum First Scripts
    Replies: 2
    Last Post: 12-22-2007, 05:34 PM
  3. Krnpride's Autoalcher
    By krnpride in forum RS3 Outdated / Broken Scripts
    Replies: 15
    Last Post: 11-09-2007, 03:54 AM
  4. Attempting Appeals
    By TheGodfather in forum News and General
    Replies: 10
    Last Post: 05-22-2007, 03:34 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
  •