• Visit Rebornbuddy
  • [Plugin] Potion User

    Discussion in 'Uncataloged' started by weischbier, Sep 13, 2012.

    1. weischbier

      weischbier Guest

      Potion User!

      [​IMG]


      What does it suppport?
      Potion User supports all Bot bases, even LazyRaider when you untick the "Disable Plugins"-option.

      This Plugin uses potions, elixirs, flask, trinkets, Synapse Springs and Plasma Shield.
      All you have to do is set it up!
      Pots will be used when you have Heroism, Bloodlust, Time Warp or Ancient Hysteria.

      If you want me to add something here is how it goes:
      When it's a potion, elixir or flask, I need the item id and buff id.
      If it's an equipped item, I need the slot id with the conditions you want.

      [​IMG]

      The option "Questing" counts as follows:
      Code:
      Code:
      if (StyxWoW.Me.CurrentTarget != null &&     StyxWoW.Me.Combat && (StyxWoW.Me.CurrentTarget.Level > StyxWoW.Me.Level ||     ObjectManager.Me.HealthPercent < GeneralSettings.Instance.LowHealthvalue ||     StyxWoW.Me.CurrentTarget.Elite || Unit.UnfriendlyUnitsRadius(12f).Count() >= 2))
      Extra (handled as default):
      Code:
      [B]                  if (!StyxWoW.Me.HasAura(130649))[/B]
      [B]                        if (StyxWoW.Me.HealthPercent <= BeSettings.Instance.HealPotValue)[/B]
      [B]                            UseItemId(89640); //Life Spirit[/B]
      [B]                    if (!StyxWoW.Me.HasAura(130650))[/B]
      [B]                        if (StyxWoW.Me.ManaPercent <= BeSettings.Instance.ManaPotValue)[/B]
      [B]                            UseItemId(89641); //Water Spirit[/B]
      
      [B]

      Credits:

      [LIST]
      [*]Singular Devs
      [*]Stormchasing
      [*]Bobby53
      [/LIST]

      [CENTER]greetz

      Weischbier[/CENTER]


      [/B]
       

      Attached Files:

      Last edited by a moderator: Oct 9, 2012
    2. Andre2512

      Andre2512 New Member

      Joined:
      Jun 17, 2012
      Messages:
      42
      Likes Received:
      0
      Trophy Points:
      0
      DO it drink treasure find potions?
       
    3. Botanist

      Botanist Banned

      Joined:
      Oct 20, 2010
      Messages:
      1,376
      Likes Received:
      44
      Trophy Points:
      0
    4. Botanist

      Botanist Banned

      Joined:
      Oct 20, 2010
      Messages:
      1,376
      Likes Received:
      44
      Trophy Points:
      0
      But it just broke with .434 release.
       
    5. Andre2512

      Andre2512 New Member

      Joined:
      Jun 17, 2012
      Messages:
      42
      Likes Received:
      0
      Trophy Points:
      0
      Ya, please can someone repair it? its a must have for grind bot! thanks :D
       
    6. weischbier

      weischbier Guest

    7. Botanist

      Botanist Banned

      Joined:
      Oct 20, 2010
      Messages:
      1,376
      Likes Received:
      44
      Trophy Points:
      0
      Just a little of what it's spitting out

      \Users\Botanist\Desktop\420 - Copy\CompiledAssemblies\Potion User_634832453540710000.dll'. Using the type defined in 'c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\PuEnumeration.cs'.
      Compiler Error: c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\UserInterface.cs(253,54) : warning CS0436: The type 'UI.PuEnumeration' in 'c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\PuEnumeration.cs' conflicts with the imported type 'UI.PuEnumeration' in 'c:\Users\Botanist\Desktop\420 - Copy\CompiledAssemblies\Potion User_634832453540710000.dll'. Using the type defined in 'c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\PuEnumeration.cs'.
      Compiler Error: c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\UserInterface.cs(254,52) : warning CS0436: The type 'UI.PuEnumeration' in 'c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\PuEnumeration.cs' conflicts with the imported type 'UI.PuEnumeration' in 'c:\Users\Botanist\Desktop\420 - Copy\CompiledAssemblies\Potion User_634832453540710000.dll'. Using the type defined in 'c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\PuEnumeration.cs'.
      Compiler Error: c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\UserInterface.cs(256,13) : warning CS0436: The type 'UI.Logger' in 'c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\Logger.cs' conflicts with the imported type 'UI.Logger' in 'c:\Users\Botanist\Desktop\420 - Copy\CompiledAssemblies\Potion User_634832453540710000.dll'. Using the type defined in 'c:\Users\Botanist\Desktop\420 - Copy\Plugins\Potion User\UI\Logger.cs'.
       
    8. weischbier

      weischbier Guest

      Fixed version is up!

      greetz

      Weischbier
       
    9. Sjorzo

      Sjorzo New Member

      Joined:
      Jul 12, 2011
      Messages:
      61
      Likes Received:
      0
      Trophy Points:
      0
      You sir are a gentleman and a scholar.
       
      Last edited: Sep 17, 2012
    10. OnLy4FuN

      OnLy4FuN Member

      Joined:
      Dec 21, 2011
      Messages:
      57
      Likes Received:
      1
      Trophy Points:
      8
      hi sir, thanks for the plugin, very usefull!
      mining and gathering herbs in MoP i find 2 items, usable as "potion-like"

      1) Life Spirit (89640) = restore 60k life over 6sec.
      2) Water Spirit (89641) = restore 30k mana over 6sec

      IMPORTANT THINGS:
      1) Both of them SHARE SAME COOLDOWN.. 60sec.
      2) Cooldown ONLY begins to count, AFTER you LEAVE COMBAT...
      3) i would think would be a nice option, to choose, which one we would prioritize...(in my case as a prot pally, i would love to get this 60k life boost on big pulls)

      thanks in advance!
       
    11. Fd2me

      Fd2me New Member

      Joined:
      Dec 5, 2011
      Messages:
      173
      Likes Received:
      0
      Trophy Points:
      0
      I would second that

      thank you in advance

       
    12. weischbier

      weischbier Guest

      Will do in a bit! Promise!
       
    13. weischbier

      weischbier Guest

      Updated!

      Life Spirit and Water Spirit added.
      Handled as default. If you have it and you're below a certain amount of Health it will be used. Same with Water Spirit and Mana.

      greetz

      Weischbier
       
    14. Macatho

      Macatho New Member

      Joined:
      Dec 3, 2011
      Messages:
      1,108
      Likes Received:
      18
      Trophy Points:
      0
      Getting this error:
      Compiler Error: c:\H476\Plugins\Potion User\Item.cs(312,17) : error CS0163: Control cannot fall through from one case label ('default:') to another
       
    15. Fd2me

      Fd2me New Member

      Joined:
      Dec 5, 2011
      Messages:
      173
      Likes Received:
      0
      Trophy Points:
      0
      Man i was so excited ... but don't work i have same issue.. hope u can fix.. thanks in advance

       
    16. weischbier

      weischbier Guest

      Damn, forgot to add a break at th baseline :/ my fault!

      Edit: Uploaded fixed version!
       
    17. Treuben

      Treuben Member

      Joined:
      Jan 8, 2012
      Messages:
      337
      Likes Received:
      0
      Trophy Points:
      16
      oh god sir u r my personal hero!

      und an sauban nam hast a no! :p

      edit:
      er scheint aber irgendwie life spirit nicht zu benutzen...
      aber nochmal ausgeschlafen dr?ber schauen. gn8 :>
       
      Last edited: Oct 6, 2012
    18. Lightseeker

      Lightseeker New Member

      Joined:
      Mar 26, 2012
      Messages:
      96
      Likes Received:
      0
      Trophy Points:
      0
      Sir you are a very talented developer!
      This is just what I've been looking for.
       
    19. Qishy

      Qishy Member

      Joined:
      Jun 11, 2010
      Messages:
      125
      Likes Received:
      0
      Trophy Points:
      16
      This great. Thanks alot man!
       
    20. Chewbaka

      Chewbaka New Member

      Joined:
      Aug 11, 2012
      Messages:
      111
      Likes Received:
      0
      Trophy Points:
      0
      I get this error when loading up the latest SVN version. Log is attached.
       

      Attached Files:

    Share This Page