Lua errors
rhainstorm opened this issue · 5 comments
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.
-
Go to '...'
-
Click on '....'
-
Scroll down to '....'
-
See error
Click on any wild pet to start battle
Any Screenshots?
If applicable, please add screenshots to help explain your problem.
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.
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
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
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.
@Cayuman you're welcome 🙂