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:129
Total downloads:17,182
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 06/28/20, 09:38 AM  
AlcuZan

Forum posts: 0
File comments: 7
Uploads: 0
Re: Re: Re: UI Error

Hi there, I'd like to report a bug. I have the "Auto Eat" feature disabled, but when my buff food runs out, the addon starts spamming the chat with this message: "ZOS says I can't CallSecureProtected, they say false". It disappears once I eat another buff food, but this is very annoying. Is this a known bug?
Report comment to moderator  
Reply With Quote
Unread 03/11/20, 10:54 AM  
bluepitbull13
 
bluepitbull13's Avatar

Forum posts: 4
File comments: 84
Uploads: 0
Re: Re: UI Error

Originally Posted by Jodynn
It looks like it's failing to find LIB_FOOD_DRINK_BUFF, which is LibFoodDrinkBuff, try deleting the lib and reinstalling it, perhaps that will fix it? I'm not hitting the issue personally when I play so I'm not sure as to why it is doing this.
That was it! Thank you
Report comment to moderator  
Reply With Quote
Unread 03/11/20, 07:57 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Re: UI Error

Originally Posted by bluepitbull13
Hello, I wanted to try your addon again but received this message



(lots of <Locals> self = ####### </Locals> that I dismissed)

and this is how it looks like in game, doesn't detect my armor and weapons



I have disabled all my addons and only have Auto and LibFoodDrinkBuff enabled, just in case there's a conflict but I still have this issue. Could I be doing something wrong?
It looks like it's failing to find LIB_FOOD_DRINK_BUFF, which is LibFoodDrinkBuff, try deleting the lib and reinstalling it, perhaps that will fix it? I'm not hitting the issue personally when I play so I'm not sure as to why it is doing this.
Report comment to moderator  
Reply With Quote
Unread 02/29/20, 03:03 PM  
bluepitbull13
 
bluepitbull13's Avatar

Forum posts: 4
File comments: 84
Uploads: 0
UI Error

Hello, I wanted to try your addon again but received this message



(lots of <Locals> self = ####### </Locals> that I dismissed)

and this is how it looks like in game, doesn't detect my armor and weapons



I have disabled all my addons and only have Auto and LibFoodDrinkBuff enabled, just in case there's a conflict but I still have this issue. Could I be doing something wrong?
Report comment to moderator  
Reply With Quote
Unread 11/22/19, 05:13 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by zelenin
Unbundle LibFoodDrinkBuff in favor of separate version.
oh snap I thought I already did that, thank you will update.
Report comment to moderator  
Reply With Quote
Unread 11/02/19, 03:55 PM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
Unbundle LibFoodDrinkBuff in favor of separate version.
Report comment to moderator  
Reply With Quote
Unread 09/25/19, 12:22 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by ranianIW
I cannot add my Blue drinks to the PVP auto use, only to non PVP. How can I use blue drinks all the time please?
That's really weird you can't add drinks to it...
Perhaps the "Auto_LAM.controlsToRefresh[6]" isn't changing...

I will test and let you know!
Report comment to moderator  
Reply With Quote
Unread 09/21/19, 02:36 AM  
ranianIW

Forum posts: 0
File comments: 1
Uploads: 0
I cannot add my Blue drinks to the PVP auto use, only to non PVP. How can I use blue drinks all the time please?
Report comment to moderator  
Reply With Quote
Unread 05/23/19, 05:46 PM  
kermudgen

Forum posts: 2
File comments: 40
Uploads: 0
thanks a ton. working well now.

Originally Posted by Jodynn
Originally Posted by Jodynn
Originally Posted by kermudgen
TooltipControl: Attempt to set invalid or malformed link.


I keep getting this UI error anytime i open the bank or my inventory.
I'll check it out, I haven't gotten this yet, thank you for letting me know, can you give me the exact trace information it shows?
ah i got it, fixed. thank you
Report comment to moderator  
Reply With Quote
Unread 05/23/19, 12:54 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by Jodynn
Originally Posted by kermudgen
TooltipControl: Attempt to set invalid or malformed link.


I keep getting this UI error anytime i open the bank or my inventory.
I'll check it out, I haven't gotten this yet, thank you for letting me know, can you give me the exact trace information it shows?
ah i got it, fixed. thank you
Report comment to moderator  
Reply With Quote
Unread 05/23/19, 05:47 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by kermudgen
TooltipControl: Attempt to set invalid or malformed link.


I keep getting this UI error anytime i open the bank or my inventory.
I'll check it out, I haven't gotten this yet, thank you for letting me know, can you give me the exact trace information it shows?
Report comment to moderator  
Reply With Quote
Unread 05/23/19, 05:46 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by Baertram
Afaik there is no eat function available as it is simply an item which ius usable. It should be usable in combat if youa re able to use it from your inventory during combat. If this does not work I'd raise a bug ingame via /bug.
Food somehow is different and maybe only usable from a quickslot during combat.
The reason you can't eat during combat via an addon is it is a protected function, correct there is no eat food, I searched everywhere and tried a few hacky things and eventually decided it's not worth it because A.) it could kill you in combat because it resets your health to what it is without food, and B.) I never run out food during a fight because a 10 minute warning is good enough for me, fights never last longer than 10 minutes for me unless it's like vAS+2/vCR+3 progression or something.

Thank you for your comment
Report comment to moderator  
Reply With Quote
Unread 05/19/19, 05:57 PM  
kermudgen

Forum posts: 2
File comments: 40
Uploads: 0
TooltipControl: Attempt to set invalid or malformed link.


I keep getting this UI error anytime i open the bank or my inventory.
Report comment to moderator  
Reply With Quote
Unread 05/18/19, 04:02 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4962
File comments: 6032
Uploads: 78
( 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
Afaik there is no eat function available as it is simply an item which ius usable. It should be usable in combat if youa re able to use it from your inventory during combat. If this does not work I'd raise a bug ingame via /bug.
Food somehow is different and maybe only usable from a quickslot during combat.
Report comment to moderator  
Reply With Quote
Unread 05/18/19, 02:31 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Re: folder?

Originally Posted by Tonyleila
Thank you for the update!. You however forgot to put the addon into a folder! Please update again
Fixed
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.