Results 1 to 5 of 5

Thread: Tree banker

  1. #1
    Join Date
    Feb 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Tree banker

    The price of logs are atm 300 each! thats the price yews used to be!

    I'm thinking of a script that chops around varrock bank and banks the logs if needed i got a start to the script (it finds the trees / cuts them), but i don't know how to bank them only know how to drop .

    program TreeChopper;

    {$i srl\srl.simba}




    procedure statsguise(wat:string);
    begin
    Status(wat);
    Disguise(wat);
    End;

    function Chopdown:Boolean;
    Var
    X, Y, Plusone, Treecounter: Integer;
    begin
    Plusone:= InvCount + 1;
    X:=MSCX;
    Y:=MSCY;
    if FindObjTPA(X, Y, 2899791, 10, 1, 15, 60, 450, ['Cho']) then

    begin
    Writeln ('Hooray, We found a tree');
    GetMousePos(X, Y);

    Case Random(2) Of
    0: Mouse(X, Y, 5, 5, True);
    1: Begin
    Mouse(X, Y, 2, 2, False);
    WaitOption('Chop', 500);
    end;
    end;

    flag;

    Repeat
    Marktime(TreeCounter);
    wait(100);
    if InvCount=Plusone Then
    Writeln('We got one');
    until (Invcount=Plusone) Or (TimeFromMark(TreeCounter) > 5000)

    end;
    end;


    Made it through Yohojo's turtorial but getting strange errors if it is getting to the dropping part.

    Anyone knows a guide to banking?

    Thx

  2. #2
    Join Date
    Nov 2011
    Posts
    92
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You would be better off using ObjDTM for walking back to the bank as there is a lot of points possible. Also just use the invfull command to look for a full inventory, then if its full have it walk to the bank, then use the bank function, press control+ while typing to see the possible commands. Hope this helps

  3. #3
    Join Date
    Feb 2011
    Location
    Wisconsin
    Posts
    398
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    Use Simba tags when posting code

  4. #4
    Join Date
    Feb 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i'll give it a shot thx for the heads up

  5. #5
    Join Date
    Jan 2012
    Posts
    522
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This script is too easy. Would just bring gold farmers back........

Thread Information

Users Browsing this Thread

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

Posting Permissions

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