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,183
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 05/18/19, 06:41 AM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
folder?

Thank you for the update!. You however forgot to put the addon into a folder! Please update again
Report comment to moderator  
Reply With Quote
Unread 05/17/19, 05:51 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Re: Re: Re: Error in LAM2

Originally Posted by Jodynn
Originally Posted by Dingodan
Originally Posted by Tonyleila
Hi! I get this error when I open the addon settings:

Code:
user:/AddOns/Auto/Auto.lua:1101: function expected instead of nil
stack traceback:
user:/AddOns/Auto/Auto.lua:1101: in function '(anonymous)'
[C]: in function 'SetHidden'
user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:1004: in function 'addonListRow_Select'
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:1497: in function 'ZO_ScrollList_SelectData'
user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:986: in function 'addonListRow_OnMouseDown'
Same error on my side.
Should be fixed, next update for 0.6 includes PvP sep food, will post soon, thank you.
Will look into, thank you and sorry
Report comment to moderator  
Reply With Quote
Unread 05/17/19, 05:36 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Re: Re: Error in LAM2

Originally Posted by Dingodan
Originally Posted by Tonyleila
Hi! I get this error when I open the addon settings:

Code:
user:/AddOns/Auto/Auto.lua:1101: function expected instead of nil
stack traceback:
user:/AddOns/Auto/Auto.lua:1101: in function '(anonymous)'
[C]: in function 'SetHidden'
user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:1004: in function 'addonListRow_Select'
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:1497: in function 'ZO_ScrollList_SelectData'
user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:986: in function 'addonListRow_OnMouseDown'
Same error on my side.
Will look into, thank you and sorry
Report comment to moderator  
Reply With Quote
Unread 05/09/19, 04:27 AM  
Dingodan
 
Dingodan's Avatar

Forum posts: 50
File comments: 276
Uploads: 0
Re: Error in LAM2

Originally Posted by Tonyleila
Hi! I get this error when I open the addon settings:

Code:
user:/AddOns/Auto/Auto.lua:1101: function expected instead of nil
stack traceback:
user:/AddOns/Auto/Auto.lua:1101: in function '(anonymous)'
[C]: in function 'SetHidden'
user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:1004: in function 'addonListRow_Select'
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:1497: in function 'ZO_ScrollList_SelectData'
user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:986: in function 'addonListRow_OnMouseDown'
Same error on my side.
Report comment to moderator  
Reply With Quote
Unread 05/05/19, 03:58 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
Error in LAM2

Hi! I get this error when I open the addon settings:

Code:
user:/AddOns/Auto/Auto.lua:1101: function expected instead of nil
stack traceback:
user:/AddOns/Auto/Auto.lua:1101: in function '(anonymous)'
[C]: in function 'SetHidden'
user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:1004: in function 'addonListRow_Select'
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:1497: in function 'ZO_ScrollList_SelectData'
user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:986: in function 'addonListRow_OnMouseDown'
Report comment to moderator  
Reply With Quote
Unread 03/12/19, 12:11 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Re: Request

Originally Posted by bluepitbull13
I was wondering if you could add an option to auto-repair when accessing a npc vendor/merchant? sometimes during a AFK break in a trial it's convenient to port back to the entrance to clear inventory and do a repair at the vendor.
I will look into it
Report comment to moderator  
Reply With Quote
Unread 03/10/19, 04:53 PM  
bluepitbull13
 
bluepitbull13's Avatar

Forum posts: 4
File comments: 84
Uploads: 0
Request

I was wondering if you could add an option to auto-repair when accessing a npc vendor/merchant? sometimes during a AFK break in a trial it's convenient to port back to the entrance to clear inventory and do a repair at the vendor.
Report comment to moderator  
Reply With Quote
Unread 12/21/18, 10:18 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by zelenin
- sometimes food is not consumed when there is no effect from other food. I must consume it manually.

- maybe instead of checkbox "Dungeon only" make two dropdowns with food? It will be useful for me. I change it manually now.
That's interesting, I know sometimes it won't eat food if you are doing x thing like fishing, dying your clothes, or if you are in combat or lockdown because of ZOS but, it's such a weird thing with it being a protected function.

The dungeon thing I have an idea for that that will go just in line with what you want, basically, as you say. .

Thanks for letting me know.
Report comment to moderator  
Reply With Quote
Unread 12/21/18, 05:56 PM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
- sometimes food is not consumed when there is no effect from other food. I must consume it manually.

- maybe instead of checkbox "Dungeon only" make two dropdowns with food? It will be useful for me. I change it manually now.
Report comment to moderator  
Reply With Quote
Unread 12/10/18, 09:34 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by zelenin
Originally Posted by Jodynn
Originally Posted by zelenin
0.5.0:
Code:
user:/AddOns/Auto/Auto.lua:1164: attempt to index a nil value
stack traceback:
user:/AddOns/Auto/Auto.lua:1164: in function '(anonymous)'
|caaaaaa<Locals> eventCode = 131219, bagId = 1, slotId = 0, isNewItem = true, itemSoundCategory = 17, inventoryUpdateReason = 0, stackCountChange = 1, name = "Roguish Escape Draught", id = 74729, type = 7 </Locals>|r
Let me know if 0.5.1 fixes it, I actually have never gotten that error, it's like you are getting an inventory update before you have even been activated which doesn't make sense but, I'm checking that you are init now, if you get it again please let me know and let me know under what exact situations it occurs.

Thank you!
yes, it's fixed.

But..



I saw the first block in the battle (I think).
Messages of the second block were repeated at the same time several times.
Yeah I'm getting that too... I have an idea but I'm not sure yet.
Report comment to moderator  
Reply With Quote
Unread 12/07/18, 05:16 AM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
Originally Posted by Jodynn
Originally Posted by zelenin
0.5.0:
Code:
user:/AddOns/Auto/Auto.lua:1164: attempt to index a nil value
stack traceback:
user:/AddOns/Auto/Auto.lua:1164: in function '(anonymous)'
|caaaaaa<Locals> eventCode = 131219, bagId = 1, slotId = 0, isNewItem = true, itemSoundCategory = 17, inventoryUpdateReason = 0, stackCountChange = 1, name = "Roguish Escape Draught", id = 74729, type = 7 </Locals>|r
Let me know if 0.5.1 fixes it, I actually have never gotten that error, it's like you are getting an inventory update before you have even been activated which doesn't make sense but, I'm checking that you are init now, if you get it again please let me know and let me know under what exact situations it occurs.

Thank you!
yes, it's fixed.

But..



I saw the first block in the battle (I think).
Messages of the second block were repeated at the same time several times.
Report comment to moderator  
Reply With Quote
Unread 12/06/18, 01:43 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by zelenin
0.5.0:
Code:
user:/AddOns/Auto/Auto.lua:1164: attempt to index a nil value
stack traceback:
user:/AddOns/Auto/Auto.lua:1164: in function '(anonymous)'
|caaaaaa<Locals> eventCode = 131219, bagId = 1, slotId = 0, isNewItem = true, itemSoundCategory = 17, inventoryUpdateReason = 0, stackCountChange = 1, name = "Roguish Escape Draught", id = 74729, type = 7 </Locals>|r
Let me know if 0.5.1 fixes it, I actually have never gotten that error, it's like you are getting an inventory update before you have even been activated which doesn't make sense but, I'm checking that you are init now, if you get it again please let me know and let me know under what exact situations it occurs.

Thank you!
Report comment to moderator  
Reply With Quote
Unread 12/05/18, 08:45 PM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 192
Uploads: 12
0.5.0:
Code:
user:/AddOns/Auto/Auto.lua:1164: attempt to index a nil value
stack traceback:
user:/AddOns/Auto/Auto.lua:1164: in function '(anonymous)'
|caaaaaa<Locals> eventCode = 131219, bagId = 1, slotId = 0, isNewItem = true, itemSoundCategory = 17, inventoryUpdateReason = 0, stackCountChange = 1, name = "Roguish Escape Draught", id = 74729, type = 7 </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 12/05/18, 05:14 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 zelenin
I made new food but dropdown has not been updated in settings (0.4.1).
Ah figured it out.

So it's because the settings haven't been loaded yet, so, if you open auto settings, then create food you'll notice it updates, but before you open the settings the values are whenever the addon loads, I think I know how to fix this, thank you for bring it to my attention!!
Version 0.5 should fix it!!
Report comment to moderator  
Reply With Quote
Unread 12/05/18, 04:24 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).
Ah figured it out.

So it's because the settings haven't been loaded yet, so, if you open auto settings, then create food you'll notice it updates, but before you open the settings the values are whenever the addon loads, I think I know how to fix this, thank you for bring it to my attention!!
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.