Quantcast
Download
(3 Kb)
Download
Updated: 05/19/20 03:38 PM
Compatibility:
Greymoor (6.0.5)
Harrowstorm (5.3.4)
Updated:05/19/20 03:38 PM
Created:01/13/15 05:59 PM
Monthly downloads:284
Total downloads:22,620
Favorites:41
MD5:
6.0.5
Sheath Weapon  Popular! (More than 5000 hits)
Version: 2.21
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: 2.21
==================================
Update to API 100031 (Greymore)
==================================
Summary of changes: 2.21
==================================
Update to API 100031 (Greymore)

==================================
Summary of changes: 2.20
==================================
Update to API 100030 (Harrowstorm)
removed addon lib folder

==================================
Summary of changes: 2.19
==================================
LibMenu API bump to r30

==================================
Summary of changes: 2.18
==================================
Update to API 100029 (Dragonhold)

==================================
Summary of changes: 2.17.1
==================================
Update to API 100028 (Scalebreaker)
Increased timer to 2 seconds for slow PC

==================================
Summary of changes: 2.17
==================================
Update to API 100028 (Scalebreaker)

==================================
Summary of changes: 2.16
==================================
Update to API 100027 (Elsweyr)

==================================
Summary of changes: 2.15
==================================
Update to API version 100026 (WrathStone)

==================================
Summary of changes: 2.14
==================================
Update to API version 100025 (Murkmire)
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Uploader
Date
2.20
3kB
Kelnoreem
02/24/20 10:39 AM
2.19
50kB
Kelnoreem
10/21/19 09:21 AM
2.17.1
48kB
Kelnoreem
08/12/19 11:10 AM
2.17.1
48kB
Kelnoreem
08/12/19 09:39 AM
2.16
48kB
Kelnoreem
05/20/19 12:28 PM
2.16
48kB
Kelnoreem
05/18/19 04:41 PM


Post A Reply Comment Options
Unread Yesterday, 04:23 PM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 23
Uploads: 3
Re: Good to See

[quote=BigMons]
Originally Posted by Kelnoreem
Updated for Harrowstorm.

Glad the attribution thing got worked out. Also good to hear that a young woman is interested in coding.
I wish I caught that thing a long time ago. Earlier this year she graduated with a BS computer degree, married another with a BS computer degree, and both are working software developers on games.

For this addon, I have been exploring how to do the timing better since ESO is having issues affecting it. Still have a ways to go.
__________________
Curiosity is the cure for boredom, there is no cure for curiosity.
Report comment to moderator  
Reply With Quote
Unread 05/19/20, 08:05 PM  
BigMons
 
BigMons's Avatar

Forum posts: 38
File comments: 172
Uploads: 0
Thumbs up Good to See

Originally Posted by Kelnoreem
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
Glad the attribution thing got worked out. Also good to hear that a young woman is interested in coding.
__________________
Ignotus on the official ESO forums.
@Ign0tus in-game on the NA PC server.
Last edited by BigMons : 05/19/20 at 08:06 PM.
Report comment to moderator  
Reply With Quote
Unread 04/01/20, 08:10 AM  
sonwon

Forum posts: 0
File comments: 48
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
Unread 03/30/20, 02:56 AM  
mendisabal

Forum posts: 3
File comments: 115
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
Unread 02/24/20, 10:41 AM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 23
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
__________________
Curiosity is the cure for boredom, there is no cure for curiosity.
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: 23
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.
__________________
Curiosity is the cure for boredom, there is no cure for curiosity.
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 09/06/19, 08:18 PM  
amber1019
Addon Addict
 
amber1019's Avatar
Premium Member

Forum posts: 92
File comments: 413
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 08/12/19, 11:13 AM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 23
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)
__________________
Curiosity is the cure for boredom, there is no cure for curiosity.
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: 23
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.
__________________
Curiosity is the cure for boredom, there is no cure for curiosity.
Report comment to moderator  
Reply With Quote
Unread 06/20/19, 03:11 PM  
AlienSheppard

Forum posts: 1
File comments: 5
Uploads: 0
not working (2019-jun-20)
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 05/20/19, 12:30 PM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 23
Uploads: 3
I had a typo in the Elsweyr version, I uploaded a new file to fix it.
__________________
Curiosity is the cure for boredom, there is no cure for curiosity.
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: 17
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 02/16/18, 05:21 PM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 23
Uploads: 3
Originally Posted by OrcRaider
Havn't tried that one, since mine came first.
__________________
Curiosity is the cure for boredom, there is no cure for curiosity.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: