Looking for a pet battle addon replacement

Discuss pet battles, strategy and theorycrafting.
Post Reply
User avatar
Luciandk
Posts:1293
Joined:February 12th, 2012
Pet Score:3576
Realm:Argent Dawn-eu
Contact:
Looking for a pet battle addon replacement

Post by Luciandk » October 17th, 2014, 9:01 am

For http://www.curse.com/addons/wow/pokemon-trainer

It was my favorite and absolutely core pet battle addon. Easy to see frames listing cooldowns for yours and enemy pet abilities, as well weak and strong states.

Its in particular the enemy pet ability cooldowns im badly missing to have easilly available.

Pokemon Trainer still sort off works, but it bugs on logon, and the author has abandoned it. So its not really feasible to keep using it.

User avatar
Quintessence
Site Admin
Posts:2756
Joined:June 4th, 2008
Pet Score:13896
Realm:Proudmoore-us
Contact:

Re: Looking for a pet battle addon replacement

Post by Quintessence » October 17th, 2014, 9:07 am

PetTracker shows enemy cds in PVE. If you don't want to use any of the other features, you can disable all of them except for the main PetTracker and Config files.
Image
Feel free to browse through my pet collecting blog: http://wowpetaddiction.blogspot.com

User avatar
Slyde
Top Rater
Posts:7
Joined:January 24th, 2013
Pet Score:9634
Realm:Cenarius-us
Contact:

Re: Looking for a pet battle addon replacement

Post by Slyde » October 17th, 2014, 9:45 am

I agree with Quintessence, Pet Tracker is an excellent add-on. I use that and Pet Battle Teams.

I rely on them so much that I completely gave up pet battles until both were updated for 6.02

User avatar
Chibimage
Top Rater
Posts:200
Joined:January 18th, 2010
Pet Score:12239
Realm:Stormrage-us
Contact:

Re: Looking for a pet battle addon replacement

Post by Chibimage » October 17th, 2014, 10:14 am

Pet Tracker, for me, is broken a lot and I get a load of LUA errors from using it. Pet Tactician is a good alternative but I am running lite right now on addons until it all gets settled.

The lua errors that I am always getting from Pet Tracker could very well be from addon incompatibility issues - I run Rematch, Pet Accuracy Recorder, PetBreedID and I *was* running about half a dozen others. Likely there was a conflict of some sort.

In any event, Pet Battle Tactician is great. :)

User avatar
Luciandk
Posts:1293
Joined:February 12th, 2012
Pet Score:3576
Realm:Argent Dawn-eu
Contact:

Re: Looking for a pet battle addon replacement

Post by Luciandk » October 17th, 2014, 11:05 am

Pet tracker looks quite useful. But any way to disable its breed notifications? Like the custom ones it pops, ninja, destruction, etc.

User avatar
Quintessence
Site Admin
Posts:2756
Joined:June 4th, 2008
Pet Score:13896
Realm:Proudmoore-us
Contact:

Re: Looking for a pet battle addon replacement

Post by Quintessence » October 17th, 2014, 6:47 pm

Luciandk wrote:Pet tracker looks quite useful. But any way to disable its breed notifications? Like the custom ones it pops, ninja, destruction, etc.
You can disable that feature entirely in the addon area on the character selection screen. The two selected in the screenshot are the bare minimum for the addon, but will still show enemy CDs in PVE.
pettracker.png
PetTracker addon selection
pettracker.png (71.03KiB)Viewed 7954 times
Image
Feel free to browse through my pet collecting blog: http://wowpetaddiction.blogspot.com

User avatar
Chibimage
Top Rater
Posts:200
Joined:January 18th, 2010
Pet Score:12239
Realm:Stormrage-us
Contact:

Re: Looking for a pet battle addon replacement

Post by Chibimage » October 18th, 2014, 8:29 am

Just wanted to pop back in and say it must have been incompatibility issues. I turned off all but the most essential pet battle addons (that'd be Rematch and PetBreed ID) and PetTracker now has zero issues and to be perfectly honest I am so glad it's back up and running for me. It's a nice addon :)

User avatar
Luciandk
Posts:1293
Joined:February 12th, 2012
Pet Score:3576
Realm:Argent Dawn-eu
Contact:

Re: Looking for a pet battle addon replacement

Post by Luciandk » October 18th, 2014, 8:56 am

Pettracker seems to bug out using quest items from the ingame tracker, wow demanding it to be disabled. Or you have to use q items from inventory instead.

User avatar
Quintessence
Site Admin
Posts:2756
Joined:June 4th, 2008
Pet Score:13896
Realm:Proudmoore-us
Contact:

Re: Looking for a pet battle addon replacement

Post by Quintessence » October 18th, 2014, 11:22 am

Luciandk wrote:Pettracker seems to bug out using quest items from the ingame tracker, wow demanding it to be disabled. Or you have to use q items from inventory instead.
I just use the quest items directly from my inventory. Temporary solution until that bug is sorted out.

Update: Looks like PetTracker was very recently updated (9 hours ago), so the quest item usage issue might be sorted now but I haven't checked.
Image
Feel free to browse through my pet collecting blog: http://wowpetaddiction.blogspot.com

Gello
Posts:576
Joined:January 23rd, 2014
Pet Score:9171
Realm:Hyjal-us
Contact:

Re: Looking for a pet battle addon replacement

Post by Gello » October 18th, 2014, 5:14 pm

PetTracker is awesome. Definitely worth checking out.

After using it if you decide you only want the buttons to show your opponent's abilities/their cooldowns/strong vs weak indicators, I've been using the following for a while. If you copy and paste it into the big editbox at http://addon.bool.no/ then give it a name, you can download it in addon form:

Code: Select all

local frame = CreateFrame("Frame","BattlePetOpponentButtons",UIParent)
frame:SetSize(142,42)
frame:SetPoint("BOTTOM",0,128)
frame:Hide()
frame.buttons = {}
frame.vulnerabilities = {{4,5},{1,3},{6,8},{5,2},{8,7},{2,9},{9,10},{10,1},{3,4},{7,6}}

frame:SetScript("OnEvent",function(self,event,...)
  if self[event] then
    self[event](...)
  end
  if frame.readyToUpdate then
    self:UpdateOpponentAbilityButtons()
  end
end)

frame:RegisterEvent("PLAYER_LOGIN")

function frame:PLAYER_LOGIN()
  for i=1,3 do
    frame.buttons[i] = CreateFrame("Button",nil,frame)
    local button = frame.buttons[i]
    button:SetID(i)
    button:SetSize(42,42)
    button:SetPoint("LEFT",(i-1)*50,0)
    button.icon = button:CreateTexture(nil,"BACKGROUND")
    button.icon:SetAllPoints(true)
    button.icon:SetTexture("Interface\\Icons\\INV_Misc_QuestionMark")
    button.hint = button:CreateTexture(nil,"BORDER")
    button.hint:SetSize(20,20)
    button.hint:SetPoint("BOTTOMRIGHT")
    button.hint:SetTexture("Interface\\PetBattles\\BattleBar-AbilityBadge-Strong")
    button.cooldown = button:CreateFontString(nil,"ARTWORK","GameFontNormalHuge")
    button.cooldown:SetPoint("CENTER")
    button:SetScript("OnEnter",frame.OpponentAbilityButtonOnEnter)
    button:SetScript("OnLeave",frame.OpponentAbilityButtonOnLeave)
    button:SetHighlightTexture("Interface\\Buttons\\ButtonHilight-Square")
  end
  frame:RegisterEvent("PET_BATTLE_OPENING_DONE")
  if IsAddOnLoaded("Blizzard_PetBattleUI") then
    frame:HookSelectionFrame()
  else
    frame:RegisterEvent("ADDON_LOADED")
  end
  if C_PetBattles.IsInBattle() then
    frame:PET_BATTLE_OPENING_DONE()
  else
    frame:PET_BATTLE_OVER()
  end
end

function frame:ADDON_LOADED(addon)
  if addon=="Blizzard_PetBattleUI" then
    frame:UnregisterEvent("ADDON_LOADED")
    frame:HookSelectionFrame()
  end
end

function frame:PET_BATTLE_OVER()
  frame:UnregisterEvent("PET_BATTLE_ABILITY_CHANGED")
  frame:UnregisterEvent("PET_BATTLE_OVER")
  frame:UnregisterEvent("PET_BATTLE_PET_CHANGED")
  frame:UnregisterEvent("PET_BATTLE_TURN_STARTED")
  frame:UnregisterEvent("PET_BATTLE_PET_ROUND_PLAYBACK_COMPLETE")
  frame:Hide()
end

function frame:PET_BATTLE_OPENING_DONE()
  frame:RegisterEvent("PET_BATTLE_PET_ROUND_PLAYBACK_COMPLETE")
  frame:RegisterEvent("PET_BATTLE_ABILITY_CHANGED")
  frame:RegisterEvent("PET_BATTLE_OVER")
  frame:RegisterEvent("PET_BATTLE_PET_CHANGED")
  frame:RegisterEvent("PET_BATTLE_TURN_STARTED")
  frame:Show()
end

function frame:UpdateOpponentAbilityButtons()
  local petIndex = C_PetBattles.GetActivePet(2)
  for abilityIndex=1,3 do
    local button = frame.buttons[abilityIndex]
    local _,_,abilityIcon,_,_,_,petType,noHints = C_PetBattles.GetAbilityInfo(2,petIndex,abilityIndex)
    if abilityIcon then
      button.icon:SetTexture(abilityIcon)
      button.cooldown:Hide()
      button.hint:Hide()
      local isUsable,currentCooldown,currentLockdown = C_PetBattles.GetAbilityState(2,petIndex,abilityIndex)
      if isUsable then
        button.icon:SetDesaturated(false)
        button.icon:SetVertexColor(1,1,1,1)
      else
        button.icon:SetDesaturated(true)
        button.icon:SetVertexColor(.3,.3,.3)
        local cooldown = max(currentCooldown,currentLockdown)
        if cooldown>0 then
          button.cooldown:SetText(cooldown)
          button.cooldown:Show()
        end
      end
      if not noHints then
        local myPetType = C_PetBattles.GetPetType(1,C_PetBattles.GetActivePet(1))
        if frame.vulnerabilities[myPetType][1]==petType then
          button.hint:SetTexture("Interface\\PetBattles\\BattleBar-AbilityBadge-Strong")
          button.hint:Show()
        end
        if frame.vulnerabilities[myPetType][2]==petType then
          button.hint:SetTexture("Interface\\PetBattles\\BattleBar-AbilityBadge-Weak")
          button.hint:Show()
        end
      end
      button:Show()
    else
      button:Hide()
    end
  end
end

function frame:OpponentAbilityButtonOnEnter()
  local tooltip = PetBattlePrimaryAbilityTooltip
  PetBattleAbilityTooltip_SetAbility(2,C_PetBattles.GetActivePet(2),self:GetID())
  tooltip:ClearAllPoints()
  tooltip:SetPoint("BOTTOM",self,"TOP",0,6)
  tooltip:Show()
end

function frame:OpponentAbilityButtonOnLeave()
  PetBattlePrimaryAbilityTooltip:Hide()
end

function frame:HookSelectionFrame()
  hooksecurefunc("PetBattlePetSelectionFrame_Show",function() frame:ClearAllPoints() frame:SetPoint("TOP",0,-96) end)
  hooksecurefunc("PetBattlePetSelectionFrame_Hide",function() frame:ClearAllPoints() frame:SetPoint("BOTTOM",0,128) end)
  frame.readyToUpdate = true
end
It's not posted anyplace in addon form already, sorry. It was such a genius part of PetTracker that I had to make one to use without the rest of the addon. :p

If any addon authors (or aspiring addon authors) want to tweak it and post it someplace and call it your own you're welcome to it.

Off topic, but the (code) tag on this forum is gorgeous. Light years better than official forums and even wowinterface.

User avatar
Jerebear
Posts:1232
Joined:September 15th, 2013
Pet Score:13370
Realm:Llane-us
Contact:

Re: Looking for a pet battle addon replacement

Post by Jerebear » October 19th, 2014, 3:58 pm

Gello wrote:PetTracker is awesome. Definitely worth checking out.

After using it if you decide you only want the buttons to show your opponent's abilities/their cooldowns/strong vs weak indicators, I've been using the following for a while. If you copy and paste it into the big editbox at http://addon.bool.no/ then give it a name, you can download it in addon form:

...code snippet...

It's not posted anyplace in addon form already, sorry. It was such a genius part of PetTracker that I had to make one to use without the rest of the addon. :p

If any addon authors (or aspiring addon authors) want to tweak it and post it someplace and call it your own you're welcome to it.

Off topic, but the (code) tag on this forum is gorgeous. Light years better than official forums and even wowinterface.
I just want to say thank you for this if no one else does. That really helped me cover up a hole in my UI.
Carry Pet Experience Reference Guide:
http://www.warcraftpets.com/community/forum/viewtopic.php?f=10&t=8829

User avatar
Aalea
Top Rater
Posts:80
Joined:June 9th, 2013
Contact:

Re: Looking for a pet battle addon replacement

Post by Aalea » October 19th, 2014, 11:14 pm

Chibimage wrote:Pet Tracker, for me, is broken a lot and I get a load of LUA errors from using it. Pet Tactician is a good alternative but I am running lite right now on addons until it all gets settled.

The lua errors that I am always getting from Pet Tracker could very well be from addon incompatibility issues - I run Rematch, Pet Accuracy Recorder, PetBreedID and I *was* running about half a dozen others. Likely there was a conflict of some sort.

In any event, Pet Battle Tactician is great. :)

I found Pet Tracker and Pet Theory conflicted and I got a huge number of errors. As soon as I disabled Pet Theory the problems disappeared.

User avatar
Xanaton
Posts:4
Joined:September 12th, 2014
Pet Score:1903
Realm:Garona-us
Contact:

Re: Looking for a pet battle addon replacement

Post by Xanaton » October 20th, 2014, 10:39 am

As of yesterday(10-19) PetTracker still had the problem with the quest items from the objectives section. Still, it is easy enough to work around it for what you get out of PetTracker.

Post Reply