Download
(7 Kb)
Download
Updated: 06/09/22 11:06 AM
Compatibility:
High Isle (8.0.0)
Ascending Tide (7.3.5)
Deadlands (7.2.5)
Waking Flame (7.1.5)
Blackwood (7.0.5)
Flames of Ambition (6.3.5)
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:06/09/22 11:06 AM
Created:01/24/16 08:12 AM
Monthly downloads:48
Total downloads:8,893
Favorites:19
MD5:
AutoSlotSwitch  Popular! (More than 5000 hits)
Version: 1.4
by: Drakhyr [More]
AutoSlotSwitch

Description

This is a little addon to automatically switch your active Quickslot to a slot of your choice in the radial menu when you engage in combat, and switches it back when going out of combat. It also lets you stay on a slot to finish repairs on a keep door or when trying to put a siege down (for a set time) until it switches back.

Features
  • Choose your target slot, put some potion there, enjoy the comfort :-) Have your potion ready when you need it
  • If the target slot is empty, it automatically searches for other potions (or what you need) in your slots that match a search term you can customize in the addon settings ("health", "magicka", "Chips", "Zwiebelrostbraten", whatever you need)
  • Choose different settings based on location (General PVE, Dungeons, PVP)
  • Option to activate only when getting damage (not when entering combat) with custom HP threshold
  • Adjustable temporary lock if you manually change to another slot (e.g. for a siege weapon or another potion), good for PvP
  • Option to reset that temporary lock timer whenever you use or trying to use sieges or repair kits so you can keep trying to place a siege or keep repairing a wall (it resets on failed attempts as well).

Edit: I updated this addon again after a long while because people still use it. If I get friendly requests for updates I might continue maintaining this addon, no promises.
1.3:
- added new subfeature for the under attack setting to only change the slot when you drop below a custom health threshold

1.3:
- API bump for High Isle
- updated quickslot code to work with ZOS changes to their API

1.25:
- API bump

1.24:
- API bump

1.23:
- API bump

1.22:
- API bump

1.21:
- addition to account for jumping in and out of combat quickly, making templock more robust

1.2:
- changed functionality so that temporary lock still works after going out of combat if it was activated during combat. No more surprise-switching back to potion while you were repairing a door because combat status changed.

1.1:
- added option to reset temporary duration on siege/repair kit use
- setting temporary duration works now without reloadui

1.0:
- added slider to adjust temporary lock duration
- bugfix for temporary lock
- more performance optimizations, less function calls
- added more descriptions in settings for clarity

0.6:
- got rid of old stuff (e.g. LibStub)
- added an event filter for performance
- only roughly tested, so if you find any bugs make a friendly comment and i look into it when i have time

0.5x:
- Bugfixes
- Compatibility with other Addons

0.5:
- Option to activate only when getting damage (not when entering combat), good for PvP
- Temporary lock of 5 seconds to a slot if manually changed (e.g. if a siege weapon is selected), good for PvP

0.4:
- choose different settings based on location (General PVE, Dungeons, PVP)

0.3x:
- optimizations, cleanup

0.3:
- it now automatically searches the other slots for a health potion if the target slot is empty
- toggle the addon on and off with a keybinding (+sound feedback) that you can customize in settings->controls under AutoSlotSwitch

0.2:
- added the possibility to change the slot for the automatic switch in the settings menu.
Archived Files (26)
File Name
Version
Size
Uploader
Date
1.3
6kB
Drakhyr
06/06/22 11:36 AM
1.25
6kB
Drakhyr
03/13/22 05:38 PM
1.24
6kB
Drakhyr
11/01/21 10:11 AM
1.23
6kB
Drakhyr
08/23/21 10:52 AM
1.22
6kB
Drakhyr
05/31/21 02:05 PM
1.21
6kB
Drakhyr
01/14/21 09:32 AM
1.2
6kB
Drakhyr
01/13/21 09:10 AM
1.1
6kB
Drakhyr
11/29/20 08:58 AM
1.0
6kB
Drakhyr
11/28/20 04:42 AM
0.6
6kB
Drakhyr
11/24/20 08:59 AM
0.57
38kB
Drakhyr
04/25/16 03:30 PM
0.56
38kB
Drakhyr
04/19/16 01:54 PM
0.55
37kB
Drakhyr
04/17/16 10:12 AM
0.54
37kB
Drakhyr
04/17/16 07:22 AM
0.53
36kB
Drakhyr
04/11/16 02:26 AM
0.52
36kB
Drakhyr
04/08/16 01:25 AM
0.51
34kB
Drakhyr
03/28/16 01:08 PM
0.5
34kB
Drakhyr
03/27/16 01:46 PM
0.4
33kB
Drakhyr
03/08/16 03:07 PM
0.34
32kB
Drakhyr
02/27/16 10:49 AM
0.33
31kB
Drakhyr
02/07/16 06:33 PM
0.32
31kB
Drakhyr
02/02/16 04:51 PM
0.31
31kB
Drakhyr
02/02/16 08:46 AM
0.3
32kB
Drakhyr
01/31/16 11:09 AM
0.2
30kB
Drakhyr
01/28/16 05:01 PM
0.1
30kB
01/24/16 08:12 AM


Post A Reply Comment Options
Unread 06/09/22, 11:10 AM  
Drakhyr
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 27
Uploads: 2
Originally Posted by vazelle
Hey man nice addon! could you put some HP (health) threshold on when the auto switch happens if you use the "Only if actually taking damage" options. Like when my hp is below 50% (or any hp threshold you set it to) it auto switches or when it's above 50% it switches back to the previous slot. Thanks.
I added the feature.
Couldn't test extensively but if you find anything odd just post it here.
Report comment to moderator  
Reply With Quote
Unread 06/07/22, 04:48 AM  
vazelle

Forum posts: 3
File comments: 74
Uploads: 0
Hey man nice addon! could you put some HP (health) threshold on when the auto switch happens if you use the "Only if actually taking damage" options. Like when my hp is below 50% (or any hp threshold you set it to) it auto switches or when it's above 50% it switches back to the previous slot. Thanks.
Last edited by vazelle : 06/07/22 at 04:49 AM.
Report comment to moderator  
Reply With Quote
Unread 11/28/20, 10:31 AM  
SCREAMER19

Forum posts: 0
File comments: 30
Uploads: 0
<3
Report comment to moderator  
Reply With Quote
Unread 11/27/20, 02:50 PM  
Leslik

Forum posts: 0
File comments: 13
Uploads: 0
Yes, ty so much for the update. I've reinstalled and will report back
Report comment to moderator  
Reply With Quote
Unread 11/24/20, 01:00 PM  
Akopian Atrebates

Forum posts: 9
File comments: 230
Uploads: 0
Thanks for the update! I appreciate your work on it.
Report comment to moderator  
Reply With Quote
Unread 11/07/19, 04:07 AM  
Found

Forum posts: 0
File comments: 11
Uploads: 0
working still??

so is this still working or not?
Report comment to moderator  
Reply With Quote
Unread 06/05/17, 08:37 PM  
Lakes

Forum posts: 4
File comments: 21
Uploads: 0
Aw, this doesn't work anymore.
Report comment to moderator  
Reply With Quote
Unread 04/25/16, 12:52 PM  
Drakhyr
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 27
Uploads: 2
Thanks for the bug report, please check your private messages.

edit: Bug fixed. Was an edge case of using Collectibles in the quickslot.
Last edited by Drakhyr : 04/25/16 at 03:36 PM.
Report comment to moderator  
Reply With Quote
Unread 04/25/16, 05:41 AM  
The_Draco_Original
 
The_Draco_Original's Avatar

Forum posts: 0
File comments: 9
Uploads: 0
hey, i have a little problem with your addon AutoSlotSwich, it don't work in combination with FCO StarveStop, in battle when i get demage and the slot should change, i just get the follow error:

user:/AddOns/AutoSlotSwitch/AutoSlotSwitch.lua:230: operator < is not supported for nil < number
stack traceback:
user:/AddOns/AutoSlotSwitch/AutoSlotSwitch.lua:230: in function 'ASS.SlotChange'
user:/AddOns/AutoSlotSwitch/AutoSlotSwitch.lua:157: in function 'ASS.OnCombatEvent'

the slot don't change...
any ideas tipps or something to fix that???
Last edited by The_Draco_Original : 04/25/16 at 06:10 AM.
Report comment to moderator  
Reply With Quote
Unread 04/17/16, 07:26 AM  
Drakhyr
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 27
Uploads: 2
Just to inform everyone: Baertram and I have cooperated to make our addons compatible with each other. The new versions of both plugins are available for download.
Report comment to moderator  
Reply With Quote
Unread 04/14/16, 03:18 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Originally Posted by Drakhyr
Hey Baertram,

great idea, I will do this in the next few days when I have more time :-)
Thanks. Before you release it send me a test version please so I can test it together with my addons and we are able to modify both addons correctly!

btw:
In your manifest txt file your are loading the XML file "AutoSlotSwitch.xml" which is empty (everything is commented).
I'd remove it from the manifest txt file.
Last edited by Baertram : 04/14/16 at 03:22 AM.
Report comment to moderator  
Reply With Quote
Unread 04/12/16, 12:05 PM  
Drakhyr
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 27
Uploads: 2
Hey Baertram,

great idea, I will do this in the next few days when I have more time :-)
Report comment to moderator  
Reply With Quote
Unread 04/12/16, 01:47 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Hey Drakhyr,

as my addon FCOStarveStop is having some automatic slot switching features too and our two addons seem to have here and there the same possibilities (your's having extended features I really like :-) ):

Would you implement the library libLoadedAddons in your addon so I can easily check if your addon is loaded?
The same is implemented in my addon so you are able to check if FCOStarveStop is loaded.

This would be great for FCOStarveStop because I can deactivate some features in my addon so that your addon features will be used/work properly instead.

Thanks for your help.

Regards
Baertram
Last edited by Baertram : 04/12/16 at 01:47 AM.
Report comment to moderator  
Reply With Quote
Unread 04/09/16, 01:47 AM  
Drakhyr
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 27
Uploads: 2
There never was an option, it automatically switches back to the slot you had active before combat (or, as an option, before actually taking damage).
Report comment to moderator  
Reply With Quote
Unread 04/08/16, 07:59 PM  
uladz
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 223
Uploads: 2
Originally Posted by Drakhyr
Thanks for the bug report, it's fixed and updated now - ready for download.
Still don't see the option for out-of-combat slot. Am I missing something?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: