Pet Theory
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.
Adding a non-battle pet to my collection gave me that error reported by window007
Hi thx for this addon.. i want to report a bug when i hover over a pet (mini map and the normal world)
Message: Interface\AddOns\PetTheory\Core.lua:174: attempt to perform arithmetic on field 'rarity' (a nil value)
Time: 10/06/12 17:11:19
Count: 2
Stack: Interface\AddOns\PetTheory\Core.lua:174: in function <Interface\AddOns\PetTheory\Core.lua:154>
Interface\AddOns\PetTheory\Core.lua:1132: in function `?'
...tor\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...tor\libs\CallbackHandler-1.0\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 `?'
...tor\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
...Ons\Collectinator\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...Ons\Collectinator\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
Locals: <none>
A very good addon, but very thick! Can it be optimized? http://s59.radikal.ru/i163/1210/80/33549c7e7117.jpg
A similar addon eat in two times less - http://s019.radikal.ru/i622/1210/f8/910b086bff09.jpg although it's the same for many addon than Adon less so it is better;)
Pet Theory does much more, and therefore stores more data per pet, than BattlePetCount. This is static memory usage, so it doesn't grow unless it has to.
Hmm, noticed today that if I trap a new pet then hover over one of the same in the same play session my tooltip doesn't show anything special. Not that I need to capture one or that I've already captured one. I have to /reload after each capture. Almost like it's caching the collected pet list on load only instead of dynamicly
Fixed.
BTW, thanks so much for all the quick fixes to this addon
In 1.1.3 or in the next release? Still seeing this problem after updating to 1.1.3 this morning.
It's fixed in dev. Sorry for the confusion.
Unique count seems to be off by one (at least after I hit 300 pets.) It says I have 302 pets, 301 unique, when all 302 are unique.
Last two pets I captured were an Elfin Rabbit and Death's Head Cockroach. Is it not counting the cockroach as unique (I have several other types of them)?
Edit: Captured another couple pets and now it is saying I have 304 pets, 302 unique. So something is off in the unique counting (even the game agrees with 304 unique from looking at the achievement.)
I've seen that too
I was mouse overing one of the pets in a current battle and got:
Date: 2012-10-05 12:20:37
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\PetTheory\Core.lua line 181:
attempt to perform arithmetic on field 'rarity' (a nil value)
Debug:
[C]: ?
PetTheory\Core.lua:181:
PetTheory\Core.lua:152
PetTheory\Core.lua:882:
PetTheory\Core.lua:864
PetTheory\Core.lua:901:
PetTheory\Core.lua:892
(tail call): ?
[C]: PetBattleUnitTooltip_UpdateForUnit()
[string "*:OnEnter"]:2:
[string "*:OnEnter"]:1
Locals:
Secondary sort issue. In your previous version it looked like you changed it so that I could select one sort (say level) then another sort (say quality) and the first sort would become the secondary sort. In the latest version (1.1.2) this seems to have gone away :(
Hi M8 thx for the update the sorting now works fine!
but i got the same error as LexusNexus. Can you pls take a look at it. thx
Unfortunately, if you're using ArkInventory, there's your answer. If you aren't, then I'd need an error trace to see if it is indeed the same issue.
Whne opening Pet Journal error: Lasest Version
Date: 2012-10-05 03:52:13
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\PetTheory\Core.lua line 656:
attempt to index field 'UniqueCount' (a nil value)
Debug:
PetTheory\Core.lua:656:
PetTheory\Core.lua:636
(tail call): ?
...e\AddOns\Blizzard_PetJournal\Blizzard_PetJournal.lua:144:
...e\AddOns\Blizzard_PetJournal\Blizzard_PetJournal.lua:142
[C]: ?
[C]: ?
[C]: Show()
..\FrameXML\UIParent.lua:1738: SetUIPanel()
..\FrameXML\UIParent.lua:1582: ShowUIPanel()
..\FrameXML\UIParent.lua:1469:
..\FrameXML\UIParent.lua:1465
[C]: SetAttribute()
..\FrameXML\UIParent.lua:2179:
..\FrameXML\UIParent.lua:2167
[C]: ShowUIPanel()
..\FrameXML\UIParent.lua:2163: ToggleFrame()
..\FrameXML\UIParent.lua:636: TogglePetJournal()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
Locals:
scroll_frame = PetJournalListScrollFrame {
0 = <userdata>
buttons = <table> {
}
scrollChild = PetJournalListScrollFrameScrollChild {
}
scrollUp = PetJournalListScrollFrameScrollBarScrollUpButton {
}
scrollDown = PetJournalListScrollFrameScrollBarScrollDownButton {
}
range = 22521
scrollBar = PetJournalListScrollFrameScrollBar {
}
offset = 0
buttonHeight = 46
update = <function> defined @Interface\AddOns\PetJournalEnhanced\PetJournalEnhanced.lua:367
}
offset = 0
pet_buttons = <table> {
1 = PetJournalListScrollFrameButton1 {
}
2 = PetJournalListScrollFrameButton2 {
}
3 = PetJournalListScrollFrameButton3 {
}
4 = PetJournalListScrollFrameButton4 {
}
5 = PetJournalListScrollFrameButton5 {
}
6 = PetJournalListScrollFrameButton6 {
}
7 = PetJournalListScrollFrameButton7 {
}
8 = PetJournalListScrollFrameButton8 {
}
9 = PetJournalListScrollFrameButton9 {
}
10 = PetJournalListScrollFrameButton10 {
}
11 = PetJournalListScrollFrameButton11 {
}
12 = PetJournalListScrollFrameButton12 {
}
}
pet_button = nil
index = nil
is_wild = false
summoned_pet_id = nil
num_owned = 65
num_pets = 500
(*temporary) = nil
(*temporary) = nil
(*temporary) = "65"
(*temporary) = <userdata>
(*temporary) = <function> defined @Interface\AddOns\PetTheory\Core.lua:480
(*temporary) = <table> {
type = 8
can_battle = true
id = 0
journal_index = 458
is_favorite = false
name = "Tree Python"
is_wild = true
level = 0
creature_id = 61318
is_owned = false
}
(*temporary) = <table> {
type = 9
can_battle = true
id = 0
journal_index = 457
is_favorite = false
name = "Tree Frog"
is_wild = false
level = 0
creature_id = 7549
is_owned = false
}
(*temporary) = true
(*temporary) = <table> {
type = 9
can_battle = true
id = 0
journal_index = 457
is_favorite = false
name = "Tree Frog"
is_wild = false
level = 0
creature_id = 7549
is_owned = false
}
(*temporary) = <table> {
type = 8
can_battle = true
id = 0
journal_index = 458
is_favorite = false
name = "Tree Python"
is_wild = true
level = 0
creature_id = 61318
is_owned = false
}
(*temporary) = nil
(*temporary) = "name"
(*temporary) = "Tree Frog"
(*temporary) = "Tree Python"
(*temporary) = true
(*temporary) = true
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = 0
(*temporary) = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
7 = <table> {
}
8 = <table> {
}
9 = <table> {
}
10 = <table> {
}
11 = <table> {
}
12 = <table> {
}
13 = <table> {
}
14 = <table> {
}
15 = <table> {
}
16 = <table> {
}
17 = <table> {
}
18 = <table> {
}
19 = <table> {
}
20 = <table> {
}
21 = <table> {
}
22 = <table> {
}
23 = <table> {
}
24 = <table> {
}
25 = <table> {
}
26 = <table> {
}
27 = <table> {
}
28 = <table> {
}
29 = <table> {
}
30 = <table> {
}
31 = <table> {
}
32 = <table> {
}
33 = <table> {
}
34 = <table> {
}
35 = <table> {
}
36 = <table> {
}
37 = <table> {
}
38 = <table> {
}
39 = <table> {
}
40 = <table> {
}
41 = <table> {
}
42 = <table> {
}
43 = <table> {
}
44 = <table> {
}
45 = <table> {
}
46 = <table> {
}
47 = <table> {
}
48 = <table> {
}
49 = <table> {
}
50 = <table> {
}
51 = <table> {
}
52 = <table> {
}
53 = <table> {
}
54 = <table> {
}
55 = <table> {
}
56 = <table> {
}
57 = <table> {
}
58 = <table> {
}
59 = <table> {
}
60 = <table> {
}
61 = <table> {
}
62 = <table> {
}
63 = <table> {
}
64 = <table> {
}
65 = <table> {
}
66 = <table> {
}
67 = <table> {
}
68 = <table> {
}
69 = <table> {
}
70 = <table> {
}
71 = <table> {
}
72 = <table> {
}
73 = <table> {
}
74 = <table> {
}
75 = <table> {
}
76 = <table> {
}
77 = <table> {
}
78 = <table> {
}
79 = <table> {
}
80 = <table> {
}
81 = <table> {
}
82 = <table> {
}
83 = <table> {
}
84 = <table> {
}
85 =
Using the latest version. If you type in the filter box then when you tooltip over a critter, it doesn't tell you if you've collected that critter any more since it's filtering out the pet it's searching the records for. Example: I was in Durotar, had typed in SP to find if I already had Spiny Lizard, then didn't clear the filter. When I tooltip over Creepy Crawly it doesn't say "already captured: uncommon etc". If I go back to the filter and clear it, then tooltip works again.
Aye - known issue that's already fixed in the development version. Thanks!
When you type in a text filter the top item is cut off