Quantcast
Download
(6 Kb)
Download
Updated: 01/14/21 09:32 AM
Compatibility:
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:01/14/21 09:32 AM
Created:01/24/16 08:12 AM
Monthly downloads:224
Total downloads:3,335
Favorites:13
MD5:
6.2.5
AutoSlotSwitch  Updated this week!
Version: 1.21
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)
  • 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.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 (20)
File Name
Version
Size
Uploader
Date
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 11/28/20, 10:31 AM  
SCREAMER19

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

Forum posts: 0
File comments: 9
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: 6
File comments: 187
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: 21
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???
__________________
UserID: @The_Draco
Char: Dra'corr
Gilde: Schattenrudel
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: 21
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
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3287
File comments: 3991
Uploads: 64
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: 21
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
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3287
File comments: 3991
Uploads: 64
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: 21
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: 224
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
Unread 04/08/16, 01:42 AM  
Drakhyr
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 21
Uploads: 2
Thanks for the bug report, it's fixed and updated now - ready for download.
Report comment to moderator  
Reply With Quote
Unread 04/06/16, 10:14 PM  
uladz
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 224
Uploads: 2
What happened with selecting a slot when out of combat? The new update removed it? This was the main feature why I have installed it at the first place because I was constantly hitting Q out of combat and wasting potions. With this addon I jsut set an empty slot for OOC mode and was happy after. Of cause later I have started to use it for in-combat situation at most . Anyway, can you please bring back out of combat slot selection? Thanks!!!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: