Buffet is a food/water macro generator originally developed by tekkub and currently maintained by mZHg.
Buffet
What's new :
- Added support for Toxic Health Potion (Retail; enUS/frFR/deDE)
- Added list of available items in custom macro, sorted by value decreasing, see the GitHub wiki page for more info
Feel free to report any bug or request any feature here :)
Features:
- Dynamically scan your bag for usable food, drink, potion, rune, managem and bandage
- Provide 6 macros auto-magically updated (out of combat)
- Consumable and food/drink
- Food and Drink only
- Consumable only
- Allow configuration of modifiers used by macros
- Option to default macros to hearthstone if no item found
- Option to consider "well-fed" food items in macros
- Option to consider "toxic" potion items in macros (Retail)
- Support dark and demonic runes
- Support Classic Wow
- Custom macro using lua scripting language, see here for more info
- User-defined ignore list (per characters)
Currently supporting the following localizations:
For retail:
- English (enUS)
- Deutsch (deDE)
- Español (esES)
- Français (frFR)
- Italiano (itIT)
For Cataclysm:
- English (enUS)
- Deutsch (deDE)
- Español (esES)
- Français (frFR)
- Korean (koKR) provided by coderhyme
For classic:
- English (enUS)
- Deutsch (deDE)
- Español (esES)
- Français (frFR)
Partially supporting the following localizations:
For Retail, Cataclysm and Classic:
- Simplified Chinese (zhCN) provided by Witnesscm
If you want to contribute to localizations, pull requests are welcome!
The BuffFood macro is not showing GrilledSquid, ItemID 13928.
In reply to fireymerlin:
Hello,
This is a well-fed food, did you enabled the related options to show well-fed food in the macro?
In reply to mZHg:
I have checked the option to "Also consider well fed items (all amcros)". This works for other well-fed food. I got the code from you in another comment below. Here it is:
local bests = ...
-- Best wellfed food with default to hearthstone
local bestfood = bests.wellFedFood or ''
return "#showtooltip\n/cast item:" .. bestfood
In reply to fireymerlin:
The item is properly detected as food on my end, but not as well-fed.
It will be fix in next release.
If you still have an issue with release 115, please show me the output of the command:
/buffet debug [Grilled Squid]
Thanks.
In reply to mZHg:
I'm using version Buffet-115.zip.
Grilled squid not showing as buff food.
Here is the debug output:
[06:06:33] Buffet: Item [Grilled Squid]:
[06:06:33] Buffet: - Is health: Yes
[06:06:33] Buffet: - Is mana: No
[06:06:33] Buffet: - Is well fed: No
[06:06:33] Buffet: - Is conjured: No
[06:06:33] Buffet: - Is percent: No
[06:06:33] Buffet: - Is food and drink: Yes
[06:06:33] Buffet: - Is potion: No
[06:06:33] Buffet: - Is toxic potion: No
[06:06:33] Buffet: - Is bandage: No
[06:06:33] Buffet: - Is over time: No
[06:06:33] Buffet: - Is restricted: No
[06:06:33] Buffet: - health value: 874
[06:06:33] Buffet: - mana value: 0
[06:06:33] Buffet: - itemClassId: 0
[06:06:33] Buffet: - itemSubClassId: 0
In reply to fireymerlin:
Oups, sorry I wasn't notified of your reply, I'll have a look later today.
Hi.
I don't know which addon is at fault but it seems to be a combination of 2 enabled addons (the only other addons I have enabled are bugsack and buggrabber):
Buffet and HaveIDoneThat cause errors.
I've tried disabling each of these 2 errors in turn, and when I do the errors go away, so am summising the combination of enabling these 2 addons causes the errors.
They are both causing 649 errors at the moment.
First error:
649x ...ddOns/Blizzard_Settings_Shared/Blizzard_Category.lua:79: attempt to index local 'self' (a nil value)
[string "@Blizzard_Settings_Shared/Blizzard_Category.lua"]:79: in function <...ddOns/Blizzard_Settings_Shared/Blizzard_Category.lua:76>
[string "=[C]"]: ?
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:158: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:127>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsInbound.lua"]:53: in function <...lizzard_Settings_Shared/Blizzard_SettingsInbound.lua:52>
[string "=(tail call)"]: ?
[string "@Buffet/Libs/tekKonfigAboutPanel.lua"]:13: in function `new'
[string "@HaveIDoneThat/config.lua"]:50: in main chunk
Locals:
self = nil
name = "About"
description = nil
subcategory = <table> {
GetID = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:13
SetCategorySet = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:53
order = 66
HasSubcategories = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:72
GetOrder = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:25
SetCategoryTutorialInfo = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:83
HasParentCategory = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:49
SetOrder = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:29
ID = 66
Init = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:6
GetParentCategory = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:41
GetName = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:17
name = "About"
subcategories = <table> {
}
SetParentCategory = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:45
SetName = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:21
CreateSubcategory = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:76
GetCategoryTutorialInfo = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:90
GetQualifiedName = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:33
GetSubcategories = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:68
GetCategorySet = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:57
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
GetID = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:13
SetCategorySet = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:53
order = 66
HasSubcategories = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:72
GetOrder = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:25
SetCategoryTutorialInfo = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:83
HasParentCategory = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:49
SetOrder = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:29
ID = 66
Init = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:6
GetParentCategory = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:41
GetName = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:17
name = "About"
subcategories = <table> {
}
SetParentCategory = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:45
SetName = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:21
CreateSubcategory = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:76
GetCategoryTutorialInfo = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:90
GetQualifiedName = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:33
GetSubcategories = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:68
GetCategorySet = <function> defined @Blizzard_Settings_Shared/Blizzard_Category.lua:57
}
(*temporary) = nil
(*temporary) = "attempt to index local 'self' (a nil value)"
Second error:
649x .../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:768: table index is nil
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:768: in function `AssignLayoutToCategory'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:160: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:127>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsInbound.lua"]:53: in function <...lizzard_Settings_Shared/Blizzard_SettingsInbound.lua:52>
[string "=(tail call)"]: ?
[string "@Buffet/Libs/tekKonfigAboutPanel.lua"]:13: in function `new'
[string "@HaveIDoneThat/config.lua"]:50: in main chunk
Locals:
self = SettingsPanel {
0 = <userdata>
GameTab = Button {
}
SetScript = <function> defined =[C]:-1
categoryLayouts = <table> {
}
RegisterCategory = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:815
RevertSettings = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:461
ClosePanelButton = Button {
}
SetCurrentLayout = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:902
CheckTutorials = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:279
OnShow = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:241
QuestTextPreview = Frame {
}
Open = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:365
GetSettingsCanvas = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:862
SetWidth = <function> defined =[C]:-1
AssignLayoutToCategory = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:767
CategoryList = Frame {
}
SearchBox = EditBox {
}
modified = <table> {
}
AddOnsTab = Button {
}
SetSecureAttributeResults = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:204
ForEachCanvas = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:575
Bg = Frame {
}
CallRefreshOnCanvases = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:614
GetSecureAttributeResults = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:208
OnLoad = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:70
ExitWithoutCommit = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:322
TransitionBackOpeningPanel = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:353
FinalizeCommit = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:441
SetCurrentCategorySettingsToDefaults = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:519
GetAllCategories = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:811
SetHeight = <function> defined =[C]:-1
ExitWithCommit = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:342
SetApplyButtonEnabled = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:590
HasUnappliedSettings = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:562
OnKeybindRebindSuccess = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:1015
SetPoint = <function> defined =[C]:-1
secureAttributeResults = <table> {
}
OnTabSelected = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:212
OnSettingValueChanged = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:785
ClearActiveCategoryTutorial = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:1019
SetAllSettingsToDefaults = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:489
tabsGroup = <table> {
}
OnKeybindStartedListening = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:992
OnKeybindStoppedListening = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:979
SetOutputText = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:971
settings = <table> {
}
InputBlocker = Frame {
}
ClearCurrentCategoryCanvas = <function> defined @Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:910
RepairDisplay = <function> defined @Blizzard_Settings_S
Thanks
In reply to UniqueUserName:
Fixed in version 114 :)
In reply to mZHg: Thank you for the quick response - tested and all good. Cheers.
In reply to melkoooor:
Hello,
Can you show me the result of the following command:
/buffet debug [itemLink]
Thank you.
[12:56] Buffet: Item [Eau de source des Hautes-terres]:
[12:56] Buffet: - Is health: No
[12:56] Buffet: - Is mana: Yes
[12:56] Buffet: - Is well fed: No
[12:56] Buffet: - Is conjured: No
[12:56] Buffet: - Is percent: No
[12:56] Buffet: - Is food and drink: Yes
[12:56] Buffet: - Is potion: No
[12:56] Buffet: - Is toxic potion: No
[12:56] Buffet: - Is bandage: No
[12:56] Buffet: - Is over time: No
[12:56] Buffet: - Is restricted: No
[12:56] Buffet: - health value: 0
[12:56] Buffet: - mana value: 0
[12:56] Buffet: - itemClassId: 0
[12:56] Buffet: - itemSubClassId: 5
In reply to melkoooor:
Can you show me a screenshot of the tooltip of "[Eau de source des Hautes-terres]" ?
I'm guessing the text format changed with Cata compared to previous extensions.
Thanks.
In reply to melkoooor:
Hello again,
I've found the issue, it is the new thousand separator "-", a new version with the fix is coming.
In the meantime, you can use the following command which might help:
/run C_CVar.SetCVar("breakUpLargeNumbers", 0)
In reply to mZHg: And the fix works like a charm. Thanks dude, the addon is amazing!
Drink only still doesn't work on cata classic
In reply to melkoooor:
I'll need more info than that.
Which item is not recognized ? Which language ?
Please provide a wowhead link.
Thanks.
In reply to mZHg: Hi, none of the drinks are working, the language is french
In reply to melkoooor:
Hello,
Please try version 111.
In reply to mZHg: Still not working with 4 different drinks in my bags
I can't seem to get the conjured refreshment to work on my mage in Cata Classic. Is there an update to the macro for Cata conjured refreshment? Or is there a macro I could use?