• Visit Rebornbuddy
  • [Plugin] Corpse Harvester

    Discussion in 'Archives' started by Beowulfe, Dec 12, 2010.

    Thread Status:
    Not open for further replies.
    1. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      http://www.thebuddyforum.com/honorb...e/uncataloged/17615-[plugin]-loot-master.html

      This thread is closed - Please go to the link above. This plugin is now named Lootmaster

      - Kick










      This plugin is pretty straightforward - Turn it on, and it will ensure the bot harvests nearby harvestable corpses for their orga... errr, I mean minerals, herbs and engineering parts! :D

      It respects your "Harvest Minerals" and "Harvest Herbs" settings, so it will not gather from corpses that provide gather types that have been disabled in bot settings.

      Enjoy!


      Changelog

      Version 1.0.1.0
      -Now skins as well (if enabled in bot options), to account for issues with HB skinning
      -Attempts to harvest looted corpses immediately now, rather than allowing HB to run off to loot other corpses first (much faster overall)
      -Plugin now has an auto-interact section of code that fixes some issues HB is having with not properly harvesting immediately
      -Added some code that ensures the bot doesn't wait longer than it has to at each corpse if missing the proper tool (mining pick, skinning knife, etc.) while that type of harvesting is enabled (silly user :p)
      -Overall harvesting efficiency up quite a bit

      Version 1.0.0.3
      -Fix an issue with the bot prioritizing harvesting corpses over selling things.

      Version 1.0.0.2
      -Fix some issues with attempting to harvest corpses from mobs killed by other players

      Version 1.0.0.1
      -Now supports using Engineering on corpses as well (Not capable of fully testing this on my end, please report results!)

      Version 1.0.0.0
      -First release.


      Todo:
      -Add a setting to disable gathering from corpses via Engineering, as HB does not have an option for this that I can link to.


      PLEASE NOTE:
      This plugin has been superseded by Loot Master, located HERE.
       

      Attached Files:

      Last edited by a moderator: Jan 31, 2011
    2. donkey

      donkey New Member

      Joined:
      Nov 20, 2010
      Messages:
      135
      Likes Received:
      1
      Trophy Points:
      0
      So do you have to check "herb" or "mine" or does this auto detect a "harvestable mob"?
       
    3. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      It auto-detects harvestable mobs, however, it will respect your "Harvest Herb" and "Harvest Mineral" settings in the "Bot Settings" section.

      So, if you have unchecked "Harvest Minerals" and the plugin finds a harvestable corpse that provides minerals, even if you have the skill to mine it, it will ignore the corpse.


      If you want, I can setup an option to allow it to harvest corpses even with Harvest Herbs/Minerals disabled in Bot Settings, though I'm not sure how useful it would be in general, as most people that want to be actively gathering have those enabled (at least so I assume, maybe that's a bad assumption :p).
       
      Last edited: Dec 12, 2010
    4. donkey

      donkey New Member

      Joined:
      Nov 20, 2010
      Messages:
      135
      Likes Received:
      1
      Trophy Points:
      0
      if it respects those settings I don't see a need for a box to do that.
       
    5. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      Now supports engineering as well!

      There is currently no way to disable gathering via Engineering, so if you have the Engineering skill and the corpse is disassembleable, it will be disassembled. I plan to remedy this soon via a Settings box, just don't have time tonight.

      Also, Engineering has been tested, but only to a limited extent, as my access to Engineering toons is limited. If anyone has any results to report on this subject, feel free to post!
       
    6. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      Updated - Fixed some issues with the bot harvesting corpses of mobs killed by other players.
       
    7. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      Updated, fixed an issue with the bot prioritizing harvesting corpses over selling things from time to time.
       
    8. theatristformallyknownasG

      theatristformallyknownasG New Member

      Joined:
      Jan 16, 2010
      Messages:
      3,043
      Likes Received:
      8
      Trophy Points:
      0
      Gets the award for "best plugin of the year", never miss a herb or mine again.

      G
       
      Last edited: Dec 13, 2010
    9. hotpocket

      hotpocket New Member

      Joined:
      Aug 19, 2010
      Messages:
      53
      Likes Received:
      0
      Trophy Points:
      0
      Thanks a bunch for this epic plugin.

      Is it normal that there is a delay of a few second b4 it starts harvesting mobs?
       
    10. highend

      highend Member

      Joined:
      Jan 15, 2010
      Messages:
      422
      Likes Received:
      1
      Trophy Points:
      18
      Can you add skinning support to overcome the current hb bugs?
       
    11. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      No, actually. This is an issue with Honorbuddy, not the plugin, it has a delay on some harvests for no apparent reason. I've added some code to the plugin to work around this, however. If you see the bot staring at a corpse trying to harvest it but doing nothing after downloading the new version, post back here with the mob name and I'll check it out. :)

      Done!


      New version posted, changelog as follows:

      Version 1.0.1.0
      -Now skins as well (if enabled in bot options), to account for issues with HB skinning
      -Attempts to harvest looted corpses immediately now, rather than allowing HB to run off to loot other corpses first (much faster overall)
      -Plugin now has an auto-interact section of code that fixes some issues HB is having with not properly harvesting immediately
      -Added some code that ensures the bot doesn't wait longer than it has to at each corpse if missing the proper tool (mining pick, skinning knife, etc.) while that type of harvesting is enabled (silly user :p)
      -Overall harvesting efficiency up quite a bit
       
      Last edited: Dec 23, 2010
    12. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      Not a bug. It's a workaround for possible lag situations. (And it shouldn't wait longer than your latency in any situation.)
       
    13. highend

      highend Member

      Joined:
      Jan 15, 2010
      Messages:
      422
      Likes Received:
      1
      Trophy Points:
      18
      Wow, thank you so much! I'll give it a try instantly and report back!
       
      Last edited: Dec 23, 2010
    14. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      Ah, gotcha. Well, I've caught it waiting four or five seconds without doing anything several times (latency for me is usually around 200ms, frame rate of 60ish as well), and manually trying to harvest worked (though as soon as HB's harvest kicked in it would stop and restart the harvest), but that may be related to a small burst of lag directly before it goes to harvest (AKA latency being higher for a few frames, which carries over until after the latency drops for a few seconds).

      Either way, shouldn't be an issue. The current code in the plugin should account for anything up to about 800ms latency without any hiccups, so I'll wait and see if anyone has any issues. If anyone that normally runs with high latency finds that it's not harvesting corpses properly, let me know and I'll tweak it further. Can kick that up to about 1.5 seconds without directly impacting anyone at a lower latency, so might do that anyways to be safe.
       
      Last edited: Dec 23, 2010
    15. highend

      highend Member

      Joined:
      Jan 15, 2010
      Messages:
      422
      Likes Received:
      1
      Trophy Points:
      18
      One additional feature request (though I don't know if it's possible). Assign skinning a higher priority than mining / herbalism.

      What just happened was: A herb right beside a crocolisk. The hunter (with skinning and herbalism) pulled the crocodile, killed it. Now didn't loot & skinned it but went to the herb, gathered it first and then came back to the croco to loot and skin it.

      It matters because in regions with rivers it would traverse the river to gather a mine or herb and then return to the last killed mob on the other side :)
       
    16. theatristformallyknownasG

      theatristformallyknownasG New Member

      Joined:
      Jan 16, 2010
      Messages:
      3,043
      Likes Received:
      8
      Trophy Points:
      0
      Thanks for thew update to 'plug-in of the year" :)

      G
       
    17. highend

      highend Member

      Joined:
      Jan 15, 2010
      Messages:
      422
      Likes Received:
      1
      Trophy Points:
      18
      One more thing (don't know if it can be solved through a plugin). When the cc is allowed to mount we often have the problem that it loots a mob (e.g. the crocodile), mounts, dismounts, skin it, mounts and ride to the next hotspot. Can this behaviour prevented or do we have to disable mounting at all to get rid of this behaviour?
       
    18. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      Should be able to do both of those highend. Got a few additions planned for next update, not 100% sure if I'll have time in the next couple days (Christmas trumps plugin updates, sorry guys :p), but you can expect an update soon.

      Any other requests for additions?
       
    19. highend

      highend Member

      Joined:
      Jan 15, 2010
      Messages:
      422
      Likes Received:
      1
      Trophy Points:
      18
      No, that's all for the moment. Thanks a lot and have a happy Xmas!
       
    20. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      Thanks, you too!! :D
       
    Thread Status:
    Not open for further replies.

    Share This Page