Download
(6 Kb)
Download
Updated: 02/10/23 03:13 AM
Compatibility:
Greymoor (6.0.5)
Updated:02/10/23 03:13 AM
Created:02/26/20 03:55 PM
Monthly downloads:50
Total downloads:7,049
Favorites:7
MD5:
ExoYs Quickslot Assistant  Popular! (More than 5000 hits)
Version: 1.7
by: ExoY [More]
ExoYs Quickslot Assistant ensures that you are drinking the correct Potion and makes sure you never run out of buff-food.

--------------------------------------

Required libraries:

LibAddonMenu-2.0
LibFoodDrinkBuff

--------------------------------------
If you have any requests, ideas for new features or have found a bug. Leave a message in the comment section.
--------------------------------------

How the addon works:

Here a hypothetical example to explain what this addon currently does: (Assuming you have set up the addon and both "lock" options are enabled)

*you enter combat and the addon will automatically select the slot with your potion
*it now prevents you from changing the quickslot, so you can not accidently switch to a siege weapon, helper etc
*when your buff food expires, it will automatically switch to your buff food slot (and again prevents you from changing it manually)
*as soon as you have eat or drank something it will switch back to the potion slot
*after combat is over it will return to the quickslot, which was selected before you entered combat


--------------------------------------

How to set up the addon:

After installing the addon, you have a number of settings to choose from in the addon menu,
which can be accessed using: /eqamenu or via the user interface (Settings > Addon > ExoYs Quickslot Assistant)

Lock Potion: With this option enabled, the addon will automatically select your desired Potion when in Combat and won't let you change until you are no longer in a fight. Don't worry when your buff food expired. This has been taken into account with the Lock Buff Food - Option.

Position Potion: Choose which quickslotitem holds the right potion.

Lock Buff Food: With this option enabled, the addon will automatically select your choosen food or drink as soon as there is no active buff and you are in combat. This overrides the Lock Potion option to ensure, that you will be able to eat something during combat.

Position Buff Food: Choose which quickslotitem holds the right buff-food.

Enable in PvP: PvP Situation often require the useage of different potions and/or buff-food. With this Option the Lock functionality for potions and buff-food can be enabled or disabled while in PvP.
This includes Cyrodil, Battlegrounds, Imperial City and Duels.

-------------------------------

Upcoming features:

I have just started to create this Addon. Many new features and options are planned to be included in the future. For example:
  • New Notifications
  • Increased Customization for Notification
  • Enable/ Disable Lock function depending of the current PvE Situation
  • "Safety Features"
STAY TUNED!
Version 1.7
* api bumb
* fixed problems related to quickwheel change introduced in the high isle chapter (courtesy of "psi-pisi")

Version 1.6
*fixed bug, where clever alchemist mode was still working after set off


Version 1.5
*Disabled switching back to the quickslot, which was selected before a fight started, after the encounter is over
*included "Clever Alchemist Experimental"

Version 1.4
*fixed bug, where it did not switch back to potion after using buff food in combat
*fixed bug, where buff food notification did not properly disappears

Version 1.3
*corrected bug, where changes in "Active in PvP" setting was not dealt with correctly
*added features to customize buff food reminder notification
*added Setting: "In PvE only in Dungoen/Raids", which disables the addon in other PvE content other than those


Version 1.2
*corrected some typos
*fixed bug, which caused buff food not to be recognized correctly
*fixed bug, which caused potions lock to malfunction when buff food lock was disabled
*improved performance during combat
Archived Files (6)
File Name
Version
Size
Uploader
Date
1.6
6kB
ExoY
07/03/20 03:35 AM
1.5
6kB
ExoY
07/02/20 08:29 AM
1.4
5kB
ExoY
03/04/20 03:44 PM
1.3
5kB
ExoY
03/03/20 11:06 AM
1.2
4kB
ExoY
02/28/20 09:01 PM
1.1
4kB
ExoY
02/26/20 03:55 PM


Post A Reply Comment Options
Unread 06/16/23, 09:38 AM  
BruceLeeRoy

Forum posts: 0
File comments: 16
Uploads: 0
I love your addons! I was wondering if it would be possible to add a feature to inhibit using a potion unless I'm below a configurable amount of stam or mag currently left?
Report comment to moderator  
Reply With Quote
Unread 02/04/23, 12:43 PM  
psi-pisi

Forum posts: 0
File comments: 1
Uploads: 0
Hi,

This is one of my favorite add-ons and I am so tired of accidentally summoning Ezhabi during trials So, I decided to take a look at the code.

I implemented a temporary fix that you can use till the developer releases an official version. Now it works with the High Isle chapter. Just copy the contents of the zip file into the addon's folder.

ExoYsQuickslotAssistant.zip

Problem was the -/+8 in the ExoYsQuickslotAssistantMenu.lua. I removed all of them and it started working as intended.

Lua Code:
  1. [2] = {
  2.               type = "dropdown",
  3.               name = "Potion Position",
  4.               tooltip = "Choose which quickslot position your desired potion is on.",
  5.               choices = Positions,
  6.               getFunc = function() return Positions[EQA.PositionPotion] end,
  7.               setFunc = function(SelectPositionPotion)
  8.                 for index, name in ipairs(Positions) do
  9.                   if name == SelectPositionPotion then
  10.                     EQA.PositionPotion = index
  11.                     EQA.savedVariables.PositionPotion = index
  12.                     EQA.CheckCollision()
  13.                     break
  14.                     end
  15.                   end
  16.                 end,
  17.           },
Report comment to moderator  
Reply With Quote
Unread 06/13/22, 01:24 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 134
Uploads: 12
Originally Posted by taugrim
The locking of the quickslot for potions doesn't do anything in High Isle. Was working fine before the Update went live.
Thanks for the report. I will look into it as soon as possible.
Report comment to moderator  
Reply With Quote
Unread 06/08/22, 09:50 AM  
taugrim
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 22
Uploads: 1
The locking of the quickslot for potions doesn't do anything in High Isle. Was working fine before the Update went live.
Report comment to moderator  
Reply With Quote
Unread 12/10/20, 08:17 AM  
adran06

Forum posts: 5
File comments: 8
Uploads: 0
Possible Improvement

Have you considered allowing multiple potion options with an "if low" check? For example, if Health is below 40%, use the Health Potion slot, if Magicka is below 40%, sue the Magicka Potion slot. Though obviously then you need to make it have a priority order, but that can also be an option set by the player, so if they want to prioritize Health over Magicka, with Stamina being the lowest priority, they can, and if multiple are meeting the requirements, it does the one with the highest priority first. Obviously, this does create the problem of needing 3 slots for potions, but I'd probably do that anyway if I had more than health potions XD
Report comment to moderator  
Reply With Quote
Unread 07/03/20, 02:32 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Re: Re: tool doesn't work

Another hint:
Install the library LibDebugLogger in your addons and let it create debug output which is only shown inside the SavedVariables file or DebugLogViewer (not inside the chat).
This way users can send you their LibDebugLogger.lua SavedVariables files or upload them here (https://sir.insidi.at/or/logviewer/) and you are able to see loaded addons + your debug message output -> Leading to the errors then more quickly.
It helps a lot and should be in new addons where the size of the addon will be more than 1 feature e.g., and where other addons may interfer.


Originally Posted by ExoY
Originally Posted by MagyarVizla
Hello,

unfortunately the tool works for me. it doesn't automatically switch to the fixed quickslot as soon as I go into battle. There is also no reminder for the buffet food or changes as soon as the timer runs out. I installed everything that is required. Could it be that it needs to be updated?

BR

Astralicus
I'm sorry to hear, it is not working for you. I have just tried it out and couldnt find any problems.
Have you checked the "Active in PvP" and "In PvE only active in Dungoen/Raid" setting?

If it still doesnt work than, I'm happy to look into it further. But I'd need some more information like:
  • your settings
  • used buff-food
  • which location you tried it at
Last edited by Baertram : 07/03/20 at 02:33 PM.
Report comment to moderator  
Reply With Quote
Unread 04/02/20, 04:31 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 134
Uploads: 12
Re: tool doesn't work

Originally Posted by MagyarVizla
Hello,

unfortunately the tool works for me. it doesn't automatically switch to the fixed quickslot as soon as I go into battle. There is also no reminder for the buffet food or changes as soon as the timer runs out. I installed everything that is required. Could it be that it needs to be updated?

BR

Astralicus
I'm sorry to hear, it is not working for you. I have just tried it out and couldnt find any problems.
Have you checked the "Active in PvP" and "In PvE only active in Dungoen/Raid" setting?

If it still doesnt work than, I'm happy to look into it further. But I'd need some more information like:
  • your settings
  • used buff-food
  • which location you tried it at
Last edited by ExoY : 07/02/20 at 08:30 AM.
Report comment to moderator  
Reply With Quote
Unread 04/01/20, 10:37 AM  
MagyarVizla

Forum posts: 3
File comments: 14
Uploads: 0
tool doesn't work

Hello,

unfortunately the tool works for me. it doesn't automatically switch to the fixed quickslot as soon as I go into battle. There is also no reminder for the buffet food or changes as soon as the timer runs out. I installed everything that is required. Could it be that it needs to be updated?

BR

Astralicus
Report comment to moderator  
Reply With Quote
Unread 03/04/20, 09:40 PM  
Akopian Atrebates

Forum posts: 9
File comments: 230
Uploads: 0
I'm trying to think of all the different ways it could be done, but here is the concept I would find useful for this addon. Like you point out in the pvp option to not have it lock anything, I have about 3 or 4 potions I might use in pvp at any given moment.

1. A big combat buff I might use early on.
2. Like most everybody, have a healing potion--usually mine also have a anti-CC element to them.
3. Third, if I am playing the right kind of character, I will have some kind of invisibility, anti-cc escape potion (generally it replaces my second potion).
4. Last, I use a detect pot with other things on it.

So, what I would like is a fairly foolproof way to be sure that I have selected the correct potion at the right time. To that end, it would be interesting if maybe instead of locking out all other quickslot options, I could:

1. Lock out some but not all (but still not optimal).
2. Toggle which slot is the locked slot (maybe when I hit q while hitting the toggle button a second potion could be selected--that would probably be enough for me to work with).
3. Or just have a toggle for the lockout feature to be enabled or not on the fly during combat. Maybe with some visual indicator, like a notification or something, that it is locked or unlocked.

And please, don't look at this as a demand or anything. Just a thought. I like the addon, think I will often use it anyway. I'm just playing with ideas, and frankly, I am just happy that you have done as much as you have. Your work is a gift to the community, and I truly appreciate it. Thanks.
Report comment to moderator  
Reply With Quote
Unread 03/04/20, 04:08 PM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 134
Uploads: 12
Re: Thank you

Originally Posted by Grimscale
Oh thank you for this addon. The amount of times I have died because the ram is still selected when I needed a potion or having been caught up in the fight missed my food buff dropping off.
Glad you like it
Since I play PvE most of the time, I am always looking for input how this Addon can be more usefull in PvP situation. If you have any suggestions let me know.
Report comment to moderator  
Reply With Quote
Unread 03/04/20, 12:00 AM  
Grimscale

Forum posts: 0
File comments: 11
Uploads: 0
Thank you

Oh thank you for this addon. The amount of times I have died because the ram is still selected when I needed a potion or having been caught up in the fight missed my food buff dropping off.
Report comment to moderator  
Reply With Quote
Unread 03/01/20, 04:24 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 134
Uploads: 12
Originally Posted by Akopian Atrebates
I am not really clear on what this is supposed to do. I know that in settings I designate the slots that are to have designated potions and food. But I do not really know how I am supposed to pick the potion or food that I want the addon to use. Will it just use any food or potion?

Or does it make it so that I cannot change things so that my designated quickslot is active as soon as I go into battle? I must have missed something.
You have to place the desired potion or buff food in those slots manually, like you do in vanilla eso.

What this addon does is switch to the choosen quickslot and prohibits you to change it while you are in combat. (when "lock potion" is enabled).

It also jumps to the designated buff food quickslot when you are in combat and have no active buff food
(when "lock buff food" is enabled). This does also work, regardless of the lock potion setting.

I will include an example in the add on describtion to hopefully make it easier to understand.
Report comment to moderator  
Reply With Quote
Unread 03/01/20, 02:37 AM  
Akopian Atrebates

Forum posts: 9
File comments: 230
Uploads: 0
I am not really clear on what this is supposed to do. I know that in settings I designate the slots that are to have designated potions and food. But I do not really know how I am supposed to pick the potion or food that I want the addon to use. Will it just use any food or potion?

Or does it make it so that I cannot change things so that my designated quickslot is active as soon as I go into battle? I must have missed something.
Last edited by Akopian Atrebates : 03/01/20 at 02:39 AM.
Report comment to moderator  
Reply With Quote
Unread 02/28/20, 02:59 AM  
ExoY
 
ExoY's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 134
Uploads: 12
Originally Posted by Baertram
A hint on the LibAddonMenu options table:
You do not manually need to index the entries via
local optionsData = {
[1]
etc.
This is only disturbing you if you want to add/insert new options and need to renumber them all
Thanks, that makes it easier to expand the menu. I just used the examples from LibAddonMenu and assumed the numbers are necessary for the menu to be in the right order.


Originally Posted by Baertram
And your function here does not really check for an active food buff! It only checks for an active buff which can be clicked off. But this could be several other buffs as well!
It was only supposed to be a workaround, because with the testing i did only buff foods and pets could be clicked off. So i thought it might be rather smooth.

Originally Posted by Baertram
To check for active food buffs use the library LibFoodDrinkBuff instead!
I did not know about that Lib. It is of course a much more sophisticated approach and I will try to implement it in the next update.
Report comment to moderator  
Reply With Quote
Unread 02/27/20, 08:44 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
A hint on the LibAddonMenu options table:
You do not manually need to index the entries via
local optionsData = {
[1]
etc.
This is only disturbing you if you want to add/insert new options and need to renumber them all

Just use either table.insert(optionsData, yourOptionTable)
or simple do not use the index, just do it like this:
Lua Code:
  1. local optionsData = {
  2.    {
  3.       type = "submenu",
  4.       name = "Potion Settings",
  5.       --tooltip = "My submenu tooltip", --(optional)
  6.       controls = {
  7.           [1] = {
  8.               type = "checkbox",
  9.               name = "Potion Lock",
  10.               --tooltip = "Checkbox's tooltip text.",
  11.               getFunc = function() return EQA.LockPotion end,
  12.               setFunc = function(SelectLockPotion)
  13.                 EQA.LockPotion = SelectLockPotion
  14.                 EQA.savedVariables.LockPotion = SelectLockPotion
  15.               end,
  16.           },
  17.           {
  18.               type = "dropdown",
  19.               name = "Potion Position",
  20.               tooltip = "Choose on which quickslot Position your desired Potion is.",
  21.               choices = Positions,
  22.               getFunc = function() return Positions[EQA.PositionPotion - 8] end,
  23.               setFunc = function(SelectPositionPotion)
  24.                 for index, name in ipairs(Positions) do
  25.                   if name == SelectPositionPotion then
  26.                     EQA.PositionPotion = index + 8
  27.                     EQA.savedVariables.PositionPotion = index + 8
  28.                     EQA.CheckCollision()
  29.                     break
  30.                     end
  31.                   end
  32.                 end,
  33.           },
The lua code will automatically index the table then with the correct numbers.
If you need to access a special entry of the lam controls use the "reference" tag and you can use this as a control name or via WINDOW_MANAGER:GetControlByName() or GetControl() functions

And your function here does not really check for an active food buff! It only checks for an active buff which can be clicked off. But this could be several other buffs as well!
Lua Code:
  1. function EQA.CheckBuffFood()
  2.   EQA.ActiveBuffFood = false
  3.   for i = 1, GetNumBuffs("player") do
  4.     local name, _, finish, _, _, _, _, _, _, _, abilityId, canClickOff = GetUnitBuffInfo("player", i)
  5.     if canClickOff and GetAbilityDuration(abilityId)>0 then
  6.       EQA.ActiveBuffFood = true
  7.       EQA_BuffFood_Notification:SetHidden(true)
  8.       break
  9.     end
  10.   end
  11. end

To check for active food buffs use the library LibFoodDrinkBuff instead!
Last edited by Baertram : 02/27/20 at 08:47 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: