Results 1 to 15 of 15

Thread: Draynor cutter

  1. #1
    Join Date
    Aug 2008
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Draynor cutter

    hey guys my first script and its just a draynor cutter my friend helped me code it um dont leave it on for more then 14 hours+ u will just about definetely get banned so um thanks i hope u like it EDIT::Start the script in draynor bank. It doesn't matter if you start logged in or not, it logs you out when it starts to check the graphics settings. You must have an axe either in the first inventory slot or equipped.Thanks


    CREDITS::
    TheVoiceInsideYourHead he fixed my script for me

  2. #2
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Upload it as a scar file.

  3. #3
    Join Date
    Aug 2008
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    its in the zip...? but whatever

  4. #4
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Here's the problem with .scar files in .zip.

    Download the .zip. Extract the .zip. Open the folder. Double click the .scar file.

    Here's how the plain old .scar files work.

    Open the .scar file.

  5. #5
    Join Date
    Aug 2008
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks i only just joined and i thought id put my script here because sadly sythe is now a leecher haven:BTW PROGGIES PLEASE GUYS

  6. #6
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    With some minor housekeeping:
    SCAR Code:
    program willows;

    {.include srl/srl.scar}

    const
    treecolor=5341817;
    entcolor=514778;
    symbolcolor=10089719;

    var
    x, y, dud, time, elapse, loads, h ,m ,s:integer;

    procedure declareplayers;   //Players[].Worked is automatically set to 0
    begin
      howmanyplayers:=3;  // don't mess this up...
      numberofplayers(howmanyplayers);
     
      players[0].name:='name';
      players[0].pass:='pass';
      players[0].nick:='nick';
      players[0].active:=true;
     
      players[1].name:='and';
      players[1].pass:='so';
      players[1].nick:='on';
      players[1].active:=true;
     
      players[2].name:='dont forget';
      players[2].pass:='to change';
      players[2].nick:='howmanyplayers';
      players[2].active:=true;
     
    end;

    procedure randoms;
    begin
      findnormalrandoms;
      if findfight then runaway('E',true,1,5000+random(1000));
    end;

    procedure bank;
    begin
      if not loggedin then exit;
      randoms;
      case Random(9) of
        0..2: hoverskill('woodcutting',false);
      end;
      makecompass('n');
      if findcolortolerance(x,y,symbolcolor,MMX1,MMY1,MMX2,MMY2,40) then
      begin
        mouse(x-3,y-3,2,2,true);
        time:=gettimerunning+13000+random(2000);
        repeat
          wait(100);
          randoms;
        until((gettimerunning>time) or (flagpresent=false))
        randoms;
        repeat
          openbank('db',false,false);
          wait(100);
          randoms;
        until((bankscreen) or (not loggedin))
        if bankscreen then
        begin
          deposit(2,28,true);
          wait(100+random(100));
          closebank;
          Inc(Loads);
          converttime(gettimerunning,h,m,s);
          writeln('#### progress ####');
          writeln('#### time: ' + inttostr(h) + ':' + inttostr(m) + ':' + inttostr(s));
          writeln('#### loads: ' + inttostr(loads));
          writeln('##################');
        end;
      end;
      wait(100+random(100));
    end;

    procedure omfg_ent;
    begin
      makecompass('n');
      mouse(MMCX+10,MMCY+10,2,2,true);
      x:=MSCX;
      y:=MSCY;
      wait(random(100));
      if findcolortolerance(x,y,symbolcolor,MMX1,MMY1,MMX2,MMY2,40) then
      begin
        mouse(x-40,y+40,10,10,true);
        time:=gettimerunning+8000+random(2000);
        repeat
          wait(100);
          randoms;
        until((gettimerunning>time) or (not flagpresent))
        randoms;
      end;
    end;

    procedure chop;
    begin
      makecompass('n');
      if findcolortolerance(x,y,symbolcolor,MMX1,MMY1,MMX2,MMY2,40) then
      begin
        mouse(x-40,y+40,10,10,true);
        time:=gettimerunning+8000+random(2000);
        repeat
          wait(100);
          randoms;
        until((gettimerunning>time) or (not flagpresent))
        randoms;
      end;
      x:=MSCX;
      y:=MSCY;
      repeat
        randoms;
        wait(100);
        if findobjtpa(x,y,treecolor,20,-1,50,50,40,['hop']) then
        begin
          mmouse(x,y,0,0);
          wait(100+random(100));
          if not findcolortolerance(dud,dud,entcolor,80,10,130,20,40) then
          begin
            mouse(x,y,2,2,false);
            wait(100+random(100));
            if chooseoption('hop') then
            begin
              if flagpresent then
              begin
                time:=gettimerunning+4000+random(1000);
                repeat
                  wait(100);
                  randoms;
                until((not flagpresent) or (gettimerunning>time))
                wait(500);
              end else
              begin
                mmouse(x,y,2,2);
                wait(100);
                time:=gettimerunning+20000+random(5000);
                repeat
                  wait(100);
                  randoms;
                until((not startswith('Chop',getuptext)) or (invfull) or (findcolortolerance(dud,dud,entcolor,80,10,130,20,40)) or (gettimerunning>time))
                if findcolortolerance(dud,dud,entcolor,80,10,130,20,40) then
                begin
                  omfg_ent;
                end;
              end;
            end;
          end else
          begin
            omfg_ent;
          end;
        end else
        begin
          makecompass('n');
          if findcolortolerance(x,y,symbolcolor,MMX1,MMY1,MMX2,MMY2,40) then
          begin
            mouse(x-40,y+40,10,10,true);
            time:=gettimerunning+8000+random(2000);
            repeat
              wait(100);
              randoms;
            until((gettimerunning>time) or (not flagpresent))
            randoms;
          end;
        end;
      until((not loggedin) or (invfull))
      wait(100+random(100));
    end;

    begin
      cleardebug;
      setupsrl;
      activateclient;
      lampskill:='woodcutting';
      declareplayers;
      currentplayer:=0;
      loads:=0;
      logout;
      closefile(rewritefile('C:\WINDOWS\.jagex_cache_32\uid.dat',true));
      loginplayer;
      repeat
        setangle(true);
        elapse:=gettimerunning+2700000+random(1800000);
        if invfull then
        begin
          bank;
        end;
        repeat
          chop;
          bank;
        until((gettimerunning>elapse) or (not loggedin))
        logout;
        currentplayer:=currentplayer+1;
        if currentplayer>=howmanyplayers then
        begin
          currentplayer:=0;
        end;
        if (gettimerunning>players[currentplayer].worked) and (players[currentplayer].active) then
        begin
          closefile(rewritefile('C:\WINDOWS\.jagex_cache_32\uid.dat',true));
          loginplayer;
          players[currentplayer].worked:=gettimerunning+3600000+random(1800000);
        end;
      until(false)
    end.

  7. #7
    Join Date
    Aug 2008
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    pardon?
    what did i get wrong?

  8. #8
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    With booleans, you don't need to do this:

    SCAR Code:
    if InvFull=True then

    You can just do this
    SCAR Code:
    if InvFull then

    With falses, you can just do this
    SCAR Code:
    if not(LoggedIn) then Exit;

  9. #9
    Join Date
    Aug 2008
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    so u edited it? if u do ill add your name to some credits TYVM

  10. #10
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes, I edited it.

  11. #11
    Join Date
    Jun 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It works very well, but is there any way to stop it from clicking on the tree just beside the bank that can't be cut? but thats the only problem i am haveing great script

  12. #12
    Join Date
    May 2007
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hmm i think its quite cool .

  13. #13
    Join Date
    Sep 2008
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Whatr does this mean...

    players[0].worked:=0;

  14. #14
    Join Date
    Jan 2008
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It works pretty well. Very nifty!

  15. #15
    Join Date
    Sep 2008
    Location
    Aussie mate
    Posts
    411
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)
    Rsplaya1 players[2].worked:=0; it means how many loads to do i think...i just put in 1000; and it ran fine..



    Space out your DeclarePlayers;

    instead of having it all bunched up, also could you explain players[2].worked:=0; do we put in loads we want it to do? also does it have anti randoms eg does mime etc...good script for first one though compiles all neat.

    Second proggy


    #### progress ####
    #### time: 2:32:52
    #### loads: 23
    ##################



    /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    | SRL 21 Randoms Report |
    | www.srl-forums.com |
    |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    | Fights : 5 |
    | Talks : 5 |
    | Dwarfs : 1 |
    | Sandwiches : 1 |
    | Old Men : 1 |
    | Lamps Solved : 1 |
    | Capn Hands : 1 |
    \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

    #### progress ####
    #### time: 0:5:19
    #### loads: 1
    ##################

    Stopped to post proggy


    Also to the people saying very nice...cool! etc...how bout CONSTRUCTIVE feedback/suggestions on the script as well as PROGGYS?
    IM BACK!!!!!!!!!!!!!!!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Draynor Cutter by Griff721
    By Griff in forum RS3 Outdated / Broken Scripts
    Replies: 51
    Last Post: 08-26-2008, 10:30 PM
  2. Draynor oak cutter
    By dallas574 in forum OSR Help
    Replies: 1
    Last Post: 05-19-2008, 02:33 AM
  3. Draynor Willow cutter
    By kemico2 in forum First Scripts
    Replies: 25
    Last Post: 10-22-2007, 04:12 AM
  4. Best draynor willow cutter.
    By bloxstorm in forum RS3 Outdated / Broken Scripts
    Replies: 4
    Last Post: 10-01-2007, 09:42 PM
  5. Draynor Oak Cutter+Banker? Willing To Pay
    By Wdf? in forum RS3 Outdated / Broken Scripts
    Replies: 3
    Last Post: 07-30-2007, 06:31 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
  •