Results 1 to 6 of 6

Thread: powerminer

  1. #1
    Join Date
    Jun 2007
    Location
    America
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default powerminer

    its my first one so ya. credits to JAD for being an awesome teacher and itsChris917, thx guys.
    -Simple Anti Randoms
    -Proggy
    -Working on MultiPlayer and Anti Ban

    so ya here it is......



    program PowerMiner;
    {.include SRL/SRL.scar}

    const
    RockColor= 10948023;// color of the rock you are mining
    PickWeilded= True;// is the pick weiled
    MaxLoads= 5;// how many loads you want to do

    var
    loads: integer;


    procedure AntiRandom;
    begin
    FindTalk;
    FindNormalRandoms;
    if (FindFight=True)then
    begin
    RunAwayDirection('N');
    Wait(5000+random(10000));
    RunBack;
    end;
    end;

    procedure Proggy;
    begin
    ClearDebug;
    Writeln('------------------------------------');
    Writeln('did' + IntToStr(Loads) + ' Loads ');
    Writeln('====================================');
    Writeln('did' + IntToStr(Loads) + ' Clicks ');
    Writeln('------------------------------------');
    end;

    procedure Mine;
    begin
    if(FindColorSpiralTolerance(x,y,RockColor,MSX1,MSY 1,MSX2,MSY2,8)) then
    begin
    MMouse(x,y,3,3)
    if(IsUpText('ine')) then
    begin
    GetMousePos(x,y);
    Mouse(x,y,0,0,True);
    end;
    end;
    end;

    procedure DropThatShit;
    begin
    If(InvFull)then
    begin
    Loads := Loads + 1;
    if(PickWeilded=True) then
    DropAll
    if(PickWeilded=;False) then
    DropTo(2,28);
    end;
    end;


    begin
    SetupSRL;
    ActivateClient;
    Wait(2000+random(500));
    repeat
    Mine;
    DropThatShit;
    until( Loads >= MaxLoads);
    TypeSend('Bored...')
    end.


    and dont ever forget...

  2. #2
    Join Date
    Jun 2007
    Location
    New Yawk
    Posts
    943
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Umm, maybe properly format it then put it into [scar] tags and also attach it? Otherwise, thanks for trying.
    I guess the holidays are over - no sig for now.

  3. #3
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Here View Post
    Umm, maybe properly format it then put it into [scar] tags and also attach it? Otherwise, thanks for trying.
    It still works even if it's not in SCAR tags or not in a downloadable file.. Although it is much easier to copy it when it's in SCAR tags.

    I'm teaching him right now (he's my friend in real life) to script, and he's catching on pretty good right now. He still has a lot to learn, but so far he's doing pretty well Keep it up tpm!

  4. #4
    Join Date
    Jun 2007
    Location
    America
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    will do Here

  5. #5
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ye teachers are great my teacher is ilikepie

  6. #6
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey, good job for your first script tpm. I'm glad that you get variables now.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Which Powerminer is Better?
    By Daniel in forum SRL Site Discussion
    Replies: 13
    Last Post: 05-14-2007, 03:59 PM
  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
  •