Quantcast
Unit frames addons - hunters worst enemy?! - WoWInterface
Thread Tools Display Modes
09-04-07, 12:39 PM   #1
gromlv
A Fallenroot Satyr
 
gromlv's Avatar
Join Date: Jun 2006
Posts: 21
Unit frames addons - hunters worst enemy?!

naw already for like two days i've ben trying to find a nice unit frames that wold display my pet happynes lvl,so far oly ones has ben Perl classic unit frames,and frankly i cinda dislike them,iam thinking here shold i be missing something and havent noticed some cind of mystic option to check to enable pet happynes lvl in for example AG_unitframes?
  Reply With Quote
09-04-07, 12:47 PM   #2
Slakah
A Molten Giant
 
Slakah's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 863
Im pretty certain AG_UF changes the colour of the pet bar depending on happiness same goes for Sage and Pitbull if memory serves me right.
  Reply With Quote
09-04-07, 01:32 PM   #3
Dreadlorde
A Pyroguard Emberseer
 
Dreadlorde's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 2,302
Discord Unit Frames shows the happiness icon.
__________________

Funtoo - Plan 9 - Windows 7
  Reply With Quote
09-04-07, 01:34 PM   #4
Gemini_II
A Molten Giant
 
Gemini_II's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 762
XPerl Unitframes also shows pet happiness. Fizzwidget's Feed-o-matic will also handle that if your unitframes won't (or you don't want them to)
__________________
Retired prior to 3.2, before all challenge was removed.

  Reply With Quote
09-04-07, 03:20 PM   #5
Ev_
An Aku'mai Servant
Join Date: Dec 2006
Posts: 37
You can also use DogTags in Pitbull to customize a text to display happiness.
  Reply With Quote
09-04-07, 04:21 PM   #6
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 772
He's looking for the specific happiness.

All unitframes show the pet icon.

The way I see him decribing, he means in between the "Green", "Yellow, and "Red" colors.

But I may be wrong.
__________________
Never be satisfied with satisfactory.
  Reply With Quote
09-04-07, 05:56 PM   #7
Gemini_II
A Molten Giant
 
Gemini_II's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 762
Originally Posted by Cralor
The way I see him decribing, he means in between the "Green", "Yellow, and "Red" colors.
XPerl will do this via a colored icon, as will Feed-o-matic. Mine is set to only display when unhappy or worse.
__________________
Retired prior to 3.2, before all challenge was removed.

  Reply With Quote
09-04-07, 06:07 PM   #8
Shazear
A Fallenroot Satyr
 
Shazear's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 21
Originally Posted by Cralor
He's looking for the specific happiness.

All unitframes show the pet icon.

The way I see him decribing, he means in between the "Green", "Yellow, and "Red" colors.

But I may be wrong.
The Blizzard APIs don't allow you to know the actually happiness Number. They only give you the happiness category value. This is unfortunate, because I too would love to know just how much to feed my pet at any given time.

http://www.wowwiki.com/API_GetPetHappiness
__________________
Shazear:
Shizukana (Holy Priest)
UnShiz (UnHoly Death Knight)
Veterans of the Phoenix
Malygos
  Reply With Quote
09-04-07, 11:10 PM   #9
robthedude
Don't Panic
 
robthedude's Avatar
Join Date: Oct 2006
Posts: 364
Originally Posted by Shazear
The Blizzard APIs don't allow you to know the actually happiness Number. They only give you the happiness category value. This is unfortunate, because I too would love to know just how much to feed my pet at any given time.

http://www.wowwiki.com/API_GetPetHappiness
Hmmm, should be possible to calculate time left until your pet drops out of happiness, and the amount of happiness left as 'good' food in the combat log shows an increase of 35 per tick.
Although I think the decay is affected by combat, so the addon would need to include that in the calculation.

Do we have a viable idea for an addon here?
__________________


Last edited by robthedude : 09-04-07 at 11:13 PM.
  Reply With Quote
09-04-07, 11:45 PM   #10
Shazear
A Fallenroot Satyr
 
Shazear's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 21
Originally Posted by robthedude
Do we have a viable idea for an addon here?
Probably. I was thinking about how to tackle the problem of gathering base-line data and using that to build the addon.

Need to record things like:
Total time from max happiness (3) to Neutral (2) to unhappy (1).
total time in-combat
time out of combat,
damage taken by pet during time that time.
happiness gained by food (include interrupted feedings and such.)

Unfortunately, I've presently got my plate full w/ Relational DKP to work on a happiness addon, as much as I might want one for my hunter.
__________________
Shazear:
Shizukana (Holy Priest)
UnShiz (UnHoly Death Knight)
Veterans of the Phoenix
Malygos
  Reply With Quote
09-05-07, 09:17 AM   #11
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,757
There are other things that affect happiness, too, like dismissing your pet, it dieing, etc.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
09-05-07, 04:27 PM   #12
robthedude
Don't Panic
 
robthedude's Avatar
Join Date: Oct 2006
Posts: 364
Originally Posted by Shazear
I was thinking about how to tackle the problem of gathering base-line data and using that to build the addon.

Need to record things like:
Total time from max happiness (3) to Neutral (2) to unhappy (1).
total time in-combat
time out of combat,
damage taken by pet during time that time.
happiness gained by food (include interrupted feedings and such.)
The exact thought thats been plaguing my head all day, I think the most obvious solution may be a preliminary addon that would be capable of gathering said data, and perhaps present it in a window that can be copied from so that the users could forward it on to whoever picks this up (I'd love to, but I don't have much confidence in either my skills or my determination, that said, it's managed to hold my attention for a full 12 hours...)
__________________

  Reply With Quote
09-05-07, 06:41 PM   #13
Shazear
A Fallenroot Satyr
 
Shazear's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 21
Originally Posted by robthedude
The exact thought thats been plaguing my head all day, I think the most obvious solution may be a preliminary addon that would be capable of gathering said data, and perhaps present it in a window that can be copied from so that the users could forward it on to whoever picks this up (I'd love to, but I don't have much confidence in either my skills or my determination, that said, it's managed to hold my attention for a full 12 hours...)
Agreed, and I just found this:

http://www.wowwiki.com/Formulas:Happiness

Which should aid in the process.
__________________
Shazear:
Shizukana (Holy Priest)
UnShiz (UnHoly Death Knight)
Veterans of the Phoenix
Malygos
  Reply With Quote
09-06-07, 03:19 PM   #14
Shazear
A Fallenroot Satyr
 
Shazear's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 21
Ok, because I'm neurotic or something, I started some very basic work on this. Here's the list of events I *think* need to be tracked:

self:RegisterEvent("CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS")
self:RegisterEvent("CHAT_MSG_COMBAT_PET_MISSES")
self:RegisterEvent("CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE")
self:RegisterEvent("CHAT_MSG_SPELL_PET_BUFF")
self:RegisterEvent("CHAT_MSG_SPELL_PET_DAMAGE")
self:RegisterEvent("CONFIRM_PET_UNLEARN")
self:RegisterEvent("PET_ATTACK_START")
self:RegisterEvent("PET_ATTACK_STOP")
self:RegisterEvent("PET_STABLE_UPDATE_PAPERDOLL")
self:RegisterEvent("UNIT_HAPPINESS")
self:RegisterEvent("UNIT_PET")
self:RegisterEvent("UNIT_PET_EXPERIENCE")
self:RegisterEvent("PLAYER_REGEN_DISABLED")
self:RegisterEvent("PLAYER_REGEN_ENABLED")
self:RegisterEvent("UNIT_COMBAT")
self:RegisterEvent("UNIT_AURA")

obviously, this is the registration code for the mock up addon to do what we're talking about here. Can anyone else think of an event that I may be missing?

Shazear
__________________
Shazear:
Shizukana (Holy Priest)
UnShiz (UnHoly Death Knight)
Veterans of the Phoenix
Malygos
  Reply With Quote
09-06-07, 03:30 PM   #15
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 772
Like Seerah said,

Dismissing and Death?
__________________
Never be satisfied with satisfactory.
  Reply With Quote
09-06-07, 04:06 PM   #16
Shazear
A Fallenroot Satyr
 
Shazear's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 21
Doh! Right... I knew I was missing something, now just to figure out what events actually fire when the pet is dismissed... It may be UNIT_PET but not sure. I'll give it some testing on the PTR. I'm hoping that CHAT_MSG_COMBAT_FRIENDLY_DEATH will work for pets as well.

Thanks!
__________________
Shazear:
Shizukana (Holy Priest)
UnShiz (UnHoly Death Knight)
Veterans of the Phoenix
Malygos
  Reply With Quote
09-08-07, 07:55 PM   #17
robthedude
Don't Panic
 
robthedude's Avatar
Join Date: Oct 2006
Posts: 364
wouldn't HuntersWorstEnemy be a cracking name for this addon? or am I just drunk?

(I am just drunk, a hell of a lot of editing went into the last two scentences, more than you could possibly imagine. no seriously, more... more... more... close... nearly there... closer... there, that much editing. I really should just press the back button on IE and forget about this... but no! 'Hunters Worst Enemy' would rock as an addon name!)
__________________

  Reply With Quote
09-08-07, 08:35 PM   #18
pacoboyd
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 15
ag_Unitframes

Hmmmm, my ag_Unitframes does it automatically without me having to set an option.

Green health bar for happy
Yellow health bar for contented
Red health bar for unhappy

I know as soon as it hits yellow, it's time to feed.
  Reply With Quote
09-08-07, 08:42 PM   #19
Kaomie
A Scalebane Royal Guard
 
Kaomie's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 438
I hope something gets out of this, people have been trying to figure out some sort of formula for a long time now without much success as far as I know. In the best case it's mostly time-based with only fixed amount removed per a small number of specific events. But after grinding a lot with my hunter I sometimes have the impression it goes as far as to depend on the health level you keep your pet while fighting. I mean if you take time to heal your pet and keep him high on health during fights it seems to me the happiness goes down a lot slower. So you may have to record a massive amount of data including damage taken per HP remaining (just like XPerl Grim Reaper would do). I hope you have some good spare time and like data analysis
__________________
Kaomie
"WE LOTS OF PEOPLE FROM STRONG SERVER GUILDS" - Trade Channel
  Reply With Quote
09-08-07, 10:24 PM   #20
Shazear
A Fallenroot Satyr
 
Shazear's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 21
Originally Posted by Kaomie
I hope something gets out of this, people have been trying to figure out some sort of formula for a long time now without much success as far as I know. In the best case it's mostly time-based with only fixed amount removed per a small number of specific events. But after grinding a lot with my hunter I sometimes have the impression it goes as far as to depend on the health level you keep your pet while fighting. I mean if you take time to heal your pet and keep him high on health during fights it seems to me the happiness goes down a lot slower. So you may have to record a massive amount of data including damage taken per HP remaining (just like XPerl Grim Reaper would do). I hope you have some good spare time and like data analysis
As much as I hate to say it, I've started some basic coding on this to help learn the ACE stuff for my RDKP addon, and this seems small enough to be able to get it under my belt. So, it's in proc.
__________________
Shazear:
Shizukana (Holy Priest)
UnShiz (UnHoly Death Knight)
Veterans of the Phoenix
Malygos
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Unit frames addons - hunters worst enemy?!

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off