Buffet
Buffet is a food/water macro generator originally developed by tekkub and currently maintained by mZHg.
What's new :
- Added support for Mists of Pandaria
- (Beta) Added Earthen Race Support
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
- 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)
- Русский (ruRU) provided by ZamestoTV
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, with additional fixes for WtLK by clijiac
If you want to contribute to localizations, pull requests are welcome!
In reply to mZHg:
no problem. just wondering if you had looked at it or incorporated any of the code. The author seems to have gone mia.
In reply to jym_:
Hi again,
So, the runes add mana at the cost of life.
On paper it's easy to add, so I guess the priority order will be:
- Mana gem > rune > potion
Note that during combat, Buffet won't be able to update the macro to the next best item after you use it (not until you get out of combat).
Buffet will also not prevent suicide using a rune.
In reply to mZHg:
you might consider doing shift click as rune. sort of how bandages work on the health pot macro.
In reply to jym_:
Of course! Why didn't I think of that, it's such a obvious solution :)
I had plans to add more options to customize the macro, this will fit perfectly into that.
So, ideally I'd like to do:
Out of combat:
- food/drink by default (conjured first)
In combat:
- Health/Mana potion by default
All the time:
- modifier1: bandage/rune
- modifier2: healthstone/managem
Or maybe keep "healthstone/managem" by default in combat and move potion on modifier2.
Where modifier 1 and 2 can be set to any of [shift, ctrl, alt].
I'm not sure when I'll be able to work on that as I'm pretty busy atm but I'll do my best!
In reply to mZHg:
thanks for considering it. I strongly feel the default should be a cast sequence with hearthstone, health pot for HP, with mod for bandage, and a cast sequence with mana gem, mana pot for MP, with mod for dark or demonic rune.
being able to specify which mod key would be great.
also considering borrowing the idea from needsfoodbadly of doing another mod out of combat for buff food/buff drink.
In reply to jym_:
Hello,
With all that happened in the past few months, I've finally found some time to work on Buffet!
I've just published a Beta version with runes support.
You can now also configure the modifiers and you'll find 4 new macros with food/water only and consumables only.
I've tried to work with castsequence but it didn't make sense to me, if you can provide me with a working castsequence, I'll do my best to add it.
Regards,
Hi, I'm disabled and it makes keybinds problematic so thank you very much for this! I'm wondering if there's a way to change the bandages on SHIFT modifier to ALT modifier instead? Thanks again!
In reply to Naamtar:
Hello,
I'll have a look, but I think the macro just use the keyword "mod" for modifier, I don't know if I can specify a key.
Sorry for the late reply.
In reply to mZHg:
Hi again,
So yes I can specify which mod to use!
However, the current version should show bandage when pressing any of the 3 modifiers.
To clarify, you want Alt to work and it's not working for you, or you want shift to be disabled and only Alt to work ?
As stated in a comment above, I'll implement options to specify which modifier to use later on, unfortunately I don't have much time at the moment :(
In reply to Naamtar:
Hello,
With all that happened in the past few months, I've finally found some time to work on Buffet!
I've just published a Beta version in which you can configure the modifiers used by macros, one for bandage/rune and one for health stone/mana gem.
Regards,
So the AutoHP only shows me health potions, and will not select any food. I have multiple food sources in my bags. It doesnt matter whether I am in combat or not, only potion is shown. Any ideas? This is for classic. I am running the latest 8.2.5.55
In reply to Forge_User_94142338:
Hi,
I'm about to do a new release for retail then I'll do some test on classic and also do a proper classic release.
In the mean time, try to clear the cache with:
/buffet clear
then rescan with:
/buffet scan
I think there is an issue with the cache in rare conditions and I'm trying to fix it ;)
In reply to mZHg:
Still doesnt work. Doesnt recognize any of my food that is not bought from vendor.
Hey :). Buffet doesn't recognize my Salty Dog Crackers (https://www.wowhead.com/item=161053/salty-dog-crackers). German client if that matters. I tried other food which worked fine.
I also wonder if there's a way to disable the combat mode so it always just shows the food/water instead.
Edit: Okay, it seems that everything that is your inventory when addon runs the first time, it is marked with false/0. Water wasn't shown too. The food I bought for testing wasn't in any of my toons bags before.
In reply to Selthi:
Hello,
1. The Salty Dog Crackers should work with the next release.
2. I'll see ifI can add an option to disable combat mod.
3. You can try to clear the cache and rescan with:
/buffet clear
/buffet scan
Let me know if there are still food/drink not properly detected.
In reply to mZHg:
Hello, thanks for your reply. I cleared and scanned and it seems to work now. Had to do it again because after logging on another toon with water in its bags previous not seen, they were listed as 'false' again. So I bought the water on fresh cleared/scanned char and it's fine now. No idea what is going wrong otherwise.
In reply to Selthi:
Hello,
Hopefully, I fixed the cache issue today.
I was also able to add a "combat" option so you can now disable "in combat" mode with:
/buffet combat 0
The release with all those changes should go out tomorrow ;)
In reply to mZHg:
Good morning, thanks a lot for adding the crackers and the combat mode :).
Unfortunately, the cache issue seems to persist. I cleared the existing list to try this and it's not recognizing existing consumables on another toon, when the scanned character did not have it in its bags.
That's what I got for debug command with character B for https://www.wowhead.com/item=159867/rockskip-mineral-water after login with cleared list on character A before
[12:29:45] Buffet: - Is health: No
[12:29:45] Buffet: - Is mana: No
[12:29:45] Buffet: - Is well fed: No
[12:29:45] Buffet: - Is conjured: No
[12:29:45] Buffet: - Is percent: No
[12:29:45] Buffet: - Is potion: No
[12:29:45] Buffet: - Is bandage: No
[12:29:45] Buffet: - health value: 0
[12:29:45] Buffet: - mana value: 0
and after reload. A following relog showed the same:
[12:33:25] Buffet: Item 159867:
[12:33:25] Buffet: - Is health: No
[12:33:25] Buffet: - Is mana: Yes
[12:33:25] Buffet: - Is well fed: No
[12:33:25] Buffet: - Is conjured: No
[12:33:25] Buffet: - Is percent: No
[12:33:25] Buffet: - Is potion: No
[12:33:25] Buffet: - Is bandage: No
[12:33:25] Buffet: - health value: 0
[12:33:25] Buffet: - mana value: 83344
Did this twice with same result.
So I cleared the list on character B, logged in with A and checked https://www.wowhead.com/item=163784/seafoam-coconut-water:
[12:54:45] Buffet: - Is health: No
[12:54:45] Buffet: - Is mana: No
[12:54:45] Buffet: - Is well fed: No
[12:54:45] Buffet: - Is conjured: No
[12:54:45] Buffet: - Is percent: No
[12:54:45] Buffet: - Is potion: No
[12:54:45] Buffet: - Is bandage: No
[12:54:45] Buffet: - health value: 0
[12:54:45] Buffet: - mana value: 0
After reload:
[12:59:48] Buffet: Item 163784:
[12:59:48] Buffet: - Is health: No
[12:59:48] Buffet: - Is mana: Yes
[12:59:48] Buffet: - Is well fed: No
[12:59:48] Buffet: - Is conjured: No
[12:59:48] Buffet: - Is percent: No
[12:59:48] Buffet: - Is potion: No
[12:59:48] Buffet: - Is bandage: No
[12:59:48] Buffet: - health value: 0
[12:59:48] Buffet: - mana value: 83344
After a fresh scan, Buffett somehow gets the wrong information the first time it tries to read the tooltip? I have changed it manually in the saved file and am fine now, but still wondering :).
In reply to Selthi:
Hi,
Thanks for all the tests! It is very helpful.
Indeed sometime the tooltip is not "complete" on the first scan and I did put checks in place to mitigate this issue, however it seams to not be enough in your case :(
Rather than reloading, redo your test but try to hover the item to generate the tooltip then use debug again on it to see if the result changes.
Other thing I think of, it could be another addon interfering with the tooltip scanning.
Try to redo your test above without any other addons enable.
If you find out that an addon is responsible, give me its name, I'll try to make buffet compatible with it.
On my end, I'll try to improve the tooltip scanning process to catch bad data.
Thank you!
In reply to mZHg:
Tried a bit around and it seems that the issue occurs after a realm switch. When I log in, /clear, log into char with new water at the same realm it never seems to happen.
A following /buffet debug still returns zeros, but /buffet clear detects them properly even without mouseover before. Debug after that shows the right values.
Still happens with all other addons disabled.