Get an Epic Experience with Premium

PotionBar

Bags & Inventory Login to Add Favorites
  • 0 Likes
  • Warhammer Online
  • 76 Monthly Downloads
  • Supports: 1.4.4
  • 22,536 Total Downloads
  • Updated 04/03/2012
  • Created 04/20/2009
  • 78 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU General Public License version 3 (GPLv3)
  • Newest File: PotionBar v7.2 Release
or

About PotionBar

PotionBar

Description
Dedicated customizable actionbar for potions that automatically updates itself based on player inventory.

Features

  • Support for all potion categories and types
  • Support for all liniments
  • Support for unknown and special potions
  • Automatic Updating based on current potion and liniment inventory in bag
  • Customizable PotionBar size and position
  • Configurable User Options
    • PotionBar display direction
    • Show/Hide activator nub
    • Autohide PotionBar
    • PotionBar Scale
    • PotionBar Opacity
    • Potion/Liniment Count display
  • Configurable Potion Options
    • Quick Actions configure potion and lininment settings
    • Potion and liniment types to display
    • Display position of potions and liniments
    • Stack by potion type
    • Potion usage and sort priority (strongest potion, weakest potion, etc...)
  • LibSlash support for chat line commands and options
  • Multiple Language Support (currently includes English, German, Spanish, Italian, and French)

Supported Versions
Warhammer Online v1.4.5

Dependencies:
PotionBar 5.3 and above need LibSlash!

Usage

Simply download, unzip and install the Addon (see the included PotionBar_Install.txt for more details)

Following commands are implemented for help and additional information:

/PotionBar help
/PotionBar config
/PotionBar reset

Changing the configuration of PotionBar:
There are 2 ways to access the PotionBar configuration and options window:

1) Right click on the small circular button attached to PotionBar.

- or -

2) Type following command:

/PotionBar config

Either of these will bring up the PotionBar Config Window.

PotionBar configuration options are self explanatory.

Settings do not save unless you hit Save.

Hiding the Floating Activator provides a cleaner visual look, but you will only be able to access the Config Window using the aforementioned Slash commands.

The Quick Actions pulldown on the right pane allows the application of settings across all potions quickly.

When you choose to let PotionBar stack same 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.

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

/PotionBar use AP
/PotionBar use AP_RVR
/PotionBar use HEAL
/PotionBar use HEAL_RVR
/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 WARBLOOD
/PotionBar use WARDEMISE
/PotionBar use WARFERVOR
/PotionBar use WARGENIUS
/PotionBar use WARHUNGER
/PotionBar use WARMERCY
/PotionBar use BOUNDLESSSIGHT
/PotionBar use IMMUTABLEDEFIANCE
/PotionBar use INEXORABLEAEGIS
/PotionBar use INSPIRATIONALWINDS
/PotionBar use PEERLESSDEFENSE
/PotionBar use QUICKENDBLADES
/PotionBar use SAVAGEVIGOR
/PotionBar use SWIFTTERGIVERSATION
/PotionBar use ETERNALHUNT
/PotionBar use INEVITABLETEMPEST
/PotionBar use TOLLINGBELL
/PotionBar use UNFETTEREDZEAL
/PotionBar use ZEPHYRTONIC
/PotionBar use TAHOTHELIXIR
/PotionBar use PTRAELIXIR
/PotionBar use SPEEDBLOWINGSAND
/PotionBar use SINGLES
/PotionBar use UNKNOWNS 'Name of Potion'

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.

The following example 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

The following example 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 couldn't be used then it 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.

7.2 - Bug Fixes
     - Fix for macros and script functionality
     - Fix that allows potions and liniments being used via macro/script to properly send message to chat
     - Liniment UniqueID range fix

Comments

First Previous Page 2 of 5 Next Last
  • #57
    FIX:
    main.lua:
    replace

    local strcmpresult = WStringsCompare(leftItem.name, rightItem.name)
    if strcmpresult ~= 0 then
    return leftItem.name

    with:

    local strcmpresult = WStringsCompare(leftItem.itemData.name, rightItem.itemData.name)
    if strcmpresult ~= 0 then
    return strcmpresult

    FIX BY HEALIX, we all ty you! :D

    i hope all this fix go on official so all can download them
  • #55
    I FIX IT for the bolster use:

    open main.lua and find: (about linee 219)

    RegisterEventHandler(SystemData.Events.PLAYER_INVENTORY_SLOT_UPDATED, "PotionBar.InventorySlotUpdated")

    add after:
    RegisterEventHandler(SystemData.Events.PLAYER_MAX_HIT_POINTS_UPDATED, "PotionBar.InventorySlotUpdated")

    go linee 465 and find:
    and (itemData.level == nil or itemData.level

    replace it with:
    and (itemData.level == nil or itemData.level

    go linee 503 find:
    and (itemData.level == nil or itemData.level

    replace with:
    and (itemData.level == nil or itemData.level

    hope the author can modify the file, but hope this tip is appreciate.
  • #53
    /script if not PotionBar.Use("HEAL") then PotionBar.Use("SHIELD") end

    i used this macro.. but don't work, if the heal potion is unavailable it write use error.... and don't use the shield
  • #52
    Is it possible to have it treat Officer/LOTD heal/AP pots as different? considering they are on different timers.
  • #51
    having issues with it not updating correctly.
  • #50
    Any way to make it account for Bolster?

    Bolster now puts you at even levels. So you could use lvl30 pots at lvl22 if you're in a scenario.
  • #54
    any chance to see this VERY NICE addon work with the bolster?
  • #49
    Great! This is a "must-have-addon". thx for keeping this up to date.
  • #48
    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
  • #42
    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".
  • #44
    Not yet, but it's not very difficult to implement.
    I will do it in the next release.
  • #45
    Danke!

    Looking forward to it.
    Keep up the good work!
  • #46
    It is now implemented in 6.4
    Please read the description above for how to use it.
  • #47
    Great, thanks a lot!
  • #39
    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.
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Infinite Crisis NA

Get Your Preferred Access Code!