PetTracker

PetTracker

12M Downloads

Lua Error 11.0.6

rewzone opened this issue ยท 0 comments

commented

Which software were you running?

  • Addon version name: 11.0.6
  • Client used: Retail

Have you read the changelog?
Yes

Please describe the bug.
Occurred after capturing a pet that I already had one of, it was a Spireshell Snail

Please describe how to reproduce it.
N/A

Any Screenshots?
N/A

Error Logs are Important!
2x PetTracker/addons/main/api/predict.lua:26: attempt to perform arithmetic on field '?' (a nil value)
[string "@PetTracker/addons/main/api/predict.lua"]:26: in function <PetTracker/addons/main/api/predict.lua:23>
[string "=(tail call)"]: ?
[string "@PetTracker/addons/main/classes/abstract/entity.lua"]:42: in function GetBreedIcon' [string "@PetTracker/addons/battle/units.lua"]:31: in function UpdatePortrait'
[string "@PetTracker/addons/battle/units.lua"]:10: in function <PetTracker/addons/battle/units.lua:10>
[string "=[C]"]: in function PetBattleUnitFrame_UpdateDisplay' [string "@Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua"]:1029: in function PetBattleUnitFrame_SetUnit'
[string "@Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua"]:457: in function `PetBattleFrame_UpdateAssignedUnitFrames'
[string "@Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua"]:128: in function <Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua:108>

Locals:
self =

{
QualityScale =
{
}
BreedStats =
{
}
Tag = "PETTRACKER_"
}
specie = 2678
level = 25
quality = 0
health = 1037
power = 223
speed = 241
base =
{
1 = 7.500000
2 = 8.875000
3 = 7.625000
}
breeds =
{
1 = 4
2 = 5
3 = 8
4 = 9
5 = 10
6 = 11
}
(*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) = "attempt to perform arithmetic on field '?' (a nil value)"
Addon =
{
Switcher = PetTrackerSwitcher {
}
Enemy =
{
}
Species =
{
}
Rival =
{
}
Tracker =
{
}
RivalInfo =
{
}
MultiTip =
{
}
BattleListener =
{
}
Battle =
{
}
EnemyBar = Frame {
}
Rivals =
{
}
Base =
{
}
SpecieBreeds =
{
}
sets =
{
}
AbilityButton =
{
}
Name = "PetTracker"
MaxPlayerQuality = 4
Objectives = Frame {
}
SpeciePin =
{
}
Alerts = Sushi-3.2-Glowbox1 {
}
MaxLevel = 25
RivalPin =
{
}
Entity =
{
}
RivalOrder =
{
}
JournalSlot =
{
}
StablePin =
{
}
Units =
{
}
AbilityDisplay =
{
}
Breeds =
{
}
Pin =
{
}
Tag = "PETTRACKER_"
MapCanvas =
{
}
ProgressBar =
{
}
SpecieStats =
{
}
TrackToggle = PetTrackerTrackToggle {
}
RivalsJournal = PetTrackerRivalsJournal {
}
PetSlot =
{
}
BattleRecord =
{
}
JournalMods =
{
}
Stables =
{
}
state =
{
}
AbilityAction =
{
}
Pet =
{
}
Tooltips =
{
}
SpecieLine =
{
}
BattleSlot =
{
}
Predict =
{
}
Ability =
{
}
MaxQuality = 6
Specie =
{
}
Maps =
{
}
}