Results 1 to 3 of 3

Thread: My Log Cutter/Arrow Shaft Maker

  1. #1
    Join Date
    Sep 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My Log Cutter/Arrow Shaft Maker

    An idea I got working randomly. It's not that great. I'm not so much expecting you to use it as to tell me what I should be changing in it.

    Revision 1:
    SCAR Code:
    program Shafter;
    //Cuts Evergreen trees and fletches arrow shafts
    //Axe in spot 1, knife in spot 28

    {.include SRL\SRL.scar}
    {.include SRL\SRL\skill\WoodCutting.scar}

    const
         mstree = 4159600; //A color on main screen found mostly on evergreens.

    Procedure SetupAll;
    begin
         SetupSRL;
         FindAxeHeadColor;
    end;

    Procedure DoRandoms;
    begin
         FindNormalRandoms;
         FindHead;
    end;

    Procedure DoChop;
    begin
         repeat
               repeat
                     FindColorSpiralTolerance(x,y,mstree,1,1,500,300,10);
                     MoveMouse(x+random(5),y+random(5));
                     Wait(100+random(25));
               until (IsUpText('verg'));
               Mouse(x,y,5,5,true);
               Wait(5000+random(100));
               if (random(5) = 1) then DoRandoms;
         until (InventoryFull);
    end;

    procedure DoFletch;
    begin
         MouseItem(27,true);
         MouseItem(28,true);
         Mouse(72,386,10,10,false);
         ChooseOption(72,386,'Make X');
         TypeSend('555'+chr(13));
         Wait(35000+random(1000));
         ClickToContinue;
    end;

    begin
         SetupAll;
         while (LoggedIn) do
               begin
               DoChop;
               DoRandoms;
               DoFletch;
               DoRandoms;
               end;
    end.

  2. #2
    Join Date
    Oct 2006
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    script doesnt click on the trees

  3. #3
    Join Date
    Sep 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Did you set mstree to the color of an evergreen? While you were in an evergreen forest?
    If you're using normal/dead trees, change the UpText it looks for.
    Evergreen: IsUpText('verg')
    Tree: IsUpText('ree')
    Dead Tree: IsUpText('ead')


    Wow. I've been away quite a while. Real life, yea, way unpredictable. Sorry, y'all, if I've caused any inconvenience.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Shaft Maker
    By souppy in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 12-24-2007, 05:08 PM
  2. Woodcut and Arrow Shaft
    By FrontLine in forum First Scripts
    Replies: 18
    Last Post: 09-23-2007, 06:43 AM
  3. arrow shaft maker
    By nikshake2 in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 06-12-2007, 04:42 PM
  4. need reg log cutter and arrow shaft fletcher combo
    By tylerj11090 in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 06-11-2007, 04:08 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
  •