Download
(49Kb)
Download
Updated: 10-10-13 11:58 PM
Pictures
File Info
Updated:10-10-13 11:58 PM
Created:09-28-12 11:55 PM
Downloads:8,721
Favorites:81
MD5:

Pet Theory  Popular! (More than 5000 hits)

Version: 5.4.0-1.1.12
by: Torhal [More]

Improves upon the functionality of the PetJournal and information during Pet Battles and while wandering Azeroth.

Features

  • Clearly displays rarity for both enemy and friendly pets during Pet Battles
  • Shows which rarities and levels of Battle Pets have been captured in their tooltips and in Minimap tooltips.
  • Displays rarity color for pets in the PetJournal, and displays rarity for non-wild pets.
  • Displays a tooltip when hovering over pets in the PetJournal so you can easily see their passives, pros, and cons, without having to click on them first.
  • Allows sorting by name, level, power, speed, health, and type in either ascending or descending order.
  • Filter pets by zone.
  • Double-click a pet in the PetJournal to summon it.

5.2.0-1.1.11
- Bump ToC version to 50300.

5.2.0-1.1.11
- Fixed incorrect check for unknown pets.

5.2.0-1.1.10
- Bump ToC version to 50200.
- Cleanup, and color the names in the PetJournalPetCard by rarity.
- Updated API usage.
- Added item-to-NPC mappings for Hyacinth Macaw, Mr. Chilly, Sen'jin Fetish, and Lil' K.T. (thanks, sidji!)

5.0.5-1.1.9
- Added mappings for Wolpertinger's Tankard and Parrot Cage (Cockatiel)
- Fix zone filtering for zones with empty sub zone names.
- Might help to include AceDB-3.0 in the list of files to load. Oops.
- Give pets which are set as Favorite precedence in the sorted list.

5.0.5-1.1.8
- Fixed errors caused by the fact that FloatingBattlePetTooltip doesn't have an info_line (yet).
- More loading changes, to prevent errors.
- Don't just hide the PetJournalFilterButton and PetJournalListScrollFrame - completely remove their anchors as well so they cannot possibly show.
- Handle edge-case where zone name is nil (likely before the player is completely in the game) and added matching against the sub zone as well.

5.0.5-1.1.7
- Removed redundant information from Auction House tooltips.
- Fixed the ever-growing Auction House tooltip.
- Revamped loading and list handling logic.
- Don't color the pet level by quality - it can be hard to read when blue.
- Prevented the final (and invisible) list button from displaying a sticky tooltip when clicking on the Pet Journal tab.
- Treat all sort fields the same; check to see if one of the compared pets has a nil field and relegate to the end of the list. This ensures that sorting by, for example, primary stat will not mix pets without a primary in with those that do.

5.0.5-1.1.6
- Changed tooltip code to be sensible - no more overlapping FontStrings.
- Show the rarity color for the pet named in the release-confirmation popup.
- Disable the "Only Favorites" checkbox when turning off "Collected" - don't disable "Collected".

5.0.5-1.1.5
- Added filter/sorting persistence. Completely exit WoW before updating.
- Setting up hooks when Blizzard_PetJournal is already loaded would probably be a good idea…
- Added the ability to summon a pet on double-click of the list button.
- Check for nil rarity (only happens immediately after learning a pet).

5.0.5-1.1.4
- Properly remove/relocate pets in the registry when one is released.
- Repopulate the caches and list even when the PetJournal isn't visible...fixes issue where releasing/obtaining pets wasn't registering on the minimap and also causing Lua errors for pet rarity.
- Switch tooltip when hovering over a pet in the list to show one of its three abilities when pressing SHIFT, CTRL, or ALT.
- Widened the total/unique frame so the text will fit in other locales, and moved it to the bottom-center of the PetJournal.
- Fix display of known/unknown in tooltip of Battle Pets in the auction house.

5.0.5-1.1.3
- Don't allow the inserted text to overwrite the speed advantage text in the PetBattle tooltip.
- Minimized lines added to tooltips.
- Update the pet list when zoning so the list is correct if filtering by current zone.
- Set released pets as unowned.
- Make sure the Blizzard_PetJournal isn't already loaded before setting up UI elements.
- Changed calculation for max health stat weight.
- Reset the list scrollbar to the beginning when toggling Collected/Not Collected or the zone-only filters.
- Much improved filter handling.
- Restore generic sort fallback to hit level/descending before name/ascending.

5.0.5-1.1.2
- Added display for a pet's primary (highest) stat next to the level icon.
- Added ability to sort by primary stat.
- Fixed issue some people were having with tooltips suddenly appearing while the PetJournal was closed.
- Fixed issue where typing in a search query would produce erratic results in the list and make it seem as though no other pets existed for the tooltip output.
Post A Reply Comment Options
Unread 10-03-12, 09:05 AM  
browndhb
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
suggestion

One of my biggest gripes about the standard pet interface is that each time you add a pet to your team, it defaults to using the first ability in all three slots. There are a few pets where I always want the second ability. I'd like the ability to remember the ability choices so that it defaults to whatever I last picked.
Report comment to moderator  
Reply With Quote
Unread 10-04-12, 04:18 PM  
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1196
File comments: 223
Uploads: 34
I'm still working on other features, but the number of requests for "only showing pets currently obtainable from your current zone" was such that I tossed it in alongside a display for unique pets.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
Report comment to moderator  
Reply With Quote
Unread 10-05-12, 01:05 AM  
AutolycusWolf
A Kobold Labourer
 
AutolycusWolf's Avatar

Forum posts: 0
File comments: 58
Uploads: 0
Originally Posted by Torhal
I'm still working on other features, but the number of requests for "only showing pets currently obtainable from your current zone" was such that I tossed it in alongside a display for unique pets.
Excellent! And they both work like a charm so far! Still, I feel the urge (even though I may cross a line here ) to stress out the need for less cluttered tooltips. At least the ones in your mini map! I don't mind world tooltips being informative and detailed, but the same format in your mini map makes it a little overwhelming.

They tend to obscure and/or make it harder to identify some other items you may be tracking like mining/herbalism nodes, townsfolk (like stable masters) etc. One simple line à la BattlePetCount with a colorized, based on the highest quality, "owned" or a red "not owned" tag would suffice. Or better yet if you still want to go on with the current tooltip approach you could present us with a few options and let us handle world and mini map tooltips ourselves.

Thanks again for your hard work.


EDIT: Something I just noticed during the course of my play. The option to filter pets by current zone doesn't stick. In other words if you log out and then back in you have to re-apply the filter. You might call this nitpicking but having it stick is indeed a huge time saver! You just log in and get into action ASAP!
Last edited by AutolycusWolf : 10-05-12 at 02:45 AM.
Report comment to moderator  
Reply With Quote
Unread 10-05-12, 08:07 AM  
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1196
File comments: 223
Uploads: 34
Persistence is something I hope to work on over the weekend, time permitting.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
Report comment to moderator  
Reply With Quote
Unread 10-05-12, 07:25 PM  
DohNotAgain
A Kobold Labourer

Forum posts: 0
File comments: 51
Uploads: 0
filter wierdness

I just noticed when I'm in Iron Forge and sort on zone only it shows no minipets.
Dun Morogh shows minipets not found there like cockroaches, snakes, frogs, maggots, and spiders.

Then during moving back and forth between IF and Dun Moroh for testing it added Adders to the DM list, but IF stayed an empty list.

I enabled and disabled it - nothing.
Restarted the game client - nothing.
I use Pet Battle Teams so tried it with that disabled - nothing.
In DM if I toggle showing uncaught it changes the order in the list for duplicate pets by green vs blue.
Toggling the unselect all and select all for each filter did nothing.
There were no config files to delete in case something got corrupted.
I tried changing zones with Current Zone selected and not selected - nothing.
I run Bugsack and no errors get thrown into it.

Have fun.

I have not disabled all mods except this one yet.
I will try that later when I have time to play.
Report comment to moderator  
Reply With Quote
Unread 10-05-12, 08:27 PM  
Saintgabrial
A Kobold Labourer
 
Saintgabrial's Avatar

Forum posts: 0
File comments: 34
Uploads: 0
Error message when highlighting pets

Every time I highlight a wild pet in the mini map or in the wild that I don't have a rare of I get an error message.

Message: PetTheory-5.0.5-1.1.2-5-gaf39c16\Core.lua:181: attempt to perform arithmetic on field "rarity" (a nil value)
Time: 10/05/12 21:19:42
Count: 15
Stack: Interface\AddOns\PetTheory\Core.lua:1052: in function `?'
...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:147: in function <...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[C]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:92: in function `Fire'
...face\AddOns\Archy\Libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...face\AddOns\Archy\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>

Once I caught a rare that would bring up the error before has now stoped. Also if I don't even have an uncommon the error also shows up. So just when I highlight a pet that I either don't have or don't have the rare of that type of pet. But stops once I have it.

Thanks and great add-on by the way. Only thing it needs now beside a few fixes is a way to set up and save battle pet teams.
__________________
Report comment to moderator  
Reply With Quote
Unread 10-05-12, 10:06 PM  
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1196
File comments: 223
Uploads: 34
Re: filter wierdness

Originally Posted by DohNotAgain
I just noticed when I'm in Iron Forge and sort on zone only it shows no minipets.
Dun Morogh shows minipets not found there like cockroaches, snakes, frogs, maggots, and spiders.

Then during moving back and forth between IF and Dun Moroh for testing it added Adders to the DM list, but IF stayed an empty list.

I enabled and disabled it - nothing.
Restarted the game client - nothing.
I use Pet Battle Teams so tried it with that disabled - nothing.
In DM if I toggle showing uncaught it changes the order in the list for duplicate pets by green vs blue.
Toggling the unselect all and select all for each filter did nothing.
There were no config files to delete in case something got corrupted.
I tried changing zones with Current Zone selected and not selected - nothing.
I run Bugsack and no errors get thrown into it.

Have fun.

I have not disabled all mods except this one yet.
I will try that later when I have time to play.
Should be fixed in the latest version.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
Report comment to moderator  
Reply With Quote
Unread 10-05-12, 10:07 PM  
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1196
File comments: 223
Uploads: 34
Re: Error message when highlighting pets

Originally Posted by Saintgabrial
Every time I highlight a wild pet in the mini map or in the wild that I don't have a rare of I get an error message.

Message: PetTheory-5.0.5-1.1.2-5-gaf39c16\Core.lua:181: attempt to perform arithmetic on field "rarity" (a nil value)
Time: 10/05/12 21:19:42
Count: 15
Stack: Interface\AddOns\PetTheory\Core.lua:1052: in function `?'
...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:147: in function <...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[C]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:92: in function `Fire'
...face\AddOns\Archy\Libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...face\AddOns\Archy\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>

Once I caught a rare that would bring up the error before has now stoped. Also if I don't even have an uncommon the error also shows up. So just when I highlight a pet that I either don't have or don't have the rare of that type of pet. But stops once I have it.

Thanks and great add-on by the way. Only thing it needs now beside a few fixes is a way to set up and save battle pet teams.
Should be fixed in the latest version. I'd been thinking on team presets, just need to come up with a decent implementation.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
Report comment to moderator  
Reply With Quote
Unread 10-05-12, 11:40 PM  
DohNotAgain
A Kobold Labourer

Forum posts: 0
File comments: 51
Uploads: 0
Sad to say the problem still exists with the newest version.

But... I don't think it is your problem.

After trying many things....
I decided to look at the Blizzard tool tip that tells where the pets are found --- duh, what a concept.
Low and behold the long-tailed mole, which I captured in Iron Forge, doesn't have IF in the location list.
The Maggot and Adder list Dun Morogh as a location.
So it looks like the data you are filtering is bad data from Blizzard.

I've never seen adders or maggots in Dun Morogh and I caught the mole in Iron Forge.
So I know some data is wrong.
I've never seen anything but that mole in IF.
So the incorrect data for its location is causing IF to show as having nothing.


Thanks for this great addon.
Report comment to moderator  
Reply With Quote
Unread 10-06-12, 01:41 AM  
Saintgabrial
A Kobold Labourer
 
Saintgabrial's Avatar

Forum posts: 0
File comments: 34
Uploads: 0
Highlighting pets still causing error in 5.0.5-1.1.3-3-gfdbc933

Here is the error when I highlight my mouse over the critter to fight it.

Message: PetTheory-5.0.5-1.1.3-3-gfdbc933\Core.lua:174: attempt to perform arithmetic on field "rarity" (a nil value)
Time: 10/06/12 02:31:52
Count: 3
Stack: Interface\AddOns\PetTheory\Core.lua:1113: in function `?'
...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:147: in function <...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[C]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:92: in function `Fire'
...face\AddOns\Archy\Libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...face\AddOns\Archy\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>





This is the error I get when I highlight the same critters picture while fighting it.


Message: PetTheory-5.0.5-1.1.3-3-gfdbc933\Core.lua:174: attempt to perform arithmetic on field "rarity" (a nil value)
Time: 10/06/12 02:36:59
Count: 1
Stack: Interface\AddOns\PetTheory\Core.lua:959: in function <Interface\AddOns\PetTheory\Core.lua:935>
Interface\AddOns\PetTheory\Core.lua:978: in function <Interface\AddOns\PetTheory\Core.lua:969>
(tail call): ?
[C]: in function `PetBattleUnitTooltip_UpdateForUnit'
[string "*:OnEnter"]:2: in function <[string "*:OnEnter"]:1>

Locals: self = PetBattlePrimaryUnitTooltip {
0 = <userdata>
AbilityName2 = <unnamed> {
}
AbilityName1 = <unnamed> {
}
ResistantToLabel = <unnamed> {
}
petIndex = 1
xpTextFormat = "XP: %d/%d"
AbilityName3 = <unnamed> {
}
PetType = <unnamed> {
}
BorderTopLeft = <unnamed> {
}
SpeedAdvantage = <unnamed> {
}
XPText = <unnamed> {
}
HealthBG = <unnamed> {
}
initial_width = 259.99996948242
initial_height = 197.99998474121
AbilityIcon2 = <unnamed> {
}
StatsLabel = <unnamed> {
}
AttackIcon = <unnamed> {
}
XPBar = <unnamed> {
}
healthTextFormat = "Health: %d/%d"
XPBG = <unnamed> {
}
AbilityIcon3 = <unnamed> {
}
Delimiter = <unnamed> {
}
AttackAmount = <unnamed> {
}
petOwner = 2
WeakToLabel = <unnamed> {
}
BorderBottomLeft = <unnamed> {
}
HealthText = <unnamed> {
}
xpBarWidth = 230
healthBarWidth = 230
weakToTextures = <table> {
}
SpeedAdvantageIcon = <unnamed> {
}
ResistantTo1 = <unnamed> {
}
WeakTo1 = <unnamed> {
}
SpeciesName = <unnamed> {
}
ActualHealthBar = <unnamed> {
}
Icon = <unnamed> {
}
HealthBorder = <unnamed> {
}
XPBorder = <unnamed> {
}
BorderTop = <unnamed> {
}
AbilityIcon1 = <unnamed> {
}
hooked_hide = true
BorderTopRight = <unnamed> {
}
BorderLeft = <unnamed> {
}
SpeedIcon = <unnamed> {
}
SpeedAmount = <unnamed> {
}
resistantToTextures = <table> {
}
Background = <unnamed> {
}
Name = <unnamed> {
}
Level = <unnamed> {
}
BorderRight = <unnamed> {
}
BorderBottom = <unnamed> {
}
BorderBottomRight = <unnamed> {
}
AbilitiesLabel = <unnamed> {
}
}
pet_name = "Twilight Spider"
ClearInfo_OnHide = <function> defined @Interface\AddOns\PetTheory\Core.lua:922
info_tooltip = PetTheory_BattlePetTooltip {
0 = <userdata>
comparing = false
updateTooltip = 0.2
}
ModifyTooltip = <function> defined @Interface\AddOns\PetTheory\Core.lua:154
known_pets_by_name = <table> {
Terrible Turnip = <table> {
}
Alpine Hare = <table> {
}
Rustberg Gull = <table> {
}
Lil' Ragnaros = <table> {
}
Dun Morogh Cub = <table> {
}
Jade Crane Chick = <table> {
}
Undercity Cockroach = <table> {
}
Deviate Hatchling = <table> {
}
Cobra Hatchling = <table> {
}
Fishy = <table> {
}
Shore Crab = <table> {
}
Purple Puffer = <table> {
}
Great Horned Owl = <table> {
}
Cornish Rex Cat = <table> {
}
Perky Pug = <table> {
}
Proto-Drake Whelp = <table> {
}
Firefly = <table> {
}
Feline Familiar = <table> {
}
Mr. Wiggles = <table> {
}
Kirin Tor Familiar = <table> {
}
Winter Reindeer = <table> {
}
Black Lamb = <table> {
}
Magical Crawdad = <table> {
}
Squirrel = <table> {
}
Roach = <table> {
}
Mechanical Squirrel = <table> {
}
Lil' XT = <table> {
}
Snow Cub = <table> {
}
Blue Moth = <table> {
}
Gazelle Fawn = <table> {
}
Nether Ray Fry = <table> {
}
Prairie Dog = <table> {
}
Mr. Grubbs = <table> {
}
Tranquil Mechanical Yeti = <table> {
}
Warbot = <table> {
}
Gold Mini Jouster = <table> {
}
Teldrassil Sproutling = <table> {
}
Enchanted Lantern = <table> {
}
Stinker = <table> {
}
Maggot = <table> {
}
Twilight Spider = <table> {
}
Black Kingsnake = <table> {
}
Snowshoe Rabbit = <table> {
}
Jubling = <table> {
}
Darting Hatchling = <table> {
}
White Tickbird Hatchling = <table> {
}
Searing Scorchling = <table> {
}
Miniwing = <table> {
}
Spiny Lizard = <table> {
}
Tree Frog = <table> {
}
Lost of Lordaeron = <table> {
}
Celestial Dragon = <table> {
}
Disgusting Oozeling = <table> {
}
Emerald Whelpling = <table> {
}
Pi



Hope this helps and keep up the great work. I know your working hard on it.
__________________
Report comment to moderator  
Reply With Quote
Unread 10-06-12, 12:27 PM  
Mikari
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 102
Uploads: 3
Every time I log in I get an error in the error frame saying I'm in the wrong zone, I assume this is some side effect of the zone filtering?
Report comment to moderator  
Reply With Quote
Unread 10-07-12, 01:32 AM  
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1196
File comments: 223
Uploads: 34
Originally Posted by Mikari
Every time I log in I get an error in the error frame saying I'm in the wrong zone, I assume this is some side effect of the zone filtering?
...no? What's the error?
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
Report comment to moderator  
Reply With Quote
Unread 10-07-12, 11:46 AM  
Saintgabrial
A Kobold Labourer
 
Saintgabrial's Avatar

Forum posts: 0
File comments: 34
Uploads: 0
suggestion

Just a suggestion to possibly add to Pet Theory.

There is an add-on called Gatherer that tracks ore and herbs.

Would it be possible to add that type of feature to Pet Theory? To have it track the pets you find in the world were every time you click on a pet it would add it to the main map.

Or

Maybe just preset pet locations added to the main map. Data from wowhead or something.
__________________
Report comment to moderator  
Reply With Quote
Unread 10-07-12, 04:35 PM  
Nathanyel
A Deviate Faerie Dragon
 
Nathanyel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 213
Uploads: 17
Re: suggestion

Originally Posted by Saintgabrial
[Gathermate for Pets]
I don't think this would be a really useful thing, wild pets are either spread all over the zone, or concentrated in certain subzones. Plus, it would need filter mechanisms to display this on the map in a meaningful way. For the somewhat-rare times you can't find a pet in a zone, better just look it up on Wowhead.
Report comment to moderator  
Reply With Quote
Unread 10-07-12, 05:31 PM  
Saintgabrial
A Kobold Labourer
 
Saintgabrial's Avatar

Forum posts: 0
File comments: 34
Uploads: 0
Re: Re: suggestion

Originally Posted by Nathanyel
Originally Posted by Saintgabrial
[Gathermate for Pets]
I don't think this would be a really useful thing, wild pets are either spread all over the zone, or concentrated in certain subzones. Plus, it would need filter mechanisms to display this on the map in a meaningful way. For the somewhat-rare times you can't find a pet in a zone, better just look it up on Wowhead.

Oh but there is!

There are two add-on out there that do just that. Just they also do some things that Pet Theory does so they conflict with each other. I know I have all 4 add-on's and hoping that one of them will add the stuff the others have in some way so we can have just one add-on that does it all with no conflicts.
__________________
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.