- Updated for WoW patch 1.9.
- Now localizable, with partial French and German translations now included. Many thanks to Graçi of Hyjal (EU), Jan-Paul, and other contributors to the comments thread of fizzwidget.com for helping get this up and running!
- Mostly locale-independent; now uses item link IDs to identify food instead of names. Unfortunately, Feed-O-Matic still requires one bit of locale-dependent information to work in ach language: the names of the six animal diets. Without translations for these, Feed-O-Matic can’t look up foods in its list, which makes it pretty well broken. If you’re not using WoW in English, French, or German, here’s how you can help make it work for your language:
- Tame a few pets of different creature families. (Minimally, a Bear or Boar will do — they eat anything — but taming pets of the other fifteen families will help me get more family names into the database.)
- Use Feed-O-Matic to feed each one at least once. (Or at least type
/fom
once after taming each pet.)
- Log out of WoW, and open your World of Warcraft -> WTF -> SavedVariables -> GFW_FeedOMatic.lua file in a text editor.
- Copy the section that looks like
FOM_LocaleInfo = { ... }
and email it to gazmik@fizzwidget.com.
- The slash commands for adding, removing, and feeding specific foods now require an item link or the name of an item that exists in your inventory — passing in just any old name won’t work because we now index foods based on item ID.
- Includes refinements to code shared with other GFW mods.
- Knows its own version number — it’s present in startup and error messages and if you type
/fom help
or /fom version
. Please include this version number when sending bug reports or help requests!
This entry was posted
on Tuesday, January 3rd, 2006 at 8:48 am and is filed under Feed-O-Matic.
January 3rd, 2006 at 12:28 pm
Getting the following error when enabling FOM, even tried a reset and enable and still receive the error upon enable:
GFW_FeedOMatic\FeedOMatic.lua:1086: Usage: GetBattlefieldStatus(index)
January 3rd, 2006 at 12:32 pm
I commented out lines 1086-1089 with the following which bypasses the error:
–[[ if ( (GetBattlefieldStatus()) == “active” ) then — don’t auto-feed while in a battleground; the frequent spirit rez gives mucho happiness (slightly delayed) return; end]]
January 3rd, 2006 at 2:07 pm
I too am getting the same error that Devla spoke of. However, I have no idea how to put in the bypass lol.
Thank you for being the 1st coder to have updates though. Fixing this one will make my day 🙂
January 3rd, 2006 at 5:27 pm
Apparently you can check the status of each queue with this command now. As such, if you go to line 1086 and add:
for i=1, MAXBATTLEFIELDQUEUES do
before the “if ( (GetBattlefieldStatus()) == “activeâ€? ) then” line, and then go down 4 lines and add an:
end
That should not just stop the error… but also keep the addon working right (no feeding if you are active inside any BG).
January 3rd, 2006 at 6:10 pm
not working for me, getting a repeated frequent error using:
for i=1, MAXBATTLEFIELDQUEUES do if ( (GetBattlefieldStatus()) == “active” ) then — don’t auto-feed while in a battleground; the frequent spirit rez gives mucho happiness (slightly delayed) return; end end
January 3rd, 2006 at 6:10 pm
Someone either want to release a new fix for this or tell us how to do it ourselves if possible.
Muchly apprecaited, T.
January 3rd, 2006 at 6:31 pm
Got another error. When I open my cooking window I get:
Feedomatic.lua: 1550: bad argument #1 to find (string expected, got nil)
January 3rd, 2006 at 7:27 pm
im a tad confused by your fix there the org code 1081 > 1091 is — Check if AFK if ( FOM_State.IsAFK ) then return; end
your saying put in : — Check if AFK if ( FOM_State.IsAFK ) then return; end
why 2 ends? the cycle still will end with the first
January 3rd, 2006 at 7:52 pm
What are you guys using the edit the file to fix the problem?
January 4th, 2006 at 3:37 pm
Feed-o-Matic is working great for me now. The only issue I can see is that it does not recognize fish as a food for turtles.
-Dali
January 5th, 2006 at 5:50 am
Im getting this, as well….
Feedomatic.lua: 1550: bad argument #1 to find (string expected, got nil)
any help?