Results 1 to 6 of 6

Thread: need help making an POWERCUTTER

  1. #1
    Join Date
    Mar 2007
    Location
    England
    Posts
    274
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    need help making an POWERCUTTER

    i have an anti-random, a progress report, a signature and the setup of a powercutter can someone please help me put them together and tell me where i need to put the rest of the powercutter

    heres the antirandom
    SCAR Code:
    program Auto;
    {.include SRL/SRL.scar}
    procedure DoAntiRandoms;
    begin
    FindTalk;
    FindNormalRandoms;
    if (FindFight = true) then
    begin
    RunAwayDirection('N');
    Wait(10000 + random(2000));
    RunBack;
    end;
    end.

    heres the proggy
    SCAR Code:
    var Clicks: Integer;
    Loads: Integer;

    procedure ProgressReport;
    begin
    ClearDebug;
       Writeln('[]========================================[]');
        Writeln('---------------->Our Proggy<----------------');
        Writeln('  did ' + IntToStr(Loads) + ' Loads' + '    ');
        Writeln('---------------------------------------------');
        Writeln('  Did ' + IntToStr(Clicks) + ' Clicks' + '        ');
        Writeln('[]========================================[]');
    end;

    ProgressReport;
    until(false);

    heres the signature
    SCAR Code:
    procedure Signature;
    begin
      ClearDebug;
      Writeln('______  _____    ____  ______      ____      ____    __             ')
      Writeln('|_____||     |  | __ ||__  __|    / |_|\    |    \  | |');
      Writeln('  | |  |  o  |  ||  ||   | |     /  _   \   |  |\ \ | |');
      Writeln('  | |  |  _  \  ||  ||   | |    /  /  \  \  |  | \ \| |');
      Writeln('  | |  | |  \ \ ||__||   / /   /  /    \  \ |  |  \   |');
      Writeln('  |_|  |_|   \_\|____|  /_/   /_ /      \ _\|__|   \__|');

    and heres the powercutter setup
    SCAR Code:
    program Troj@ns Powerchopper;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/skill/WoodCutting.scar}
    const
    TypeTree = 'Tree'; // type what tree you are cutting Tree,Oak,Willow or Yew

    TreeColor = 2777686;//you can optionally set the colors yourself
    Oakcolor = 1591874
    WillowColor = 2582616;
    YewColor = 2582616;

    Loads = 5; //how many trips to do

    procedure
    begin
    end.

  2. #2
    Join Date
    Jan 2007
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ?? well first you'd need a procedure to actually chop the trees! yr asking for a bit too much help at the moment, think u need to read some tutorials- try JAD's breakdown of his willow chopper. In a partial answer to yr question u need a main loop which will be at the end of yr script in which u call yr main procedures.
    No Signature Assigned.

  3. #3
    Join Date
    Jul 2007
    Location
    America
    Posts
    421
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'd reccomend looking at the topic where JAD takes apart his willow cutter and looks through it.

    http://www.villavu.com/forum/showthread.php?t=8392

    He explains pretty much everything in it, even though the script may look daunting.

    For your powercutter procedure, i'd reccomend something like this.

    procedure PowerCutter;
    repeat
    if(FindColorTolerance(x,y,WillowColor,1,1,400,500, 4))then //Searchs for color
    begin
    Mouse(x,y,True); //Moves Mouse and clicks on the color
    end;
    until(InvFull) //Will repeat until the Inventory is full
    end;
    Hope this helps. I just wrote this really quickly, and it's extremely basic. It'll do the job, though. Also, use DropAll; to drop all the items in your inventory. Look at a few tutorials on color finding - they'll help alot.
    I dunno, those asians are pretty difficult to out-auto, legend has it they don't need sleep or food...~tim0suprem0
    Activity is on the decline - school's got me
    Check out my tutorial[s] on Color Finding!||Procedures and Functions!

  4. #4
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    I dont really recomend looking for green in color since that half runescape landscape has green grass I subguest deformed bitmap slices of diffrent angles

  5. #5
    Join Date
    Mar 2007
    Location
    England
    Posts
    274
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ty everyone ill look at that willow cutter now

  6. #6
    Join Date
    Jan 2007
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by cathering_ View Post
    I dont really recomend looking for green in color since that half runescape landscape has green grass I subguest deformed bitmap slices of diffrent angles
    interesting idea, though for someone (no offence intended) who seems pretty new to scar then perhaps find colour will be easier to work. I find that although runescape is very green, findcolour tollerance with three possible colours and a low tollerance normally does the trick.
    No Signature Assigned.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RM PowerCutter
    By Sir R. M8gic1an in forum RS3 Outdated / Broken Scripts
    Replies: 302
    Last Post: 09-20-2008, 08:48 PM
  2. RM PowerCutter
    By Sir R. M8gic1an in forum RS3 Outdated / Broken Scripts
    Replies: 61
    Last Post: 05-31-2008, 10:27 AM
  3. my first powercutter...
    By thebob142 in forum First Scripts
    Replies: 1
    Last Post: 11-13-2007, 07:23 AM
  4. My PowerCutter.
    By kooldude in forum OSR Help
    Replies: 12
    Last Post: 05-22-2007, 02:47 AM
  5. my powercutter
    By ihavefriends in forum First Scripts
    Replies: 4
    Last Post: 04-03-2007, 04:54 AM

Posting Permissions

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