- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,102 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top StarCraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
PotionBar
- 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
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
- PotionBar display direction
- 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...)
- Quick Actions configure potion and lininment settings
- 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
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| PotionBar v7.2 Release | Release | 1.4.4 | 1,684 | 04/03/2012 |
| PotionBar v7.1 Release | Release | 1.4.4 | 235 | 03/28/2012 |
| PotionBar6.4.zip | Release | 1.3 | 10,878 | 08/15/2009 |
| PotionBar6.3.zip | Release | 1.3 | 636 | 08/13/2009 |
| PotionBar6.2.zip | Release | 1.3 | 604 | 08/12/2009 |
| PotionBar6.1.zip | Release | 1.3 | 3,050 | 06/19/2009 |
| PotionBar6.0.zip | Release | 1.3 | 755 | 06/19/2009 |
| PotionBar5.3.zip | Release | 1.2.1 | 2,697 | 05/06/2009 |
| PotionBar5.2.zip | Release | 1.2.1 | 1,853 | 04/21/2009 |
| PotionBar5.1.zip | Release | 1.2.1 | 6 | 04/21/2009 |
| PotionBar5.0.zip | Release | 1.2.1 | 30 | 04/20/2009 |
Top Downloads
-
- Enemy
- Buffs & Debuffs, Unit Frames, Combat, and PvP
- 391 Monthly Downloads
-
- LibSlash
- Development Tools
- 336 Monthly Downloads
-
- Squared
- Unit Frames
- 252 Monthly Downloads
-
- Twister
- Action Bars, Combat, Class, and Buffs & Debuffs
- 247 Monthly Downloads
-
- BuffHead2
- PvP, Combat, and Buffs & Debuffs
- 208 Monthly Downloads


Comments
New release! Fixes the macro problems.
PotionBar v7.2 Release
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
Thanks for the feedback and support!
I'm gonna try it thanks!
I also get the error on use when trying to use the new mod in a script.
I also have a question. I'd like to use the LOTD melee pocket item + shield potion + heal potion + officer heal potion in a macro. Any good soul could please tell me how?
Me and my friend tryied your new release but it is not working at all.
The problem was macro. "Invalid calling use" or something like that. I'm back on older version.. hope you'll fix it soon. Ofc i wiped my old PB and copied the new one into interface and we tried macros and slash scripts. Same problem
"but it is not working at all" - do you mean that the new release does not work at all (bars are not showing up, config window does not work, etc...), or just that the features you want are not working? You need to be specific so I can help :)
The macro and associated slash scripts were not touched but the changes may have affected those.
I need the following information:
1) What language is your game running in?
2) What potions or liniments were you trying to macro/script?
3) If you could post your scripts here or send me a PM with them I will take a look at why they are not working.
Thanks!
Thanks for the info.
I found the issue (my fault) as well as a related issue that seems to have been around a long time (6.4 or before).
Going to test it a bit more, so expect an update in the next day or 2.
Thanks for the feedback and your patience!
Hey, UI of PB looks fine potions and config seems ok. But the macros didn't work.
1. english version
2. tried AP, HP and SHIELD
3. /script PotionBar.Use("HEAL")
second marco /script PotionBar.Use("AP") third macro /script PotionBar.Use("SHIELD") We also tried scripts with IF conditions - same problem with function Use.I'm now on old version that had similar problem but i fixed the code by advice from user Atomico thas is mentioned lower in comments..
AWESOME!
Absolutely AWESOME! and good work.
But pretty sure the Liniment is spelled Immutable Defiance, not Defense. Will take a look ingame this weekend to double check
Thank you! Glad you like it :)
You are correct, it is Immutable Defiance, not Defense, a typo on my part that appears only in the changelog, not in the actual Addon code. Fixed it on this page.
Hello all!
A new official release of PotionBar has been submitted to Curse and is awaiting approval!
There have been a lot of changes, fixes and updates so you will need to DELETE YOUR OLD POTIONBAR ADDON DIRECTORY BEFORE YOU INSTALL THE NEW ONE if you are doing a manual install.
A big thanks to Wothor for many bug fixes and for unofficially supporting PotionBar in his own branch.
Below is a list of all the fixes and updates!
7.1 - New Features and Bug Fixes
- Includes all of Wothor's v6.48 branch:
- Optimizations
- Fixes for RvR currency pots (now seperate and configurable)
- Liniment localization fixes
- Added support for 1.3.1 WARInfo Categories and Careers (PotionBar.mod)
- Added support for version info (PotionBar.mod)
- Updated Addon version information for 1.4.5
- Directory structure and file reorganization - THIS REQUIRES DELETING OLD DIRECTORY WHEN INSTALLING!
- Updated Versioning scheme with initialization output to the debug and chat windows.
- Player battle level now taken into account, allowing use of higher level potions when players are bolstered in RvR
- Player renown rank now taken into account, allowing use proper filtering and use of RvR potions
- System event for PLAYER_BATTLE_LEVEL_UPDATED now taken into account to allow proper updating
- System event for PLAYER_RENOWN_RANK_UPDATED now taken into account to allow proper updating
- Created system event queue to prevent race conditions or multiple updates triggering
- Added UnRegisterEventHandlers to PotionBar.Shutdown
- Added the following potions categories and types:
- Elixir of Tahoth
- Elixir of Ptra
- Speed of the Blowing Sand
- Zephyr Tonic
- Added the following liniments:
- Liniment of Boundless Sight
- Liniment of Immutable Defiance
- Liniment of the Inexorable Aegis
- Liniment of Peerless Defense
- Liniment of the Quickened Blades
- Liniment of Swift Tergiversation
- PotionBar Config Window:
- Reorganized potions and liniments due to new additions
- Config Window can no longer be dragged off screen
- Config Window resized for new functionality and organization
- Added Horizontal and Vertical separators and adjusted spacing for all UI elements
- Added Quick Actions pull down, allows global settings changes and reset to default for all potions and liniments
- New Save settings button and functionality
- Repositioned Defaults settings button
- About button repositioned to window frame bottom with other buttons
- About window reworked to be a proper style window and includes previous information and new contributors information
- Settings window must be manually closed (allows for continued editing even after hitting Save)
- Fixed Floating Activator not hiding when related setting selected
- Scale Slider
- Added tick marks and associated number value labels
- Opacity Slider
- Added tick marks and associated number value labels
- Adjusted vertical spacing on potion and liniment display elements
- All options are now grayed out or subdued if potions or liniments are set to not display
- General capitalization fixes for option labels (English)
- Localization files updated due to changes and additions
- Script cleanup and optimizations (.lua and .xml files)
- Script reorganization and additional comments (.lua and .xml files)
- Readme and install file additions
Please let me know if there are any issues!
Thanks!
Hello all,
I have been added as an author and will be maintaining PotionBar.
I have been testing some bug fixes, additions, and NEW features over the last 2 months and hope to release a new version in the next 2 weeks!
Just wanted to keep folks updated, watch this space!
Thanks!
To make his addon workable under the bolster, just open Main.lua and find strings 459 and 497 and replace
GameData.Player.level
with
GameData.Player.battleLevel
that's all
anyone else with the problem? or a solution?