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:154
Total downloads:17,241
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 12/05/18, 08:42 AM  
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 zelenin
I made new food but dropdown has not been updated in settings (0.4.1).
Hmm... I think the bag hasn't parsed yet for some reason, I recently traded with a friend and it didn't update, but the next time my bag sent an update it was there, I have an idea why, thank you for letting me know!
Sorry for not updating been super busy, will try to get to it tonight X_X
Report comment to moderator  
Reply With Quote
Unread 11/30/18, 12:02 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by zelenin
I made new food but dropdown has not been updated in settings (0.4.1).
Hmm... I think the bag hasn't parsed yet for some reason, I recently traded with a friend and it didn't update, but the next time my bag sent an update it was there, I have an idea why, thank you for letting me know!
Report comment to moderator  
Reply With Quote
Unread 11/29/18, 08:54 PM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
I made new food but dropdown has not been updated in settings (0.4.1).
Report comment to moderator  
Reply With Quote
Unread 11/26/18, 08:34 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
[quote=zelenin]
Originally Posted by Jodynn
Originally Posted by zelenin
2. In other char settings? Implying a diff char? The settings are currently user, not account-wide, and also if you were to use the same food setting account wide, that would be a bit interesting to try considering you'd have to have the same food and also the bag/slot id but i think i already handle the latter case... I'll play around with it.
Oh, I checked and it's a message from other addon. Sorry. I thought that I turned off it.
Auto is the best. Thanks for this work.
:O Thank you so much!
Report comment to moderator  
Reply With Quote
Unread 11/26/18, 12:15 AM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
[quote=Jodynn]
Originally Posted by zelenin
2. In other char settings? Implying a diff char? The settings are currently user, not account-wide, and also if you were to use the same food setting account wide, that would be a bit interesting to try considering you'd have to have the same food and also the bag/slot id but i think i already handle the latter case... I'll play around with it.
Oh, I checked and it's a message from other addon. Sorry. I thought that I turned off it.
Auto is the best. Thanks for this work.
Last edited by zelenin : 11/26/18 at 12:19 AM.
Report comment to moderator  
Reply With Quote
Unread 11/25/18, 02:08 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by zelenin
1. Dropdown is not update after buying a food in settings.
2. I see in chat the message about zero selected food but this food I selected in other character settings.
1. That's something I've been looking into, I have to update the settings list manually, shouldn't be too difficult tbh, thanks for reminding me

2. In other char settings? Implying a diff char? The settings are currently user, not account-wide, and also if you were to use the same food setting account wide, that would be a bit interesting to try considering you'd have to have the same food and also the bag/slot id but i think i already handle the latter case... I'll play around with it.

If you are meaning something else please let me know :O.

Thanks for your continued feedback!!
Report comment to moderator  
Reply With Quote
Unread 11/25/18, 08:36 AM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
Originally Posted by Jodynn
Originally Posted by Jodynn
Originally Posted by zelenin
true is trigger an error in line 415.

Code:
Auto.LogThis ( "You need to selected a type of food before you starve and die." , true)
Code:
user:/AddOns/Auto/Auto.lua:146: operator .. is not supported for boolean .. string
stack traceback:
user:/AddOns/Auto/Auto.lua:146: in function 'getMessage'
|caaaaaa<Locals> str = true, color = "55ffff" </Locals>|r
user:/AddOns/Auto/Auto.lua:150: in function 'Auto:LogThis'
|caaaaaa<Locals> self = "You need to selected a type...", message = true </Locals>|r
user:/AddOns/Auto/Auto.lua:415: in function 'Auto:EatFood'
|caaaaaa<Locals> self = tbl </Locals>|r
Silly mistake on my part thanks for finding iit!! Will fix now!
Let me know if v.031 fixes it
Yes but..
1. Dropdown is not update after buying a food in settings.
2. I see in chat the message about zero selected food but this food I selected in other character settings.
Report comment to moderator  
Reply With Quote
Unread 11/24/18, 11:10 AM  
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 zelenin
true is trigger an error in line 415.

Code:
Auto.LogThis ( "You need to selected a type of food before you starve and die." , true)
Code:
user:/AddOns/Auto/Auto.lua:146: operator .. is not supported for boolean .. string
stack traceback:
user:/AddOns/Auto/Auto.lua:146: in function 'getMessage'
|caaaaaa<Locals> str = true, color = "55ffff" </Locals>|r
user:/AddOns/Auto/Auto.lua:150: in function 'Auto:LogThis'
|caaaaaa<Locals> self = "You need to selected a type...", message = true </Locals>|r
user:/AddOns/Auto/Auto.lua:415: in function 'Auto:EatFood'
|caaaaaa<Locals> self = tbl </Locals>|r
Silly mistake on my part thanks for finding iit!! Will fix now!
Let me know if v.031 fixes it
Report comment to moderator  
Reply With Quote
Unread 11/24/18, 09:47 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by zelenin
true is trigger an error in line 415.

Code:
Auto.LogThis ( "You need to selected a type of food before you starve and die." , true)
Code:
user:/AddOns/Auto/Auto.lua:146: operator .. is not supported for boolean .. string
stack traceback:
user:/AddOns/Auto/Auto.lua:146: in function 'getMessage'
|caaaaaa<Locals> str = true, color = "55ffff" </Locals>|r
user:/AddOns/Auto/Auto.lua:150: in function 'Auto:LogThis'
|caaaaaa<Locals> self = "You need to selected a type...", message = true </Locals>|r
user:/AddOns/Auto/Auto.lua:415: in function 'Auto:EatFood'
|caaaaaa<Locals> self = tbl </Locals>|r
Silly mistake on my part thanks for finding iit!! Will fix now!
Report comment to moderator  
Reply With Quote
Unread 11/24/18, 06:27 AM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
true is trigger an error in line 415.

Code:
Auto.LogThis ( "You need to selected a type of food before you starve and die." , true)
Code:
user:/AddOns/Auto/Auto.lua:146: operator .. is not supported for boolean .. string
stack traceback:
user:/AddOns/Auto/Auto.lua:146: in function 'getMessage'
|caaaaaa<Locals> str = true, color = "55ffff" </Locals>|r
user:/AddOns/Auto/Auto.lua:150: in function 'Auto:LogThis'
|caaaaaa<Locals> self = "You need to selected a type...", message = true </Locals>|r
user:/AddOns/Auto/Auto.lua:415: in function 'Auto:EatFood'
|caaaaaa<Locals> self = tbl </Locals>|r
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
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: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, 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, 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
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.