- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,110 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top StarCraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
Trapper's Sense
- 2 Likes
- World of Warcraft
- 9 Monthly Downloads
- Supports: 5.0.5
- 969 Total Downloads
- Updated 09/11/2012
- Created 09/05/2012
- 16 Favorites
- Project Site
- Comments
- Release Type: Release
- License: Public Domain
- Newest File: Trapper's Sense 1.1.2
About Trapper's Sense
Trapper's Sense allows you to see at a glance how many of a pet you own in that pet's tooltip.
No more flipping back and forth in your journal to see if you have it, your Trapper's Sense already knows!
- v1.0.0
- Initial Release
- v1.1.0
- Replaced default "Capturable" based on pet count
- Tool tips read correctly at all times
- v1.1.1
- Added level comparison arrows
- v1.1.2
- Added type icons and favoritism stars
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| Trapper's Sense 1.1.2 | Release | 5.0.5 | 744 | 09/11/2012 |
| Trapper's Sense 1.1.1 | Release | 5.0.4 | 46 | 09/11/2012 |
| Trapper's Sense 1.1.0 | Release | 5.0.4 | 132 | 09/06/2012 |
| Trapper's Sense 1.1.0 | Release | 5.0.4 | - | 09/06/2012 |
| Trapper's Sense 1.0.0 | Release | 5.0.4 | 18 | 09/05/2012 |
Top Downloads
-
- Deadly Boss Mods
- Combat, PvP, and Boss Encounters
- 1,129,948 Monthly Downloads
-
- Bagnon
- Bags & Inventory
- 498,005 Monthly Downloads
-
- Deadly Boss Mods - Burning Crusade and Vanilla mods
- Combat and Boss Encounters
- 335,742 Monthly Downloads
-
- Recount
- Combat
- 323,867 Monthly Downloads
-
- HealBot Continued
- Healer and Unit Frames
- 297,532 Monthly Downloads




Comments
so to solve the problem of when you do not have 3 battle pets problem add this line at 153 in the TrappersSense.lua file
if(Owned[i] == 0) then break end
this should go right below the following
for i = 1, 3 do --List owned versions of the species
Adding an additional null check on the unit parameter to line 97 seems to clear up the intermittent error there:
if(not unit or not UnitIsWildBattlePet(unit)) then return end;ok, added a if statement inside of the loop near line 154 to catch when its less then 3 but you dont have any more of that type. was throwing error trying to list the 2nd or 3rd if you only had 1 or 2 of that type.
well got my error fixed. was getting the wrong bit out of the table to get the level before line 115 if statement..
local targetLevel = (tonumber(string.sub(ToolTipText[2], 10, 12)))
changed to:
local targetLevel = (tonumber(string.sub(ToolTipText[3], 10, 12)))
However now i am getting an error on line 154
i changed all calls to ToolTipText[2] to be ToolTipText[3], the tooltip now shows properly but i still get the line 154 error...
Date: 2012-09-26 11:53:38
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\TrappersSense\TrappersSense.lua line 154:
Usage: GetPetStats(ID)
Debug:
[C]: ?
[C]: GetPetStats()
TrappersSense\TrappersSense.lua:154:
TrappersSense\TrappersSense.lua:93
[C]: ?
Locals:
(*temporary) = nil
AddOns:
Swatter, v5.14.5335 (KowariOnCrutches)
WowheadLooter, v50006
NPCScan, v5.0.0.3
Altoholic, v5.0.001d
ArkInventory, v3.03
ArkInventoryRules, v
AtlasLootLoader, vv7.01.00a
AucAdvanced, v5.14.5335 (KowariOnCrutches)
AucFilterBasic, v5.14.5335 (KowariOnCrutches)
AucFilterOutlier, v5.14.5335.5335(5.14/embedded)
AucMatchUndercut, v5.14.5335.5225(5.14/embedded)
AucStatHistogram, v5.14.5335 (KowariOnCrutches)
AucStatiLevel, v5.14.5335 (KowariOnCrutches)
AucStatPurchased, v5.14.5335 (KowariOnCrutches)
AucStatSales, v5.14.5335.5335(5.14/embedded)
AucStatSimple, v5.14.5335 (KowariOnCrutches)
AucStatStdDev, v5.14.5335 (KowariOnCrutches)
AucStatWOWEcon, v5.14.5335.5335(5.14/embedded)
AucUtilAHWindowControl, v5.14.5335.5133(5.14/embedded)
AucUtilAppraiser, v5.14.5335.5335(5.14/embedded)
AucUtilAskPrice, v5.14.5335.5160(5.14/embedded)
AucUtilAutoMagic, v5.14.5335.5335(5.14/embedded)
AucUtilCompactUI, v5.14.5335.5335(5.14/embedded)
AucUtilEasyBuyout, v5.14.5335.5238(5.14/embedded)
AucUtilFixAH, v5.14.5335 (KowariOnCrutches)
AucUtilItemSuggest, v5.14.5335.5335(5.14/embedded)
AucUtilPriceLevel, v5.14.5335.5237(5.14/embedded)
AucUtilScanButton, v5.14.5335.5335(5.14/embedded)
AucUtilScanFinish, v5.14.5335.5153(5.14/embedded)
AucUtilScanProgress, v5.14.5335.4979(5.14/embedded)
AucUtilScanStart, v5.14.5335.5153(5.14/embedded)
AucUtilSearchUI, v5.14.5335.5335(5.14/embedded)
AucUtilSimpleAuction, v5.14.5335.5208(5.14/embedded)
AucUtilVendMarkup, v5.14.5335.4828(5.14/embedded)
Auctionator, v3.0.5
Babylonian, v5.1.DEV.312(/embedded)
Bartender4, v4.5.5
BeanCounter, v5.14.5335 (KowariOnCrutches)
BrokerCurrency, v5.0.4-1.2.10
Clique, vv50001-1.0.1
Configator, v5.1.DEV.330(/embedded)
DataStore, v5.0.001
DataStoreAchievements, v5.0.001
DataStoreAgenda, v5.0.001
DataStoreAuctions, v5.0.001
DataStoreCharacters, v5.0.001
DataStoreContainers, v5.0.001
DataStoreCrafts, v5.0.001
DataStoreCurrencies, v5.0.001
DataStoreInventory, v5.0.001
DataStoreMails, v5.0.001
DataStorePets, v5.0.001
DataStoreQuests, v5.0.001
DataStoreReputations, v5.0.001
DataStoreSpells, v5.0.001
DataStoreStats, v5.0.001
DataStoreTalents, v5.0.001
DBMCore, v
DebugLib, v5.1.DEV.312(/embedded)
Enchantrix, v5.14.5335 (KowariOnCrutches)
EnchantrixBarker, v5.14.5335 (KowariOnCrutches)
epgp, v5.8.4
FuBarMoneyFu, vv1.2.8
Informant, v5.14.5335 (KowariOnCrutches)
LibExtraTip, v5.12.DEV.324(/embedded)
Mapster, v1.5.1
Prat30, v3.5
Prat30HighCPUUsageModules, v
Prat30Libraries, v
QuestCompletist, v99.8
Recount, v
SlideBar, v5.14.5335 (KowariOnCrutches)
SpamThrottle, vv2.3
Stubby, v5.14.5335 (KowariOnCrutches)
TipHelper, v5.12.DEV.315(/embedded)
Titan, v5.1.6.50001
TitanBag, v5.1.6.50001
TitanClock, v5.1.6.50001
TitanGold, v5.1.5.50001
TitanLocation, v5.1.6.50001
TitanLootType, v5.1.6.50001
TitanPerformance, v5.1.6.50001
TitanRepair, v5.1.6.50001
TitanVolume, v5.1.6.50001
TitanXP, v5.1.6.50001
TrappersSense, v1.1.2
BlizRuntimeLib_enUS v5.0.5.50001 <us>
(ck=c20)
3x TrappersSense\TrappersSense-1.1.2.lua:97: Usage: UnitBattlePet("unit")
<in C code>
TrappersSense\TrappersSense-1.1.2.lua:97: in function <TrappersSense\TrappersSense.lua:93>
<in C code>
<in C code>
<in C code>
Locals:
self = GameTooltip {
0 = <userdata>
SetQuestLogRewardSpell = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:284
SetSpellBookItem = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:284
SetExistingSocketGem = <func> =[C]:-1
SetCurrencyToken = <func> =[C]:-1
SetTradeSkillItem = <func> =[C]:-1
SetQuestRewardSpell = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:284
ClearLines = <func> @Gatherer\Swag\LibSwag.lua:417
SetSocketGem = <func> =[C]:-1
SetPetAction = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:284
SetUnitDebuff = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:284
canAddRestStateLine = 1
SetLootItem = <func> =[C]:-1
SetQuestItem = <func> =[C]:-1
default = 1
SetReforgeItem = <func> =[C]:-1
SetTrainerService = <func> =[C]:-1
SetInboxItem = <func> =[C]:-1
SetBuybackItem = <func> =[C]:-1
shoppingTooltips = <table> {}
SetHyperlinkCompareItem = <func> =[C]:-1
SetMerchantItem = <func> =[C]:-1
SetQuestLogItem = <func> =[C]:-1
SetBackpackToken = <func> =[C]:-1
SetUnitBuff = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:284
SetTalent = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:284
SetTradePlayerItem = <func> =[C]:-1
comparing = false
SetSendMailItem = <func> =[C]:-1
updateTooltip = 0.068999993428588
SetInventoryItem = <func> =[C]:-1
SetMerchantCostItem = <func> =[C]:-1
SetLootRollItem = <func> =[C]:-1
SetText = <func> @Gatherer\Swag\LibSwag.lua:408
SetHyperlink = <func> =[C]:-1
SetAuctionSellItem = <func> =[C]:-1
SetBagItem = <func> =[C]:-1
SetGuildBankItem = <func> =[C]:-1
SetTradeTargetItem = <func> =[C]:-1
SetShapeshift = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:284
SetUnit = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:284
SetAuctionItem = <func> =[C]:-1
}
filePrefix = "|TPetBattles\PetIcon-"
fileSuffix = ":20:20:0:0:128:256:63:103:129:169|t"
species = "Fireshock"
unit = nil
CWhite = "|cffffffff"
PetListSize = 196
PetList = <table> {
1 = <table> {}
2 = <table> {}
The table part goes all the way to 79 = <table>{}
Conflict with Auctioneer?
Suggestion... Add this to the MiniMap mouse over of the battle pet icons. perfect for flying across zones to find pets.
Getting error on mouse over of a battle pet, and tooltip does not show the info.
Message: ..\AddOns\TrappersSense\TrappersSense.lua line 115:
bad argument #1 to 'find' (string expected, got nil)
Didnt work at all on me. No error att all but show no enhanced tooltip, nothing. My game localization is not the default english though.
I have an idea for an improvement/new feature. I'm not sure if this is possible or not, but it would be really nice if there was an addon that told you the quality of the wild pet when you start battling so you know whether or not to waste your time trying to cage it or not. From my understanding the stats of the wild pet is tied to it's rarirty so there should be a way to determine the quality just from the wild pet's health.
Feel free to spread the word and foremost to post suggestions for improvements!!
Great idea for an addon!!
I am getting the following error on login-
Date: 2012-09-06 08:50:40
ID: 1
Error occured in: Global
Count: 6
Message: ..\AddOns\TrappersSense\TrappersSense.lua line 115:
bad argument #1 to 'find' (string expected, got nil)
Debug:
(tail call): ?
[C]: ?
[C]: find()
TrappersSense\TrappersSense.lua:115: AcquirePet()
TrappersSense\TrappersSense.lua:71: TrappersSense_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
Ok, so that was a silly small mistake on my part. The issue has been fixed and the new file is under authorization as I type. It should be released within the hour.