What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin] UltiBuffer - ultimate item buffer

Trixiap

Member
Joined
Nov 18, 2010
Messages
441
UltiBuffer
What is UltiBuffer?
UltiBuffer is plugin, that allows you to set up list of items with buff that you would like to use when you are using Honorbuddy.


Why use UltiBuffer and not other same plugins?

  1. UltiBuffer is free and always will be
  2. You have freedom to choose which items do you want use - just insert two numbers in config file
  3. Lightweight and fast (other same plugins are at least twice as big) - main part is only 12 lines of code
  4. Dev listen to you, if you have any idea about new functionality, just post it and if it is realizable it will be included in next release

How to use it
  1. Download zip file
  2. Unpack it in HB\Plugins folder
  3. Edit items.txt (inside UltiBuffer folder) if you want add custom items (bellow you can see how edit it)
  4. Enable plugin in HB
  5. Enjoy!

How to add / remove items
Add
Find this item on WoWhead and copy ID from url
Code:
http://www.wowhead.com/item=[B][SIZE=3]93351[/SIZE][/B]
then click on "Use:" on that item
UltiHelp.png
it will redirect you on spell page where you copy ID from url
Code:
http://www.wowhead.com/spell=[B][SIZE=3]135855[/SIZE][/B]

When you have these two numbers, just insert them to items.txt (inside UltiBuffer folder) in following format

Code:
ID of item [B],[/B] ID of spell
example
Code:
93351,135855
If you want add item, that doesn´t have spell/buff on use, just replace ID of spell with 0
example
Code:
87391,0

Done! Just Disable/Enable plugin in HB (no need to restart HB)

Remove
It you want remove some item, just search wowhead for that item and copy ID from url
Code:
http://www.wowhead.com/item=[B]93351[/B]
Search items.txt for that ID and delete entire line (item ID is first number)

Default items
  • Potion of Luck (id: 93351)
  • Greater Potion of Luck (id: 76091)
  • Singing Crystal (id: 103641)
  • Book of the Ages (id: 103642)
  • Dew of Eternal Morning (id: 103643)
  • Windfeather Plume (id: 104287)
  • Crystal of Insanity (id: 86569)
  • Strange Glowing Mushroom (id: 104312)
  • Faintly-Glowing Herb (id: 104289)
  • Scuttler's Shell (id: 104293)

Known bugs
  • Using Timeless isle items when not on Timeless isle -> Item is removed from list and plugin must be Disabled/Enabled to use that item again (restart it when on Timeless isle)



ToDo
Make UltiBuffer more user friendly (nice interface for editing item list)
Include option to use item on specific map/arena etc.


Changelog

1.0.1.20141109 - Beta release
Added:
  • Plugin will automaticly open any kind of container
  • Plugin can use items, that will not buff you on their CD
Maybe fixed?:
  • Battle Horn

1.0.0.20140828 - Beta release
Fixed:
  • Zone change bug - Plugin is now correctly check buffs and not using potion after zone change with active buff
  • Timeless isle items - Plugin now reload list after entering Timeless isle
  • Taxi & Mount - Plugin doesn´t try to use items on mount and taxi
  • Dead & under CC & in combat - Plugin don´t try to use items when player is dead or under CC (CC need testing, maybe doesn´t work correctly) and also doesn´t use items in combat.


1.0.1.20141109 - Beta release
 

Attachments

Last edited:
This is public section - you can post here what you want without approval if it is not breaking rules
 
Some suggestions (even if a plugin incl. gui for configuration already exists ;))

- Change Map Timer (switching between open world and dungeons could be a problem!)
- Loading Screens (they could be a problem)
- u wanna buff when ur Dead?
- ever tested your logic with a potion that has a cooldown of X minutes and u die before the X minutes are gone? from code i would say this will fuck up the plugin at this point (or make it useless), u should rework the idea / solution
 
Thx for suggestions Storm, I know that same plugin already exist, but it is not free and competition is always good :)

First three are valid, but I think that last one is ok, because I am checking cooldown on item so if HB is not bugged, should be ok. Also even if cooldown is bugged, it will blacklist this item and will not try to use it until plugin restart
 
Last edited:
Will Look again :) maybe i've misread the condition for removing items from list. Watched the Code while booting my comp at work :)
 
Condition for removing items from list is here for situation when you can´t use item. It will handle item with lvl requirement and also items that for some reason were not used even if they should. Basically it is my failsafe mechanism
 
Yepp that's what i've read from code, and where i see the advantage AND at the same time the disadvantage

Think about:
- use a potion with a cooldown of X minutes
- u die, buff fades
- plugin tries to use the item again, but can't because of the cooldown
- item will be removed from the list (and maybe the file?)
- 5 minutes later item is ready and could be used but won't be because u already removed it and haven't repopulated your list

that's what my last point was about :)
So your failsafe is needed, but should be refined ... there are multiple ways of doin it

And yes (back to your previous post), competition is always good, and i have absolutely no problem with it (if i had a problem, i wouldn't giev any suggestions for improvemtns ;) )
 
I am checking cooldown on item. It will not try to use item that have cooldown. I will test it today.

Removing from list is just deleting it from memory list, it will not delete it from file.
 
Last edited:
I am checking cooldown on item. It will not try to use item that have cooldown. I will test it today.

Removing from list is just deleting it from memory list, it will not delete it from file.

yeah so i read it partially right ... failsafe for timeless i think?
u should think about repopulating / refreshing the list on zone/mapchange or every X minutes or on BotStart, for the case the item was removed
so u can make sure (without changing the datastructure of your items fiel) that items will be used if the toon enters timeless isle :)
 
It tried to use potion of luck when I was mounted, stunned and dead.
So I fixed the line a little, have not tested it over a long time but so far so good.
Code:
 if ((item != null) && (item.Cooldown == 0) && (!Styx.CommonBot.SpellManager.GlobalCooldown) && !Me.Stunned && Me.IsAlive && !Me.IsOnTransport && !Me.OnTaxi) //Ramptar
 
It tried to use potion of luck when I was mounted, stunned and dead.
So I fixed the line a little, have not tested it over a long time but so far so good.
Code:
 if ((item != null) && (item.Cooldown == 0) && (!Styx.CommonBot.SpellManager.GlobalCooldown) && !Me.Stunned && Me.IsAlive && !Me.IsOnTransport && !Me.OnTaxi) //Ramptar
I already have better version, but still trying to fix zoning :) Anyways thanks for contribution, I will add transport and taxi to code.

Can you put the plugin in buddy store?
No I can´t and I don´t want. You can´t customize plugins from buddystore. Just install it old way
 
Last edited:
Thx for hint, I know about BotEvents.Player.OnMapChanged or hard way - check map ids. I am trying to find some elegant way how to do it, but my Visual Studio is broken atm so I must reinstall it.
 
New release (download in first post)

1.0.0.20140828 - Beta release
Fixed:
  • Zone change bug - Plugin is now correctly check buffs and not using potion after zone change with active buff
  • Timeless isle items - Plugin now reload list after entering Timeless isle
  • Taxi & Mount - Plugin doesn´t try to use items on mount and taxi
  • Dead & under CC & in combat - Plugin don´t try to use items when player is dead or under CC (CC need testing, maybe doesn´t work correctly) and also doesn´t use items in combat.
 
Back
Top