• Visit Rebornbuddy
  • [Plugin] Baiterator - Use WoD Baits & Hats While Fishing

    Discussion in 'Uncataloged' started by p1xel8ted, Feb 24, 2015.

    1. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      [Plugin] Baiterator - Use WoD Baits/Fillet Hooks While Fishing. Summons Cave Dwellers

      Baiterator 1.0.8

      For Best Results - Should work with most things however.

      - Level 3 Fishing Hut
      - FishingBuddy for fishing. (Latest version of HB has replaced AutoAngler with FishingBuddy. No difference, just a name change.)
      - Set FishingBuddy/HB to loot mobs. If you have a Loot-a-rang item, it doesn't matter what FishingBuddy is set on.
      - A fishing pole, not the one you pull out of thin air in Draenor.

      Features

      - New in 1.0.8 - Ability to remove buffs/baits that have been applied by other sources. (Only if said buff/bait is disabled in Baiterator)
      - New in 1.0.8 - Few more points where it saves your settings. You were able to modify settings, then close the bot for example and settings wouldn't save.
      - New in 1.0.8 - Message when you don't have a proper fishing pole equipped. Baiterator will not function without one.
      - Ability to enable/disable certain baits.
      - If you are in your garrison it will rotate baits, never using the same one twice till its forced to.
      - If you are outside your garrison it will use whatever bait becomes available.
      - Will use the Bladebone Hook if your bot-base doesn't.
      - Will summon cave dwellers for both Alliance & Horde if you have the item.
      - If you have either of the loot-a-rang items, it will use those after killing dwellers. FishingBuddy has trouble looting mobs under water. Known Issue.
      - If you have more than 1 of the Hightfish Cap, Tentacle Hat & Ephemeral Fishing Pole, it will remove them to save space.

      [​IMG]

      Credits

      - 0lly
      - HighVoltz
      - Lacrymae

      Support

      I have no issue with helping people out, however, few notes.

      "Plugin isn't doing this" - Is not helpful, I need as much information as possible. More the better.
      Logs, Logs, Logs - If there is no log(s) attached, I will not provide assistance till there is.

      How to attach a log.

      Download
       

      Attached Files:

      Last edited: Apr 29, 2015
    2. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Change Log

      1.0.8 - Posted 28/04/2015

      - Ability to remove buffs/baits that have been applied by other sources. (Only if said buff/bait is disabled in Baiterator)
      - Few more points where it saves your settings. You were able to modify settings, then close the bot for example and settings wouldn't save.
      - Message when you don't have a proper fishing pole equipped. Baiterator will not function without one.

      1.0.7 - 117 Downloads

      - Fixed logic error with some calculations. Will report the right amount of dwellers summoned now.
      - Added the ability to enable/disable certain WoD baits from being used. On this note, if you have pre-existing baits in your bags, AutoAngler will use one. You can either cancel the buff or wait, Baiterator will then kick in.
      - Added some checking incase you don't have a settings file or its been modified.

      1.0.6 - 50+ Downloads

      - Further fix for players with pets, Now uses entirely different approach to initiate combat if your bot base falls asleep at the wheel, as previous method wasn't working.
      - Implemented a settings UI. Doesn't allow you to change baits etc, just turn certain features on or off.
      Note - Even though the hotkey message is removed, the hotkeys still function and should update your saved settings each time they're pressed.

      1.0.5 - 50+ Downloads

      - Fixed client crashing when the plugin went to remove gear. Thank you to those that assisted.
      - Potential fix for players with pets, and their toon not attacking. I have added some targeting into the plugin.

      1.0.4 - 50+ Downloads

      - Added hotkey to disable removal of gear for people having issues with WoW crashing while I investigate why. I can't replicate the issue.
      - Removal of gear is now DISABLED by default. Alt + E in game will re-enable it.

      1.0.3 - 50+ Downloads

      - Will now make use of both variants of loot-a-rang. Credits to vicbaldry for the idea. Credits to Lacrymae for the code to get lootable mobs in area.
      - Will now use Draenic Fishing Pole buff. (Nat Pagle for 25 coins). If you are using the latest AutoAngler (2.135) at time of writing, he has added support for the pole as well. I will leave my code in there as it doesn't make a difference.
      - Made it so if you're not in your garrison and are fishing, it will use whatever Draenor bait it finds in your bags. Handy for lunker fishing.
      - Have disabled equipping the hats from dwellers as the latest version of AutoAngler has support for them.

      1.0.2 - 50+ Downloads

      - Added check to see if we're fishing and not moving before equipping hat. (Incase you have plugin enabled, but aren't doing any fishing for example)
      - Added Bladebone Hook support.

      1.0.1 - 50+ Downloads

      - Things that are safe to add/remove have been commented in the code. Open with ur editor of choice.
      - Can change how many items to keep/remove.
      - Added check to see if you're in a garrison or not. Won't use dweller items regardless of options if you are not in a garrison.
      - Have added the ability to summon the Frostdeep Cavedweller. (Haven't tested, no Horde toons.)
      - Added option to turn on/off summoning of dwellers. Default is on. Press ALT + Q in game to toggle it on or off.
      - Added check to see if we're in garrison before trying to use the Cavedweller items.
      - Removed movement, so should be able to use this anywhere no problem now. Just means if your bot runs away chasing a dweller, my plugin won't attempt to move back. Best to have water walking enabled in AutoAngler.

      1.0.0 - 50+ Downloads

      - Original release
       
      Last edited: Apr 29, 2015
    3. vicbaldry

      vicbaldry New Member

      Joined:
      Apr 12, 2012
      Messages:
      103
      Likes Received:
      0
      Trophy Points:
      0
      great job on this plugin - and thank you for sharing. I'm not much of a coder, but would adding this make it re-apply Bladebone Hooks?

      Code:
              private bool checkAura()
              {
       
      
                  if (Me.HasAura(182226))
                  {
                      return true;
                  }
                  else
                  {
                      //what goes here to use it?
                  }
                  return false;
              }
      
       
    4. vicbaldry

      vicbaldry New Member

      Joined:
      Apr 12, 2012
      Messages:
      103
      Likes Received:
      0
      Trophy Points:
      0
      Also a quick question about looting - I have looting turned on in AutoAngler, but it often can't generate a path to loot the Cavedweller.
       
    5. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Thank you, glad you like it. The way that method works normally is to check if we have any bait buffs. If we don't have a buff contained in the list at the top it returns false, allowing the plugin to use a bait. If we do have a bait buff, it won't use one. It does this check each time the bot pulses. Much easier imo than relying on timers and so on. So answer to your question, your code will make it so that it won't use a bait till your bladebone hook buff drops off.

      As for looting, that is an AutoAngler problem. I have removed all attempts at movement from my plugin because a change in HB does not allow plugins to control movement enough. I have yet to come up with something that will solve that.

      I will add in the Bladebone Hooks for you.
       
    6. vicbaldry

      vicbaldry New Member

      Joined:
      Apr 12, 2012
      Messages:
      103
      Likes Received:
      0
      Trophy Points:
      0
      Awesome - just tested the new version and works like a charm! Thanks for adding in the bladebone hook support.

      With regards to the looting issue, what I've been using is Findle's Loot-A-Rang (Findle's Loot-A-Rang - Item - World of Warcraft) and it works very well for fetching loot off the guys underwater. There is a simple plugin that does this, but you can also add the code that 1) checks if you have the item 2) uses it right after a kill

      One issue I did notice is this plugin crashes my game when it does the duplicate item removal - I had to delete that in the code in order to make it work. (everything under removeExcessGear() and any reference to it)
       
    7. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Np. There is a new autoangler which makes parts of this plugin defunct, but still serves its main purpose, which is to rotate through the baits instead of using any one willy nilly. I have updated the post to reflect my findings. It is 2am here, so getting a bit tired. I will add loot-a-rang support first thing in the morning, great idea.

      As for the removeExcessGear, it does use a LUA call which some addons might not like, try disabling addons in game and see if it still does it. Does HB give you message in the log when this happens? Also, instead of removing code, just place two // in front of it. Comments out the code and gets ignored by the compiler. Line 341 should be roughly the spot to comment out to disable the remove gear part.

      Normally if its a code error, it would crash HB if not handled correctly, strange that it's crashing your game.

      TY for your support/help. Greatly appreciated.

      EDIT - I know I said I would do it in the morning, but its now 3:30am, and implemented the boomerang things, but too tired to test it. Its on the SVN. Here is a direct link also https://github.com/p1xel8ted/Baiterator/blob/master/Baiterator/Baiterator.cs
       
      Last edited: Mar 22, 2015
    8. samalone

      samalone New Member

      Joined:
      Apr 7, 2012
      Messages:
      129
      Likes Received:
      1
      Trophy Points:
      0
      Is there a way I can disable the deleting of the poles and hat. My wow freezes immediately when it attempts it and it has a problem trying to find its way back as well from water. Because of the freezing from the deleting I am unable to test it properly.
       
    9. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Edit 2 - I quickly put together an update that will enable you to push Alt + E to enable/disable the removal of gear without having to modify the code. Download link at top. I'd still appreciate any logs however.

      If you comment out line 367 in 'Baiterator.cs', it won't remove excess poles and so on. You're now the second person to report that, any logs would be greatly appreciated. I can't replicate the issue, and have never encountered that while developing it.

      Please try it with no WoW addons enabled or any other HB plugins that manipulate your inventory and report back (with logs preferably).

      Until AutoAngler is updated to run back to land or something, you will need to have water walking potions or something and make sure water walking is enabled in AutoAngler. For looting, the only thing I can recommend is a loot-a-rang. Cost me about 200g off the auction house.

      P.S I use a DK for fishing. Path of Frost is extremely handy, but any toon with a water walking spell will work.

      Edit - To comment lines of code, just put // at the front of the text like so:

      Code:
      //  removeExcessGear();
       
      Last edited: Mar 23, 2015
    10. vicbaldry

      vicbaldry New Member

      Joined:
      Apr 12, 2012
      Messages:
      103
      Likes Received:
      0
      Trophy Points:
      0
      Thanks for the edits, will test as soon as I get home and report back!
       
    11. Onidoom

      Onidoom New Member

      Joined:
      Mar 11, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      1
      Hi, plugin is great, but I am having only 1 problem. As im a hunter, my pet attacks the add and because i have the fishing rod equipped, my character doesnt attack. With my pet doing all the damage, the add isn't loot-able, is there any sort of workaround for this, hopefully equipping weapon up add spawn or something as it auto equips fishing rod when i start bot.
       
    12. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Hey mate, glad you like it. Can I please have some more information, are you using AutoAngler or another fishing base, and what combat routine are you using? Should be a simple fix, but the more information, the better.
       
    13. xib0x

      xib0x New Member

      Joined:
      Oct 31, 2012
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      1
      hey man so i just tried your plugin, but every time a carpe is spawned it freezes my wow client :/
      and the only way to fix is to click the stop button and then wow dc's
       

      Attached Files:

    14. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Thanks for log, for now disable removal of extra gear. That is what is causing the crashes.
       
    15. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      For those having issues with the client freezing when it attempts to remove gear, please try this one attached AND REPORT BACK. If you don't report back with logs etc, I can't fix it as I don't have this problem.

      Possible Fixes

      Need reports to confirm.

      - People having issues with client freezing when removing excess gear.
      - People with pets and not attacking mob etc..

      Link removed. Latest is now in first post.
       
      Last edited: Apr 3, 2015
    16. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Please try version 1.0.5 - downloadable from the first post.
       
      Last edited: Apr 3, 2015
    17. xib0x

      xib0x New Member

      Joined:
      Oct 31, 2012
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      1

      will try it out in a bit

      ill let you know how it goes
       
    18. xib0x

      xib0x New Member

      Joined:
      Oct 31, 2012
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      1
      Code:
      AutoAngler 2.135: In 0 days, 0 hours and 51 minutes we have caught
      AutoAngler 2.135: Enormous Crescent Saberfish x53
      AutoAngler 2.135: Enormous Fire Ammonite x1
      AutoAngler 2.135: Sea Scorpion Bait x2
      AutoAngler 2.135: Enormous Sea Scorpion x36
      AutoAngler 2.135: Fat Sleeper Bait x1
      AutoAngler 2.135: Abyssal Gulper Eel Bait x3
      AutoAngler 2.135: Blind Lake Sturgeon Bait x2
      AutoAngler 2.135: Fire Ammonite Bait x1
      AutoAngler 2.135: Jawless Skulker Bait x1
      AutoAngler 2.135: Lunarfall Carp x7
      AutoAngler 2.135: Enormous Abyssal Gulper Eel x70
      AutoAngler 2.135: Blackwater Whiptail Bait x2
      AutoAngler 2.135: Enormous Blackwater Whiptail x35
      AutoAngler 2.135: Enormous Blind Lake Sturgeon x29
      AutoAngler 2.135: Blind Lake Sturgeon x1 
      
      mate you are the best :D

      dont know what u did but it fixed it i can now get my water strider :D

      (without having to fish my self :p )
       

      Attached Files:

    19. p1xel8ted

      p1xel8ted New Member

      Joined:
      Oct 16, 2012
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      0
      Awesome, glad it's fixed. I have updated the main post with the newest. No different to the one you downloaded, just some cosmetic tweaks in the log so I know what version people are using when they post logs.

      Happy hunting!
       
    20. Onidoom

      Onidoom New Member

      Joined:
      Mar 11, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      1
      Sorry for the late reply, im using AutoAngler, and default combat routine for hunters.
       

    Share This Page