Jaliborc / PetTracker

Tracks pets, alerts for upgrades and helps you in pet battles.
49 stars 26 forks source link

PetTracker lua errors #390

Open SargonStarblade opened 2 months ago

SargonStarblade commented 2 months ago

For Retail WoW v. 11.0.2.56162 Running PetTracker release date 2024-05-09

I have read the changelog.

The bugs pop up just from playing and opening the pet journal.

Bug Sack shows the errors as:

1.

2x PetTracker/addons/journal/mods.lua:23: attempt to call field 'Pet' (a nil value) [string "@PetTracker/addons/journal/mods.lua"]:23: in function ModifyCard' [string "@PetTracker/addons/journal/mods.lua"]:17: in function <PetTracker/addons/journal/mods.lua:17> [string "=[C]"]: in functionPetJournal_UpdatePetCard' [string "@Blizzard_Collections/Blizzard_PetCollection.lua"]:209: in function <...dOns/Blizzard_Collections/Blizzard_PetCollection.lua:206>

string "=[C]": in function SetShown' [string "@Blizzard_Collections/Blizzard_Collections.lua"]:43: in functionCollectionsJournal_UpdateSelectedTab' [string "@Blizzard_Collections/Blizzard_Collections.lua"]:6: in function `CollectionsJournal_SetTab'

Locals: self =

{ Tag = "PETTRACKER" } card = PetJournalPetCard { CannotBattleText = FontString { } SpeedFrame = PetJournalPetCardSpeedFrame { } PetInfo = PetJournalPetCardPetInfo { } AbilitiesBG3 = PetJournalPetCardAbilitiesBG3 { } AbilitiesBG1 = PetJournalPetCardAbilitiesBG1 { } AbilitiesBG2 = PetJournalPetCardAbilitiesBG2 { } spell6 = PetJournalPetCardSpell6 { } petIndex = 1 spell5 = PetJournalPetCardSpell5 { } shadows = PetJournalPetCardShadows { } displayID = 78244 petID = "BattlePet-0-000010DF8BEF" speciesID = 2403 PowerFrame = PetJournalPetCardPowerFrame { } HealthFrame = PetJournalPetCardHealthFrame { } QualityFrame = PetJournalPetCardQualityFrame { } spell1 = PetJournalPetCardSpell1 { } xpBar = PetJournalPetCardXPBar { } spell4 = PetJournalPetCardSpell4 { } spell3 = PetJournalPetCardSpell3 { } modelScene = ModelScene { } spell2 = PetJournalPetCardSpell2 { } TypeInfo = PetJournalPetCardTypeInfo { } } (temporary) = nil (temporary) = "BattlePet-0-000010DF8BEF" (*temporary) = "attempt to call field 'Pet' (a nil value)" Addon =
{ MaxLevel = 25 Species =
{ } state =
{ } RivalInfo =
{ } Tag = "PETTRACKER" Tutorials =
{ } TrackToggle = PetTrackerTrackToggle { } MaxQuality = 6 Tooltips =
{ } SpecieStats =
{ } RivalsJournal = PetTrackerRivalsJournal { } MapSearch =
{ } JournalMods =
{ } sets =
{ } MapCanvas =
{ } Predict =
{ } Maps =
{ } Breeds =
{ } SpecieBreeds =
{ } Stables =
{ } RivalOrder =
{ } Name = "PetTracker" Rivals =
{ } MaxPlayerQuality = 4 } L =
{ AskForfeit = "No upgrades are available. Quit battle?" BreedExplanation = "Determines how stats gained at each level are distributed." ShowJournal = "Show in Journal" UpgradeAlert = "Wild upgrades have appeared!" Victory = "Victory" Defeat = "Defeat" Maximized = "Maximized" MissingPets = "Missing Pets" DisplayCondition = "Display Condition" CapturedPets = "Show Captured" CommonSearches = "Common Searches" NoHistory = "PetTracker has never seen you fight this adversary" ZoneTracker = "Zone Tracker" ShowPets = "Show Battle Pets" StableTip = "|cffffd200Come here to heal your|npets for a small fee.|r" TellMore = "Tell me more about yourself." TotalRivals = "Total Rivals" Ninja = "Ninja" Species = "Species" AddWaypoint = "Add Waypoint" LoadTeam = "Load Team" Rivals = "Rivals" ShowStables = "Show Stables" Breed = "Breed" NoneCollected = "None Collected" FilterSpecies = "Filter Species" MissingRares = "Missing Rares" AvailableBreeds = "Available Breeds" EnemyTeam = "Enemy Team" }

2.

2x PetTracker/addons/journal/mods.lua:46: attempt to call field 'Pet' (a nil value) [string "@PetTracker/addons/journal/mods.lua"]:46: in function ModifyLoadOut' [string "@PetTracker/addons/journal/mods.lua"]:18: in function <PetTracker/addons/journal/mods.lua:18> [string "=[C]"]: in functionPetJournal_UpdatePetLoadOut' [string "@Blizzard_Collections/Blizzard_PetCollection.lua"]:208: in function <...dOns/Blizzard_Collections/Blizzard_PetCollection.lua:206>

string "=[C]": in function SetShown' [string "@Blizzard_Collections/Blizzard_Collections.lua"]:43: in functionCollectionsJournal_UpdateSelectedTab' [string "@Blizzard_Collections/Blizzard_Collections.lua"]:6: in function `CollectionsJournal_SetTab'

Locals: self =

{ Tag = "PETTRACKER" } (for index) = 1 (for limit) = 3 (for step) = 1 i = 1 slot = PetJournalLoadoutPet1 { dragButton = Button { } MenuRegion = Button { } healthFrame = PetJournalLoadoutPet1HealthFrame { } emptyslot = PetJournalLoadoutPet1EmptySlot { } isDead = Texture { } petID = "BattlePet-0-000007AD7D4C" requirement = PetJournalLoadoutPet1Requirement { } levelBG = PetJournalLoadoutPet1LevelBG { } iconBorder = PetJournalLoadoutPet1IconBorder { } displayID = 70071 level = PetJournalLoadoutPet1Level { } icon = PetJournalLoadoutPet1Icon { } speciesID = 1974 abilityLevels =
{ } shadows = PetJournalLoadoutPet1Shadows { } abilities =
{ } ReadOnlyFrame = PetJournalLoadoutPet1ReadOnlyFrame { } petTypeIcon = Texture { } setButton = PetJournalLoadoutPet1SetButton { } spell3 = PetJournalLoadoutPet1Spell3 { } xpBar = PetJournalLoadoutPet1XPBar { } name = PetJournalLoadoutPet1Name { } spell1 = PetJournalLoadoutPet1Spell1 { } qualityBorder = PetJournalLoadoutPet1QualityBorder { } spell2 = PetJournalLoadoutPet1Spell2 { } subName = PetJournalLoadoutPet1SubName { } modelScene = ModelScene { } favorite = PetJournalLoadoutPet1Favorite { } helpFrame = PetJournalLoadoutPet1HelpFrame { } } (temporary) = PetJournalLoadoutPet1Name { } (temporary) = "Snowfeather Hatchling" (temporary) = nil (temporary) = "BattlePet-0-000007AD7D4C" (*temporary) = "attempt to call field 'Pet' (a nil value)" Addon =
{ MaxLevel = 25 Species =
{ } state =
{ } RivalInfo =
{ } Tag = "PETTRACKER" Tutorials =
{ } TrackToggle = PetTrackerTrackToggle { } MaxQuality = 6 Tooltips =
{ } SpecieStats =
{ } RivalsJournal = PetTrackerRivalsJournal { } MapSearch =
{ } JournalMods =
{ } sets =
{ } MapCanvas =
{ } Predict =
{ } Maps =
{ } Breeds =
{ } SpecieBreeds =
{ } Stables =
{ } RivalOrder =
{ } Name = "PetTracker" Rivals =
{ } MaxPlayerQuality = 4 }

JPEscher commented 2 months ago

he updated today. i dont see this on the latest, might wanna check the latest and let him know.