Download
(15 Kb)
Download
Updated: 11/14/20 08:40 AM
Pictures
File Info
Compatibility:
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:11/14/20 08:40 AM
Created:11/11/18 03:15 PM
Monthly downloads:117
Total downloads:17,092
Favorites:25
MD5:
Auto Eat, Recharge, Repair  Popular! (More than 5000 hits)
Version: 1.1
by: Jodynn [More]
Auto

What does it do?

- Eats food automatically once you set it in the settings, this will NOT work in combat unfortunately due to it using a protected function ( which I can't do in combat with UseItem for some reason ). I looked high and low for it to no avail for an eat function, not giving up, I have about 3 more ideas to test.

- Repairs armor with kits automatically for you once they hit a certain threshold you set, this works in combat WHEN the durability updates which is the same for when ESO will calculate the combat difference.
Also repairs if you change armor that is below threshold

- Auto charges your weapons once they hit a certain threshold you set, this works when charged are changed ( i.e. you smacks something that has an enchant or your weapon abilities proc it ).
Also charges if you change weapons that is below threshold


What else, UI?

- Gives you a HUD to show your resources ( gems, repair kits, food you have selected )
- Gives you a HUD to show you your armor conditions
- Gives you a HUD to show you your charges
- Each have icons you can hover over to get a tooltip of the actual item
- You can move it
- Hides if not in hud/hudui scene, unless you are changing a setting that requires you to see them, then it will show you so you can make sure you get it just the way you want.
- You can resize the icons in the settings which will auto fit the font
- You can set the alpha of the background
- You can group them, or separate each thing ( resources, durability, and charges ), and you can remove any and all from view.


What about chat window logging?
- Off by default but there is a setting that will tell you when you are going to eat food, need to select a food, repair and charge.



Donation Link


https://www.paypal.com/pools/c/8a80aoQpa4
v1.1
Clean up linkdropdown and remove annoying ZOS message.

v1.0
version bump

v0.62
Remove static lib, now you must install it ( LibFoodDrinkBuff ).

v0.61
Fix tooltip error

v0.6
Add PvP food

v0.5.2
Fix LAM2 error

v0.5.1
Check if we have initialized before processing events.

v0.5
Fixed bug if you didn't have settings loaded when you load settings and didn't parse the bag again you couldn't choose the food in your bag until it parsed again... basically it should always show now in the dropdown.
Checks IF I can call the SecureProtected Function and if not it will tell you ZOS says no >_>, currently there is absolutely no way I can get around this.

v0.41
Actually make the ui better this time.

v0.4
Update food choices whenever your bag changes
If you no longer have your selected food choice give you a warning
Instead of ticking every 1s tick every 10s to avoid many, many messages
Actually send an error message not just true
Make the window look cleaner

v0.32
Turns out you can't eat while swimming

v0.31
Repair/charge on reincarnate instead of alive
Fix weird log error with food.

v0.3
- Don't show if not hud(ui) scene
- You can set alpha for hud
- Setting for minutes is minutes now, not seconds
- There is now a setting for logging, unlike before
- Changed log messages to not look like default tell
- Don't try repair/eat/charge if we aren't currently allowed to use the item ( example bank scene )
- Fix font being stupid

v0.2
Food fix -> If you are combat, stop telling me you are going to eat because you can't eat while in combat, well, the player can, but I can't call this protected function in combat.

Repair fix -> Repair shields, don't just show them
-> Update when you change your equipment
-> Hide unequipped nodes
-> Update item condition when you die, this is a frivalious call that will probably never need to happen, will probably be removed next version because it should happen with a durability update.

Clarification on combat repairing and a crash you may have seen in v0.1 or other add-ons with similar functionality.

The bug is related to trying to repair while durability is changing and the durability is being updated by multiple sources thus resulting in a crash because two informations are no longer synced I'm assuming it hits an assert of some kind somewhere, but anyways, the solution is to simply wait for the code to finish executing, which while isn't a solution for most threading issues, this should suffice for this simple case, especially since I'm giving it a time out, it can only call the function x amount of times per interval, so if it tries through whatever other method, it won't spam it, only one event will go through, which, will be the event you actually WANT to go through.

We only get durability updates whenever a unit's state changes, whether this is the player's or an enemy dying or reviving or in combat or out of combat, it seems to happen on any of these events.

Not only is the event not sent, but the item condition is not updated for the item until such an event occurs, however, this does mean it CAN repair in combat, you just need to make a unit change it's state, what all states you ask? I have no idea, I need to do more research, but for the time being this is what I know.

On the flip-side enchants seem to work flawlessly 8D.

Next update will consist of UI updates and pvp/pve food choices.
Optional Files (0)


Archived Files (14)
File Name
Version
Size
Uploader
Date
1.0
473kB
Jodynn
02/29/20 08:44 AM
0.62
460kB
Jodynn
11/22/19 05:30 PM
0.61
434kB
Jodynn
05/23/19 12:55 PM
0.6
422kB
Jodynn
05/18/19 02:20 PM
0.5.2
401kB
Jodynn
05/17/19 05:51 PM
0.5.1
375kB
Jodynn
02/25/19 09:40 AM
0.5.1
375kB
Jodynn
12/06/18 01:42 PM
0.5
363kB
Jodynn
12/05/18 05:14 PM
0.41
327kB
Jodynn
11/25/18 03:36 PM
0.4
305kB
Jodynn
11/25/18 03:26 PM
0.32
281kB
Jodynn
11/24/18 02:51 PM
0.31
258kB
Jodynn
11/24/18 11:09 AM
0.31
199kB
Jodynn
11/13/18 02:39 AM
0.1
176kB
Jodynn
11/11/18 03:15 PM


Post A Reply Comment Options
Unread 11/11/18, 03:29 PM  
Marazota
AddOn Author - Click to view AddOns

Forum posts: 257
File comments: 1517
Uploads: 2
great! im using auto recharge addon but it repair gear only when combat mode changing ie combat in/out
and author of that addon said its designed this way and will not change

so this addon, instead, will just repair no matter what, at certain threshold? no need to be in combat or out of combat?
Report comment to moderator  
Reply With Quote
Unread 11/11/18, 11:46 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
This looks cool! Will try it out tonight! Waiting for the answer if it can recharge infight (and if yes if the bug that crashes the game where the addon trys to recharge 2 items at once because they have the same percentage is also a problem with this addon?)

Also woud be nice to way to tell the addon what food to eat in what zone. Like always eat food X everywhere but when you go in trail eat food Y and when you go in a pvp zone eat food Z?
Report comment to moderator  
Reply With Quote
Unread 11/12/18, 10:24 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by Tonyleila
This looks cool! Will try it out tonight! Waiting for the answer if it can recharge infight (and if yes if the bug that crashes the game where the addon trys to recharge 2 items at once because they have the same percentage is also a problem with this addon?)
Originally Posted by Marazota
so this addon, instead, will just repair no matter what, at certain threshold? no need to be in combat or out of combat?
Also woud be nice to way to tell the addon what food to eat in what zone. Like always eat food X everywhere but when you go in trail eat food Y and when you go in a pvp zone eat food Z?
It will recharge mid fight. I'm not sure what bug you are referring to but I have not yet hit such a bug and I use DW infused and Bow infused and I'm pretty sure I've seen them charge close together, it doesn't try to charge at the same time it loops over what needs to be charged and makes sure you have a soul gem so maybe that's why that bug exists? I'm not sure if you see it in the addon please let me know and link any information you can!

AFAIK it can repair during a fight I'm 90% sure I tested that, you don't get durability event updates but I check for updates intermittently anyways, low processing and optimized no worries .

Next update will have even more optimizations for sure.

Yes there is def a way to do that for the pvp food thing, I can check if you are in a pvp zone and have an option to eat that instead, furthurmore I can add a setting to override your current food so let's say you are using dub cam in pve then in pvp you want withered tree roast ( this is actually what I use pretty commonly lol ).

If you currently have dub cam active and you enter a pvp zone it will automatically eat the withered tree for you, IF the setting is true, likewise for pve there will be a setting, and IF you have the dungeon setting enabled it will only override the food IN a dungeon. Does that sound like what you want?

Also, if you use discord I have this server you can comment on, request, post screenshots whatever and look at my addons, each has a text channel for each addon I'm currently implementing or maybe in the future would like to do.

https://discord.gg/6CYYcjK

Thanks for the quick feedback both of you and hope you enjoy!!
Report comment to moderator  
Reply With Quote
Unread 11/12/18, 01:35 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
Originally Posted by Jodynn
It will recharge mid fight. I'm not sure what bug you are referring to but I have not yet hit such a bug and I use DW infused and Bow infused and I'm pretty sure I've seen them charge close together, it doesn't try to charge at the same time it loops over what needs to be charged and makes sure you have a soul gem so maybe that's why that bug exists? I'm not sure if you see it in the addon please let me know and link any information you can!
Sorry I was not talking about recharge but about repair, like when 2 items drop to same percentage and addon tryes to repair both at same time my char woud get invisible and i went offline (coud still run around) this was very rare bug in Kyoma's Repair 'n Recharge as well as another addon that recharged infight. (however is so annoying that it can crash you flawless vMA run). I came to the idea that this happend because there always was the chat massage where it tryes to repair 2 items at once when I got this crashes, others had the problem too as you can see. Never found out how to fix it. My only idea woud be letting the addon check to be shure there is a cooldown between recharging so it can only recharge 1 item per sec or so.



If you currently have dub cam active and you enter a pvp zone it will automatically eat the withered tree for you, IF the setting is true, likewise for pve there will be a setting, and IF you have the dungeon setting enabled it will only override the food IN a dungeon. Does that sound like what you want?
Exactly what I'm looking for! Maybe there shoud be an option/button in the window to enable/disable this?
Just in case I don't want golden food to be overwritten.
Also question to this will it only check once at the enter of the dungeon? What happens if I manually switch food in there will it overwrite it instantly again?

I noticed this bug when using the small icon mode they get big sometimes after a loading screen or so (not shure what exatly causes this but it happens realy often)
Last edited by Tonyleila : 11/12/18 at 01:41 PM.
Report comment to moderator  
Reply With Quote
Unread 11/12/18, 02:20 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by Tonyleila
Originally Posted by Jodynn
It will recharge mid fight. I'm not sure what bug you are referring to but I have not yet hit such a bug and I use DW infused and Bow infused and I'm pretty sure I've seen them charge close together, it doesn't try to charge at the same time it loops over what needs to be charged and makes sure you have a soul gem so maybe that's why that bug exists? I'm not sure if you see it in the addon please let me know and link any information you can!
Sorry I was not talking about recharge but about repair, like when 2 items drop to same percentage and addon tryes to repair both at same time my char woud get invisible and i went offline (coud still run around) this was very rare bug in Kyoma's Repair 'n Recharge as well as another addon that recharged infight. (however is so annoying that it can crash you flawless vMA run). I came to the idea that this happend because there always was the chat massage where it tryes to repair 2 items at once when I got this crashes, others had the problem too as you can see. Never found out how to fix it. My only idea woud be letting the addon check to be shure there is a cooldown between recharging so it can only recharge 1 item per sec or so.
I mean I made mine repair all of mine at the same time via change the repair threshold to 99 and it seemed to work just fine, you can check it for me by getting in combat if and doing the same thing if you don't care to waste a few repair kits.

Exactly what I'm looking for! Maybe there shoud be an option/button in the window to enable/disable this?
Just in case I don't want golden food to be overwritten.
Also question to this will it only check once at the enter of the dungeon? What happens if I manually switch food in there will it overwrite it instantly again?
Yeah, I'm not too keen on the override option to begin with, I don't like the thought of it wasting someones food especially if it's golden, maybe put a warning or a prompt if it's golden food I'm not sure, I will do some thinking on it... However I WILL add a feature to include different pve and pvp foods, you may just have to eat it the first time, idk, I keep going back and forth if it should override... ugh idk lol, let me think about it some more, that's just dangerous to me.
I guess the option makes sense though... but I'm thinking what about if you don't have dungeons turned on and then you do a BG you enter a pvp area then leave you keep eating food every time you return to the pve area, I guess I could make the override exclusive to dungeon anyways always so it wouldn't override your food in those situations.

As far as the overriding currently it will NOT override your food until the threshold is met, so if you say eat something once 5 minutes up it will eat when you have 5 minutes left with the food you have selected in your option menu.

I noticed this bug when using the small icon mode they get big sometimes after a loading screen or so (not shure what exatly causes this but it happens realy often)
Ah that looks dumb, I will check it out when I get home, can you tell me exactly what your setting for iconSize is?
Report comment to moderator  
Reply With Quote
Unread 11/12/18, 06:10 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
I mean I made mine repair all of mine at the same time via change the repair threshold to 99 and it seemed to work just fine, you can check it for me by getting in combat if and doing the same thing if you don't care to waste a few repair kits.
Tested and confirmed to be bugged I let 2 snakes kill myself while 2 items were 98%. I set the addon to repair at 97%. crashed my game. The chat was spammed like 10x with the 3 items it was trying to recharge. I hope you can reproduce and fix this because if not the addon is unusable for me

(if you test this make shure to get 2x killed PLUS getting some dmg on the gear by getting hit by mobs)



- put a prompt if it's golden food
- make the override exclusive to dungeon/pvp anyways always so it wouldn't override your food in those situations.
That sounds like 2 good ideas



Originally Posted by Jodynn
Ah that looks dumb, I will check it out when I get home, can you tell me exactly what your setting for iconSize is?
16, it looks like this normaly like in the screenshot I posted of the crash (I somehow like that it only shows 10 instead of 100 so I thought that is intendet to make the size smaller since you can still see its 100 because its green?) If I make the icons smaller then 22 the numbers reduce to max 2 digits.

BTW coud you:
1. add an option to hide the background?
2. hide the window when you open any menu
3. Make some settings accountwide (like size, rechage threshold, etc) ofc the food chosen shoud be per char.
Last edited by Tonyleila : 11/12/18 at 07:14 PM.
Report comment to moderator  
Reply With Quote
Unread 11/12/18, 07:57 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by Tonyleila
Tested and confirmed to be bugged I let 2 snakes kill myself while 2 items were 98%. I set the addon to repair at 97%. crashed my game. The chat was spammed like 10x with the 3 items it was trying to recharge. I hope you can reproduce and fix this because if not the addon is unusable for me
I will address the other things later I think I understand what is happening here.

For me, I can see it trying to repair the thing multiple times however it succeeds in repairing everything and doesn't crash, I think I can fix this easily, give me some time currently helping a friend out, but I will def fix this, no question about it, if it's possible I will def do it.

I'm very sorry for the crashes D8
Report comment to moderator  
Reply With Quote
Unread 11/13/18, 02:43 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Smile Repair bug should be fixed now!

Please try out the latest version (V0.2) and let me know if you are still seeing the issue, I tried several different cases including repairing all of the armor in combat through multiple scenarios ( that's every single piece ), repairing several different pieces in different instances while staying in combat but killing specific targets but being careful not to kill all the targets, but then also later killing all the targets and it also repaired fine.

Another test which is what i think you would have seen and how I reproduced the crash was by dying and it trying to repair, which I have tested on multiple, single pieces, etc.

You can't repair when you are dead so it won't repair but the UI will update to the new percentages now, and also, when you revive or port to wayshrine it will then repair your armor IF it needs to be repaired.

Let me know if you have anymore issues and very sorry for the crashes.
Report comment to moderator  
Reply With Quote
Unread 11/13/18, 12:00 PM  
Molleggiato

Forum posts: 6
File comments: 53
Uploads: 0
does it charge weap in combat?
Report comment to moderator  
Reply With Quote
Unread 11/13/18, 03:30 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by Molleggiato
does it charge weap in combat?
Yes.
Report comment to moderator  
Reply With Quote
Unread 11/13/18, 05:25 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
Had not time to test if the bug is gone now but I noticed this problem. I guess it shoud just count soulgems together into 1
Report comment to moderator  
Reply With Quote
Unread 11/13/18, 05:58 PM  
manwoodsal

Forum posts: 0
File comments: 115
Uploads: 0
maybe add

Maybe could add auto repair when talking to a vendor? And only use the kits when getting down low?
Report comment to moderator  
Reply With Quote
Unread 11/13/18, 06:10 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
Re: maybe add

Originally Posted by manwoodsal
Maybe could add auto repair when talking to a vendor? And only use the kits when getting down low?
Its cheaper to use ther kits in any case and there are many addons that do this already
Report comment to moderator  
Reply With Quote
Unread 11/13/18, 06:47 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by Tonyleila
Had not time to test if the bug is gone now but I noticed this problem. I guess it shoud just count soulgems together into 1
Ah man I totally forgot I added that there, that was in an EARLY prototype, I never ever have crown soul gems so I never tested it lol, thanks for reminding me yeah I'll probably just add them in, good idea. Thanks for letting me know!
Report comment to moderator  
Reply With Quote
Unread 11/13/18, 06:49 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Re: Re: maybe add

Originally Posted by Tonyleila
Originally Posted by manwoodsal
Maybe could add auto repair when talking to a vendor? And only use the kits when getting down low?
Its cheaper to use ther kits in any case and there are many addons that do this already
I appreciate the suggestion but that's not the intended purpose of the add-on, please feel free to recommend more things though!
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.