Quantcast
Download
(52 Kb)
Download
Updated: 12/27/17 01:25 PM
Compatibility:
Clockwork City (3.2)
Updated:12/27/17 01:25 PM
Created:12/09/14 11:44 AM
Monthly downloads:263
Total downloads:9,393
Favorites:38
MD5:
Stow It Auto-Sheather  Popular! (More than 5000 hits)
Version: 3.2.4
by: RunningDuck, Baertram
Stow It Auto-Sheather
A very simple addon that does one thing and one thing only; sheaths your weapon after you leave combat.
And after you have killed via the blade of woe (Dark Brotherhood).

Cred
Continued version of StowIt by stjobe (1.2.8 from 09/18/14). So far I've just adapted it to latest API.

Features
A small delay is implemented to enable animations to finish playing.

Controls
No configuration necessary, just unzip to your addons folder and toggle on/off via the in-game AddOns menu.
Baertram:
3.2.4
-Added: LAM settings menu
-Added: Setting to stow your weapon after a weapon swap, if you are out of combat

Baertram:
3.2.3
-Fixed: Added all the ranks of the Shadow cloak + morphs to be detected
-Added: Stealth effect from the Shadowstrike champion passive

Baertram:
3.2.2
-Added "Shadow cloack" + morphs support on request
-Removed not needed XML file

Baertram:
3.2.1
-Added "Blade of woe" support on request
-Changed addon code to work without XML files
-Changed addon code to strip not needed loop and get a bit more performant

3.2.0 Adapted to Clockwork City (Update 16 - game version 3.2 - API 21)

3.1.0 Adapted to Horns of the Reach (Update 15 - game version 3.1 - API 20)

2.8.1 Bump to API 19 (and embarrassingly not even tested)

2.8.0 Adapted to Homestead (Update 13 - game version 2.7 - API 18)

2.7.0 Adapted to One Tamriel (Update 12 -game version 2.6.0 - API 17)

2.6.0 Adapted to Shadows of the Hist (Update 11 -game version 2.5.5 - API 16)

2.5.0 Adapted to Dark Brotherhood (game version 2.5 and API 15)

2.3.0 Adapted to Thieves Guild (game version 2.3 and API 14)

1.3.3 Adapted to Orsinium (game version 2.2.4 and API 13)
Optional Files (0)


Archived Files (15)
File Name
Version
Size
Author
Date
3.2.3
3kB
RunningDuck
12/21/17 10:51 PM
3.2.2
3kB
RunningDuck
12/20/17 08:37 AM
3.2.1
3kB
RunningDuck
12/04/17 03:09 PM
3.2.0
1kB
RunningDuck
12/03/17 09:53 AM
3.1.0
1kB
RunningDuck
08/21/17 11:19 AM
2.8.1
1kB
RunningDuck
05/27/17 03:29 AM
2.8.0
1kB
RunningDuck
02/16/17 02:30 PM
2.7.0
1kB
RunningDuck
10/08/16 11:31 AM
2.6.0
1kB
RunningDuck
08/05/16 08:30 AM
2.5.0
1kB
RunningDuck
07/02/16 08:49 AM
2.3.0
1kB
RunningDuck
03/31/16 01:48 PM
1.3.3
1kB
RunningDuck
11/03/15 04:42 PM
1.3.2
1kB
RunningDuck
09/05/15 03:09 PM
1.3.1
1kB
RunningDuck
03/08/15 09:22 AM
1.3
1kB
RunningDuck
12/09/14 11:44 AM


Post A Reply Comment Options
Unread 12/28/17, 11:16 AM  
hagermanj

Forum posts: 2
File comments: 174
Uploads: 0
Thank you very much. This is what I wanted.
Report comment to moderator  
Reply With Quote
Unread 12/25/17, 04:32 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1413
File comments: 1361
Uploads: 44
Ok, got it.
Should be easily doable, will check it after the holidays

Originally Posted by hagermanj
Originally Posted by Baertram
The addon should actually sheeth your weapon automatically if you finish combat, regardless of you switch bars in between. I can't follow you what is not working :-(

If you start the fight with a bow and the fight ends before you switch weapons, then switch weapons the addon is not sheating it again, that's true. I could check if you are in fight of you switch weapons, and the sheath if you aren't. But imo if you switch weapons you wanted this on purpose to use skills etc. It would look strange if you switch, weapon shows, weapon sheaths, etc. :-)



Originally Posted by hagermanj
Originally Posted by Baertram
Originally Posted by hagermanj
Would it be possible to sheath the weapon after swapping. I always start the fight with a ranged weapon ( staff or bow ) and then switch to a melee weapon ( sword, daggers, or greatsword ). After I switch the weapon stays out. Just a thought.
Thanks in advance.
Don't think so as you are infight then. I can try but it makes no sense for me as the weapon will be in your hands as you buff yourself or change weapons again.
Sorry, I should have been more clear. I meant after finishing combat, or out of combat. When you finish combat and you change back to the weapon that you start with.
What I am saying is that I start a fight with a bow, then switch to a sword when the NPC gets closer. At the end of the fight, by the time I change back to my bow ( to get ready for my next fight ), my sword has been sheathed and then I switch back to my bow, which is now not sheathed. What I would like is to sheath the weapon after the switch.
This may sound way out there, but an option to always sheath weapon ( when out of combat, of course ) whenever the weapon is drawn ( when summoning a combat pet ). Lets say a 3 sec delay.
Report comment to moderator  
Reply With Quote
Unread 12/24/17, 11:35 AM  
hagermanj

Forum posts: 2
File comments: 174
Uploads: 0
Originally Posted by Baertram
The addon should actually sheeth your weapon automatically if you finish combat, regardless of you switch bars in between. I can't follow you what is not working :-(

If you start the fight with a bow and the fight ends before you switch weapons, then switch weapons the addon is not sheating it again, that's true. I could check if you are in fight of you switch weapons, and the sheath if you aren't. But imo if you switch weapons you wanted this on purpose to use skills etc. It would look strange if you switch, weapon shows, weapon sheaths, etc. :-)



Originally Posted by hagermanj
Originally Posted by Baertram
Originally Posted by hagermanj
Would it be possible to sheath the weapon after swapping. I always start the fight with a ranged weapon ( staff or bow ) and then switch to a melee weapon ( sword, daggers, or greatsword ). After I switch the weapon stays out. Just a thought.
Thanks in advance.
Don't think so as you are infight then. I can try but it makes no sense for me as the weapon will be in your hands as you buff yourself or change weapons again.
Sorry, I should have been more clear. I meant after finishing combat, or out of combat. When you finish combat and you change back to the weapon that you start with.
What I am saying is that I start a fight with a bow, then switch to a sword when the NPC gets closer. At the end of the fight, by the time I change back to my bow ( to get ready for my next fight ), my sword has been sheathed and then I switch back to my bow, which is now not sheathed. What I would like is to sheath the weapon after the switch.
This may sound way out there, but an option to always sheath weapon ( when out of combat, of course ) whenever the weapon is drawn ( when summoning a combat pet ). Lets say a 3 sec delay.
Report comment to moderator  
Reply With Quote
Unread 12/24/17, 10:21 AM  
syzgod

Forum posts: 38
File comments: 194
Uploads: 0
It is just better to add some delay to the sheat so we won't be caught sheating the weapon between trash fights which could result in slower rotation.
Report comment to moderator  
Reply With Quote
Unread 12/24/17, 09:59 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1413
File comments: 1361
Uploads: 44
The addon should actually sheeth your weapon automatically if you finish combat, regardless of you switch bars in between. I can't follow you what is not working :-(

If you start the fight with a bow and the fight ends before you switch weapons, then switch weapons the addon is not sheating it again, that's true. I could check if you are in fight of you switch weapons, and the sheath if you aren't. But imo if you switch weapons you wanted this on purpose to use skills etc. It would look strange if you switch, weapon shows, weapon sheaths, etc. :-)



Originally Posted by hagermanj
Originally Posted by Baertram
Originally Posted by hagermanj
Would it be possible to sheath the weapon after swapping. I always start the fight with a ranged weapon ( staff or bow ) and then switch to a melee weapon ( sword, daggers, or greatsword ). After I switch the weapon stays out. Just a thought.
Thanks in advance.
Don't think so as you are infight then. I can try but it makes no sense for me as the weapon will be in your hands as you buff yourself or change weapons again.
Sorry, I should have been more clear. I meant after finishing combat, or out of combat. When you finish combat and you change back to the weapon that you start with.
Report comment to moderator  
Reply With Quote
Unread 12/24/17, 04:41 AM  
hagermanj

Forum posts: 2
File comments: 174
Uploads: 0
Originally Posted by Baertram
Originally Posted by hagermanj
Would it be possible to sheath the weapon after swapping. I always start the fight with a ranged weapon ( staff or bow ) and then switch to a melee weapon ( sword, daggers, or greatsword ). After I switch the weapon stays out. Just a thought.
Thanks in advance.
Don't think so as you are infight then. I can try but it makes no sense for me as the weapon will be in your hands as you buff yourself or change weapons again.
Sorry, I should have been more clear. I meant after finishing combat, or out of combat. When you finish combat and you change back to the weapon that you start with.
Report comment to moderator  
Reply With Quote
Unread 12/21/17, 07:28 PM  
Zrie
 
Zrie's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
Funnily enough, the debug version works for me.
Originally Posted by Baertram
Originally Posted by Zrie
It's still not working; I disabled other addons like before to rule out conflict (and still there wasn't any.) I'm not sure what options that leaves because it sounds like it's working fine otherwise.
Originally Posted by Baertram
@Zrie
Please download the same file again from the link I gave you and test if it works now. Thank you
https://www.dropbox.com/s/xhzke1ofo3...debug.zip?dl=0
hm, ok I'll activate the debug messages again. Please post them all again and I'll check it.
Your last results told me that this both ids get executed for you:
Code:
[SI.CombatEvent]result: 2000,abilityName: Dark Cloak, powerType: -1, abilityId: 25377
[SI.CombatEvent]result: 2245,abilityName: Dark Cloak, powerType: -1, abilityId: 34698
Both are in the addon now and it doesn't work though...

I've added another message to the debug so you could see this text in chat:
>>Nightblade: Cloak detected, stowing weapon!
If so your weapon should be stow afterwards, or at leats it tries to

We will get this to work for you too

Download:
https://www.dropbox.com/s/xhzke1ofo3...debug.zip?dl=0
Report comment to moderator  
Reply With Quote
Unread 12/21/17, 05:44 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1413
File comments: 1361
Uploads: 44
Originally Posted by Zrie
It's still not working; I disabled other addons like before to rule out conflict (and still there wasn't any.) I'm not sure what options that leaves because it sounds like it's working fine otherwise.
Originally Posted by Baertram
@Zrie
Please download the same file again from the link I gave you and test if it works now. Thank you
https://www.dropbox.com/s/xhzke1ofo3...debug.zip?dl=0
hm, ok I'll activate the debug messages again. Please post them all again and I'll check it.
Your last results told me that this both ids get executed for you:
Code:
[SI.CombatEvent]result: 2000,abilityName: Dark Cloak, powerType: -1, abilityId: 25377
[SI.CombatEvent]result: 2245,abilityName: Dark Cloak, powerType: -1, abilityId: 34698
Both are in the addon now and it doesn't work though...

I've added another message to the debug so you could see this text in chat:
>>Nightblade: Cloak detected, stowing weapon!
If so your weapon should be stow afterwards, or at leats it tries to

We will get this to work for you too

Download:
https://www.dropbox.com/s/xhzke1ofo3...debug.zip?dl=0
Report comment to moderator  
Reply With Quote
Unread 12/21/17, 03:50 PM  
Zrie
 
Zrie's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
It's still not working; I disabled other addons like before to rule out conflict (and still there wasn't any.) I'm not sure what options that leaves because it sounds like it's working fine otherwise.
Originally Posted by Baertram
@Zrie
Please download the same file again from the link I gave you and test if it works now. Thank you
https://www.dropbox.com/s/xhzke1ofo3...debug.zip?dl=0
Report comment to moderator  
Reply With Quote
Unread 12/21/17, 10:44 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1413
File comments: 1361
Uploads: 44
@Zrie
Please download the same file again from the link I gave you and test if it works now. Thank you
https://www.dropbox.com/s/xhzke1ofo3...debug.zip?dl=0
Report comment to moderator  
Reply With Quote
Unread 12/21/17, 10:41 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1413
File comments: 1361
Uploads: 44
doh!
Thx man, silly behaviour of the game...
Will add them to the test version.



Originally Posted by ArtOfShred
You're missing the other ranks for the cloaks. Each rank has a different abilityId.

These should be correct (from UESP), as I believe the base ability present for each rank on the skill bar is also the actual invisibility effect:
Code:
[25375] = true, -- Shadow Cloak (Rank I)
[36329] = true, -- Shadow Cloak (Rank II)
[36333] = true, -- Shadow Cloak (Rank II)
[36337] = true, -- Shadow Cloak (Rank IV)
[25380] = true, -- Shadowy Disguise (Rank I) 
[36356] = true, -- Shadowy Disguise (Rank II) 
[36362] = true, -- Shadowy Disguise (Rank III)
[36368] = true, -- Shadowy Disguise (Rank IV)
[25377] = true, -- Dark Cloak (Rank I)
[36341] = true, -- Dark Cloak (Rank II)
[36346] = true, -- Dark Cloak (Rank III)
[36351] = true, -- Dark Cloak (Rank IV)
Also it might also be worth it to add the stealth effect from the Shadowstrike champion passive, as it works effectively the same way as shadow cloak.
Code:
[64244] = true, -- Shadowstrike (Champion Passive)
Report comment to moderator  
Reply With Quote
Unread 12/21/17, 10:40 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1413
File comments: 1361
Uploads: 44
Originally Posted by hagermanj
Would it be possible to sheath the weapon after swapping. I always start the fight with a ranged weapon ( staff or bow ) and then switch to a melee weapon ( sword, daggers, or greatsword ). After I switch the weapon stays out. Just a thought.
Thanks in advance.
Don't think so as you are infight then. I can try but it makes no sense for me as the weapon will be in your hands as you buff yourself or change weapons again.
Report comment to moderator  
Reply With Quote
Unread 12/21/17, 06:59 AM  
hagermanj

Forum posts: 2
File comments: 174
Uploads: 0
Would it be possible to sheath the weapon after swapping. I always start the fight with a ranged weapon ( staff or bow ) and then switch to a melee weapon ( sword, daggers, or greatsword ). After I switch the weapon stays out. Just a thought.
Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 12/20/17, 09:14 PM  
ArtOfShred
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 378
Uploads: 0
You're missing the other ranks for the cloaks. Each rank has a different abilityId.

These should be correct (from UESP), as I believe the base ability present for each rank on the skill bar is also the actual invisibility effect:
Code:
[25375] = true, -- Shadow Cloak (Rank I)
[36329] = true, -- Shadow Cloak (Rank II)
[36333] = true, -- Shadow Cloak (Rank II)
[36337] = true, -- Shadow Cloak (Rank IV)
[25380] = true, -- Shadowy Disguise (Rank I) 
[36356] = true, -- Shadowy Disguise (Rank II) 
[36362] = true, -- Shadowy Disguise (Rank III)
[36368] = true, -- Shadowy Disguise (Rank IV)
[25377] = true, -- Dark Cloak (Rank I)
[36341] = true, -- Dark Cloak (Rank II)
[36346] = true, -- Dark Cloak (Rank III)
[36351] = true, -- Dark Cloak (Rank IV)
Also it might also be worth it to add the stealth effect from the Shadowstrike champion passive, as it works effectively the same way as shadow cloak.
Code:
[64244] = true, -- Shadowstrike (Champion Passive)
Last edited by ArtOfShred : 12/20/17 at 10:41 PM.
Report comment to moderator  
Reply With Quote
Unread 12/20/17, 05:44 PM  
Zrie
 
Zrie's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
Re: Re: Re: Re: Nightblade

Here's the entirety of the string. Are the lingering buffs preventing the trigger?
Code:
[SI.CombatEvent]result: 2245,abilityName: Major Ward, powerType: -1, abilityId: 18868
[SI.CombatEvent]result: 2245,abilityName: Major Resolve, powerType: -1, abilityId: 66075
[SI.CombatEvent]result: 2000,abilityName: Dark Cloak, powerType: -1, abilityId: 25377
[SI.CombatEvent]result: 2245,abilityName: Dark Cloak, powerType: -1, abilityId: 34698
[SI.CombatEvent]result: 2240,abilityName: Clairvoyance Fx, powerType: -1 abilityId: 77758
[SI.CombatEvent]result: 2245,abilityName: Minor Protection, powerType: -1, abilityId: 76724
Originally Posted by Baertram
Nope sorry, it worked with the Shadow cloack for me without problems.
I'll modify the addon a bit to output debug messages and give you the link:
Stow It with debug message

Please stand somewhere out of combat and press the cloack ability button, and check the chat for debg messages like this:
Code:
[SI.CombatEvent]result: 1, abilityName: Shadow cloack, powerType: -1, abilityId: 36367
If any of the abilitynames appear to be the shadow cloack or shadow disguise or dark shadow or whatever with shadow post me the whole string please.
Especially the powerType and abilityId are needed for me!

Please test it several times and check which messages are always the same with the ability ID and the powerType. Within my testse the powerType was always -1 and the abilityId used was 36367 (even with dark cloack)

Originally Posted by Zrie
I updated the addon via the frontpage and gave it a try, but it did not seem to trigger after Shadow Cloak nor when I morphed it to Dark Cloak. I disabled other addons to be sure that there wasn't any conflict, which leaves me wondering what the issue could be. Any ideas?
Originally Posted by Baertram
Hi, if I find the time I'll check if the nightblade skills are trackable via the addon (like the blade of woe).

Edit:
Found the ability IDs for the 3 skills:
Shadow cloack: 36367, Shadow disguise: 36368, Dark cloak: 36351

I'm not sure if you are able to sheeth the weapon if you are still in combat but I'll try if this is possible with my nightblade. But I won't respec to all the 3 skills so you need either to test this later on by yourself or send me the gold for the 1 total respec to get to Shadw cloak, and the 2-3 half respecs for the morphs

2nd edit:
Tested with my morph Dark cloack and it works.
Please try if it works for you too! Updated the addon.

Originally Posted by Zrie
After reading the description, I know the addon's scope is limited to in/out of combat and the blade of woe combat trigger, but I was wondering if it's functionality could be extended to include the Nightblade invisibility spell (Shadow Cloak and its morphs Shadowy Disguise and Dark Cloak).

It might be a personal pet peeve, but I use this spell a lot when going on Thieves Guild missions and finding myself with my weapon out when I am actively avoiding combat is annoying. I am not sure how the coding for this addon works, but I imagine a trigger that requires both the existing out-of-combat trigger and a new one forcing sheathe after a few seconds-- to allow for chains of invisibility-- should do the trick.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: