Download
(33 Kb)
Download
Updated: 10/21/23 06:34 AM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
base-game patch (9.1.5)
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Lost Depths (8.1.5)
High Isle (8.0.0)
Updated:10/21/23 06:34 AM
Created:05/11/15 01:10 PM
Monthly downloads:11,792
Total downloads:840,479
Favorites:527
MD5:
Categories:Combat Mods, Bags, Bank, Inventory, Casting Bars, Cooldowns, PvP
Auto Recharge (and repair)  Popular! (More than 5000 hits)
Version: 2.77
by: XanDDemoX, Baertram
Auto Recharge
Needed dependencies: LibAddonMenu-2.0

Recharges and repairs your equipped weapons and amour automatically upon entering and leaving combat.

A single soul gem will be consumed per weapon recharged in the order of worst to best (e.g lesser soul gems will be used before common).

A single repair kit will be consumed per piece of armour recharged in the order of worst to best (e.g common repair kits will be used before greater). A single crown repair kit will be used to repair all of your equipped armor.

Features
-Recharge weapons if the charge drops below a threshold (at combat start, in combat, and after combat, optionally: As weapon pair changes)
-Repair equipment if they drop below a threshold (at combat start, in combat, and after combat, optionally: No crown repair kits will be used)
-Remind me after login/as fight ends if my soul gems drop below a threshold
-Remind me after login/as fight ends if my repair kits drop below a threshold
-Show my number of repair kits left at a vendor
-Show info about what happened in the chat
-Suppress chat messages if nothing was done etc.
-Multi language support was added

Usage
You are able to setup everything in the LAM settings menu.

Automatic Charging
/arc Attempts to recharge the currently equipped primary and secondary weapons.
/arc + Enable automatic equipped weapons recharging (you can also use the localized value on, an, на).
/arc - Disable automatic equipped weapons recharging (you can also use the localized value off, aus, от).
/arc 0-99 Set the minimum charge percentage

Automatic Repair
/arp Attempts to repair the currently equipped armour.
/arp + Enable automatic amour repairing (you can also use the localized value on, an, на).
/arp - Disable automatic armour repairing (you can also use the localized value off, aus, от).
/arp 0-99 Set the minimum condition percentage


Languages supported
DE
EN
FR
IT - L'addon è perfettamente compatibile con la traduzione italiana degli Italian Scrolls Online. Disponibile qui ItalianScrollsOnline
RU

Many thanks to XanDDemoX for the base of this great helper!
And many thanks to Scootworks for helping me test and translate the addon!
IMPORTANT: With version 2.67: The SavedVariables changed to server dependent ones.
You need to setup your SavedVariables new! LOGOUT and BACKUP your SavedVariables before updating from version 2.66


Version 2.77 - 2023-10-21
-Finally fixed center screen messages for soulgems and repair kits missing/near empty:
--Added new settings to "Only alert on login/reloadui/zone change (with loading screen) for repair kits soon empty, and soulgems soon empty
--Added new settings to "Only alert at vendor" for repair kits soon empty
-Rearranged the other settings about repair kits and soul gems to properly be "in relating blocks" (empty warning vs. soon empty warning)


Version 2.76 - 2023-07-10
-Added settings (settings menu added) to "Prefer crown soul gems" and "Prefer crown repai kits"
-Working on fix for "Only 1 item equipped -> does not get repaired". Caused by always checking the "head" item's "is slotted" and not the correct actual slot e.g. legs
-Fixed center screen messages for soulgems and repair kits missing/near empty

Version 2.75 - 2022-12-05
Fixed default settings variables not loading in some situations, which lead to errors with the minPercent sliders

Version 2.74 - 2022-10-30
-Updated API and version
-Fixed account wide settigs not loading/saving it's data properly (was still saved per character sometimes)

Version 2.73 - 2022-08-21
-Re-uploaded correct version where the settings menu does not throw an error upon changing percentage sliders

Version 2.72 - 2022-08-13
-Updated API
-Added upon request: setting to show the repair kits empty reminder as you interact with a vendor
-Fixed: More "are we dead" checks to overcome ZOs API which does not recognize we are dead fast enough. This hopefully should fix the disconnects
Many thanks to Busygeezus for all the feedback and testing!
-Fixed: Delayed charge/repair should work properly now, allthough a delay of 0 should be working fine


Version 2.71 - 2022-02-01
-Updated API
-Added more "IsPlayerDeath" checks
-Added more "IsCrownRepairKit" checks
-Fixed typo in en.lua, thanks to all mentioning it

Version 2.70
Added Italian translations, thanks to Dusty82
L'addon è perfettamente compatibile con la traduzione italiana degli Italian Scrolls Online.
Disponibile qui https://www.esoui.com/downloads/info2854-ItalianScrollsOnline-TraduzioneItaliana.html

Version 2.69
-Updated API version
-Updated French translation (thanks to @jakez31)

Version 2.68
-Fixed LAM settings checkbox for account wide settings to be saved server dependent
-> Please check your settings after updating to version 2.68 as this checkbox might be disabled!
-Fixed Cannot create LAM ... error message
-Fixed "this item is fully repaired" multiple messages


Version 2.67
-Tested on Markarth & Stonethorn
-Updated API and files
-Updated Russian translation (thanks to ivann339)
-Added speed up variables for settings
-Fixed slash commands and keybindings trying to access the non-loaded settings
-Fixed in combat repair/recharge
-Fixed event filters for recharge and repair not overwriting each other
-Added setting for "No crown store repair kits"
-Fixed: Crown store repair kits usage on 1 equipped item (will repair all then) instead of trying to use it as normal repair kit + checking other equipped items afterwards unnecessarily
-Fixed non-slotted items (2hd backup slot e.g.) -> No repair start anymore
-Fixed settings
-Added event filter on BAG_WORN for charge and repair checks
-Added setting to check weapon charge on weapon pair change + setting for only in combat

Version 2.66
-Updated API to Stonethorn
-Updated needed versions of dependencies
-Updated French translations (thanks to jakez31)

Version 2.65
-Removed LibStub hybrid call
-Added LibAddonMenu-2.0 Verison 28 or newer as dependency
-Fixed typo in event filter for charge change -> In combat charging did not work due to this

Version 2.64
-Removed additional debug messages

Version 2.63
-Updated API
-Removed debug messages

Version 2.62
-Updated API
-Added option: Recharge weapon during combat
-Added option: Repair armor during combat

Version 2.61
-Fixed chat commands /arc on and /arc off
-Fixed chat commands /arp on and /arp off
-Added the values an/aus and на/от to support German and Russian languages for the chat commands

Version 2.60
Removed: The needed libraries were removed from this addon and need to be installed seperately as standalone version: LibAddonMenu-2.0
Added: Chat output will not be shown anymore for empty soulgem/repair kits messages if you got 0 soulgems/repair kits and the setting to suppress the "nothing repaired/charged" is enabled.


Version 2.54
Fixed: The repair kits left icon was shown too far to the right when using the quickslot vendor from the crown store.
Updated: libAddonMenu r25
Updated: API

Version 2.51
Added single keybinds for "Repair" and "Recharge"

Version 2.41
Fixed typo

Version 2.4
-Api raise to Homestead
-Updated library LAM

Version 2.3
- Fixed lua error message
Version 2.2
- Added setting to switch to account wide settings (Thanks to Scootworks!)
- Added setting to show icon + repair kits left amount at a vendor's top-left corner
- Fixed bug where soul gems / repair kits amount was calculated false (always the total available sum was used
for single stacks of items, even if they were the same item like another stack)

Version 2.1
- New addon co-author: Baertram
- Updated Api version
- Updated libraries
- Added multi language support
- Added new settings (chat output, reminders for low repair kits/soul gems)
- Fixed some bugs
- Improved code where possible

Version 2.0.5

- Updated Api version to 100012

Version 2.0.4

- Added settings menu implementation by Baertram.

Version 2.0.3

- Fixed Off Hand slots not being checked for repair.

Version 2.0.2

- Renamed Readme.txt to README to prevent ESO detecting it as an addon

Version 2.0.1

- Fixed error attempting to enable / disable using slash commands.

Version 2.0.0

- Implemented Automatic amour repair
- Fixed potentially not searching all bag slots for items.

Version 1.0.7

- Fixed missing local definition in master weapon exclusion.

Version 1.0.6

- Added check of whether the player is dead before attempting to recharge.
- Added fixed Master weapon exclusion.

Version 1.0.5

- Increased settings version

Version 1.0.4

- Restored original settings variable name

Version 1.0.3

- Moved Readme and Licence into Recharge folder within zip for users who use Minion.

Version 1.0.2

- Disabled master weapons exclusion.

Version 1.0.1

- Added master weapons exclusion.

Version 0.0.6

- Added string trim to input to remove whitespace before attempting to parse a potentially numeric input

Version 0.0.5

- Enabled setting of a minimum charge percentage.

Version 0.0.4

- Initial Release
Optional Files (0)


Archived Files (37)
File Name
Version
Size
Uploader
Date
2.76
32kB
Baertram
07/10/23 09:37 AM
2.75
31kB
Baertram
12/04/22 05:27 PM
2.74
31kB
Baertram
10/30/22 12:05 PM
2.73
30kB
Baertram
08/21/22 05:34 AM
2.72
30kB
Baertram
08/13/22 09:15 AM
2.71
26kB
Baertram
02/01/22 05:10 AM
2.70
26kB
Baertram
03/30/21 09:08 AM
2.69
23kB
Baertram
03/28/21 01:05 PM
2.68
23kB
Baertram
11/23/20 05:48 AM
2.67
23kB
Baertram
10/17/20 01:04 PM
2.66
19kB
Baertram
09/19/20 09:04 AM
2.65
17kB
Baertram
03/21/20 08:41 PM
2.64
17kB
Baertram
02/26/20 04:08 AM
2.63
17kB
Baertram
02/24/20 05:14 PM
2.62
17kB
Baertram
02/23/20 07:12 PM
2.61
16kB
Baertram
06/18/19 06:55 AM
2.60
16kB
Baertram
05/31/19 10:39 AM
2.54
59kB
Baertram
01/27/18 08:23 PM
2.51
58kB
Baertram
09/07/17 02:28 PM
2.41
56kB
Baertram
07/04/17 01:49 PM
2.4
57kB
Baertram
02/06/17 02:34 PM
2.3
54kB
Baertram
11/21/16 03:46 PM
2.2
54kB
Baertram
11/20/16 01:56 PM
2.1
52kB
Baertram
11/12/16 02:52 PM
2.0.5
42kB
XanDDemoX
09/08/15 02:08 PM
2.0.4
42kB
XanDDemoX
08/12/15 03:04 PM
2.0.3
7kB
XanDDemoX
08/11/15 01:25 PM
2.0.2
6kB
XanDDemoX
05/23/15 01:07 AM
2.0.1
6kB
XanDDemoX
05/22/15 09:58 PM
1.0.7
5kB
XanDDemoX
05/20/15 09:41 PM
1.0.6
4kB
XanDDemoX
05/20/15 09:16 PM
1.0.5
4kB
XanDDemoX
05/18/15 10:41 PM
1.0.4
4kB
XanDDemoX
05/18/15 10:00 PM
1.0.3
4kB
XanDDemoX
05/18/15 08:10 PM
1.0.2
4kB
XanDDemoX
05/18/15 04:28 PM
0.0.6
4kB
XanDDemoX
05/18/15 02:12 PM
0.0.5
3kB
XanDDemoX
05/17/15 07:36 PM


Post A Reply Comment Options
Unread 05/22/15, 06:23 AM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Originally Posted by picard
Originally Posted by XanDDemoX
Originally Posted by picard
awesome work !!!!

would it be possible to make it also for repair armor with repair kits ?
Thanks Great idea! Even if I've already been having a look at repair kits
hello
any news on my request ?
Sorry your request is taking a little longer . I have the general mechanism implemented in a repository clone but I'm still working on effective use of kits

Edit: Just updated with this feature now. I decided to go with the same strategy as weapon recharging for now. Just remember to set your minimum percentage as the default is 0.
Last edited by XanDDemoX : 05/22/15 at 10:04 PM.
Report comment to moderator  
Reply With Quote
Unread 05/22/15, 05:28 AM  
picard

Forum posts: 10
File comments: 19
Uploads: 0
Originally Posted by XanDDemoX
Originally Posted by picard
awesome work !!!!

would it be possible to make it also for repair armor with repair kits ?
Thanks Great idea! Even if I've already been having a look at repair kits
hello
any news on my request ?
Report comment to moderator  
Reply With Quote
Unread 05/20/15, 07:31 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Re: Multiple recharges

Originally Posted by Sinful Soul
Had something interesting happening to me while using this add-on. I died basically at the same time it was the time to recharge the weapon, so this happened:



Did it just use multiple gems, or is there an internal wait before it tries to use it again?
The output would suggest that is what happened but the threshold should have prevented it . Sorry if it did There isn't currently an internal wait but that certainly sounds like a good potential solution

Edit: An alternative possibility is that it attempted to recharge multiple times because it failed to recharge your weapon as you were dead. Which should in theory have only spent one soul gem. I'll see if I can reproduce it and confirm

Edit 2: Just updated with a fix for this. Thanks Sinful Soul! This version also includes Master Weapons exclusion. Big thanks to Phinix for the info on ZO_LinkHandler_ParseLink and obtaining the ids for the Master Weapons!
Last edited by XanDDemoX : 05/20/15 at 10:19 PM.
Report comment to moderator  
Reply With Quote
Unread 05/20/15, 05:49 PM  
Sinful Soul

Forum posts: 1
File comments: 176
Uploads: 0
Multiple recharges

Had something interesting happening to me while using this add-on. I died basically at the same time it was the time to recharge the weapon, so this happened:



Did it just use multiple gems, or is there an internal wait before it tries to use it again?
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 09:41 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Originally Posted by Phinix
Seems to have stopped working for me after the last update...

Will have to take a look at the code when I have some time. Might have something to do with having just hit Veteran 1 and having only Grand soul gems in my bags.
You can check it by using the manual command /rc. If it doesn't recharge anything it will tell you the percentage remaining

Edit: Just seen the problem updating and facepalming now
Last edited by XanDDemoX : 05/18/15 at 10:44 PM.
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 09:28 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1783
Uploads: 32
Seems to have stopped working for me after the last update...

Will have to take a look at the code when I have some time. Might have something to do with having just hit Veteran 1 and having only Grand soul gems in my bags.
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 04:47 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Originally Posted by Phinix
Originally Posted by XanDDemoX
Ahh nice depending on the size in bits of the id it may have a considerably larger range than 0-99999

So I guess my assumption was still wrong How would you get to this Id from a bagId and slotIndex?
In my experience, every item ID in the game is 5 digits long.

As for looking them up, your method would work, but you would of course need to have the item in your inventory. You could also look up the itemID from a link using this:

Code:
local itemId = select(4, ZO_LinkHandler_ParseLink(itemLink))
I don't want to post my data mining code here because if everyone started using it, it could potentially lead to server performance degradation.
I can understand that

I'm pretty sure my method doesn't work as checking on random items in my inventory the ids are way out of the ranges your specifying

However I certainly missed the ZO_LinkHandler_ParseLink function so I'll have another look

Originally Posted by Phinix
BTW, I am loving the addon.
Thanks I'm glad you like it!
Last edited by XanDDemoX : 05/18/15 at 05:08 PM.
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 04:32 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1783
Uploads: 32
Originally Posted by XanDDemoX
Ahh nice depending on the size in bits of the id it may have a considerably larger range than 0-99999

So I guess my assumption was still wrong How would you get to this Id from a bagId and slotIndex?
In my experience, every item ID in the game is 5 digits long.

As for looking them up, your method would work, but you would of course need to have the item in your inventory. You could also look up the itemID from a link using this:

Code:
local itemId = select(4, ZO_LinkHandler_ParseLink(itemLink))
I don't want to post my data mining code here because if everyone started using it, it could potentially lead to server performance degradation.
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 04:14 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Originally Posted by Phinix
Originally Posted by XanDDemoX
Thanks! I had a feeling there maybe more I'll add these. Just as a sanity check are these ids from GetItemInstanceId(bagId,slotId) ?
Nope, they are from a custom script I wrote that lets me output a list of item ID's for an input item name. I can specify the range of ID's as well. I think every ID in the game falls between 30000 and 60000, but I do 0-99999 when I want to make sure I didn't miss any.
Ahh nice depending on the size in bits of the id it may have a considerably larger range than 0-99999

So I guess my assumption was still wrong How would you get to this Id from a bagId and slotIndex?

Edit: Just posted an update removing the previous. But hopefully this will fix the updating issue with minion.
Last edited by XanDDemoX : 05/18/15 at 04:32 PM.
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 03:52 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1783
Uploads: 32
Originally Posted by XanDDemoX
Thanks! I had a feeling there maybe more I'll add these. Just as a sanity check are these ids from GetItemInstanceId(bagId,slotId) ?
Nope, they are from a custom script I wrote that lets me output a list of item ID's for an input item name. I can specify the range of ID's as well. I think every ID in the game falls between 30000 and 60000, but I do 0-99999 when I want to make sure I didn't miss any.
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 03:50 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Originally Posted by Phinix
Updated list of Master ItemID's:

Code:
The Master's Bow
55937 Powered
55967 Charged
55973 Precise
55979 Infused
55985 Defending
55991 Sharpened
55997 Weighted

The Master's Dagger
55936 
55966 Charged
55972 Precise
55978 Infused
55984 Defending
55990 Sharpened
55996 Weighted

The Master's Inferno Staff
55938 Powered
55968 Charged
55974 Precise
55980 Infused
55986 Defending
55992 Sharpened
55998 Weighted

The Master's Ice Staff
57448 Charged
57449 Precise
57450 Infused
57451 Defending
57452 Sharpened
57453 Weighted

The Master's Restoration Staff
55939 Powered
55969 Charged
55975 Precise
55981 Infused
55987 Defending
55993 Sharpened
55999 Weighted

The Master's Lightning Staff
57454 Charged
57455 Precise
57456 Infused
57457 Defending
57458 Sharpened
57459 Weighted

The Master's Greatsword
55934 Powered
55964 Charged
55970 Precise
55976 Infused
55982 Defending
55988 Sharpened
55994 Weighted

The Master's Sword
55935 Powered
55965 Charged
55971 Precise
55977 Infused
55983 Defending
55989 Sharpened
55995 Weighted
The item ID's are the same for the v13 and v14 versions. Some don't have a "powered" trait version for some reason, but I data-mined these for all ItemID's between 0 and 99999.
Thanks! I had a feeling there maybe more I'll add these. Just as a sanity check are these ids from GetItemInstanceId(bagId,slotId) ?
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 03:46 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Originally Posted by Phinix
Originally Posted by XanDDemoX
Not come across them personally so I haven't tested with them

Any easy way to identify them in code?
Here ya go:

Code:
The Master's Bow				                ItemID: 55937
The Master's Dagger					ItemID: 55936
The Master's Inferno Staff				ItemID: 55938
The Master's Ice Staff					ItemID: 57448
The Master's Restoration Staff			ItemID: 55939
The Master's Lightning Staff				ItemID: 57454
The Master's Greatsword				ItemID: 55934
The Master's Sword					ItemID: 55935
BTW, I am loving the addon.
Thanks Phinix and QuadroTony . Just posted an update for this now let me know how you get on
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 03:44 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1783
Uploads: 32
Updated list of Master ItemID's:

Code:
The Master's Bow
55937 Powered
55967 Charged
55973 Precise
55979 Infused
55985 Defending
55991 Sharpened
55997 Weighted

The Master's Dagger
55936 
55966 Charged
55972 Precise
55978 Infused
55984 Defending
55990 Sharpened
55996 Weighted

The Master's Inferno Staff
55938 Powered
55968 Charged
55974 Precise
55980 Infused
55986 Defending
55992 Sharpened
55998 Weighted

The Master's Ice Staff
57448 Charged
57449 Precise
57450 Infused
57451 Defending
57452 Sharpened
57453 Weighted

The Master's Restoration Staff
55939 Powered
55969 Charged
55975 Precise
55981 Infused
55987 Defending
55993 Sharpened
55999 Weighted

The Master's Lightning Staff
57454 Charged
57455 Precise
57456 Infused
57457 Defending
57458 Sharpened
57459 Weighted

The Master's Greatsword
55934 Powered
55964 Charged
55970 Precise
55976 Infused
55982 Defending
55988 Sharpened
55994 Weighted

The Master's Sword
55935 Powered
55965 Charged
55971 Precise
55977 Infused
55983 Defending
55989 Sharpened
55995 Weighted
The item ID's are the same for the v13 and v14 versions. Some don't have a "powered" trait version for some reason, but I data-mined these for all ItemID's between 0 and 99999.
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 02:57 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
Originally Posted by Phinix
Originally Posted by XanDDemoX
Not come across them personally so I haven't tested with them

Any easy way to identify them in code?
Here ya go:

Code:
The Master's Bow					ItemID: 55937
The Master's Dagger					ItemID: 55936
The Master's Inferno Staff				ItemID: 55938
The Master's Ice Staff					ItemID: 57448
The Master's Restoration Staff				ItemID: 55939
The Master's Lightning Staff				ItemID: 57454
The Master's Greatsword					ItemID: 55934
The Master's Sword					ItemID: 55935
BTW, I am loving the addon.
addition
afaik they can be 13 or 14 vr only
and purple or gold quality only
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 02:57 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Re: Minion

Originally Posted by Sinful Soul
For some reason Minion isn't picking up the updates for the addon. Maybe it's those 2 files outside the folder in the .rar? I had to manually update the last 2 updates.
It seems ok with the two files outside the zip in Faster Travel. I think it might be the version number, I'll up it to 1.x.x next update see if that fixes it
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.