• Visit Rebornbuddy
  • [Plugin] Potion Of Treasure Finding - Auto Use

    Discussion in 'Uncataloged' started by undonelyric, Nov 26, 2015.

    1. undonelyric

      undonelyric New Member

      Joined:
      Mar 25, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      [Plugin] Potion Of Treasure Finding - Auto Use (Updated)

      **UPDATE**: The plugin now waits 20 seconds to use the Potion Of Treasure Finding to compensate for instance zoning. This update should correct any problems. I tested and it's working on my end


      I saw a few people including myself that wanted a plugin to use the Potion Of Treasure Finding automatically. That's what this plugin does!

      How does it work?
      The plugin searches for the Potion Of Treasure Finding in your bag, uses it, and waits until the full duration to use the next one. I've been testing this for the past 3 days and it is working perfect for me.

      Please Note: This will keep using The Potion Of Treasure Finding until you have no more left in your bag. Make sure you are at your farming location before you enable the plugin or you may waste the buff.

      Simply download the plugin, unzip and put the "Potion of TF" folder inside your "plugins" folder, load up Honorbuddy, enable the plugin and you're ready to go.

      If you have any questions, let me know. :)

      Download: View attachment Potion of TF v2.zip

      I can not take full credit for this plugin as I modified andygami's Potion of Luck plugin to accomplish this.
      Original creator: https://www.thebuddyforum.com/members/123704-andygami.html
       
      Last edited: Dec 10, 2015
    2. dtcxjn

      dtcxjn New Member Legendary

      Joined:
      Nov 27, 2015
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      1
      I farmed it in firelands and it uses the potion every time it enters the raid instead of every 60 mins. Any idea how to solve this?
       
    3. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Hi, Dtcxjn,

      This may be a timing issue. Your buffs are probably still being reconstructed as you zone into a raid, and the plugin re-applies the buff when it sees it missing during this few seconds it takes to zone in.

      cheers,
      chinajade
       
    4. undonelyric

      undonelyric New Member

      Joined:
      Mar 25, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0

      Dtcxjn,
      I did not test this in instance farming so I apologize for that. I only use it farming in tol'barad for Embersilk cloth so I don't really ever zone in or out. I'll see if I can update it so it won't auto re-use when going in and out of instances.
       
    5. dtcxjn

      dtcxjn New Member Legendary

      Joined:
      Nov 27, 2015
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      1
      Thx man
       
    6. Trixiap

      Trixiap Member

      Joined:
      Nov 18, 2010
      Messages:
      441
      Likes Received:
      10
      Trophy Points:
      18
      This should help you fixing it :)

       
    7. undonelyric

      undonelyric New Member

      Joined:
      Mar 25, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      Trixiap, Thank you! Yes it that helped. :)
       
    8. Corleone

      Corleone Well-Known Member

      Joined:
      May 24, 2013
      Messages:
      2,255
      Likes Received:
      28
      Trophy Points:
      48
      FYI, may I call your attention to this article?
      https://www.thebuddyforum.com/honor...er-forum/220957-thread-sleep.html#post2008196

      Code:
       private void zoneChange(BotEvents.Player.MapChangedEventArgs args)
      {
      //Stop plugin for some time here. Im using StyxWoW.Sleep, but it is obsolete. [url]http://docs.honorbuddy.com/html/ef23...32ccbbfecd.htm[/url] this one will probably work
      //StyxWoW.Sleep(10000);
      }
      With this code, you're blocking HB's execution completely for 10 seconds. It's a bad and dirty solution for plugins.
      Better use stopwatch instead and check in the Pulse() function if it has lapsed.

      HTH ;)
       
    9. joni1337

      joni1337 Member

      Joined:
      Sep 11, 2014
      Messages:
      65
      Likes Received:
      1
      Trophy Points:
      8
      hey i have tried the version uploaded to the thread and sadly it still uses the potion more then once an hour for me (im doing firelands trash farm, so instances)

      i also tried to implement the stopwatch and the delay methods mentioned in corleone's post, but failed miserably :/ (the plugin didnt compile anymore)

      does anyone have a version of this plugin which drinks the potion only once an hour while you do instances? :)

      would be really appriciated
       
    10. cyka

      cyka New Member

      Joined:
      Feb 5, 2016
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      HI guys !
      Same request here :)
       
    11. MaskedHooks

      MaskedHooks New Member

      Joined:
      Apr 30, 2015
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      Yo guys. So I ran the new version of the plugin and I'm still getting my potion popping early when I phase in.

      As a quick fix, I changed this in the xml file:

      Into this

      Thank me later, if anyone gets helped by this.

      Edit: Oop, it just started doing it again. God damn it.
       
      Last edited: Feb 8, 2016
    12. cyka

      cyka New Member

      Joined:
      Feb 5, 2016
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      I think i found a way.
      Just add in your profile :
      and
      Tell me if this works
       
    13. marktwain

      marktwain Member

      Joined:
      Mar 10, 2014
      Messages:
      220
      Likes Received:
      10
      Trophy Points:
      18
      could you implement BOTH potions into this plugin?
       

    Share This Page