• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

PotionBar

 

Project Updated:
Files Updated: Sat, Aug 15 2009
Supports Game Version: 1.3
Category: Bags & Inventory, and Action Bars
Tags:

[Edit Tags]

Project Manager: Sihirbaz
Additional Authors: No additional authors
Current Version: PotionBar6.4.zip
License: GNU General Public License version 3 (GPLv3)
Development Site: CurseForge
Avg Daily DL (last 30 days): 13
Downloads Total: 11,842
Favorites: 37
Comments: 26
  • About PotionBar
  •  

PotionBar is a floating bar containing potions for easy access.
PotionBar was formerly known as Autobar! Autobar was written by Felyza. I just changed a few minor things.

PotionBar stacks same types of potions. It ignores the difference in power or duration.
For example: Potionbar will show all your level 35 and level 38 potions as one single stack, even though they are multiple stacks in your backpack.

Potion stacks are sortable by size or power.
You can configure whether clicking a PotionBar button uses your weakest or strongest potion or whether it uses a potion from your smallest or biggest stack.

Hybrid potions are supported, albeit different from normal potions. They are only sortable by stacksize, because hybrid potions do yet not exist in different power.

Potions which PotionBar is not aware of are supported in a very limited form. Unlike other potions, they can't be grouped together. Though very limited, it makes PotionBar usable by foreign language clients.

Changing the configuration of PotionBar:
Just right click on the small circular button which should be somewhere central on your screen.
A small context menu will popup. Please choose Configuration... from that menu.
Alternatively, just type following command:

/PotionBar config

Commands:
In addition to the graphical button bar, PotionBar supports using potions by following slash commands:

/PotionBar use AP
/PotionBar use HEAL
/PotionBar use REGEN
/PotionBar use SHIELD
/PotionBar use STRENGTH
/PotionBar use INTELLIGENCE
/PotionBar use WILLPOWER
/PotionBar use BALLISTIC
/PotionBar use ARMOR
/PotionBar use TOUGHNESS
/PotionBar use THORNS
/PotionBar use SPIRIT
/PotionBar use ELEMENTAL
/PotionBar use CORPOREAL
/PotionBar use DOT
/PotionBar use AOEDOT
/PotionBar use FIREBREATH
/PotionBar use SNARE
/PotionBar use INSPIRATIONALWINDS
/PotionBar use SAVAGEVIGOR
/PotionBar use UNFETTEREDZEAL
/PotionBar use WARBLOOD
/PotionBar use WARDEMISE
/PotionBar use WARFERVOR
/PotionBar use WARGENIUS
/PotionBar use WARHUNGER
/PotionBar use WARMERCY
/PotionBar use ETERNALHUNT
/PotionBar use INEVITABLETEMPEST
/PotionBar use TOLLINGBELL
/PotionBar use NEPENTHEANTONIC
/PotionBar use UNKNOWNS 'Name of Potion'

Following commands are implemented for completeness:

/PotionBar help
/PotionBar config
/PotionBar reset

Macros:
PotionBar can be used from within a macro as well. Please use it from within macros like this.

/script PotionBar.Use("HEAL")

or like this (please notice the different quote characters):

/script PotionBar.Use("UNKNOWNS 'Name of Potion'")

Please look above for other possible parameters.

PotionBar.Use() returns true, if it thinks it could successfully use a potion.
This can be used to make a macro which uses different potions in different conditions.

Following will try to use a heal potion. If it couldn't use one, then it uses a regen potion.

/script if not PotionBar.Use("HEAL") then PotionBar.Use("REGEN") end

Following will use a shield potion if you are on full health.
If you have less than 100% health and more than 50% health or if a shield potion couldn't be used then it tries to use a regen potion.
And if you have less then 50% health or the regen potion coldn't be used then tries to use a heal potion.

/script local cur = 100 * GameData.Player.hitPoints.current / GameData.Player.hitPoints.maximum; if cur >= 100 and PotionBar.Use("SHIELD") then else if cur >= 50 and PotionBar.Use("REGEN") then else PotionBar.Use("HEAL") end end

Binding to keys:
PotionBar does not directly support binding to keys, but it supports being used from within macros.
You should be able to achieve the same result with the macro support of PotionBar.
Create a macro which makes PotionBar use a potion and bind this macro to a key of an actionbar which you don't use.

Multiple PotionBars:
I am sorry, but this isn't going to be implemented anytime soon.
You can achieve the exact same result if you take 2 minutes of your precious time and follow following steps:

  • Choose a name for the bar. It must not have any numbers in it, iE 'LeftPotionBar' is a valid name, while 'PotionBar2' is not!
  • Go into your addons folder, iE: C:\Program Files\Warhammer Online\interface\addons.
  • Create a new folder with your new name.
    For example: C:\Program Files\Warhammer Online\interface\addons\LeftPotionBar
  • Copy all files from the PotionBar folder into your new folder.
    The PotionBar folder is somewhere here: C:\Program Files\Warhammer Online\interface\addons\PotionBar.
  • Open all files in your new folder with your favorite text editor (iE NotePad).
  • Replace all occurances of PotionBar with your new name (iE LeftPotionBar).
    Please make sure that you make a case sensitive search and replace.
    For example, Settings.lua of version 6.4 contains exactly 280 strings to be replaced.
    You must not rename any files.
  • Restart your game or type /reload.
    The new PotionBar should be visible right away.
    The commands for your new bar are based on your choosen name.
    For example: /LeftPotionBar use HEAL or /LeftPotionBar config.

Dependencies:
PotionBar 5.3 and above need LibSlash!

  • Downloads (7)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  PotionBar6.4.zip Release 1.3 3,114 8/15/2009
  PotionBar6.3.zip Release 1.3 445 8/13/2009
  PotionBar6.2.zip Release 1.3 446 8/13/2009
  PotionBar6.1.zip Release 1.3 2,861 6/20/2009
  PotionBar6.0.zip Release 1.3 566 6/19/2009
  • Screenshots (2)
  •  
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Great! This is a "must-have-addon". thx for keeping this up to date.

    Reply Report Permalink
  • Love the addon, and the scripting is great :)

    Not sure if this is possible with Mythic's UI, but would it be possible to allow you to use scripts for "hidden" buttons.

    I.e. i use your absorb/regen/heal script and want to hide those 3 buttons for the Bar.

    Atm I'm having to use 2 bars and hide the 2nd bar (with only those three buttons turned on)

    Thx Z

    Reply Report Permalink
  • xiphiax said 

    Great that it's fixed again.
    Question: Is it possible to set some kind of sequence in the macro?
    What I mean is: By default do "HEAL" but if that is not available (due to cooldown or none there) then do "REGEN".

    Reply Report Permalink
  • Sihirbaz said 

    Not yet, but it's not very difficult to implement.
    I will do it in the next release.

    Reply Report Permalink
  • xiphiax said 

    Danke!

    Looking forward to it.
    Keep up the good work!

    Reply Report Permalink
  • Sihirbaz said 

    It is now implemented in 6.4
    Please read the description above for how to use it.

    Reply Report Permalink
  • xiphiax said 

    Great, thanks a lot!

    Reply Report Permalink
  • 6.2 seems to have broken some of the slash commands :(

    6.1 works fine, but in after upgrading to 6.2 can't use use either /script potionbar.use or /potionbar use

    I.e. When trying to use a REGEN potion, error given is:
    PotionBar command error
    Could not find: REGEN

    Same thing happens with Heal, SHIELD etc
    But not tested all of the use types.

    Reply Report Permalink
  • Sihirbaz said 

    Thank you very much for the bug report.
    I am sorry for my mistake.
    It is fixed in version 6.3.

    Reply Report Permalink
  • Thx for the fast fix and great addon
    Working like a charm now :)

    Reply Report Permalink
  • mrwuss said 

    Before using this, as this was a problem with autobar, does your addon recognize that heal potions purchased with tokens (officer, soldier, etc) are on a different timer than other heal potions?

    Thus, usable on different timers.

    Reply Report Permalink
  • Sihirbaz said 

    Implemented in PotionBar v6.2.

    Reply Report Permalink
  • Sihirbaz said 

    Wow, I didn't know that they are on different timers. Don't tell that too loud, this is probably a bug.

    Anyway, PotionBar will most probably not recognize them being on different timers. But it's so cool that I will add it as soon as I have time to play again.

    Maybe meanwhile unchecking the 'Stack all variants' checkbox will do what you need.

    Reply Report Permalink
  • mrwuss said 

    No, the different timers is not a bug :) It is intended.

    Thanks for the include!

    Reply Report Permalink
  • Xairip said 

    For some reason, this won't download via curse client or install manually for me...

    Reply Report Permalink
  • Knifed said 

    This is shaping up to be a very good, complete addon.

    I just have one issue with it.

    Everytime I put in a new version of the addon, the options reset. And I disable ALL of the potions except for the healing ones. And I have 7 characters. So Everytime I update this addon, I have to manually uncheck ALL of the potions. Very time consuming :(~

    Can you think of a possible fix? Maybe a "Check all/Uncheck all" option?

    Reply Report Permalink
  • Sihirbaz said 

    Thank you for your comment.
    I am totally aware of this problem, I have 4 chars myself aswell.
    The options reset only when I do major changes to the internal settings. When I do this, the major version number increases as well.
    For example, I didn't make any incompatible changes between 6.0 and 6.1 and therefor you should have no problems with the new update.

    Reply Report Permalink
  • Knifed said 

    Indeed that is true, thanks for pointing that out.

    Still... maybe you could look into possible resolutions to that for future major releases? ^^

    Appreciate your hard work on this addon, loving how it's turning out.

    Reply Report Permalink
  • niclasam said 


    Hi to all,

    thx for the wonderful addon, I love it and can't do without.

    I have a little question: any possibility to have in the future, as requested by others:

    - an option to bind keys to the hotbar
    - Allow multible bars with different groups of potions.
    - put multiple potions of same "type" on the same bar

    thx for the great work!!

    Reply Report Permalink
  • Sihirbaz said 

    I am sorry for my late answer.

    > an option to bind keys to the hotbar:
    Not any time soon. Does binding to macros not work for you?

    > Allow multible bars with different groups of potions
    Again no, I am really sorry.
    I wrote a small description with which you can achieve the same result yourself. Please see above. I tested it myself with version 6.0.

    > put multiple potions of same "type" on the same bar
    Somewhat yes. Please check version 6.0. Did you have something completly different in mind?

    Reply Report Permalink
  • Similar Addons
  •  

Average downloads per day

  1. 172 Twister Buffs & Debuffs, Action Bars...
  2. 124 TokenMachine PvP, and Bags & Inventory
  3. 75 nRarity Bags & Inventory
  4. 71 Character View Expanded Stats (CaVES) Buffs & Debuffs, Bags & Inventory...
  5. 64 NerfedButtons Action Bars, and Development...