Results 1 to 15 of 15

Thread: Very basic Ardy Nature Thief

  1. #1
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Ardy Chest Thief

    So I saw someone talking about working on this project and I then decided to try my hand at it and see if anything I am reading is sinking in. This is just an attempt at a script that could be improved(should be improved )


    DISCONTINUED

    It includes:
    SMART(removed for temp time)
    Login
    Simple Antiban
    Loots both chests for gold and a nature rune.

    Requirements: 43 Thieving to steal from the chests.

    Start the script anywhere upstairs in the house east of the Ardougne Baker Stall


    Until I add autocolor finding you might have to upadte the color of the chest. Use the top left brown part. :P

    Code:
    program ArdyChestThiefV1.1;
    //{$i srl/srl/misc/smart.scar}
    {$i srl/srl.scar}
    
    const
      chestcolor=4413540;//If not finding chest update this.
      // Update using left side of the top chest(autocolor later).
    
    
    
    Procedure DeclarePlayers;// Enter your information if you want it to automatically log in etc.
      begin
        HowManyPlayers := 1;
        NumberOfPlayers(HowManyPlayers);
        CurrentPlayer := 0;
    
        Players[0].Name :='';
        Players[0].Pass :='';
        Players[0].Nick :='';
        Players[0].Active:=True;
      end;
    
    
    
    Procedure Start;
      Begin
    
        If(Not(LoggedIn))then
          LogInPlayer;
          Writeln('Please start in the second floor room with the chests.');
          Wait(RandomRange(1000, 1500));
          FindNormalRandoms;
          SetAngle(true);
      end;
    
    
    
     procedure AntiBan; //Basic Antiban credit to antiban tuts and such.
      begin
        if(not(LoggedIn))then
          Exit;
      case Random(20) of
       0:
       begin
         HoverSkill('Thieving', false);
         wait(2453+Random(432));
         FindNormalRandoms;
       end;
       1: PickUpMouse;
       2:
       begin
         MakeCompass('N');
         wait(100+random(133));
         MakeCompass('S');
         wait(50+random(133));
         MakeCompass('N');
         FindNormalRandoms;
       end;
       3: ExamineInv;
      end;
    end;
    
    
    
    procedure LootChests;//Find either chest when full and loots. If not it will post in debug.
    var
      x, y : Integer;
    begin
      if not LoggedIn then Exit;
        if  FindObjCustom(x, y, ['Ope', 'hest'], [chestcolor], 0) then
      begin
       MMouse (x, y, 3, 3);
       Wait(100+ Random(100));
       Mouse (x, y, 0, 0, false);
       Wait(200+ Random(100));
       ChooseOption('Search for traps Chest');//Clicks Chest
       Wait(4000+ Random(100));
       Writeln('Looted!');
       FindNormalRandoms;
       Wait(200+ Random(100));
      end else begin
       if  FindObjCustom(x, y, ['pen', 'hest'], [chestcolor], 0) then
      begin
       MMouse (x, y, 3, 3);
       Wait(100+ Random(100));
       Mouse (x, y, 0, 0, false);
       Wait(200+ Random(100));
       ChooseOption('Search for traps Chest');//Clicks Chest
       Wait(4000+ Random(100));
       FindNormalRandoms;
       Writeln('Looted!');
       Wait(200+ Random(100));
     end else begin
        if IsChatBoxTextAnyLine ('ooted',clBlack) then //failsafe? Stops spam looting or if someone else is there looting.
     begin
        Wait(4000+ Random(100));
        writeln('Something is wrong. Logging out.');
        Logout;
        TerminateScript;
      end else begin
        writeln('Both chests are currently empty, waiting...');
       end;
      end;
     end;
    end;
    
    
    
    begin
      ClearDebug;
      Setupsrl;
      Activateclient;
      DeclarePlayers;
      Start;
      Antiban;
     repeat
       Setangle(true);
       LootChests;
     until (AllPlayersInactive);
       TerminateScript;
    end.

    Future Additions I would like to add or work out:
    Support for both chests
    Failsafes
    Better Chest finding method
    Progress report to track exp and total income*anyone have tips*
    World switching if there are players at the chest
    Multiplayer

    AutoColor

    Code:
    Version 0.1 - Very basic script to steal from the Ardy chest.
    Version 1 - Updated Chest finding method and added the other chest.
    Version 1.1 - Added a very basic fail safe to prevent the script from just spam clicking.

    I am open to any suggestions of improvements.
    Last edited by Hero; 12-19-2011 at 07:15 AM.

  2. #2
    Join Date
    Oct 2011
    Location
    Chicago
    Posts
    3,352
    Mentioned
    21 Post(s)
    Quoted
    437 Post(s)

    Default

    Looks basic but good for a first script!
    Can you die at this chest? If so maybe add food options




    Anti-Leech Movement Prevent Leeching Spread the word
    Insanity 60 Days (Killer workout)
    XoL Blog (Workouts/RS/Misc)

  3. #3
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by R4nd0m View Post
    Looks basic but good for a first script!
    Can you die at this chest? If so maybe add food options
    You can only die at this place by clicking 'Open' instead of the 'Steal' option. So as long as the clicking is accurate you can't die.


    Quote Originally Posted by Mink View Post
    average natures per hour using script? i actually remember stealing from that chest when i was first thieving on my first main acc, sooo many years ago. And, yes you can die at that chest, but only if u attempt opening it before checking traps. I'll test it out soon!
    Average is still an unsure number because I haven't been able to add progress tracking but it is maybe 2-3 natures per minute which means 120-180 natures per hour(not counting time on randoms and such) which means about 31.8k-47.7k gold an hour at current ge price. Fan sites say it respawns after about 10 minus animations. Once I can find a better method of locating and click that specific chest I will like I said try to trim the fat and optimize the script to steal the maximum number per hour. It is a very slow method either way though since you have to wait on the game to refill the chest. I will try to add multiplayer at some point as well to run multiple noobs farming natures.
    Last edited by Hero; 12-13-2011 at 04:35 AM.

  4. #4
    Join Date
    Nov 2011
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    average natures per hour using script? i actually remember stealing from that chest when i was first thieving on my first main acc, sooo many years ago. And, yes you can die at that chest, but only if u attempt opening it before checking traps. I'll test it out soon!

  5. #5
    Join Date
    Dec 2011
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Looks really good, ill try it out tomorrow! Whats your exp per hour using it so far?

  6. #6
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Average exp would probably be 5k* an hour roughly. This with second thoughts might need to be moved to 'Monkey making-50k~range' or 'Collection scripts' lol Going to add the second chest right now to increase exp.

  7. #7
    Join Date
    Dec 2011
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sounds good man, ill test it with you along the way! Goodluck!

  8. #8
    Join Date
    Oct 2011
    Posts
    192
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    So, this gets 5k Thieving exp/h, and 50k gold/h?

  9. #9
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Aegis View Post
    So, this gets 5k Thieving exp/h, and 50k gold/h?

    Yes more or less that is the current nature only chest version. I am working on having it loot both chests

    The nature rune chest takes 12 seconds to respawn so lets say that is 17 per nature rune that is 3 natures a minute Plus 9 coins.

    Nature ge:265 mid

    (3*265+9)*60=48240 gold an hour with no space for much else

    but with me working on adding the second chest that is an extra 50 coins per steal but takes about a minute to respawn so the profit is around an extra 3k

    So total profit can be 51240 gold an hour but the exp increases from 4500 to 12000 an hour lol. It is just like I said more of a weak money maker.

  10. #10
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Very good script! As you were saying you should add the second chest; which will give double the exp.

  11. #11
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Gushers View Post
    Very good script! As you were saying you should add the second chest; which will give double the exp.

    Thanks for the feedback. I redid the chest finding so now both chests are supported. You also actually get 125 exp from the coin chest and only 25 from the nature rune chest but the nature rune chest respawns faster. Which the script is able to handle. I need to work on progress reporting now.

  12. #12
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Does anyone have an idea on how I can add a progress report to this? I would like it to record the number of natures stolen OR how much gp is stolen like 50 for the lvl 43 chest and (nature runeprice+3) for the lvl 28 chest. Exp tracking too.

  13. #13
    Join Date
    Dec 2011
    Posts
    126
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    what should i save as name thank for that i do i come and said

    Exception in Script: Unable to find file 'srl/srl.scar' used from '''

    hmm what do i wrong please help

  14. #14
    Join Date
    Oct 2006
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by hader dem2 View Post
    what should i save as name thank for that i do i come and said

    Exception in Script: Unable to find file 'srl/srl.scar' used from '''

    hmm what do i wrong please help

    12-14-2011 - Don't gravedig bud. The reason it is giving you that error is because this was written with SCAR. Notice how the include does not end in .simba? Make sure you check the dates before you post.

  15. #15
    Join Date
    Dec 2011
    Posts
    126
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Sebo View Post
    12-14-2011 - Don't gravedig bud. The reason it is giving you that error is because this was written with SCAR. Notice how the include does not end in .simba? Make sure you check the dates before you post.

    okay but i havnet use simba for so long how should i know what to do
    when i'm new
    Last edited by hader dem2; 01-22-2012 at 09:42 PM.

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
  •