Download
(8 Kb)
Download
Updated: 02/17/24 10:34 AM
Pictures
File Info
Compatibility:
Scions of Ithelia (9.3.0)
Endless Archive (9.2.5)
Updated:02/17/24 10:34 AM
Created:06/04/14 03:42 PM
Monthly downloads:666
Total downloads:101,949
Favorites:223
MD5:
Categories:Combat Mods, Action Bar Mods, Buff, Debuff, Spell
9.3.0
Harven's Potions Alert  Popular! (More than 5000 hits)
Version: 2.2.0
by: Harven, votan
Version 2.0.0 is a major update
Please backup your Saved Variable.
Check your settings afterwards.
DependenciesDescription
This addon will automatically select a presetted quickslot when one of player attibutes drop below defined value. It will also show an alert window with selected quickslot item icon and reminder message to press the quickslot key. There are three quickslots that can be defined in the addon setting window together with threshold values (health, magicka and stamina). The alert window position can be changed by dragging it. Health alert has the highest priority.

Addon idea by JadeKnightblazer: http://www.esoui.com/forums/showthread.php?t=1703

Special Thanks
- Votan for providing some cool ideas and code that works

Donations
If you like my work you can make me happy by sending some in-game gold/items to @theharven on EU server (but please, no lockpicks ), eventually you can help me pay my monthly subscription by donating some money.

[Edit 09.31.2015]
Since monthly subscription is no longer required to play the game I decided to transfer all future dontations to charity. There is a polish site where you can chose a person you would like to support (mostly children) https://www.siepomaga.pl/. I will be anonymously transfering your donations there, to a person of my choosing and then I will post a link in The Great Donor Hall so you will know who gets your money I would love to help this people so I hope this doesn't discourages you from donating.



version 2.2.0:
- New features:
* Store slot settings per group role.
* Save and restore slot settings at armory station.

Both off by default.

version 2.1.1:
- Fixed issue with selecting potions outside configuration.

version 2.1.0:
- Update for Necrom: Fixed slot selection wheel in the settings.

version 2.0.0:
- Major update for High Isle. Please backup your Saved Variables before updating!

Version 1.10
- Removed LibStub,
- Removed embedded LibHarvensAddonsSettings, please download it separately,
- API version changed to 100030.

Version 1.9
- Fixed radial menu behaviour when closed with esc key,
- Fixed libHarvensAddonSettings library,
- API version changed to 100024

Version 1.8b
- LibStub updated to the latest version,
- API version changed to 100020

Version 1.8a
- API version changed to 100019

Version 1.8
- Fixed "slot not saving" issue (it was actually saving but UI showed wrong name on the button and icon in the popup),
- API version changed to 100018

Version 1.7a
- API version changed to 100017

Version 1.7
- API version changed to 100016,
- Updated LHAS, thanks Votan :)

Version 1.6c
- API version changed to 100015.

Version 1.6b
- API version changed to 100014.

Version 1.6a
- API version changed to 100013.

Version 1.6
- API version changed to 100012,
- New version of LibHarvensAddonSettings - thanks to Votan :)

Version 1.5a
- Fix: disabled cooldown alert notification mouse input when the notification is hidden.

Version 1.5
- Votan made nicer slot selection radial menu with key-binds - thanks!

Version 1.4
- API version changed to 100011,
- Added potion readiness alert

Version 1.3
- Changed the alert display condition. Should work more reliable now.

Version 1.2
- Added an option to scale the alert window (by mouse wheel and by a slider in the options menu) thanks to Votan.

Version 1.1d
- API version changed to 100010,
- New version of LibHarvensAddonSettings (thanks to Garkin).

Version 1.1c
- API version changed to 100009.

Version 1.1b
- Show the alert only while in combat (turned off for debugging and forgot to turn it back on :))

Version 1.1a
- API version changed to 100008.

Version 1.1
- Settings moved to "Add-ons" menu (using Harven's Addon Settings library),
- Slightly changed slot selection in the options menu due to API changes (I think it's better now :) ),
- API version changed,
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.11
8kB
06/18/22 04:21 PM
Patch


Archived Files (25)
File Name
Version
Size
Uploader
Date
2.1.1
7kB
votan
07/30/23 07:15 AM
2.1.0
7kB
votan
06/18/23 10:46 AM
2.0.0
7kB
votan
06/19/22 05:24 AM
1.10
6kB
Harven
03/29/20 02:10 PM
1.9
13kB
Harven
08/15/18 05:24 PM
1.8b
13kB
Harven
08/14/17 03:12 PM
1.8a
13kB
Harven
05/23/17 12:58 PM
1.8
13kB
Harven
02/12/17 09:47 AM
1.7a
13kB
Harven
10/05/16 02:26 PM
1.7
13kB
Harven
08/01/16 03:01 PM
1.6c
14kB
Harven
06/02/16 02:00 PM
1.6b
13kB
Harven
03/07/16 05:41 PM
1.6a
13kB
Harven
11/02/15 09:58 AM
1.6
13kB
Harven
09/01/15 04:37 PM
1.5a
12kB
Harven
04/22/15 01:48 PM
1.5
12kB
Harven
03/27/15 05:41 PM
1.4
11kB
Harven
03/04/15 02:46 PM
1.3
11kB
Harven
12/09/14 07:37 AM
1.2
11kB
Harven
12/05/14 02:26 PM
1.1d
10kB
Harven
11/04/14 02:45 PM
1.1c
10kB
Harven
09/16/14 04:41 PM
1.1b
10kB
Harven
08/05/14 04:36 PM
1.1a
10kB
Harven
08/05/14 04:19 PM
1.1
10kB
Harven
06/25/14 03:03 PM
1.0
4kB
Harven
06/04/14 03:42 PM


Post A Reply Comment Options
Unread 06/04/14, 03:51 PM  
JadeKnightblazer

Forum posts: 24
File comments: 38
Uploads: 0
Prefect!! Time to add another of your addons to my collection ^_-

Only suggestion would to be able to adjust the background of the Popup warning screen. (Via backgroundless, ESO group themed, ect)
Last edited by JadeKnightblazer : 06/04/14 at 04:02 PM.
Report comment to moderator  
Reply With Quote
Unread 06/04/14, 03:52 PM  
SektaNZ

Forum posts: 10
File comments: 118
Uploads: 0
Really good idea, keep up the good work. Will you be continuing to work on this addon, to make it better visually and maybe expand on features? I really like the idea of these alert systems. Would be awesome to have a full alert system addon, with potions, execute, block, dodge, interrupt, off balance.
Last edited by SektaNZ : 06/04/14 at 08:48 PM.
Report comment to moderator  
Reply With Quote
Unread 06/04/14, 05:54 PM  
dominoid
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 276
Uploads: 2
This looks nice. Love your stuff.
Report comment to moderator  
Reply With Quote
Unread 06/04/14, 11:35 PM  
METALPUNKS

Forum posts: 14
File comments: 28
Uploads: 0
Not working

Not sure why but it's not working at all. I set the values, set my potions and nothing, the alert doesn't even poo up. Love your add ons though.
Report comment to moderator  
Reply With Quote
Unread 06/05/14, 12:34 PM  
METALPUNKS

Forum posts: 14
File comments: 28
Uploads: 0
Add food

Would love to see food added. Heres how I see it work. Instead percentage you set a timer. For example set the slider to 30 minutea or an hour depending on the food you eat, set the chosen food to the quickslot and then back out of menu eat food to start timer. Now you never go hungry and the timer reset everytime you eat
Report comment to moderator  
Reply With Quote
Unread 06/08/14, 04:00 AM  
Harven
 
Harven's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 275
Uploads: 31
Hey,
JadeKnightblazer, shouldn't be a problem.
SektaNZ, I'll add what JadeKnightblazer suggested but it I'll stay with potions alerts for this addon.
METALPUNKS, so you no longer have a problem with the addon? I'll consider consumables alerts.
Report comment to moderator  
Reply With Quote
Unread 07/07/14, 02:43 PM  
Jhenox
 
Jhenox's Avatar
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 392
Uploads: 6
Lightbulb Feature Request: In-combat/out-of-combat default potions.

Thank you for this add on. It has made potions useful for me where before I would almost never use them. I was thinking a nice feature would be to have other potion options rather than only health, stamina, and magicka. For example, have a default potion that can be set when out of combat like and invis potion then another that can be set for in combat but not below the health/stamina/magicka thresholds so I can have my crit potions, etc set. Thank you!
Report comment to moderator  
Reply With Quote
Unread 07/21/14, 03:02 PM  
Cavanoskus
Premium Member
 
Cavanoskus's Avatar
Premium Member

Forum posts: 13
File comments: 49
Uploads: 0
Hi there; love this addon. I noticed a couple of small issues:

The options appear in a different menu than everything else. While many of my addons' option menus are under:

ESC Menu>Settings>[Addon Name]

and many others are under:

ESC Menu>Addon Settings>[Addon Name]

this one appears by itself under:

ESC Menu>Settings>Addons>Harven's Potions Alert.

I hope that's clear! Otherwise I can get a screenshot.

The only other small issues are that when I select a quickslot from your addon's settings menu, it sends me back to the main ESC menu and not to your addon's options screen. The last thing is that in English it is "threshold" not "treshold."

These are just minor things though. I definitely second the previous comment about this being incredibly useful and now I'm using potions when before they would just stack up! Before, all I ever used were the health ones. Thank you for this.
Report comment to moderator  
Reply With Quote
Unread 08/15/14, 04:14 PM  
Brandalf
 
Brandalf's Avatar

Forum posts: 6
File comments: 29
Uploads: 0
I was really excited to catch this add-on, I use several of your add-ons but I'm having issues with this one. After I hit the select button and try to choose the slot I want it to use for that alert I get stuck in the quickslot radial and have to hit Alr or Esc to get out of the radial.

I go back to the add-on config menu and it still says to "select slot and hit MMB"(my potion keybind). Any ideas on what is causing this and/or how to fix it? Thanks in advance!
Report comment to moderator  
Reply With Quote
Unread 08/21/14, 09:43 AM  
Morgenes

Forum posts: 0
File comments: 1
Uploads: 0
Re: Not working

Originally Posted by METALPUNKS
Not sure why but it's not working at all. I set the values, set my potions and nothing, the alert doesn't even poo up. Love your add ons though.
I have the same problem.
I can choose the quickslot, it sends me back to the menu, but when passing the threshold nothing happens.

Anyone any idea?
Report comment to moderator  
Reply With Quote
Unread 09/15/14, 10:57 AM  
Frightened_Orc

Forum posts: 0
File comments: 4
Uploads: 0
Throws exception in Update 4

On login I get this UI error traceback with the new update:



The addon UI is missing from the settings menu as well, so I presume the addon is not loading at all once this error occurs.

Thanks for your work, this is an essential addon for me.

Regards,

Frightened Orc
Report comment to moderator  
Reply With Quote
Unread 09/16/14, 04:50 PM  
Harven
 
Harven's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 275
Uploads: 31
Hey Brandalf, Morgenes
looks like the slot selection doesn't work with mouse binding. Try to bind some secondary key to quick slot menu and then press that key when selecting the slot from the addon menu.
Report comment to moderator  
Reply With Quote
Unread 09/29/14, 12:42 PM  
ferzal

Forum posts: 0
File comments: 7
Uploads: 0
I have to add that this also doesn't work for me. No alert. No pot change. I've set the pots correctly and changed the threshold just to be sure there's a value written and the addon seems to do nothing. Is it working for anyone?
Report comment to moderator  
Reply With Quote
Unread 10/26/14, 02:57 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by ferzal
I have to add that this also doesn't work for me. No alert. No pot change. I've set the pots correctly and changed the threshold just to be sure there's a value written and the addon seems to do nothing. Is it working for anyone?
Yes and no. There is a bug: HarvensPotionsAlert.alertPowerType never resets to "normal". Once the highest prio slot was activated no lower prio is handled anymore and the highest prio is not shown, because it is already "active".

Try to change these lines in PowerUpdate
Code:
	if not HarvensPotionsAlert.isAlertHidden 
		and HarvensPotionsAlert.alertPowerType ~= powerType
		and HarvensPotionsAlert.powerTypes[powerType] > HarvensPotionsAlert.powerTypes[HarvensPotionsAlert.alertPowerType] then
			return
	end
	
	local val = 100*powerValue/powerMax
	if val > HarvensPotionsAlert.sv.slots[powerType].treshold then
		return
	end
to
Code:
  if not HarvensPotionsAlert.isAlertHidden and HarvensPotionsAlert.alertPowerType ~= powerType then
    if HarvensPotionsAlert.alertPowerType ~= POWERTYPE_INVALID and HarvensPotionsAlert.powerTypes[HarvensPotionsAlert.alertPowerType] ~= nil then
      if HarvensPotionsAlert.powerTypes[powerType] > HarvensPotionsAlert.powerTypes[HarvensPotionsAlert.alertPowerType] then return end
    end
  end

  local val = 100*powerValue/powerMax
  if val > HarvensPotionsAlert.sv.slots[powerType].treshold then
    -- Highest priority and nothing to do => reset to "normal"
    HarvensPotionsAlert.alertPowerType = POWERTYPE_INVALID
    return
  end
Report comment to moderator  
Reply With Quote
Unread 11/04/14, 01:24 AM  
Teryl

Forum posts: 0
File comments: 17
Uploads: 0
I got the following error this evening after installing eso 1.5.2 update


2014-11-04T20:15:10.139+12:00 |cff0000Lua Error: EsoUI/Common/ZO_Options/ZO_SharedOptions.lua:23: attempt to index a nil value
stack traceback:
EsoUI/Common/ZO_Options/ZO_SharedOptions.lua:23: in function 'ZO_SharedOptions:InitializeControl'
EsoUI/Common/ZO_Options/Keyboard/ZO_Options_Keyboard.lua:61: in function 'ZO_KeyboardOptions:InitializeControl'
EsoUI/Common/ZO_Options/Keyboard/ZO_Options_Keyboard.lua:98: in function 'ZO_OptionsWindow_InitializeControl'
user:/AddOns/HarvensPotionsAlert/libs/LHAS/LibHarvensAddonSettings.lua:628: in function 'AddonSettings:AddToOptionsPanel'
user:/AddOns/HarvensPotionsAlert/libs/LHAS/LibHarvensAddonSettings.lua:806: in function 'OptionsWindowFragmentStateChange'
EsoUI/Libraries/Utility/ZO_CallbackObject.lua:86: in function 'ZO_CallbackObject:FireCallbacks'
EsoUI/Libraries/ZO_Scene/ZO_Scene.lua:234: in function 'ZO_Scene:SetState'
EsoUI/Libraries/ZO_Scene/ZO_SceneManager.lua:113: in function 'ZO_SceneManager:ShowScene'
EsoUI/Libraries/ZO_Scene/ZO_SceneManager.lua:327: in function 'ZO_SceneManager:OnSceneStateChange'
EsoUI/Ingame/Scenes/IngameSceneManager.lua:221: in function 'ZO_IngameSceneManager:OnSceneStateChange'|r
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: