Results 1 to 2 of 2

Thread: Powerminer

  1. #1
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default Powerminer

    Here is my powerminer I said I was going to post. Give me feedback on how to do it better please.
    SCAR Code:
    {My first powerminer, all you have to do is put in the rock
    colors and run it,Has antirandoms.
    credits:
    all the tuts on srl
    Timer for helping me a lot. }



    program Powerminer;
    {.include SRL/SRL.scar}
    const
      loads = 5;//how many loads do you want to do?
      color1 = 9869218;//first color of rock
      color2 = 7697790;//second color of rock
      waittime = 7000; //time to wait before clicking rock
      rundir = 'S';//direction to run incase of fight

    var
      x, y, i : integer;


    procedure antirandoms; //basic antirandoms
    begin
      FindNormalRandoms;
      FFlag(0);
      ftwait(2);
      if FindFight then
      begin
        RunAwayDirection(rundir);
        wait (15000 + random(3000));
        Runback;
      end;
    end;

    procedure miner;
    begin
      if FindColorTolerance(x,y, color1,0, 0,274,162,4) Or
      FindcolorTolerance(x,y,color2,0, 0,274,162,4) Then
      begin
        Mouse(x, y, 0, 0, false);
        wait(50+random(60))
        chooseoption('ine');
        antirandoms;
        wait(waittime+500)
      end;
    end;


    begin
      SetupSRL;
      activateclient;
      If Not LoggedIn Then
        Exit;
       repeat
        miner;
        If InvFull Then
        begin
          DropToPosition(2, 28);
          i := i + 1;
        end;
      until (i) >= Loads;
      logout;
    end.
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  2. #2
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If anyones wondering with my help, its not ultra advanced, thats because, why do the script for him, make him work for it too.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. powerminer
    By tpm1164 in forum First Scripts
    Replies: 5
    Last Post: 07-15-2007, 12:41 AM
  2. My Powerminer v. 3.00
    By GoF in forum RS3 Outdated / Broken Scripts
    Replies: 17
    Last Post: 01-22-2007, 02:08 AM
  3. Need Help On My First PowerMiner
    By Buckleyindahouse in forum OSR Help
    Replies: 3
    Last Post: 12-23-2006, 06:08 PM
  4. powerminer
    By shadowblade in forum OSR Help
    Replies: 20
    Last Post: 12-15-2006, 12:34 AM
  5. my powerminer
    By shadowblade in forum OSR Help
    Replies: 3
    Last Post: 12-09-2006, 03:04 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
  •