Results 1 to 9 of 9

Thread: First script, Woodcutting.

  1. #1
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default First script, Woodcutting.

    Simba Code:
    program New;
    {$i SRL/SRL.simba}

    Procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name :='';
      Players[0].Pass :='';
      Players[0].Nick :='';
      Players[0].Active:=True;
    end;

    procedure AntiBan;
    begin
      if(not(LoggedIn))then
      Exit;
      FindNormalRandoms;
      case Random(8) of
       0:
       begin
         HoverSkill('Woodcutting', false);
         wait(2453+Random(432));
       end;
       1: PickUpMouse;
       2:
       begin
         MakeCompass('N');
          wait(243+random(146));
          MakeCompass('W');
          wait(665+random(798));
          MakeCompass('E');
          wait(365+random(9954));
          MakeCompass('N');
       end;
      end;
    end;

    procedure ChopTree;
    var x, y: integer;
    begin
        repeat
        FindNormalRandoms;
        if FindObj(x, y, 'hop', 1785912, 35) then
        begin
          Mouse(x, y, 0, 0, false);
          ChooseOption('hop');
        end;
          repeat
          wait(400+random(250));
          AntiBan;
          Until not IsUpText('ew') or (InvFull);
      until(InvFull);
    end;

    begin
      SetUpSRL;
      ActivateClient;
      DeclarePlayers;
      ChopTree;
    end.


    I hope your eyes don't bleed, but I read Griff's tutorial, and I thought it was good, for a first script. I need help with SMART, BTW. :3.

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

    Default

    I'll try it out and tell you how it went

  3. #3
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    For smart you need to define it. example. Then thats it.

    program New;
    {$i SRL/SRL.simba}
    {$i srl/srl/misc/smart.simba}

  4. #4
    Join Date
    Dec 2011
    Location
    USA
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Shutleu's vids to a great job explaining SMART etc.

  5. #5
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Okay, you guys are avoiding the first question; Did your eyes bleed?

    EDIT: I tried the
    Simba Code:
    program New;
               {$i SRL/SRL.simba}
               {$i srl/srl/misc/smart.simba}
    And get: "[Error] C:\Simba\Includes\srl/srl/misc/smart.simba(6:10): Duplicate identifier 'ISKEYDOWN' at line 5
    Compiling failed."


    What do I do?
    Last edited by Vinyl Scratch; 01-26-2012 at 12:44 AM.

  6. #6
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Bump. And, If I got SMART to work on this script, could I use it to become a member?

  7. #7
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Definetly not :s
    You're going to need a lot more knowledge then just being able to use FindObjCustom

  8. #8
    Join Date
    Dec 2011
    Location
    Texas
    Posts
    348
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by xXTrollXx View Post
    Bump. And, If I got SMART to work on this script, could I use it to become a member?
    Add walking.
    Add banking.
    Add antiban.
    Add multiplayer.

    You get in members.

  9. #9
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Wow. I'm stupid. Back to Tutorial Island, then!

    Thanks for the help, Guys.

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
  •