Results 1 to 14 of 14

Thread: [SRL] Draynor Willow Chopper

  1. #1
    Join Date
    Aug 2007
    Posts
    539
    Mentioned
    20 Post(s)
    Quoted
    266 Post(s)

    Post [SRL] Draynor Willow Chopper



    Features:
    • Chops willow trees at Draynor Village
    • Can drop the logs
    • Can bank the logs
    • Can light the logs on fire
    • Detect combat and run away
    • Use special attack on wielded axe
    • Energy/Fatigue Antiban, similar found in Slacky's Barbarian Fisher
    • Takes breaks
    • Lots of Antiban, a lot found in Flight's AIO Fisher
    • Uses only colour, no reflection



    Dependencies:

    You can find an installation guide for these dependencies here.


    Credits:



    Installation:
    Make sure that your in-game settings are set accordingly; In-Game Settings

    You can install the script by using Simba Packages. Simply add the GitHub repo as a package and install the latest version!
    Here is a guide on installing the script; Installation
    Discord: Guy#1693

  2. #2
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Fantastic release! I'll certainly be putting this to use soon, hopefully have some progress reports for you. Well done, ineedbot.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  3. #3
    Join Date
    Aug 2007
    Posts
    539
    Mentioned
    20 Post(s)
    Quoted
    266 Post(s)

    Default

    Thank you!

    I'll get the ball rolling with this proggy!
    Code:
    Chopping type: Chop and Light
    Runtime: 07h 33m 54s
    Status: Stopping... Completed the runtime
    Energy: 6.7005681039011
    Chopped: 3446
    Taking long breaks: True
    Time until break: 00:16:40
    Time until shutdown: -28s
    Discord: Guy#1693

  4. #4
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    It's sad to see that your scripts years ago got thousands of views and nowadays less than 100 in the same amount of time

  5. #5
    Join Date
    Nov 2011
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    Would it be possible to make this a generic willow powerchopper for the trees near the crafting guild? Suicide to bot draynor on f2p accounts.

    Cool release though thanks! I'll be sure to test.

  6. #6
    Join Date
    Nov 2011
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    Ok I have been testing it for a short while and it doesn't seem to work for me very well. It just doesn't recognize when it's getting logs giving messages like

    [00:03:58:157]:[Bot]: Banked logs... Currently chopped 0 logs!
    It constantly keeps reclicking trees. In drop mode it just doesn't drop logs. I followed the instructions exactly idk what's wrong. With this I don't feel comfortable testing for too long on my accounts.

  7. #7
    Join Date
    Jun 2009
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Her0nz View Post
    Ok I have been testing it for a short while and it doesn't seem to work for me very well. It just doesn't recognize when it's getting logs giving messages like



    It constantly keeps reclicking trees. In drop mode it just doesn't drop logs. I followed the instructions exactly idk what's wrong. With this I don't feel comfortable testing for too long on my accounts.

    Is your brightness set to max?

    does
    Simba Code:
    program new;
    {$I SRL/osr.simba}
    begin
    writeln(Inventory.FindItem('Willow logs'));
    end.
    return true when you have the logs in your inventory?

  8. #8
    Join Date
    Nov 2011
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by saml1991 View Post
    Is your brightness set to max?

    does
    Simba Code:
    program new;
    {$I SRL/osr.simba}
    begin
    writeln(Inventory.FindItem('Willow logs'));
    end.
    return true when you have the logs in your inventory?
    Ok I tested it again (same settings) and now those functions are working (maybe my computer restart had something to do with it). However this script still absolutely spam clicks trees.

  9. #9
    Join Date
    Jul 2013
    Posts
    140
    Mentioned
    7 Post(s)
    Quoted
    61 Post(s)

    Default

    Just a few observations from myself:
    1. I can agree with Her0nz that it does re-click trees quite often despite already being in the middle of chopping logs. Not sure if pixelshift could be used to potentially minimalise how often it does this?
    2. Using 'ChopFire' I notice that it sometimes misses some logs in my inventory when selecting logs to burn (This happens both top to bottom [1, 5, 9, etc] and left to right [1, 2, 3, etc]. Very minor but something that might be easy to tweak (Will look into this myself and get back to you!)
    3. Again using 'ChopFire', my progress seems to only update after it's lit the logs, and because it can only light 22/23 logs it seems to think that's all I'm chopping.

    Overall it's a good script, I can see you've implemented a lot of bits into this and it achieves the job you set it out to do, I'll happily use this as my WC and FM levels are absolutely garbage haha! Any tweaks that I make as I'm running it I'll happily post on here for you
    Looking for cheap games? Kinguin has what you need!

    Teamwork Tutorial - Akuma Tutorial
    Don't give up, reward is just around the corner.

  10. #10
    Join Date
    Aug 2007
    Posts
    539
    Mentioned
    20 Post(s)
    Quoted
    266 Post(s)

    Default

    I'll add some more colors to the trees, I think the script is detecting that the tree is gone when it isn't

    If you are playing on RuneLite, make sure to disable the hover item tooltips in the inventory, this messes with SRL detecting what item is selected/occupied. (Disable the Mouse Tooltips and Item Stats plugins)
    Discord: Guy#1693

  11. #11
    Join Date
    Nov 2012
    Posts
    161
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    Awesome stuff man. Will test this soon once i find time to manually chop to level 30 myself haha.

  12. #12
    Join Date
    Mar 2013
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    Great script. I used the ChopFire until 60 fm. I also had the repeated clicks on trees and changed the value of Self.ChopWaitTime at line 2044 for a higher one and it was fixed. Also loved the extra antiban feature. Thanks !!

  13. #13
    Join Date
    Jul 2013
    Posts
    140
    Mentioned
    7 Post(s)
    Quoted
    61 Post(s)

    Default

    Would like to thank Roko for the suggestion of changing the Self.ChopWaitTime, I changed mine from 10000 to 30000 and it seems a bit better (Might also have factored that I only had 32 WC when I started using this!).

    I think the issue I mentioned earlier about only chopping 23 is a 'best workaround' as the bot is only able to light 23 fires, and the expectation is it will just fill the inventory to full again with the 4 logs and Tinderbox still in the inventory from time before.



    Really nice job ineedbot, thanks for the 20+ WC and FM levels!
    Looking for cheap games? Kinguin has what you need!

    Teamwork Tutorial - Akuma Tutorial
    Don't give up, reward is just around the corner.

  14. #14
    Join Date
    Oct 2017
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    i changed code around lines 2040 to this, seems to work

    Code:
    // location specific stuff
    
      // Tree Varrock
      //Self.TreeWalkTile := Point(4434, 2620);
      //Self.FireStartTiles := [[Point(4571, 2627), 19], [Point(4555, 2589), 28]];
      //Self.TreeTiles := [Point(4416, 2590), Point(4414, 2604), Point(4430, 2600), Point(4427, 2618), Point(4408, 2618), Point(4424, 2627), Point(4430, 2627), Point(4439, 2627), Point(4450, 2612)];
    
      // Oak Varrock
      Self.TreeWalkTile := Point(4933, 2735);
      Self.FireStartTiles := [[Point(4990, 2735), 28], [Point(4990, 2731), 28]];
      Self.TreeTiles := [Point(4938, 2745), Point(4929, 2724)];
    
      // LUMBY Burn or Drop NO BANK!(ORS walking missing node and two paths, have to update world.graph for this to work)
      //Self.TreeWalkTile := Point(4720, 3477);
      //Self.TreeTiles := [Point(4749, 3494), Point(4743, 3468)];
      //Self.FireStartTiles := [[Point(4738, 3455), 18], [Point(4738, 3460), 18], [Point(4712, 3451), 12]];
    
      //Dray
      //Self.FireStartTiles := [[Point(4216, 3492), 23], [Point(4216, 3496), 18],
        //[Point(4216, 3500), 18], [Point(4252, 3508), 22], [Point(4274, 3512), 27]];
      //Self.TreeTiles := [Point(4144, 3498), Point(4152, 3504), Point(4164, 3508),
        //Point(4158, 3520), Point(4162, 3536)];
      //Self.TreeWalkTile := Point(4148, 3496);
    
      //East Lumby Burn or Drop NO BANK
      //Self.FireStartTiles := [[Point(4781, 3219), 24], [Point(4738, 3223), 11], [Point(4729, 3219), 19]];
      //Self.TreeTiles := [Point(4693, 3214), Point(4693, 3224), Point(4697, 3242)];
      //Self.TreeWalkTile := Point(4709, 3228);
    
      // tree types
      // Tree
      //Self.TreeOptions := ['Chop down Tree', 'Chop', 'down', 'Tree'];
      //Self.LogItems := ['Logs'];
    
      // oak
      Self.TreeOptions := ['Chop down Oak', 'Chop', 'down', 'Oak'];
      Self.LogItems := ['Oak logs'];
    
      // willow
      //Self.TreeOptions := ['Chop down Willow', 'Chop', 'down', 'Willow'];
      //Self.LogItems := ['Willow logs'];
    
      Self.TinderItem := 'Tinderbox';
      Self.NoLightText := ['You can''t light a fire here.'];
      Self.ToolItems := [Self.TinderItem, 'Rune axe', 'Dragon axe', 'Bronze axe',
        'Iron axe', 'Steel axe', 'Black axe', 'Mithril axe', 'Adamant axe',
        'Gilded axe', '3rd age axe', 'Infernal axe', 'Crystal axe'];
      Self.ChopWaitTime := 14000;
      Self.FireWaitTime := 10000;
      with Self.TreeColor do
      begin
        // tree and oak
        RSObject.Colors += CTS2(4882551, 3, 0.05, 1.08);
        RSObject.Colors += CTS2(4748142, 2, 0.19, 7.62);
        RSObject.Colors += CTS2(2179901, 4, 0.07, 0.85);
        RSObject.Colors += CTS2(1582884, 2, 1.04, 5.68);  // dark side
    
        // willow
        //RSObject.Colors += CTS2(3763042, 3, 0.05, 1.08);
        //RSObject.Colors += CTS2(3306343, 2, 0.19, 7.62);
        //RSObject.Colors += CTS2(3713943, 4, 0.07, 0.85);
        //RSObject.Colors += CTS2(462606, 2, 1.04, 5.68);  // dark side
    
        RSObject.Grow := 10;
        RSObject.Erode := 5;
        RSObject.ClusterDistance := 3;
        FilterSize := 30;
      end;
      // West Varrock
      //Self.BankTiles := [Point(4553, 2672)];
      //Self.BankWalkTile := Point(4549, 2672);
      //Self.BankColor.Colors += CTS2(3892081, 3, 1.29, 0.97);
      //Self.BankColor.Colors +=  CTS2(3496293, 2, 0.07, 1.23);
      // East Varrock
      Self.BankTiles := [Point(4825, 2770), Point(4821, 2770)];
      Self.BankWalkTile := Point(4825, 2764);
      Self.BankColor.Colors += CTS2(4354688, 3, 1.29, 0.97);
      Self.BankColor.Colors +=  CTS2(3496293, 2, 0.07, 1.23);
      // dray
      //Self.BankTiles := [Point(4174, 3468)];
      //Self.BankWalkTile := Point(4178, 3468);
      //Self.BankColor.Colors += CTS2(6251626, 3, 1.29, 0.97);
      //Self.BankColor.Colors +=  CTS2(1069415, 2, 0.07, 1.23);
      Self.BankColor.Erode := 2;
      Self.BankColor.Grow := 2;
      Self.BankColor.ClusterDistance := 3;
    TY for making very easy to understand script, excellent job commenting
    Last edited by hexthis; 07-27-2022 at 11:41 PM.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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