Page 1 of 2 12 LastLast
Results 1 to 25 of 50

Thread: Ivy Chopper

  1. #1
    Join Date
    Dec 2013
    Posts
    95
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default Ivy Chopper

    Hey guys. I just wanted to share the script I've been working on lately. This is an ivy power chopper. It's still pretty early in the stages of development. Please report any issues you encounter. The core loop works reliably but there's a lot of details and enhancements that I still need to make going forward.

    New version r3 is out. Please try it out and give feedback. Thanks!

    Setup (instructions as of version r3):

    See image:


    1. Start SMART, log in
    2. Enable drawing in SMART (alternatively: set DebugDrawToSmart to false)
    3. Change your character's clothes to as close to a single solid color as you can (to help animation detection)
    4. Start your character at the east wall of Ardougne church
    5. Face the ivy as directly as you can, with the camera 1/2 of the way up (same height as if you reset by clicking the compass). You'll know you have it right when the wall's top appears as horizontal as possible and the entire wall takes up slightly less than your full screen width (and if you have debug drawing on, the red box should surround your character but not exceed it by too much).
    6. Zoom 1/2 of the way in (See attached image and compare your screen)
    7. Put exp counter in chat header
    8. Run the script


    Current features:
    1. Reliable power chopping core loop
    2. Animation detection
    3. Antibans


    Still needs work:
    1. Script needs performance tuning in waits
    2. Animation detection needs re-tuning
    3. Code still needs some comments and cleanup
    4. Better antiban strategy that doesn't lose as much exp


    If you use this script, please post feedback and reports. I would be very interested to hear from you.

    Look forward to an updated version of the script (and of this post) with enhancements eventually (anywhere from a week to a month depending on how busy my life ends up being).

    Example progress report:
    Progress Report:
    -- ========================================
    -- ========================================
    -- zxwv's Ivy Chopper
    -- Script has been running for 21 min 15 sec
    -- Chopped 19 times
    -- Waited 62 times
    -- Gained approximately 20283 exp
    -- Approximately 57247 exp/hour
    -- Performed 18 antibans
    -- ========================================
    -- ========================================
    Attached Files Attached Files
    Last edited by vwxz; 01-03-2014 at 08:24 AM.

  2. #2
    Join Date
    Feb 2012
    Location
    DON'T PM ME ASKING FOR STUFF
    Posts
    2,170
    Mentioned
    38 Post(s)
    Quoted
    423 Post(s)

    Default

    hey dude,

    I wrote a pretty neat IVY script if you want to have a look at it. Checkout the case anti-ban etc if you need a reference, it's a tad old but it may help you with some ideas <3

  3. #3
    Join Date
    Dec 2013
    Posts
    95
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by xtrapsp View Post
    hey dude,

    I wrote a pretty neat IVY script if you want to have a look at it. Checkout the case anti-ban etc if you need a reference, it's a tad old but it may help you with some ideas <3
    That would be awesome. Always interested in learning how others approach the same problem!

    By the way, what are your thoughts on:
    1. How do we tell whether we're currently chopping? Is it worth using multiple methods?
    2. If you're using PixelShift type animation detection, how do you find parameters that work for everybody (rather than needing specific clothing setups)?
    3. How do we know how many "pieces" of ivy we've gotten?


    Thanks!

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

    Default

    Joined in december and already posted a script, nice!

    For the amount of ivy chopped you can get that from the xp change. There is a function that checks the xp bar in your chatbox. I forgot where you can get it (maybe its already in the includes). I think @Ashaman88 knows it.

  5. #5
    Join Date
    Dec 2013
    Posts
    95
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    Joined in december and already posted a script, nice!

    For the amount of ivy chopped you can get that from the xp change. There is a function that checks the xp bar in your chatbox. I forgot where you can get it (maybe its already in the includes). I think @Ashaman88 knows it.
    There was one posted a while back. I tried using that for a while. Unfortunately, it had a small but significant error rate, where it sometimes returned 0 and other times it would combine the "+X Y" exp message into a single number "XY". It's probably usable just fine with some additional error checking logic. I may try that again soon, but my personal impression is that XP tracking is more of a luxury whereas stuff like antibans are more essential.

    It's all on my to-do list for this script. But, not sure what the other stuff in my life will be like, and not sure what my priorities are among my work-in-progress script attempts.

    EDIT: Would there be a way to check the exp from the stats screen mouseover? That seems like it would be easier because it doesn't have the +X mess.
    Last edited by vwxz; 01-02-2014 at 01:57 PM.

  6. #6
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Quote Originally Posted by vwxz View Post
    There was one posted a while back. I tried using that for a while. Unfortunately, it had a small but significant error rate, where it sometimes returned 0 and other times it would combine the "+X Y" exp message into a single number "XY". It's probably usable just fine with some additional error checking logic. I may try that again soon, but my personal impression is that XP tracking is more of a luxury whereas stuff like antibans are more essential.

    It's all on my to-do list for this script. But, not sure what the other stuff in my life will be like, and not sure what my priorities are among my work-in-progress script attempts.

    EDIT: Would there be a way to check the exp from the stats screen mouseover? That seems like it would be easier because it doesn't have the +X mess.
    Try using the updated version

  7. #7
    Join Date
    Dec 2013
    Posts
    95
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by Ashaman88 View Post
    Try using the updated version
    Sounds good. Thanks for the update! Planning to put it into the next version with antibans etc.

    EDIT: Added the exp count to my personal in-development version. Seems to be working great. Thanks again!
    Last edited by vwxz; 01-02-2014 at 04:09 PM.

  8. #8
    Join Date
    Nov 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Very nice man! ill make sure to give it a go i have been wanting an ivy script for a while now, even made a sugeestion for it on the suggestions forum. ill report back with any bugs i come across.

  9. #9
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Nice first script If you haven't already you should read the antiban include file for some easy antiban ideas:

    C:\Simba\Includes\srl-6\lib\misc\antiban.simba

  10. #10
    Join Date
    Nov 2013
    Location
    North of Hell
    Posts
    271
    Mentioned
    7 Post(s)
    Quoted
    171 Post(s)

    Default

    I saw this in script requests section a few days ago, gratz on the release

  11. #11
    Join Date
    Dec 2013
    Posts
    95
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Hey guys. Thanks for the support!

    Once again, just a reminder that if you're using this script, I would really appreciate progress reports and feedback.

    BTW, here's a progress report from the in-development version. (Equivalent to the current release, plus work-in-progress on experience tracking.) Since I had already had this client logged in while developing, I hit the 6 hour logout pretty soon afterward. So far, though, it seems to be around 70k exp/hour (mid 70s with a dragon hatchet) which is pretty promising and seems to line up with the rate humans get.

    Progress Report:
    -- ========================================
    -- ========================================
    -- zxwv's Ivy Chopper
    -- Script has been running for 1 hr 47 min 10 sec
    -- Chopped 77 times
    -- Waited 349 times
    -- Gained approximately 123358 exp
    -- ========================================
    -- ========================================
    Last edited by vwxz; 01-02-2014 at 11:42 PM.

  12. #12
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

  13. #13
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by vwxz View Post
    I hit the 6 hour logout pretty soon afterward.

    When it logs out for what ever reason, you should make it log back in. If it can't login due to six hour limit it will automatically reload the SMART client and then login.

    At the beginning of all your loops you should put:

    Simba Code:
    if not isLoggedIn then
    exit

    So if it gets logged out your script won't be stuck in a loop.

    In the mainloop put:

    Simba Code:
    if not isLoggedIn then
    players[currentPlayer].login();

    So when its logged out it will exit all your proc/func until it returns to that login code in the main loop.

  14. #14
    Join Date
    Nov 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Any way to get this running without having to set up player manager? it does not work for me..

  15. #15
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by s0bac0 View Post
    Any way to get this running without having to set up player manager? it does not work for me..
    Yes, replace the Declare Players procedure with:

    Simba Code:
    procedure declarePlayers;
    begin
      setLength(players, 1);
      with players[0] do
      begin
        loginName := 'username';
        password := 'password';
        isActive := true;
        isMember := true;
      end
      currentPlayer := 0;
    end;

  16. #16
    Join Date
    Dec 2013
    Posts
    95
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Hey guys. New version is out!

    Thank you all for the feedback so far!

    Location has been changed to Ardy since it's quieter and the screen is cleaner. This also removes the problem where you lag really hard right as you're about to click the ivy and instead click the Varrock palace staircase. See first post for updated script, updated setup instructions, etc.

    Changes:
    • Added some antibans and some extra waits to simulate a bored/distracted human
    • New location with better accuracy
    • Removed the login related code. Now we always assume you start logged in with camera done


    Exp rate has dropped to ~55k exp/hour in high 70s. Part of this is because antibans intentionally sits around to simulate boredom/distraction/AFK. Part of this is due to flaws in current animation detection that will be fixed eventually as part of next update. (Also, the 70k number may have been slightly inflated by a bug.)

    New progress report:
    Progress Report:
    -- ========================================
    -- ========================================
    -- zxwv's Ivy Chopper
    -- Script has been running for 46 min 42 sec
    -- Chopped 57 times
    -- Waited 133 times
    -- Gained approximately 43066 exp
    -- Approximately 55323 exp/hour
    -- Performed 36 antibans
    -- ========================================
    -- ========================================


    Quote Originally Posted by Ashaman88 View Post
    thats awesome man keep it up!
    Thanks!!

    Quote Originally Posted by sparkyownage View Post
    I saw this in script requests section a few days ago, gratz on the release
    Thanks!!

    Quote Originally Posted by The Mayor View Post
    Nice first script If you haven't already you should read the antiban include file for some easy antiban ideas:

    C:\Simba\Includes\srl-6\lib\misc\antiban.simba
    Thanks!! Started using some of those. Will add more later that are ivy-specific.

    Quote Originally Posted by s0bac0 View Post
    Very nice man! ill make sure to give it a go i have been wanting an ivy script for a while now, even made a sugeestion for it on the suggestions forum. ill report back with any bugs i come across.
    Really appreciate if you could tell me if you run into any issues/difficulties with the script or the instructions so I know where to improve.

    Quote Originally Posted by The Mayor View Post
    When it logs out for what ever reason, you should make it log back in. If it can't login due to six hour limit it will automatically reload the SMART client and then login.
    It's on my to-do list but not very high priority at the moment. It would require reworking certain parts of the script.
    Last edited by vwxz; 01-03-2014 at 05:39 AM.

  17. #17
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Very nice looking script!

  18. #18
    Join Date
    Dec 2013
    Posts
    95
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    Very nice looking script!
    Thanks!!

    ---

    BTW, r3 is out. Just minor fixes mostly around animation detection. Clarified the setup instructions and added some debug drawing so you can tell when you've got it right.

    New progress report:

    The exp rate can be improved, even with antibans on. Probably will end up somewhere near 60-65k at level 80ish with good optimization and low downtime. That's on my eventual to-do list.

    Progress Report:
    -- ========================================
    -- ========================================
    -- zxwv's Ivy Chopper
    -- Script has been running for 21 min 15 sec
    -- Chopped 19 times
    -- Waited 62 times
    -- Gained approximately 20283 exp
    -- Approximately 57247 exp/hour
    -- Performed 18 antibans
    -- ========================================
    -- ========================================


    ---

    EDIT:

    See image in first post for setup details.
    Last edited by vwxz; 01-03-2014 at 08:18 AM.

  19. #19
    Join Date
    Dec 2011
    Posts
    37
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Testing your script now thanks man

  20. #20
    Join Date
    Dec 2013
    Posts
    95
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by skillers View Post
    Testing your script now thanks man
    Awesome! As always, I'd appreciate reports/feedback.

  21. #21
    Join Date
    Dec 2013
    Posts
    74
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    Dunno what i am doing wrong... it works, but i have the feeling i do something that slows the progress, because when he finished one ivy vine it some time until he begins with a new one
    and during this it always says: pixelshift : x (any number)

    but all in all im very happy with this script finally i can improve my woodcutting skill, but it would be great to get to know if i am doing something or the script just needs improvement

    thanks
    Last edited by gawain; 01-08-2014 at 08:38 PM.

  22. #22
    Join Date
    Dec 2013
    Posts
    95
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by gawain View Post
    Dunno what i am doing wrong... it works, but i have the feeling i do something that slows the progress, because when he finished one ivy vine it some time until he begins with a new one
    and during this it always says: pixelshift : x (any number)

    but all in all im very happy with this script finally i can improve my woodcutting skill, but it would be great to get to know if i am doing something or the script just needs improvement

    thanks
    Thanks for the feedback!

    There is a bit of a wait in animation detection and a bit of a wait to simulate a bored human in the antiban. However, if you are noticing significant delays, that suggests that there is something that is giving false positives for animation detection.

    If you want, I can look into the issue for you. Could you please provide the following? Thanks!
    • WC level
    • screenshot of character while chopping, with drawn box (imgur it, PM me if you're not comfortable posting this publically)
    • progress report after 15+ minutes
    • last few hundred lines of the log (pastebin it)


    Also, I'm working on a release which optimizes the core loop a bit further and reduces the animation detection's sensitivity to small differences in setup & player appearance.
    Last edited by vwxz; 01-09-2014 at 02:15 AM.

  23. #23
    Join Date
    Dec 2013
    Posts
    74
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    sorry but i need post count to answer you :/

  24. #24
    Join Date
    Dec 2013
    Posts
    74
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    sorry but i need post count to answer you :/ lol

  25. #25
    Join Date
    Dec 2013
    Posts
    74
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    sorry but i need post count to answer you -.-

Page 1 of 2 12 LastLast

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
  •