Quantcast
Download
(6 Kb)
Download
Updated: 07/03/20 03:35 AM
Compatibility:
Greymoor (6.0.5)
Updated:07/03/20 03:35 AM
Created:02/26/20 03:55 PM
Monthly downloads:124
Total downloads:897
Favorites:3
MD5:
6.0.5
ExoYs Quickslot Assistant
Version: 1.6
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.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 (5)
File Name
Version
Size
Uploader
Date
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 07/03/20, 02:32 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3040
File comments: 3641
Uploads: 62
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: 10
File comments: 12
Uploads: 3
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: 0
File comments: 4
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: 6
File comments: 164
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: 10
File comments: 12
Uploads: 3
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: 7
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: 10
File comments: 12
Uploads: 3
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: 6
File comments: 164
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: 10
File comments: 12
Uploads: 3
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
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3040
File comments: 3641
Uploads: 62
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: