Quantcast
Download
(375 Kb)
Download
Updated: 12/06/18 01:42 PM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Updated:12/06/18 01:42 PM
Created:11/11/18 03:15 PM
Monthly downloads:567
Total downloads:663
Favorites:7
MD5:
4.2
Auto
Version: 0.5.1
by: Jodynn [More]
Auto

Currently in beta but everything should work! Almost out of beta :O and into a full release.

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
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 (7)
File Name
Version
Size
Uploader
Date
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/10/18, 09:34 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 78
Uploads: 9
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

Forum posts: 0
File comments: 27
Uploads: 0
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: 0
File comments: 78
Uploads: 9
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

Forum posts: 0
File comments: 27
Uploads: 0
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: 0
File comments: 78
Uploads: 9
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: 0
File comments: 78
Uploads: 9
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
Unread 12/05/18, 08:42 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 78
Uploads: 9
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: 0
File comments: 78
Uploads: 9
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

Forum posts: 0
File comments: 27
Uploads: 0
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: 0
File comments: 78
Uploads: 9
[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

Forum posts: 0
File comments: 27
Uploads: 0
[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: 0
File comments: 78
Uploads: 9
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

Forum posts: 0
File comments: 27
Uploads: 0
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: 0
File comments: 78
Uploads: 9
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: 0
File comments: 78
Uploads: 9
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
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.