• Visit Rebornbuddy
  • Timber : a GPS for chopping tree

    Discussion in 'Plugins' started by scarecrow2, Dec 12, 2014.

    1. scarecrow2

      scarecrow2 Community Developer

      Joined:
      Dec 1, 2014
      Messages:
      34
      Likes Received:
      4
      Trophy Points:
      0
      UPDATED 23/01/15 :
      • now the plugin adapt itself to your Logging Level and won't try to chop tree your toon can't
      • Fixed the "missed tree issue" by clearing the aggro ( if any ) 20 yards before reaching targeted tree
      (I'm back in bussiness so i will finish this plugin.)
      Next step : profile compatibility


      Hi guys,

      This is my first attempt to code for honorbuddy.

      What my plugin do :
      • scan the area for trees ( even if they're out of sight )
      • reach them
      • attempt to chop them ( you won't be stuck on a honeypot nor on a tree you're not able to farm yet )

      What my plugin will not do :
      • check if you can chop them ( concerning your lumber mill lvl) <-- FIXED
      • check if your bags are full, nor if you have reached the 250 trees limit <--- FIXED
      • avoid blackspot ( any help would be appreciated for blakspotting bad areas )
      • move automatically if they're absolutely no tree in the area
      • loot mobs

      How to install it :
      1. download the Timber.cs and the blank profile on this post.
        [*Go to your HB plugin folder, like "c:\honorbuddy\Plugins\", add a subfolder named "Timber" and put the file Timber.cs in it
      2. Launch HB and activate it HB via the Plugins button

      How to use it :
      • Load the empty profile provided
      • use grindbot
      • move to a "not so farmed zone" ( as the plugins will stop moving if it can't find any tree in a wide area ). TIPS : fly to a medium zone, at night shadowmoonvalley should be ok. for Nagrand, avoid the EAST part, cause the plugin will try to reach trees on high valleys, which will not work ( this is an Honobuddy-side issue )

      The plugin is provided as-is. if it stop moving, just click your auto-walk button in a random direction, let your toon travel until the bot detect a new tree.
      You may want to use or write your own profile for the plugin ( as GatherIt does ), to get rid of this limitation.
      if you don't, babysitt the bot cause it will stop sometimes, or looping-dying in a opposite faction by ttring to walk thru it to reach a tree ( same thing for aggroing a badass elite ).
      BTW it's a lazzy opportunity to reach 250 trees chopped in a very little time.

      So, enjoy, tell me what you think, help appreciated (especially from dev community or grindbot profile writter ). Some issues could be easily fixed, some won't. If you're interested in this plug-in, i'll try to do my best.

      I don't know the HB policy concerning donation and tip, but, if it's ok for HB team, feel free to offer me a beer ^^


      EDIT :
      CHANGELOG :
      13/12/2014 :
      • Fixed the issue which made the bot wait for 10+ second after harvesting. wait timer fixed at 3.2s ( time needed to cast Lumbering on biggest trees )
      • Plugin now disable correctly looting / mining / skinning / herbalism ( Don't forget to uncheck the plugin when you switch profile or bot to restore theses abilities )
      • Will no longer pull mobs during pathing
      • correctly blacklist tree harvested or unchoppable
      • minor bug fixes
      if you liked my work, offer me a beer ! [​IMG]
       

      Attached Files:

      Last edited: Jan 22, 2015
      tomten2, HBNewbb and Eitron like this.
    2. Ebano

      Ebano New Member

      Joined:
      Nov 23, 2011
      Messages:
      227
      Likes Received:
      0
      Trophy Points:
      0
      Great work, going to try it and report bugs eventualy
       
    3. Gatherit

      Gatherit New Member Buddy Store Developer

      Joined:
      Aug 28, 2010
      Messages:
      2,331
      Likes Received:
      68
      Trophy Points:
      0
      Nice plugin! The only problem is it waits way too long between gathering. It will gather one tree and sit by it for a few seconds before moving on.

      Run this in Broken Horn Village. Best spot for farming hands down. I whipped up a quick profile for the spot.

      If you have questions about the profile I made post here for support. https://www.thebuddyforum.com/honor...roken-horn-village-mobs-spot.html#post1771705

      [​IMG]

      [​IMG]
       

      Attached Files:

      Last edited: Dec 12, 2014
    4. scarecrow2

      scarecrow2 Community Developer

      Joined:
      Dec 1, 2014
      Messages:
      34
      Likes Received:
      4
      Trophy Points:
      0
      Will test that.
      The wait timer after gathering is not an issue, it's a willing. I can totally fix that. i'll do it as soon as i can.
       
    5. Gatherit

      Gatherit New Member Buddy Store Developer

      Joined:
      Aug 28, 2010
      Messages:
      2,331
      Likes Received:
      68
      Trophy Points:
      0
      I figured it was. You can actually chop a tree and immediately move on to the next one and still get the timber no matter how far away you are as long as you don't phase out of the zone.
       
    6. scarecrow2

      scarecrow2 Community Developer

      Joined:
      Dec 1, 2014
      Messages:
      34
      Likes Received:
      4
      Trophy Points:
      0
      Update : waiting too much time after haversting is now fixed.
       
    7. patrik-x

      patrik-x New Member

      Joined:
      Mar 31, 2013
      Messages:
      127
      Likes Received:
      0
      Trophy Points:
      0
      Profiles for this?

      Hi

      The above profile was horde only i guess.?

      I tested a random gathering profile with the plugin but does not seem to work.
      It vent to big trees only .

      Ty
      Nice plugin though
       
    8. dc5boost44

      dc5boost44 New Member

      Joined:
      Oct 10, 2012
      Messages:
      48
      Likes Received:
      0
      Trophy Points:
      0
      Ran this with Gatherit's profile, ran for 15 mins go 243 lumber, works awesome thanks
       
    9. Eitron

      Eitron New Member

      Joined:
      Oct 26, 2011
      Messages:
      142
      Likes Received:
      0
      Trophy Points:
      0
      Thank you for this awesome work. +rep exactly.

      I know where the place which gatherit made the profile for but i don't use this one as i am an alliance player.
       
    10. scarecrow2

      scarecrow2 Community Developer

      Joined:
      Dec 1, 2014
      Messages:
      34
      Likes Received:
      4
      Trophy Points:
      0
      Actually, any places like flight landing point is a good place to start. The only issue is that the plugin may stop if it can't find a tree, but any profile written with for this plugin will fix that problem, so ... thx guys for your support!
       
      Last edited: Dec 14, 2014
    11. moni38

      moni38 Member

      Joined:
      Dec 24, 2011
      Messages:
      247
      Likes Received:
      1
      Trophy Points:
      18
      hey,

      where is the zip Datei for download ? plz

      How to install it :
      1.download the ZIP
       
    12. scarecrow2

      scarecrow2 Community Developer

      Joined:
      Dec 1, 2014
      Messages:
      34
      Likes Received:
      4
      Trophy Points:
      0
      it's a typo. just download the file Timber.cs and put it in your HB plugin folder
       
    13. HBNewbb

      HBNewbb New Member

      Joined:
      Jun 3, 2013
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      0
    14. scarecrow2

      scarecrow2 Community Developer

      Joined:
      Dec 1, 2014
      Messages:
      34
      Likes Received:
      4
      Trophy Points:
      0
      Hi,
      this could be due to many reasons. First, this plugin is not intended ( for the moment ) to be used with another grinding profiles, or for harvesting others things, cause my plugin deactivate looting, skinning, mining and herbalism. Secondly, you farm in a zone which is the worst to farm tree, as even if the plugin ask HB to acknowledge that the tree is reachable by it, most of the time it won't, due to "puzzle jumping" design of this part of map.
       
    15. scarecrow2

      scarecrow2 Community Developer

      Joined:
      Dec 1, 2014
      Messages:
      34
      Likes Received:
      4
      Trophy Points:
      0
      But basically your issue is caused by the fact i blacklist trees you tried to harvest once. if you have to stop to clear the aggro, it will stay balcklisted. This is due to the fact that trees will stay in the wow environment evironmnt 13 seconds after harvesting, so i have to BL them to avoid staying 13 seconds spamming-chop an already harvest tree, or being blocked on a tree you're not able to chop ( Lumber mill lvl too low), and don't be stuck on a honeypot ( eg an object designed by wow team to catch botter : they indeed put trees, with the classic ID, that would refuse to be harvested ).
      This issue may be solved in a near future.
       
    16. xPain

      xPain Member

      Joined:
      Oct 28, 2012
      Messages:
      139
      Likes Received:
      1
      Trophy Points:
      18
      Having a slight issue with the plugin. I am at a farming location with the plugin enabled and I have the profile selected but the bot only moves to a location once or twice and stops (doesn't even check for getting stuck on parts of the huts).

      My Log: View attachment 158347

      I ran the profile without the plugin and it worked well but with the plugin there is some errors.
       
    17. moni38

      moni38 Member

      Joined:
      Dec 24, 2011
      Messages:
      247
      Likes Received:
      1
      Trophy Points:
      18
      ok, thx.

      i have !!!
       
      Last edited: Dec 15, 2014
    18. soo136840

      soo136840 New Member

      Joined:
      Jul 8, 2014
      Messages:
      39
      Likes Received:
      0
      Trophy Points:
      0
      Is there a reason why this plugin only works if mining/herbalism is deactivated?
       
    19. scarecrow2

      scarecrow2 Community Developer

      Joined:
      Dec 1, 2014
      Messages:
      34
      Likes Received:
      4
      Trophy Points:
      0
      Yes. my lack of knowledge in coding, the lack of documentation on HB API, the fact that the answer is in the quote you just put, and the lack of extensive testing on my side and and your side. feel free to fix it.
       
    20. Scotts01

      Scotts01 Member

      Joined:
      Oct 6, 2012
      Messages:
      73
      Likes Received:
      0
      Trophy Points:
      6
      What exactly does timber / lumber yard give you?

      Why is it worth farming it?
       

    Share This Page