Feed-O-Matic 1700.4

  • Added Night Elves’ Shadowmeld ability to the list of conditions we won’t auto-feed under. (Feeding breaks stealth for both you and your pet, which is relevant now that cats can learn Prowl.)
  • Disabled auto-feeding while in Battlegrounds, since the (generally frequent) spirit-rez there also restores your pet to full happiness (but does so after a brief delay, during which we were trying to feed the pet).
  • Improved control over the keepopen setting; you can now specify off or none to make Feed-O-Matic always choose foods based on quality, or max to make it always choose smaller stacks of food. Also clarified status output regarding the keepopen setting.
  • Added quality command to allow reversing the normal behavior of choosing hihger-quality foods when available. (Some hunters like to ensure they’re always feeding their pet the best foods and thus needing to feed less often; others prefer to work from the low end so they get the random “junk” food cleared out of their inventory.)
  • Prioritized mage-conjured foods so that they’ll be fed to the pet before other foods (only applicable to pets that eat Bread), since it’ll disappear from your inventory once you log out.
  • Fixed an error that sometimes appeared when auto-feeding the pet.
  • Fixed an error that sometimes appeared when opening tradeskill windows.
  • Fixed an error that appeared when opening the pet stables window.

13 Responses to “Feed-O-Matic 1700.4”

  1. Elmanthira Says:

    Interface\Addons\GFW_FeedOMatic\GFWTable.lua:118: Bad argument#1 to `getn’ (table expected, got nil)

    Happened on the first feeding attempt.

    I went back and deleted my savedvaribles file for FOM, and poof it works fine, so far.

  2. Elmanthira Says:

    Bleh. wish I could go back and edit. No help text for the Quality feature.

  3. Gazmik Fizzwidget Says:

    Hm, I though I’d tracked down all the nil table errors, but in case I didn’t I added some debugging statements to help. If you start seeing that again, try typing /script GFWUtils.Debug = true and let me know what ” == nil” messages you see in the chat window.

    The quality command is /fom quality high or /fom quality low… guess I’ll check on the help text next time I get time to work on a release.

  4. True Freak Says:

    Any way to have it not attempt to feed while in water? Also have it avoid feeding while already feeding?

  5. KiwiMike Says:

    This neat addon is now in Insomniax Recompilation.

    One little request. Would you please consider having the addon check for damage over time debuffs before having the pet chow down.

    If pet has a DoT debuff the feed is interupted and pet does not get full increased happiness effect from the feeding.

  6. Brad Says:

    Is there a way to see what food has been outgrown by my pets? Also a way to tell what foods are getting close?

    I’d like to make sure I’m not carrying something of marginal or no usefulness to my named pets and if I’m running low on bag space, I can sacrifice marginal foods if necessary.

    Thanks for a great addon!

    Regards,

    Brad

  7. Mike Says:

    Wonderful tool – as they all are

    Only one problem is when the pet has a debuff on it like poison. Then, it will eat food continually (the debuff stops the food effect working). The preference would be not to feed until the debuff has gone. Went through 10 roast quails before I spotted this

  8. Brad Says:

    I’m getting the error:

    FeedOMatic.lua:1187 attempt to index field `?’ a nil value

    Regards,

    Brad

  9. Gazmik Fizzwidget Says:

    Thanks for the error reports; I’ll be putting out a new release soon which should fix those.

    Stopping auto-feeding while poisoned is something I’m already looking into, but it’s not a simple problem; for the next release I’ll probably just stop auto-feeding while the pet has any debuff. That’s less than desirable — there are plenty of debuff effects that don’t interfere with feeding, but sorting them out could greatly slow down the code.

    Avoiding feeding while in water isn’t possible — there’s no way for the UI scripting environment to know when the player is in water (this has been a frequent topic of discussion on the Blizzard UI board), much less the pet. However, if I recall correctly it is possible to feed a pet while swimming and suffer no ill effects.

    Avoiding feeding while already feeding is something Feed-O-Matic is already supposed to do, but there’s some kind of race condition in the client that causes us to check whether to feed again before our “Hey, we’re feeding now” flag registers. I’m looking into potential solutions.

    I started looking into doing some kind of “unused foods” report some time ago (my Hunter’s actually been using this for several months, but I only felt it was polished enough to release recently). Figuring this out is a little harder now that they’ve changed how pets gain happiness from foods in 1.7, but I’d like to look into it again once bugs in the current functionality are ironed out.

  10. Brad Says:

    Sounds like I’ll be anxiously checking in for the next version!

    Can you explain or point me to a discussion of how pets gain happiness?

    Thanks,

    Brad

  11. Elmanthira Says:

    petopia.brashendeavors.net has a lot of info about pets and pet management. what I was able to understand is “open up the combat window, feed your pet. If your pet gains 35 happiness, try a lower level food, until your pet no longer gains 35 happiness per tick; the lowest level food that gives 35 happiness is the “best” food to feed.” Granted, you must make adjustments for “the pet his already perfectly happy”, but you can repeatedly summon and dismiss the pet for experimentation purposes.

  12. Elmanthira Says:

    Something I noticed last night while playing…

    If I have multiple stacks of identical food, FOM will feed my pet from the stack of food with the most items in it. I had three stacks of cured ham steaks with 3 steaks each, and other stack with 4 steaks in it… That doesn’t seem very sensible. (In other news, my hunter finally hit 40! Yay! (no mount, though.))

  13. Gazmik Fizzwidget Says:

    Yes, Elmanthira, the 35 happiness rule pretty well describes things prior to the 1.7 patch. At that time, feeding your pet would result in him gaining 35, 17, or 8 happiness per tick while the feed effect was active, based on the quality of the food. In 1.7, though, there’s now a point at which feeding your pet won’t continue to gain him happiness, and so the per-tick value will be 0 even for foods your pet “likes”, or some number between 0 and what the food should “normally” give. This makes keeping track of which foods are “best” for you pet at any given time a bit more complicated than it was before, but I think I’ve successfully tackled it. 🙂

To leave feedback on a Fizzwidget Industries product, visit us on Github. There you can report bugs, contribute enhancements, or just live on the bleeding edge.