Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(147 Kb)
Download
Updated: 05-06-11 01:29 AM
Pictures
File Info
Updated:05-06-11 01:29 AM
Created:unknown
Downloads:32,636
Favorites:227
MD5:

FuBar - PetInfoFu  Popular! (More than 5000 hits)

Version: 4.1.0
by: Jayhawk [More]

FuBar - PetInfo 4.1.0

Author: Jayhawk
Release Date: 2011-05-03

Displays information on your pet, such as name, level, combat ratings and attributes.

Use
PetInfoFu keeps track of your pets, including your stabled pets. Optionally, it will track your history of taming pets. Clicking on the FuBar menu, which displays your pet's happiness in colour, will bring up the training dialog. Should you have Cartographer installed, PetInfoFu can keep track of the stables for you.

For hunters, you can click on a stabled pet in the FuBar tooltip and a small tooltip will pop-up showing you the skills of that particular pet. You will need to have summoned a particular pet for the extended information to be saved (and shown in the tooltip)

Options
Show pet's name (True) - Displays the name of your current pet, assuming it is not currently dismissed.
Show pet's combat statistics (True) - Shows your pets combat statistics, assuming it is not currently dismissed.
Show pet's attributes (True) - Shows your pets Strength, Agility, Stamina, Intelligence and Spirit, assuming it is not currently dismissed.
Show pet's skills (True) - Shows your pets skills, assuming it is not currently dismissed. It also shows the level a higher rank can be learned, should that rank be in your pet training manual.

Hunter Only:
Show Mend Pet Frame (False) - Toggles a dragable frame when Heal Pet is active
Play sound: On TP gain/On new skill available (False) - Play a sound when the pet gains Training Points (TP) or is able to learn an available skill.
Stabled Pets|Show active pets (True) - Shows you which pets are currently your active pets.
Stabled Pets|Show stabled pets (False) - Shows you which pets are currently in your stable.
Mapnotes|Enable Stable mapnotes (False) - Will place an icon on the map for each Stable you visit. Needs Cartographer to be installed.

Warlock only:
Show nethered demons (False) - Keeps track of the skills of the demons you can summon, but are currently gallivanting in the Twisted Nethers.

Acknowledgements
This add-on is a continuation of corgi's PetInfo which he kindly allowed me to update to WoW 2.0. I'd also like to thank gnancy for suggesting I add support for Demonic Knowledge and helping me test it.

Install: extract the FuBar_PetInfoFu folder into

\World of Warcraft\Interface\AddOns\


This add-on was downloaded from http://www.wowinterface.com/

4.1.0 - updated TOC, removed happiness and level information, changed 'stables' to show both active and stored pets
4.0.0 - updated for Catclysm API changes, stabled pet tracking is currently not working
3.3.0 - updated TOC, added support for Glyph of Mend Pet (HunterZ), removed trying to open the pet tab on left clicking the icon, added addon loader support (Petraca)
3.2.0 - updated TOC
3.0.3 - fixed happiness gain with Guard Dog
3.0.2 - cleanup unused data in SavedVariables, fixed issue with locales (Kazragore)
3.0.1 - fixed bug with LibCrayon
3.0.0 - updated to 3.0.2, removed obsolete functionality, added new happiness improving pet talents
2.4.2 - added option to display happiness in a seperate frame rather than the FuBar (MiyaMirage) and doubled the happiness DECAY_RATE (2.4.2)
2.4.1 - tried to fix issues with German translation
2.4.0 - updated TOC, added German translation (Singler), updated code to new combat log
2.3.2 - fixed bug where nethered demons were not properly saved, added Show Mend Pet option (kergoth)
2.3.1 - revamped happiness calculations to be (hopefully) more accurate; added a little (movable) tooltip to show when your pet is being healed.
2.3.0 - updated TOC, added sound on pet happiness level change, xp tool tip now remembers if it's showing.
2.2.1 - added XP window, fixed a few minor bugs
2.2.0 - updated TOC, added Happiness tracking, added saving of pet skills and way to show these (tkasomething crowd), added demon icons (maytrix).
2.1.4 - added option for sound when pet able to learn new skill (Mania), removed level timers for pets of same level as hunter.
2.1.3 - added by kill timer (MayDay), added option to show Loyalty for Stabled pets (Someone)
2.1.2 - added nethered pets to "No pet" tooltip, and a scheduled event to fix "UO", hopefully fixed stack overflow bug.
2.1.1 - added show experience (Mars85), hopefully fixed bug (ThornyJohn)
2.1.0 - update TOC, added pet/demon skills and toggles for skills and combat statistics.
2.0.5 - bugfixes
2.0.4 - added support for Demonic Knowledge (Warlock)
2.0.3 - added stable intergration with Cartographer (Hunter)
2.0.2 - fixed some issues for Warlocks
2.0.1 - added sorting on when one first stabled a pet. (Hunter)
- tried to reduce updates triggered by UNIT_HAPPINESS
2.0 - initial release
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
3.3.0
186kB
Jayhawk
01-30-10 05:02 AM


Post A Reply Comment Options
Unread 05-29-07, 11:19 PM  
Mars85
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 67
Uploads: 1
The way most "time till player level up" infos work is: Have a "session" (which can be reset). On start of session look how many XP the player has. Then on every XP gain look how long the session runs. Than calc XP/second and so you can calc how long it tooks till level up.

AFAIIK Titan PetInfo includes "time till level up"

PS: Option to display remaing XP% and/or XP value on paneltext too would be nice too.
Mars85 is offline Report comment to moderator  
Reply With Quote
Unread 06-01-07, 11:21 AM  
Jayhawk
Premium Member
 
Jayhawk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 151
Uploads: 6
The XP remaining option is now in beta. Still struggling with the time till level up. Not sure if I want to use a timer action...

[edit]
I think, I got it working now (with a timer, updating the label every minute). I'll do some more testing and may be able to release it this weekend.
Last edited by Jayhawk : 06-01-07 at 10:20 PM.
Jayhawk is offline Report comment to moderator  
Reply With Quote
Unread 06-02-07, 09:07 AM  
Mars85
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 67
Uploads: 1
Updating on level up / got XP event would be enough . Thanks for adding this.
Mars85 is offline Report comment to moderator  
Reply With Quote
Unread 06-06-07, 03:29 AM  
Zeyr
A Defias Bandit

Forum posts: 3
File comments: 3
Uploads: 0
Massive Errors

I upgraded today and whenever I moue over the screen freezes and then i get a blank box that won't go away and an lua error. I can screenshot the lua error for you if you want to see it.

Not sure how to be more specific other then I have to disabled it or I can't keep playing.
Zeyr is offline Report comment to moderator  
Reply With Quote
Unread 06-07-07, 11:56 AM  
Jayhawk
Premium Member
 
Jayhawk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 151
Uploads: 6
Re: Massive Errors

That's...weird.
I'd love to see the error message as that should make it possible for me to pin point what's wrong and fix it.
Sorry for the inconvenience...
Jayhawk is offline Report comment to moderator  
Reply With Quote
Unread 06-08-07, 11:54 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1047
Uploads: 0
This has had a continuing error for quite some time. Regularly update from the WowAce SVN (directly using a SVN client). Rarely play my hunter or would have reported this sooner.

Log on with the latest SVN version (r38236) of PetInfoFu and:

"FuBar_PetInfoFu-2.1.1 38048\\PetInfoFu.lua:225: Icon \"Stable\" already registered\nAceAddon-2.0-38524 (Ace2):466: in function <Interface\\AddOns\\Ace2\\AceAddon-2.0\\AceAddon-2.0.lua:459>\nAceAddon-2.0-38524 (Ace2):582: in function `InitializeAddon'\nAceAddon-2.0-38524 (Ace2):455: in function <Interface\\AddOns\\Ace2\\AceAddon-2.0\\AceAddon-2.0.lua:432>\n<in C code>: ?\nAceEvent-2.0-38824 (Ace2):320: in function `TriggerEvent'\nAceEvent-2.0-38824 (Ace2):1019: in function <Interface\\AddOns\\Ace2\\AceEvent-2.0\\AceEvent-2.0.lua:1012>\n<in C code>: ?\n<in C code>: in function `pcall'\nFuBar-33424\\FuBar.lua:625: in function <Interface\\AddOns\\FuBar\\FuBar.lua:620>\nFuBar-33424\\FuBar.lua:887: in function `LoadPlugin'\nFuBar-33424\\FuBar.lua:1015: in function <Interface\\AddOns\\FuBar\\FuBar.lua:1007>\n<in C code>: ?\nAceEvent-2.0-38824 (Ace2):427: in function <Interface\\AddOns\\Ace2\\AceEvent-2.0\\AceEvent-2.0.lua:403>\n\n".

The mod is dead after that. Has happened with several prior revisions as well; never changed the pet. Might be an issue with an old saved variable file used with newer mod revisions, but it still shouldn't be doing that.
Last edited by Zidomo : 06-08-07 at 11:54 PM.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 06-09-07, 01:40 PM  
Mars85
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 67
Uploads: 1
Having same problem (with warlock)... when I hover then WoW hangs up
Mars85 is offline Report comment to moderator  
Reply With Quote
Unread 06-10-07, 09:40 AM  
Jayhawk
Premium Member
 
Jayhawk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 151
Uploads: 6
Strange.

Zidomo, I *do* regularly update. I'm using Tortoise to maintain my source.
As a matter of fact, I tend to upload the WoW Ace builds, rather than make them myself. So unless someone has been misguiding me, I find it strange that some of my libraries should be out of date.

I'm also a bit flabbergasted by that error message... as, assuming I decode it correctly, it complains about an icon referrence at line 255. There isn't.

I'll do some more checking, but... I'm open to suggestions.
Last edited by Jayhawk : 06-10-07 at 10:19 PM.
Jayhawk is offline Report comment to moderator  
Reply With Quote
Unread 06-11-07, 03:41 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1047
Uploads: 0
Originally posted by Jayhawk
Strange.

Zidomo, I *do* regularly update. I'm using Tortoise to maintain my source.
As a matter of fact, I tend to upload the WoW Ace builds, rather than make them myself. So unless someone has been misguiding me, I find it strange that some of my libraries should be out of date.

I'm also a bit flabbergasted by that error message... as, assuming I decode it correctly, it complains about an icon referrence at line 255. There isn't.

I'll do some more checking, but... I'm open to suggestions.
You misunderstood my first comments; sorry I wasn't more clear. For "This has had a continuing error for quite some time. Regularly update from the WowAce SVN (directly using a SVN client)...", I meant that *I* regularly update . So that you would know the progression of the error and when it occurred, as well as the fact that I keep things updated here. In no way was I referring to what you do .

As to the error, the bug error I reported refers to line 225, not "255" as you state. FuBar_CritterInFu (which I'm also using) brings up no errors at any time. Took a look at the code of each and...I think I see where the problem is.

PetInfoFu r39474 (latest as of this date, as well as earlier revisions, from PetInfoFu.lua lines 224-228):
Code:
	if Cartographer_Notes then
    	Cartographer_Notes:RegisterIcon("Stable", {text = L["Stable"], 
                                                   path = "Interface\\AddOns\\FuBar_PetInfoFu\\icons\\Stable"
                                                }
                                        )
CritterInFu v2.1.1 (from CritterInFu.lua lines 87-90):
Code:
if Cartographer_Notes then
		Cartographer_Notes:RegisterIcon("Stable", {text = L["STABLEMP"], path = "Interface\\AddOns\\FuBar_CritterInFu\\icons\\stable.tga"})
		Cartographer_Notes:RegisterNotesDatabase('CritterInFu', self.db.account.stables, self)
	end
Both mods have a "stable.tga" image file in "\icon" subfolders of the mods. You appear to have forgotten the ".tga" (for stable.tga) at the end of line 226 before the apostrophe in PetInfoFu.lua. Might also want to de-capitalize "Stable..." as the image file name is in lower case. Or else capitalize the image file name.
Last edited by Zidomo : 06-11-07 at 03:53 PM.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 06-11-07, 10:27 PM  
Jayhawk
Premium Member
 
Jayhawk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 151
Uploads: 6
Thanks!

First of all, thanks for the explanation. I was wondering what I was doing wrong here, as I'm not 100% up to speed with SVN.

Secondly, dh.
It appears that I can't read properly. 255 ~= 225.

Now to the problem. I'm almost sure that it defaults to a .tga suffix. For me, it's has been working without a hitch since I first uploaded it, and I know there's at least one other addon (TrainerFu) which doesn't specify the extension either.
(I actually based the stable icon stuff on TrainerFu)

As for the capitalisation, I always thought the Windows File System was not case-sensitive. Would that make a difference?

Please not, I'm fiercely arguing I'm right, but trying to figure out what's going on. I've updated SVN with your suggestion, and hope you can tell me if that does the trick for you?
Jayhawk is offline Report comment to moderator  
Reply With Quote
Unread 06-12-07, 01:33 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1047
Uploads: 0
Re: Thanks!

Originally posted by Jayhawk
First of all, thanks for the explanation. I was wondering what I was doing wrong here, as I'm not 100% up to speed with SVN.

Secondly, dh.
It appears that I can't read properly. 255 ~= 225.

Now to the problem. I'm almost sure that it defaults to a .tga suffix. For me, it's has been working without a hitch since I first uploaded it, and I know there's at least one other addon (TrainerFu) which doesn't specify the extension either.
(I actually based the stable icon stuff on TrainerFu)

As for the capitalisation, I always thought the Windows File System was not case-sensitive. Would that make a difference?

Please not, I'm fiercely arguing I'm right, but trying to figure out what's going on. I've updated SVN with your suggestion, and hope you can tell me if that does the trick for you?
Limited time this week, so I posted without testing. Made the LUA change myself within an hour of posting; it doesn't work. Same error at logon of hunter--continually--as previously posted.

No, FAT/FAT32 isn't case sensitive. Windows NTFS "supports" case sensitivity, but the only things that can use it are POSIX apps (no one runs). The Mac UFS file system is case sensitive, though (the Mac's standard HFS+ file system isn't). As WoW runs on the Mac, something to consider.

As the error is still continuing after I made the LUA change, the only other possibility I can think of is that running it at the same time as CritterInFu is causing the problem. That mod is "registering" the identical non-WoW icon that PetInfoFu is: stable.tga, 4,140 bytes. May be causing a problem; CritterInFu may be loading in WoW first and once its private icon is "registered", WoW's LUA parser may freak out seeing another app with the identical icon.

Only option I can think of; will test it later.

EDIT: corrected 2 pre-coffee typos in reply above.
Last edited by Zidomo : 06-13-07 at 03:42 AM.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 06-12-07, 10:27 PM  
Jayhawk
Premium Member
 
Jayhawk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 151
Uploads: 6
CritterInFu...

Actually that would make sense... It's also very annoying as the CritterInFu code was lifted wholesale (without asking...) from PetInfoFu (and then changed).

I'll DL and install CritterInFu and see what happens.

PS. I must admit I'd be terribly annoyed if his addon breaks mine.
Jayhawk is offline Report comment to moderator  
Reply With Quote
Unread 06-13-07, 04:19 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1047
Uploads: 0
Re: CritterInFu...

Originally posted by Jayhawk
Actually that would make sense... It's also very annoying as the CritterInFu code was lifted wholesale (without asking...) from PetInfoFu (and then changed).

I'll DL and install CritterInFu and see what happens.

PS. I must admit I'd be terribly annoyed if his addon breaks mine.
Kayde has been a very long time member of the Ace community; surprised that that has happened (if it has). Then again, he's never had Wowace dev SVN access .

"FuBar-CritterInFu]FuBar-CritterInFu " (first released July, 2006) is supposed to be a updated, FuBar 2.0 port version of his old non-FuBar "Doppleganger CritterInfo ", which was first released back in December, 2005.

FuBar - PetInfoFu is (as acknowledged by you) an updated version of Corgi's outdated FuBar - PetInfo (first released April, 2006, earlier than CritterInFu).

Comparing the code of the only/last version of PetInfo availible (1.06a) & CritterInFu (1.0) shows a few code & a lot of formatting similarities, but also differences. Then again, the icon file in each of them is identical (icon.blp).

Comparing the latest releases of PetInfoFu (2.1.1) with CritterInFu (2.1.1), he does put up a lot of Acknowledgment statements in CritterInfu.lua, including mentioning you. Fewer similarities in the code & formatting (but there are some).

The only reason I'm using CritterInFu at the same time as this is the somewhat different information & formatting of such each provides. Hopefully the issue will turn out positively.
Last edited by Zidomo : 06-13-07 at 04:26 AM.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 06-13-07, 02:21 PM  
Jayhawk
Premium Member
 
Jayhawk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 151
Uploads: 6
Re: CritterInFu...

PetInfoFu is an updated version of Corgi's outdated FuBar - PetInfo
Yeah, I wrote Corgi and asked him if I could rewrite his mod for which he graciously gave me permission. I expanded it and added the stable routines (being inspired by TrainerFu) and fiddled to get the stable.tga the way I wanted it.

When I saw CritterFu I downloaded it, then found it to be virtually identical to PetInfoFu (the comments in the lua are a dead giveaway ). After some digging around I found I was acknowledged, but would have appreciated being asked before hand. He actually writes in his comments that he rewrote bits and removed part of it because he didn't like all of it (which is his good right).

Anyroad, I just launched WoW with both addon's installed, and get the error message you mentioned. I'm not amused.

However, this probably does not explain the issues Mars and Zeyr have...
Jayhawk is offline Report comment to moderator  
Reply With Quote
Unread 06-15-07, 01:32 PM  
Jayhawk
Premium Member
 
Jayhawk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 151
Uploads: 6
Originally posted by Mars85
Having same problem (with warlock)... when I hover then WoW hangs up
I found something similar, the other day. It seems a tack overflow occurs (which will eventually go away) in the pet list. I'm looking into it.
Jayhawk is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: