PetTracker

PetTracker

13M Downloads

Lua errors

rhainstorm opened this issue · 5 comments

commented

Which software were you running?

  • Addon version name: PetTracker 10.1.1

  • Client used: [e.g. Vanilla 1.14.4, Retail PTR x.x.x, etc]

      Retail, Dragonflight 10.1.7
    

Have you read the changelog?
Mark if read.
recent changes yes not all of it

Please describe the bug.
A clear and concise description of what the bug is.

                    Every time i click on a wild pet to start a pet battle lua errors pops up. had this issue over the last few updates, 

Please describe how to reproduce it.

  1. Go to '...'

  2. Click on '....'

  3. Scroll down to '....'

  4. See error

               Click on any wild pet  to start battle
    

Any Screenshots?
If applicable, please add screenshots to help explain your problem.

WoWScrnShot_111923_211333

Error Logs are Important!
Type /console scriptErrors 1 in the chat and reload the game. If an error window appears when reproducing the bug, please write here the first message (labelled 1/Many) that appeared. ⚠️ By default, the last error message is shown, not the first! You need to navigate back to the first error.

Message: Interface/AddOns/PetTracker/addons/battle/battle.lua:159: Usage: local quality = C_PetBattles.GetBreedQuality(petOwner, slot)
Time: Sun Nov 19 21:03:05 2023
Count: 1
Stack: Interface/AddOns/PetTracker/addons/battle/battle.lua:159: Usage: local quality = C_PetBattles.GetBreedQuality(petOwner, slot)
[string "=[C]"]: ?
[string "=[C]"]: in function ?' [string "@Interface/AddOns/PetTracker/addons/battle/battle.lua"]:159: in function <Interface/AddOns/PetTracker/addons/battle/battle.lua:159> [string "=(tail call)"]: ? [string "@Interface/AddOns/PetTracker/addons/main/classes/abstract/pet.lua"]:114: in function GetBreed'
[string "@Interface/AddOns/PetTracker/addons/main/classes/abstract/entity.lua"]:42: in function GetBreedIcon' [string "@Interface/AddOns/PetTracker/addons/battle/units.lua"]:31: in function UpdatePortrait'
[string "@Interface/AddOns/PetTracker/addons/battle/units.lua"]:10: in function <Interface/AddOns/PetTracker/addons/battle/units.lua:10>
[string "=[C]"]: in function PetBattleUnitFrame_UpdateDisplay' [string "@Interface/AddOns/PetTracker/addons/battle/units.lua"]:19: in function ?'
[string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <...igs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...igs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function SendMessage' [string "@Interface/AddOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua"]:83: in function SendSignal'
[string "@Interface/AddOns/PetTracker/addons/main/main.lua"]:40: in function ?' [string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <...igs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109> [string "=[C]"]: ? [string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...igs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function Fire'
[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...UI_Libraries/Core/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: (*temporary) = defined =[C]:-1

Message: Interface/AddOns/PetTracker/addons/battle/battle.lua:159: Usage: local quality = C_PetBattles.GetBreedQuality(petOwner, slot)
Time: Sun Nov 19 21:03:05 2023
Count: 1
Stack: Interface/AddOns/PetTracker/addons/battle/battle.lua:159: Usage: local quality = C_PetBattles.GetBreedQuality(petOwner, slot)
[string "=[C]"]: ?
[string "=[C]"]: in function ?' [string "@Interface/AddOns/PetTracker/addons/battle/battle.lua"]:159: in function <Interface/AddOns/PetTracker/addons/battle/battle.lua:159> [string "=(tail call)"]: ? [string "@Interface/AddOns/PetTracker/addons/main/classes/abstract/pet.lua"]:114: in function GetBreed'
[string "@Interface/AddOns/PetTracker/addons/main/classes/abstract/entity.lua"]:42: in function GetBreedIcon' [string "@Interface/AddOns/PetTracker/addons/battle/units.lua"]:31: in function UpdatePortrait'
[string "@Interface/AddOns/PetTracker/addons/battle/units.lua"]:10: in function <Interface/AddOns/PetTracker/addons/battle/units.lua:10>
[string "=[C]"]: in function PetBattleUnitFrame_UpdateDisplay' [string "@Interface/AddOns/PetTracker/addons/battle/units.lua"]:20: in function ?'
[string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <...igs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...igs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function SendMessage' [string "@Interface/AddOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua"]:83: in function SendSignal'
[string "@Interface/AddOns/PetTracker/addons/main/main.lua"]:40: in function ?' [string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <...igs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109> [string "=[C]"]: ? [string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...igs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@Interface/AddOns/BigWigs/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function Fire'
[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...UI_Libraries/Core/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: (*temporary) = defined =[C]:-1

commented

I have created an addon that does most of what PetTracker does (and doesn't have issues with these lua errors like it has) - if you want to try it, you can look up Battle Pet Completionist

commented

I have same problem.

commented

I have created an addon that does most of what PetTracker does (and doesn't have issues with these lua errors like it has) - if you want to try it, you can look up Battle Pet Completionist

Nice to know, Ill try it. Thank you.

commented

@Cayuman you're welcome 🙂

commented

I have narrowed the error down to using both ElvUI and PetTracker. I'm not sure what the conflict is but I'm getting this same error in the same instance. (I'll check out Battle Pet Completionist in the meantime. :) )