Download
(2 Kb)
Download
Updated: 09/18/14 10:04 AM
Compatibility:
Update 4 (1.4.3)
Update 3 (1.3.3)
Veteran Crypt of Hearts (1.2.3)
Craglorn (1.1)
Live (1.0)
Updated:09/18/14 10:04 AM
Created:04/15/14 06:46 PM
Monthly downloads:22
Total downloads:10,744
Favorites:40
MD5:
Categories:Discontinued & Outdated, RolePlay, Utility Mods
Stow It Auto-Sheather  Popular! (More than 5000 hits)
Version: 1.2.8
by: stjobe [More]
I'm not playing ESO any more, so I won't be updating this addon. Sorry!

Stow It Auto-Sheather
A very simple addon that does one thing and one thing only; sheaths your weapon after you leave combat.

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.
1.2.8
* Bumped API version to 100009

1.2.7
* Removed redundant anonymous function creation.
* New API version.

1.2.6
* Maintenance release to comply with new addon terms of use and new API version

1.2.5
* Fixed an error in the XML file that was causing errors on loading.

1.2.4
* Updated API number for Craglorn
* Cleaned up some unneeded local variables

1.2.3
* Removed some redundant code. Final release for this version.

1.2.2
* Brain-fart bug fix.

1.2.1
* Rewrote addon to trigger once on entering combat event, and then run once a second to check if we're out of combat. This should further cut down on processing.

1.2.0
* Rewrote addon to use zo_callLater() instead of a timer; this should mean much less processing (thanks for the tip, Ak0!).

1.1.0
* Delay added before sheathing so animations have a chance to finish playing

1.0.1
* Re-upload with missing xml file included

1.0.0
* Initial release
Optional Files (0)


Archived Files (10)
File Name
Version
Size
Uploader
Date
1.2.7
2kB
stjobe
08/08/14 09:50 AM
1.2.6
2kB
stjobe
06/29/14 05:10 AM
1.2.5
1kB
stjobe
05/23/14 01:29 PM
1.2.4
1kB
stjobe
05/23/14 12:01 AM
1.2.3
1kB
stjobe
04/21/14 05:59 PM
1.2.2
1kB
stjobe
04/21/14 03:51 PM
1.2.1
1kB
stjobe
04/21/14 03:40 PM
1.2.0
1kB
stjobe
04/21/14 03:26 PM
1.1.0
1014B
stjobe
04/16/14 03:24 PM
1.0.1
984B
stjobe
04/15/14 11:16 PM


Post A Reply Comment Options
Unread 12/09/14, 12:48 PM  
RunningDuck
 
RunningDuck's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 110
Uploads: 4
Stow It continued

Originally Posted by stjobe
As you can now see on the addon page, I've stopped playing ESO. I'm sorry, but I won't be continuing this addon.

Anyone that feels they want to take over, feel free to do so.
Continued as a "new" addon: Stow It (with a space) to allow me to update properly.

Thanks stjobe for a great addon.
Report comment to moderator  
Reply With Quote
Unread 11/27/14, 11:36 AM  
stjobe
 
stjobe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 101
Uploads: 3
As you can now see on the addon page, I've stopped playing ESO. I'm sorry, but I won't be continuing this addon.

Anyone that feels they want to take over, feel free to do so.
Report comment to moderator  
Reply With Quote
Unread 07/03/14, 07:26 AM  
stjobe
 
stjobe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 101
Uploads: 3
Originally Posted by merlight
Sorry to give you such a horrific experience But I use similar code in 2 other addons (one checks guild history every 1-2mins, the other hides the UI before a screenshot is made and restores it a bit later) with no problems. So I installed your addon, tested without and with the change, and it works fine. I suspect you forgot to remove the calls, i.e.
Lua Code:
  1. zo_callLater(SI.Loop(), 1000) -- this is disastrous; Loop() doesn't return anything, and ZOS obviously doesn't check whether what you pass is actually a function (tried that, and got a freeze)
  2. -- instead of
  3. zo_callLater(SI.Loop, 1000) -- this is correct; pass the function, don't call it now, but later
Ah, that was it, silly mistake on my part. Thanks
Report comment to moderator  
Reply With Quote
Unread 07/03/14, 06:52 AM  
merlight
AddOn Author - Click to view AddOns

Forum posts: 671
File comments: 213
Uploads: 12
Originally Posted by stjobe
I don't know how zo_callLater works internally, but if I run your suggested code I get an out of memory error (after the whole game freezes for about 4 seconds).
Sorry to give you such a horrific experience But I use similar code in 2 other addons (one checks guild history every 1-2mins, the other hides the UI before a screenshot is made and restores it a bit later) with no problems. So I installed your addon, tested without and with the change, and it works fine. I suspect you forgot to remove the calls, i.e.
Lua Code:
  1. zo_callLater(SI.Loop(), 1000) -- this is disastrous; Loop() doesn't return anything, and ZOS obviously doesn't check whether what you pass is actually a function (tried that, and got a freeze)
  2. -- instead of
  3. zo_callLater(SI.Loop, 1000) -- this is correct; pass the function, don't call it now, but later
Report comment to moderator  
Reply With Quote
Unread 07/03/14, 06:19 AM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 832
File comments: 1097
Uploads: 33
Originally Posted by stjobe
Originally Posted by merlight
Unless Lua does some really smart optimization (and here's my question: does it? I think it doesn't, because I tried `F = function() SI.Loop() end` and F was different each time), you're creating an unnecessary function instance each time Loop is called. Since there are no arguments, you can pass the function to be called later directly:
I don't know how zo_callLater works internally, but if I run your suggested code I get an out of memory error (after the whole game freezes for about 4 seconds).
Function that is no longer used (and referenced in code) will be removed in the next garbage collector cycle, so it is not a big deal to create new functions/variables and whatever.
http://lua-users.org/wiki/GarbageCollectionTutorial
Warning: Spoiler
Report comment to moderator  
Reply With Quote
Unread 07/03/14, 05:02 AM  
stjobe
 
stjobe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 101
Uploads: 3
Originally Posted by merlight
Unless Lua does some really smart optimization (and here's my question: does it? I think it doesn't, because I tried `F = function() SI.Loop() end` and F was different each time), you're creating an unnecessary function instance each time Loop is called. Since there are no arguments, you can pass the function to be called later directly:
I don't know how zo_callLater works internally, but if I run your suggested code I get an out of memory error (after the whole game freezes for about 4 seconds).
Report comment to moderator  
Reply With Quote
Unread 07/02/14, 07:38 PM  
merlight
AddOn Author - Click to view AddOns

Forum posts: 671
File comments: 213
Uploads: 12
May I have an suggestion, or perhaps a question? I don't use your addon, just came upon it through another thread.

Lua Code:
  1. function SI.Loop()                                            
  2.     if IsUnitInCombat("player") == false then                
  3.         zo_callLater(function() TogglePlayerWield() end, 1500)
  4.     else                                                      
  5.         zo_callLater(function() SI.Loop() end, 1000)          
  6.     end                                                      
  7. end

Unless Lua does some really smart optimization (and here's my question: does it? I think it doesn't, because I tried `F = function() SI.Loop() end` and F was different each time), you're creating an unnecessary function instance each time Loop is called. Since there are no arguments, you can pass the function to be called later directly:

Lua Code:
  1. function SI.Loop()                                            
  2.     if IsUnitInCombat("player") == false then                
  3.         zo_callLater(TogglePlayerWield, 1500)
  4.     else                                                      
  5.         zo_callLater(SI.Loop, 1000)          
  6.     end                                                      
  7. end
Report comment to moderator  
Reply With Quote
Unread 06/18/14, 07:49 PM  
Lothorien

Forum posts: 0
File comments: 8
Uploads: 0
Heh, it's all good. Fun to try problem solving things like that but a real nuisance when it just doesn't have what is needed.
Report comment to moderator  
Reply With Quote
Unread 06/17/14, 12:39 PM  
stjobe
 
stjobe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 101
Uploads: 3
Originally Posted by Lothorien
I don't suppose the scripting has a command for sheath weapon (instead of toggle) so it can just be set to sheath every 5 or 10 seconds when not in combat?
It doesn't. It just has the toggle, and that's why it's hard to make any other functionality than sheath after combat.

I've played around a bit with having a key scanner and checking for key presses and/or abilities firing, but the API just isn't providing the cues one would need to make it work well.

So for now I'm going to have to admit defeat and leave the addon as-is.
Report comment to moderator  
Reply With Quote
Unread 06/16/14, 11:49 PM  
Lothorien

Forum posts: 0
File comments: 8
Uploads: 0
Along the same lines as companion summon, when you swap weapons it leaves your weapon out, also when you cast refreshing path, rapid maneuvers, and I'm sure others. I'm trying to get my character as fast as possible but so many things pull a weapon out when you aren't in combat and drop speed by 10%

Currently I can stack rapid maneuvers, the bow increase after a roll, and the medium armor sprint increase. I also have the Steed Mundus stone and almost all Divines armor pieces. I can hit 180% normal speed and 251% if I can run over the refreshing path area (which may also work for other peoples refreshing path after the next big patch).

I don't suppose the scripting has a command for sheath weapon (instead of toggle) so it can just be set to sheath every 5 or 10 seconds when not in combat?
Report comment to moderator  
Reply With Quote
Unread 05/24/14, 12:18 AM  
daimon
Premium Member
 
daimon's Avatar
Premium Member

Forum posts: 13
File comments: 159
Uploads: 0
That was it No error messages anymore, cheers!
Report comment to moderator  
Reply With Quote
Unread 05/23/14, 01:30 PM  
stjobe
 
stjobe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 101
Uploads: 3
Originally Posted by daimon
Did that, still getting the exact same error. To make it certain I rolled back to your earlier 1.2.3 version and that was still working fine without an error. I have EU client if that makes any difference.

Thanks
Please try 1.2.5 once it clears, I found and fixed an error in the XML file that probably caused the issue.
Report comment to moderator  
Reply With Quote
Unread 05/23/14, 12:52 PM  
daimon
Premium Member
 
daimon's Avatar
Premium Member

Forum posts: 13
File comments: 159
Uploads: 0
Originally Posted by stjobe
Originally Posted by daimon
The new game patch broke something and I'm getting the following error when logging in


Can you do me a favor and disable all other addons apart from Stow It and see if there's still an issue?

I'm not getting any errors myself, and there's precious little in the error message to show what's causing it.
Did that, still getting the exact same error. To make it certain I rolled back to your earlier 1.2.3 version and that was still working fine without an error. I have EU client if that makes any difference.

Thanks
Report comment to moderator  
Reply With Quote
Unread 05/23/14, 12:12 PM  
stjobe
 
stjobe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 101
Uploads: 3
Originally Posted by daimon
The new game patch broke something and I'm getting the following error when logging in


Can you do me a favor and disable all other addons apart from Stow It and see if there's still an issue?

I'm not getting any errors myself, and there's precious little in the error message to show what's causing it.
Report comment to moderator  
Reply With Quote
Unread 05/23/14, 08:39 AM  
daimon
Premium Member
 
daimon's Avatar
Premium Member

Forum posts: 13
File comments: 159
Uploads: 0
The new game patch broke something and I'm getting the following error when logging in


Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.