Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(31 Kb)
Download
Updated: 01-11-12 09:31 PM
Pictures
File Info
Updated:01-11-12 09:31 PM
Created:unknown
Downloads:13,567
Favorites:135
MD5:

Creature Comforts  Popular! (More than 5000 hits)

Version: 4.3.0.120
by: Phanx [More]


This addon is no longer maintained or supported.

If you are interested in permanently adopting Creature Comforts,
and have published at least one WoW addon,
please send me a PM!


----------------------------------------------------------------------------------------------------------------------------------


Combines your Call, Dismiss, Feed, Mend, and Revive Pet abilities into one button.

Out of combat, Creature Comforts will revive your pet if it’s dead, call your pet if it’s unsummoned, dismiss your pet if you’re holding the Ctrl key (or if you middle-click), feed your pet if its health is below 50% and Feed Pet is available, or mend your pet if its health is low (or it has a debuff you can dispel with the Improved Mend Pet talent).

In combat, Creature Comforts will call your pet if it’s unsummoned, revive your pet if it’s dead, dismiss your pet if you’re holding the Ctrl key, or mend your pet otherwise. Due to Blizzard’s restrictions on editing macros while in combat, if your pet is dead but was despawned when you entered combat, you’ll need to hold the Shift key (or right-click) to tell the macro to revive it.

Usage

Options are available in the Interface Options window. You can type “/cc” or “/creaturecomforts” to open the window directly to the Creature Comforts panel.

The first time you run Creature Comforts, you’ll need to create the macro it will manage. You can do this from the configuration panel (press the “Create Macro” button) or from the Blizzard macro window (create a character-specific macro named “AutoPet”).

Language Support

Creature Comforts is compatible with English, Deutsch (deDE), Español (esES/esMX), Français (frFR), Русский (ruRU), 한국어 (koKR), 简体中文 (zhCN), and 正體中文 (zhTW) game clients.

Creature Comforts is translated into English, Español, and 简体中文.

Credits

Creature Comforts is based heavily on Tekkub’s Buffet, and indeed began as a simple modification of Buffet to feed my pet instead of myself. I was also inspired by Gazmik’s Fizzwidget Feed-O-Matic, Nirek’s FeedMachine (which in turn is based on Beerke’s King of the Jungle), and Tekkub’s FuzzyLogic. After trying all of these addons, I set out to combine their essential features into a single, transparent, easy-to-use, no-assembly-required package.

Version 4.3.0.120
  • Updated for macro API changes in WoW 4.3 (untested, patch from user help137)
  • Fixed some options
  • Fixed key binding labels

Version 4.1.0.115
  • Updated for WoW 4.1
  • Added support for right-clicking in lieu of holding the Mend/Revive modifier
  • Added support for middle-clicking in lieu of holding the Dismiss modifier

Version 4.0.6.111
  • Added a key binding for people who don’t want to take up an action button
  • Updated the Spanish localization

Version 4.0.3.101
  • Added many food items for the Cataclysm expansion

Version 4.0.3.98
  • Added support for Glyph of Mend Pet
  • Added support for multiple Call Pet spells in Cataclysm
  • Added TOC metadata for the Curse Client
  • Fixed glyph detection for Cataclysm
  • Removed the tekKonfigButton embedded library since it isn't used

Version 3.3.5.86
  • Updated configuration libraries

Version 3.3.2.84
  • Fixed some bugs in the options

Version 3.3.2.83
  • Added translations for all locales for alert messages
  • Updated options generation code

Version 3.2.0.76
  • Fixed error that caused conflicts with Buffet under certain conditions

Version 3.2.0.75
  • Added support for dual talent specialization

Version 3.0.3.67
  • Fixed paths to locale files in TOC

Version 3.0.3.66
  • Fixed localization error with "Feed when hungry" option
  • Fixed German translation for "Fungus"
  • Updated food item database
  • Changed options layout a bit
  • Added full zhCN translations from VENSTER
  • Removed "Raw Fish" and "Raw Meat" translations since Blizzard removed these food categories from the game in 3.0

Version 3.0.2.53
  • Fixed combo/bonus food options
  • Fixed hungry warning intervals
  • Added options to suppress all warnings
  • Removed 2.4.3 compatibility

Version 2.4.3.48-beta
  • Fixed options for Wrath beta
  • Added mend threshold slider
  • Added Brewfest food items
  • Added Wrath beta food items
  • Removed Jaggal Clam Meat (item:24477) from raw meat list

Version 2.4.3.41-beta
  • Fixed status changes for feeding and mending
  • Added localization stubs for esES, koKR, zhCN, and zhTW (addon should now work in these locales)

Version 2.4.3.40-beta
  • Fixed settings upgrade path (was causing settings to reset on load)
  • Fixed detection of live pet (not sure how this problem happens though)

Version 2.4.3.39-beta
  • Fixed detection for happy, debuffed, and mending status changes

Version 2.4.3.36-beta
  • Added option to not consume food items automatically when your pet is already Happy

Version 2.4.3.33-beta
  • Added options for Dismiss and Mend modifier keys

Version 2.4.3.30-beta
  • Added partial ruRU localization (will work in this locale)
  • Added full support for options localization (need translations for all locales)
  • Feed Pet below out-of-combat Mend threshold if already Mending

Version 2.4.3.27-beta
  • Fixed config >_>

Version 2.4.3.26-beta
  • Fixed for preferring conjured food
  • Fixed for considering food with an item level higher than pet's level
  • Added partial configuration (no options for modifier keys or OOC Mend threshold yet)

Version 2.4.3.22-beta
  • Potential fix for AddonLoader users

Version 2.4.3.21-beta
  • Localized spell names so macro will work in non-English clients
  • Increased time between "no food" warnings to 4 minutes
  • Increased time between "hungry" warnings to 2 minutes
  • Time between "very hungry" warnings remains at 1 minute

Version 2.4.3.20-beta
  • Fixed failure to detect pet food under some circumstances (again, thank you Blizz for the myriad of states where pets simultaneously exist and do not exist)
  • Fixed localization so that locales without any translations don't generate errors
  • Fixed versioning
  • Added localization information to readme

Version 2.4.3.17-beta
  • Tweaked food selection logic (needs testing)
  • Don't show "hungry" warnings if the pet is dead or currently eating
  • Don't show "no food" warnings if the pet isn't fully loaded (damn you Blizzard for making so many "in limbo" transitions for pets)
  • Maybe fixed inconsistent loading... again, gg Blizz
  • Fixed localizations (still only works for English, French, German)

Version 2.4.3.15-beta
  • Fixed missing defaults error; I have no idea how they managed to get lost!

Version 2.4.3.14-beta
  • Updated food database
  • Added tekIDmemo mini-library instead of simply duplicating its code
  • Added config file to TOC; it won't even try to load if you're not me
  • Added config lib local path to TOC; yes, you'll get a FrameXML log error, no, it's not relevant to any issues you may or may not have with the addon
  • General cleanup

Version 2.4.3.9-beta
  • Disabled debug output

Version 2.4.3.8-beta
  • Added partial deDE and frFR translations; addon should work in these locales now
  • Complete translations for these or any other locales are welcome :)

Version 2.4.3.6-beta
  • Mend Pet out of combat too if pet is below 75% health
  • Mend Pet out of combat too if pet is debuffed and you have Improved Mend
  • Added a few missing foods
  • General cleanup, many bugfixes
Post A Reply Comment Options
Unread 01-05-09, 07:00 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4743
File comments: 2138
Uploads: 43
I've thought of it, yes, but every time I've recompiled my own lists, I've used LPT's lists as a base, and every time I've found many items that are missing, and even some that are incorrect. LPT doesn't auto-mine its lists of food items either, as per comments in its code, because Wowhead doesn't offer any filtering criteria to identify food items as anything other than "Consumable" or "Meat" (which actually means "cooking reagents" and includes things that aren't meat per-se).

I'm also not thrilled about the idea of having half of my addon's download size be one library that my addon will only ever use less than 25% of. If the addon is already strongly library-based, as FeedIt and Feed-O-Matic are, then adding 50kb in code for a food list and some unknown amount of CPU overhead to access it through layers of metatable and function calls is, I suppose, slightly less noticable of a waste, but it's not something I'm interested in doing in my own addon when a simple list table will do the job just as well. My philosophy on libraries is that if my addon will use less than 90% of the library, it's a waste to include it. There are addons that do use 90% or more of LPT, but mine isn't one of them.

Currently my own food list is less than 3kb and is cheap to access with simple table calls. And given that feeding is all but irrelevant in WoW 3.0, I don't really think it's a big deal if a few items are missing for a few weeks after the launch of an expansion.

Also, the version I posted a few days ago includes a full food database update.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 01-05-09, 07:42 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1047
Uploads: 0
Originally posted by Phanx
There are probably quite a few new food items added in Wrath that Creature Comforts doesn't recognize yet. It recognizes food items by consulting a static list of item IDs that I've compiled, but since I'm pretty busy right now leveling four characters up to 80 and have about a dozen addons to get up to speed, I don't really have time to spend hours manually comparing my list to figure out what's missing. Obviously, I'll add any I personally encounter, but since my hunter will likely have to wait to level after my raiding main shaman and a death knight, it could be a while, so if you find any others, please post them so I can add them!
Any thoughts of using LibPeriodicTable-3.1/LibPeriodicTable-Consumable-3.1 for the food lists as FeedIt (another macro feeder, but doesn't feed when pet is happy), FeedMachine, Fizzwidget Feed-O-Matic & so on use? So that you don't have to compile the ever-changing food lists yourself.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 11-20-08, 09:20 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4743
File comments: 2138
Uploads: 43
There are probably quite a few new food items added in Wrath that Creature Comforts doesn't recognize yet. It recognizes food items by consulting a static list of item IDs that I've compiled, but since I'm pretty busy right now leveling four characters up to 80 and have about a dozen addons to get up to speed, I don't really have time to spend hours manually comparing my list to figure out what's missing. Obviously, I'll add any I personally encounter, but since my hunter will likely have to wait to level after my raiding main shaman and a death knight, it could be a while, so if you find any others, please post them so I can add them!

Sewer Carp is already listed, though. What happens when it's the only food item in your bags and you try to feed your pet?

If you find some spare time, find line 21 in Core.lua: if level > 0 then return end and change the 0 to a 5. Then, without taking any other actions, type:

/run CreatureComforts: Diet() (without the space before "Diet"; the "Disable smilies" option doesn't seem to be working here)

You should see it build the list of foods your pet can eat. On that list you should see "Basic Fish". After it's finished, type:

/run CreatureComforts:Scan()

You should see it scan your bags; this will be extremely spammy, but you should see it "Scanning ____ ..." on each item in your bag. For each item that is recognized as food, you should see "Considering ____..." followed by some information about the item. If the item is better than the previous edible food item considered, or if it's the first edible food item found, you should see "Accepting _____.", otherwise it will move on to Scanning on the next item.

Specifically, I'll need to know what it says when it scans the Sewer Carp. (Or the Underspore Pod, if it's still having problems with that.)
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 11-20-08, 07:48 AM  
Vashra
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
Originally posted by Phanx
Everlasting Underspore Frond creates Underspore Pod, not Underspore Frond.

Looking at my code, I can't see any reason it shouldn't be including Underspore Pods in the list of things you can feed to your pet. What exactly is happening when you use the macro? Is it giving you the glowing hand cursor, or is it choosing another food item? If the latter, which food item is it choosing? When you're trying to feed your pet, what is his (or her) happiness level? Do you have the "Feed when happy" option enabled?

If your answers to the above questions don't give me any clues, I'll need you to enable debugging and get more information, so don't forget to check back!
I am finding that no matter what I have checked in the CC options, the addon is having troubles with certain foods just lately. For example, it completely ignores fountain goldfish - though I can feed them to my pet manually.

I had a friend on my server say theirs was having trouble with some kind of biscuit or bread that is summoned via an item (a horn of some kind).

As for specific errors:

If I have my cat out (who will eat fish, but not fungus), CC tells me "You have no food for Cat" -- if I click on the "feed pet" icon that shows, it will light up my little cursor hand and wait for me to pick something out of my inventory -- seeming to indicate that it is not recognizing that I have the goldfish in my inventory.

My cat gets hungry so rarely that I can't say I care - but I always report errors to people so they can adjust code if necessary. I have *no* idea why these fish are not being counted as food. It doesn't seem to like sewer carp either.
__________________
*insert snazzy catchphrase here*
Vashra is offline Report comment to moderator  
Reply With Quote
Unread 11-19-08, 01:40 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4743
File comments: 2138
Uploads: 43
Everlasting Underspore Frond creates Underspore Pod, not Underspore Frond.

Looking at my code, I can't see any reason it shouldn't be including Underspore Pods in the list of things you can feed to your pet. What exactly is happening when you use the macro? Is it giving you the glowing hand cursor, or is it choosing another food item? If the latter, which food item is it choosing? When you're trying to feed your pet, what is his (or her) happiness level? Do you have the "Feed when happy" option enabled?

If your answers to the above questions don't give me any clues, I'll need you to enable debugging and get more information, so don't forget to check back!
Last edited by Phanx : 11-19-08 at 01:42 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 11-18-08, 10:38 AM  
Rivin2000
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Minor bit

Prior versions didn't have this issue but the latest seems to. The Underspore Frond that is obtainable from the Everlasting Underspore Frond (From the Soregar Quests) used to be tagged as usable by my Gorilla pet and now it's not recognised as usable food.

I have the option to allow combo foods to be fed turned on and the fronds still work to feed the pet if I do it manually.

It's not a huge deal but I thought you may want to look into it.
Rivin2000 is offline Report comment to moderator  
Reply With Quote
Unread 10-25-08, 11:14 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4743
File comments: 2138
Uploads: 43
Re: minor bugs reported (and fixed), DEde done

I've replied to your bug reports.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 10-25-08, 04:51 PM  
Aphelandra
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
minor bugs reported (and fixed), DEde done

I already wrote it at curse, but probably you'll more active here.
Some minor bugs in CC 3.0.2.53 (curse) found.

2 Tooltips arent shown, 1 are wrong shown and translation doesnt work for 1 string.

Options.lua
lines 83, 84, 85, 91, 92 and 93 are all using feedhappy.xyz

every localization file uses the string "Feed when happy too" but in Options.lua the string is called "Feed when happy".

Oh, I did german translation too.

Fixed version: see bug report for link
Aphelandra is offline Report comment to moderator  
Reply With Quote
Unread 10-23-08, 05:18 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4743
File comments: 2138
Uploads: 43
Please open the Locales\Locale-deDE.lua file in Notepad and verify that the food category names (Bread, Cheese, Fish, Fruit, Fungus, Meat) match those shown in-game on the pet frame exactly.

LibDataBroker is looked for only once when the addon loads; if it's found, you get a launcher icon, otherwise you don't. But, really the only thing it does is "save" you from typing "/cc" and pressing enter, so I don't see any reason to make it more complicated.

Originally posted by ylarion
Sorry, its the german client. Furthermore i don't get an icon for the libDataBroker. Propably a localisation problem too. Don't know if the icon names are different though.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 10-23-08, 05:05 AM  
ylarion
A Defias Bandit

Forum posts: 3
File comments: 25
Uploads: 0
Originally posted by Phanx
It does indeed look like a localization issue... but that doesn't help me fix it when I don't know which locale you're experiencing the problem in.
Sorry, its the german client. Furthermore i don't get an icon for the libDataBroker. Propably a localisation problem too. Don't know if the icon names are different though.
ylarion is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 09:55 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4743
File comments: 2138
Uploads: 43
It does indeed look like a localization issue... but that doesn't help me fix it when I don't know which locale you're experiencing the problem in.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 11:59 AM  
ylarion
A Defias Bandit

Forum posts: 3
File comments: 25
Uploads: 0
tekErr is giving me this error on startUp with all other addons diabled:

Interface\AddOns\CreatureComforts\Core.lua:356: attempt to index field '?' (a nil value)
[C]: ?
Interface\AddOns\CreatureComforts\Core.lua:356: in function `Diet'
Interface\AddOns\CreatureComforts\Core.lua:317: in function <Interface\AddOns\CreatureComforts\Core.lua:307>
(tail call): ?


Button is working, but without feeding automatically. Instead it shows me the normal cursor to choose something by myself. Maybe a problem with the localisation?
ylarion is offline Report comment to moderator  
Reply With Quote
Unread 10-14-08, 10:04 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4743
File comments: 2138
Uploads: 43
Originally posted by Lindalas
I think I found it (haven't done the debugging yet). When I disable "combo foods" the problem goes away so I suspect that you have bug in the combo foots pref (where it also enables buff foods).
Indeed I do. Good catch! I'll release the fix soon.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 10-14-08, 06:25 PM  
Lindalas
A Deviate Faerie Dragon

Forum posts: 19
File comments: 76
Uploads: 0
I think I found it (haven't done the debugging yet). When I disable "combo foods" the problem goes away so I suspect that you have bug in the combo foots pref (where it also enables buff foods).
__________________
Lindalas is offline Report comment to moderator  
Reply With Quote
Unread 10-13-08, 06:47 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4743
File comments: 2138
Uploads: 43
Originally posted by Lindalas
It happened again today. I don't think I had moved or restacked anything (and certainly not while mashing the macro). What I *DID* do was swap pets (while mounted). When I dismounted my cat was hungry and the mudfish showed up on the CC button. I actually did one fight first and then fed him manually. He got hungry again a bit later and the mudfish still showed up. I did not try relogging to see if that would change anything.
Swapping pets should trigger a rebuild of the internal "okay to feed" list, regardless of whether you're mounted when you do it. Each time your pet "spawns" its creature family is checked against the last known one. If it's different, your pet has changed, and the diet list is rebuilt.

Anyway, I'm going to need you to enable debugging to find out what's happening. Open up CreatureComforts.lua in your text editor, and change line 20 from:

if level > 0 then return end

to:

if level > 2 then return end

Log in and swap your pet. You should see something like:

UNIT_PET
UNIT_PET, exists, ___ (( pet family, such as "Cat" ))
New pet type ___, previously ___ (( new and old pet familiies ))
Updating diet...
Adding _____... (( food type, such as "Bread" or "Meat" ))
Adding ___ ____... (( category and food type, such as "Raw" or "Bonus", and "Bread" or "Meat" ))
Done updating diet. (( after several repetitions of the above ))

You should see it add the food types your pet can eat, and the subtypes you've configured to use. If it's NOT listing "Bonus Fish" (and it shouldn't) you'll need to raise the debug level to 5 and move something in your bag. This will be extremely spammy, but will list each item in your bag as it's scanned, along with how the logic is being applied to it. Post the lines concerning the Grilled Mudfish, and any other bonus foods you've seen it incorrectly use.
Phanx is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: