Quantcast
Download
(10 Kb)
Download
Updated: 09/12/18 03:16 PM
Pictures
File Info
Compatibility:
Wolfhunter (4.1)
Updated:09/12/18 03:16 PM
Created:09/12/18 03:16 PM
Monthly downloads:109
Total downloads:109
Favorites:8
MD5:
4.1
Grubmaster
Version: 1.00
by: aethronx [More]
Description:
This addon allows a food or drink to be easily chosen from inventory and used automatically whenever the player's current food buff is nearing expiration.

To select a food to use automatically, right click on it in inventory and chose the "Consume Automatically" option.

After selecting a food, it will be used immediately if no food buff is active. If a food buff is active, it will be used when the buff is nearing expiration (5 minutes before by default).

The expiration buffer can be changed to anything between 0 and 10 minutes (0 and 600 seconds) using the /grubmasterbufferseconds command in chat (see below).

Right clicking the selected food in inventory again will show an option to stop automatic consumption.

A message will be shown in the chat window when food is used. When the food count reaches 5 or less in player inventory, a low inventory warning will be shown in chat. When food count is 0 and the expiration buffer has been reached, a warning will be shown in chat every minute. This can be turned off by using the /grubmasteroff slash command (see below).

Food or drinks cannot be used automatically while in combat. This is a limitation of the game's API. If a food cannot be used for any reason, it will try again 10 seconds later.

Using any food manually at any time while Grubmaster is running is perfectly fine.


Available Slash Comands:
  • /grubmasteron - Turns auto consumption on if food has been previously selected
  • /grubmasteroff - Turns auto consumption off
  • /grubmastershowsettings - Shows the current settings including food, expiration buffer, and current bag count
  • /grubmasterbufferseconds [seconds] - Shows the current buffer in seconds, or optionally changes it. Can be a number between 0 and 600.

Known Issues:
  • Food and drink items do not show option to autoconsume in gamepad mode. Turn off gamepad mode to select food, then turn it back on.
  • Text is not localized (however, it should work for all locations.)

Technical:
  • Runs on a 10 second EVENT_MANAGER:RegisterForUpdate timer.
  • Combat and other player statuses are checked first and will immediately exit the timer function

Acknowledgements:
  • Uses the LibFoodDrinkBuff library by Scootworks, Baertram. (Saved a lot of time, huge thanks!)
  • Uses LibStub by sirinsidiator, Seerah
Optional Files (0)


Post A Reply Comment Options
Unread 09/13/18, 06:14 PM  
aethronx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Originally Posted by SlippyCheeze
It is mostly cosmetic, but it'd be nice to have an addon settings page for this (eg: libAddonMenu-2.0) that had the currently selected food, an option to clear it, and an on/off switch.

Bonus points for listing other foods in inventory and letting it be selected there, but the context menu serves the purpose fine for that.

...and thank you so much. I very much like this. It is what I want in terms of food management. No more "don't suck" button to press every time food runs out, which is how it should have been from day one, ZOS.

So, good stuff!
Thanks for the suggestions (and compliment). A settings page is definitely in the works.
Report comment to moderator  
Reply With Quote
Unread 09/13/18, 04:22 PM  
SlippyCheeze
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 182
Uploads: 1
It is mostly cosmetic, but it'd be nice to have an addon settings page for this (eg: libAddonMenu-2.0) that had the currently selected food, an option to clear it, and an on/off switch.

Bonus points for listing other foods in inventory and letting it be selected there, but the context menu serves the purpose fine for that.

...and thank you so much. I very much like this. It is what I want in terms of food management. No more "don't suck" button to press every time food runs out, which is how it should have been from day one, ZOS.

So, good stuff!
Last edited by SlippyCheeze : 09/13/18 at 04:23 PM.
Report comment to moderator  
Reply With Quote
Unread 09/13/18, 04:02 PM  
aethronx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Originally Posted by Baertram
Just as hints:
LibDialog for the poupup to ask
LibCustomMenu for the context menu entries, instead of base game functions. More lua error safe then using it the way it is currently done
Thanks for the tip, I'll check them out.
Report comment to moderator  
Reply With Quote
Unread 09/13/18, 01:52 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1741
File comments: 1808
Uploads: 47
Just as hints:
LibDialog for the poupup to ask
LibCustomMenu for the context menu entries, instead of base game functions. More lua error safe then using it the way it is currently done
Report comment to moderator  
Reply With Quote
Unread 09/12/18, 06:26 PM  
SilverWF
 
SilverWF's Avatar
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 333
Uploads: 2
Originally Posted by aethronx
Originally Posted by SilverWF
Just let it would be consumed while in combat only
Sometimes I'm just can do nothing important (i.e. building house) and I don't need food to be refreshed there

Also food can be used while in combat, dunno, why you posted it a limitation. And while swimming, riding whatever
Hi, it's a limitation of the game API. The function call used to use items (like food and drinks) is protected, which means it won't execute if the player is in combat. I'll try to make that a little clearer in the description. As far as eating while swimming, it didn't work when we tested it, but I'll take another look at it.

If you're doing something and you don't want the food to refresh for a while, just use /grubmasteroff or turn it off via the food's right click menu.
Oh, I see, thx.
Well, better add a keybind then to turn it on or off - it's pretty easy to do
__________________
ESO PC EU: @SilverWF
Addons: Advanced Autoloot Renewed, BeggingTheGear, Wykkyd Toolbar Updated
Report comment to moderator  
Reply With Quote
Unread 09/12/18, 06:21 PM  
aethronx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Originally Posted by SilverWF
Just let it would be consumed while in combat only
Sometimes I'm just can do nothing important (i.e. building house) and I don't need food to be refreshed there

Also food can be used while in combat, dunno, why you posted it a limitation. And while swimming, riding whatever
Hi, it's a limitation of the game API. The function call used to use items (like food and drinks) is protected, which means it won't execute if the player is in combat. I'll try to make that a little clearer in the description. As far as eating while swimming, it didn't work when we tested it, but I'll take another look at it.

If you're doing something and you don't want the food to refresh for a while, just use /grubmasteroff or turn it off via the food's right click menu.
Report comment to moderator  
Reply With Quote
Unread 09/12/18, 06:01 PM  
SilverWF
 
SilverWF's Avatar
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 333
Uploads: 2
Just let it would be consumed while in combat only
Sometimes I'm just can do nothing important (i.e. building house) and I don't need food to be refreshed there

Also food can be used while in combat, dunno, why you posted it a limitation. And while swimming, riding whatever
__________________
ESO PC EU: @SilverWF
Addons: Advanced Autoloot Renewed, BeggingTheGear, Wykkyd Toolbar Updated
Last edited by SilverWF : 09/12/18 at 06:03 PM.
Report comment to moderator  
Reply With Quote
Unread 09/12/18, 04:33 PM  
aethronx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Originally Posted by Tonyleila
This sounds very cool! Can you add an option like a popup that makes me confirm that I want to refresh the food if it is golden food e.g.? Maybe you coud extend it even more by adding different food based on where you are: Food a) enter pvp zone and food b) enter a trail / veteran DLC dungeon etc.
Great ideas, I'll definitely add those to the list.
Report comment to moderator  
Reply With Quote
Unread 09/12/18, 03:48 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 269
File comments: 688
Uploads: 6
This sounds very cool! Can you add an option like a popup that makes me confirm that I want to refresh the food if it is golden food e.g.? Maybe you coud extend it even more by adding different food based on where you are: Food a) enter pvp zone and food b) enter a trail / veteran DLC dungeon etc.
__________________
My Addons @ WoWInterface
Last edited by Tonyleila : 09/12/18 at 03:56 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: