Download
(4 Kb)
Download
Updated: 03/07/24 03:48 PM
Compatibility:
Scions of Ithelia (9.3.0)
Endless Archive (9.2.5)
Updated:03/07/24 03:48 PM
Created:01/13/15 05:59 PM
Monthly downloads:498
Total downloads:41,869
Favorites:56
MD5:
9.3.0
Sheath Weapon  Popular! (More than 5000 hits)
Version: 3.13
by: Kelnoreem [More]
Sheath Weapon is a ESO addon created by Kelnoreem
When out of combat, toggles the weapon to be sheathed.

==================================
Summary of changes: 3.13
==================================
Update to API 101041 (Update 41)
==================================
Summary of changes: 3.13
==================================
Update to API 101041 (Update 41)

==================================
Summary of changes: 3.12
==================================
Update to API 101040 (Update 40)

==================================
Summary of changes: 3.11
==================================
Update to API 101039 (Fixes)

==================================
Summary of changes: 3.10
==================================
Update to API 101038 (Necrom)

==================================
Summary of changes: 3.09
==================================
Update to API 101037 (Scribes of Fate)

==================================
Summary of changes: 3.08
==================================
Update to API 101036 (Firesong)

==================================
Summary of changes: 3.07
==================================
Update to API 101035 (Lost Depths)

==================================
Summary of changes: 3.06
==================================
Update to API 101034 (High Isle)
Cooperate with game pad mode

==================================
Summary of changes: 3.05
==================================
Update to API 101033 (Ascending Tide)

==================================
Summary of changes: 3.04
==================================
Some skills, like Biting Jabs are
sheathed early, so increasing the
timing in settings.

==================================
Summary of changes: 3.03
==================================
Expose times in addon settings to allow customization
of the timers.

==================================
Summary of changes: 2.27
==================================
Update to API 101032 (Deadlands)

==================================
Summary of changes: 2.26
==================================
Update to API 101031 (Waking Flame)

==================================
Summary of changes: 2.25
==================================
Update to API 100035 (Blackwood)
Optional Files (0)


Archived Files (9)
File Name
Version
Size
Uploader
Date
3.12
4kB
Kelnoreem
10/28/23 12:09 PM
3.11
4kB
Kelnoreem
08/30/23 01:36 PM
3.10
4kB
Kelnoreem
06/05/23 02:34 PM
3.09
4kB
Kelnoreem
03/12/23 04:31 PM
3.09
4kB
Kelnoreem
03/12/23 04:12 PM
3.08
4kB
Kelnoreem
10/31/22 12:43 PM
3.07
4kB
Kelnoreem
08/22/22 08:32 AM
3.06
4kB
Kelnoreem
06/05/22 04:11 PM
3.05
4kB
Kelnoreem
03/10/22 02:46 PM


Post A Reply Comment Options
Unread 07/06/15, 11:55 AM  
Khay85

Forum posts: 1
File comments: 3
Uploads: 0
keybind?

What exactly is it supposed to do?

Addon works fine, but the keybind just pops up a window that I can't see doing anything other than wasting space and a keybind.
Report comment to moderator  
Reply With Quote
Unread 11/27/15, 03:05 PM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 41
Uploads: 3
The key bind was there because I used the Hello World Skeleton addon as the starting point. Since it really was not needed, it has now been removed.
Report comment to moderator  
Reply With Quote
Unread 05/26/17, 09:26 PM  
OrcRaider

Forum posts: 16
File comments: 12
Uploads: 0
Report comment to moderator  
Reply With Quote
Unread 02/16/18, 05:21 PM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 41
Uploads: 3
Originally Posted by OrcRaider
Havn't tried that one, since mine came first.
Report comment to moderator  
Reply With Quote
Unread 04/22/19, 01:14 PM  
aovannor
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 20
Uploads: 1
Is it possible to add the option of doing the opposite? Keeping your weapon out at all times? There's a good delay when you get your weapon out and it gets sheathed when you open a menu or interact with something. Annoys the hell out of me since it's not optimal.

No idea if that would be a simple thing to add or release as a separate addon. I haven't been able to find an addon that does it.
Report comment to moderator  
Reply With Quote
Unread 05/20/19, 12:30 PM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 41
Uploads: 3
I had a typo in the Elsweyr version, I uploaded a new file to fix it.
Report comment to moderator  
Reply With Quote
Unread 06/12/19, 03:39 PM  
elvenmad

Forum posts: 0
File comments: 13
Uploads: 0
Is it just me or does this addon not work at all any more ?
Report comment to moderator  
Reply With Quote
Unread 06/20/19, 03:11 PM  
AlienSheppard

Forum posts: 1
File comments: 36
Uploads: 0
not working (2019-jun-20)
Report comment to moderator  
Reply With Quote
Unread 08/12/19, 11:11 AM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 41
Uploads: 3
Originally Posted by AlienSheppard
not working (2019-jun-20)
All the tests I and those in my guilds have done have shown it working. If you have an issue, let me know how you were using it, so I can try to match those tests.
Report comment to moderator  
Reply With Quote
Unread 08/12/19, 11:13 AM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 41
Uploads: 3
==================================
Summary of changes: 2.17.1
==================================
Update to API 100028 (Scalebreaker)
Increased timer to 2 seconds for slow PC

Changing to use a 2 second timer should help on older/slower computers. If you want to try other times, and test those times, change the millisecond time as shown below, and let me know if the change works for your computer.

-- we wait 2 seconds to let animations finish playing, then we
-- toggle TogglePlayerWield to sheath our weapon(s)
function SW.Loop()
if IsUnitInCombat("player") == false then
zo_callLater(TogglePlayerWield, 2000)
Report comment to moderator  
Reply With Quote
Unread 09/06/19, 08:18 PM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 210
File comments: 865
Uploads: 0
Would it be possible to make an addon that helps you always keep your weapon unsheathed?

After interacting with certain things, like gathering flying insects, your character automatically sheaths their weapon. Unfortunately, if you don't unsheath it yourself, it causes a slight pause as you start combat (and try to use an ability) in order to do the unsheathing animation. It's annoying.
Report comment to moderator  
Reply With Quote
Unread 10/21/19, 01:16 PM  
stjobe
 
stjobe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 101
Uploads: 3
Originally Posted by Kelnoreem
Originally Posted by OrcRaider
Havn't tried that one, since mine came first.
As the author of the addon which you've taken most of the code from, yours most certainly didn't come first. The one Kelnoreem linked is a continuation of an addon I originally authored in 2014.

StowIt.lua (my original code from 2014), lines 10-25:
Code:
-- EVENT_PLAYER_COMBAT_STATE sends 'true' once when combat starts
-- and then 'nil' on every update, so we just check for 'true' to
-- start our loop
function SI.Trigger(_, inCombat)
    if inCombat then
        zo_callLater(SI.Loop, 1000)
    end
end

-- Check once a second whether we're still in combat. If we're not,
-- we wait 1.5 seconds to let animations finish playing, then we
-- toggle TogglePlayerWield to sheath our weapon(s)
function SI.Loop()
	if IsUnitInCombat("player") == false then
		zo_callLater(TogglePlayerWield, 1500)
	else
		zo_callLater(SI.Loop, 1000)
	end
end
SheathWeapon.lua (your so-called "first" code), lines 34-52:
Code:
-- EVENT_PLAYER_COMBAT_STATE sends 'true' once when combat starts
-- and then 'nil' on every update, so we just check for 'true' to
-- start our loop
function SW.Trigger(_, inCombat)
    if inCombat then
        zo_callLater(SW.Loop, 1000)
    end
end

-- Check once a second whether we're still in combat. If we're not,
-- we wait 2 seconds to let animations finish playing, then we
-- toggle TogglePlayerWield to sheath our weapon(s)
function SW.Loop()
	if IsUnitInCombat("player") == false then
		zo_callLater(TogglePlayerWield, 2000)
	else
		zo_callLater(SW.Loop, 1000)
	end
end
They're identical down to the last character, so obviously you've copied my code.

I have no problem with you making an auto-sheath addon, and I don't have any problem with you using my code, but taking the code and passing it off as your own without even acknowledging either the original author or the author of the continued addon is a bit much.
Report comment to moderator  
Reply With Quote
Unread 11/25/19, 10:57 AM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 41
Uploads: 3
Originally Posted by stjobe
They're identical down to the last character, so obviously you've copied my code.

I have no problem with you making an auto-sheath addon, and I don't have any problem with you using my code, but taking the code and passing it off as your own without even acknowledging either the original author or the author of the continued addon is a bit much.
Thanks for sharing, I agree. I worked on several code efforts in several languages with my daughter, who was in high school at the time, and I was not aware of what code came from her or elsewhere. Next time I edit it, I will acknowledge your efforts.
Report comment to moderator  
Reply With Quote
Unread 02/24/20, 10:41 AM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 41
Uploads: 3
Updated for Harrowstorm.

Sheath Weapon is a ESO addon created by Kelnoreem
When out of combat, toggles the weapon to be sheathed.

This addon was originally created as a learning tool for my
daughter who was exploring software development as a college
choice. There were many topics and languages we explored besides ESO and LUA. I recently was informed the code used to originate this addon was copied from an addon called StowIt by stjobe in 2014. When this addon was created, acknowledging to the original author should have been made.


==================================
Summary of changes: 2.20
==================================
Update to API 100030 (Harrowstorm)
removed addon lib folder
Report comment to moderator  
Reply With Quote
Unread 03/30/20, 02:56 AM  
mendisabal

Forum posts: 3
File comments: 113
Uploads: 0
Originally Posted by amber1019
Would it be possible to make an addon that helps you always keep your weapon unsheathed?

After interacting with certain things, like gathering flying insects, your character automatically sheaths their weapon. Unfortunately, if you don't unsheath it yourself, it causes a slight pause as you start combat (and try to use an ability) in order to do the unsheathing animation. It's annoying.
+1
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: