Log in

View Full Version : Fizzwidget's Feed-o-Matic question [ For anyone who codes out there =D ]



Hypnotic
09-18-2008, 04:24 PM
I recently got my two shammies up to 59, and since I wanna level a few teams while RAF is still enabled on my accounts, I decided to start two hunters. I had FoM on my 70 hunter, and loved it to death o.o, Now, my question is, is there any way to make the add-on message ' (pettname) is hungry' that shows in the chat window on the character itself show in party? Ive searched through the codes, but I personally dont understand it, and failed to find anything. And if not, any suggestions on a addon that could be able to alert me to when the slaves pet is hungry?

Oh, and heres a link to the feed-o-matic: http://fizzwidget.com/feedomatic/ ('http://fizzwidget.com/feedomatic/')

Any comments / suggestions welcome ^_^

Smallpox
09-18-2008, 04:51 PM
I recently got my two shammies up to 59, and since I wanna level a few teams while RAF is still enabled on my accounts, I decided to start two hunters. I had FoM on my 70 hunter, and loved it to death o.o, Now, my question is, is there any way to make the add-on message ' (pettname) is hungry' that shows in the chat window on the character itself show in party? Ive searched through the codes, but I personally dont understand it, and failed to find anything. And if not, any suggestions on a addon that could be able to alert me to when the slaves pet is hungry?
If I remember correctly it makes a dink sound to let you know when the pet is hungry, but then again if you are doing more then one instance on the same computer you may not hear it so that may not work.

Hypnotic
09-18-2008, 04:54 PM
yea, the bell noise doesnt work well for that reason, lol Im running both instances on one computer >_< Thanks for replying though ^_^

Jafula
09-18-2008, 04:56 PM
In the file FeedOMatic.lua

add a new line below line 752 with the following:



SendChatMessage(string.format(msg, pet),"PARTY");


It will look like this:


...
if (FOM_NoFoodError) then
msg = msg .. "\n" .. FOM_NoFoodError;
end
GFWUtils.Print(string.format(msg, pet));
GFWUtils.Note(string.format(msg, pet));
SendChatMessage(string.format(msg, pet),"PARTY");
end
FOM_PlayHungrySound();
FOM_LastWarning = GetTime();
...


Give that a go, haven't tested it...

Hypnotic
09-18-2008, 05:03 PM
In the file FeedOMatic.lua

add a new line below line 752 with the following:



SendChatMessage(string.format(msg, pet),"PARTY");


It will look like this:


...
if (FOM_NoFoodError) then
msg = msg .. "\n" .. FOM_NoFoodError;
end
GFWUtils.Print(string.format(msg, pet));
GFWUtils.Note(string.format(msg, pet));
SendChatMessage(string.format(msg, pet),"PARTY");
end
FOM_PlayHungrySound();
FOM_LastWarning = GetTime();
...


Give that a go, haven't tested it...I'll try that and see if it works, thanks Jafula! ^_^ BTW love jamba o.o its a life saver

Hypnotic
09-18-2008, 05:15 PM
Woot it works! Thanks a lot! ^_^ Appreciate the speedy replies.

Jafula
09-18-2008, 05:35 PM
:)

Oatboat
09-18-2008, 06:21 PM
blue wizard needs food badly