PetTracker

PetTracker

13M Downloads

lua error!

ks2012ks opened this issue ยท 2 comments

commented

Message: .../AddOns/PetTracker/addons/main/features/tooltips.lua:22: attempt to index a nil value
Time: Thu Sep 19 23:28:51 2024
Count: 1
Stack: .../AddOns/PetTracker/addons/main/features/tooltips.lua:22: attempt to index a nil value
[string "=[C]"]: ?
[string "@Interface/AddOns/PetTracker/addons/main/features/tooltips.lua"]:22: in function <.../AddOns/PetTracker/addons/main/features/tooltips.lua:14>
[string "=(tail call)"]: ?
[string "=[C]"]: in function securecallfunction' [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56> [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77> [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107> [string "=[C]"]: in function SetAttribute'
[string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135>
[string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238>
[string "=[C]"]: in function securecallfunction' [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:235: in function ProcessInfo'
[string "@Interface/AddOns/Blizzard_GameTooltip/Mainline/GameTooltip.lua"]:941: in function `SetWorldCursor'
[string "@Interface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua"]:1367: in function <...rface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua:1290>
[string "=[C]"]: ?

Locals:

commented

I also receive LUA errors every time I battle:

Message: .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType)
Time: Sat Sep 28 12:51:26 2024
Count: 1
Stack: .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType)
[string "@Interface/AddOns/PetTracker/addons/main/classes/abstract/ability.lua"]:17: in function GetModifier' [string "@Interface/AddOns/PetTracker/addons/main/classes/combat/abilityButton.lua"]:27: in function Display'
[string "@Interface/AddOns/PetTracker/addons/battle/enemyBar.lua"]:58: in function <...terface/AddOns/PetTracker/addons/battle/enemyBar.lua:53>
[string "=[C]"]: in function Show' [string "@Interface/AddOns/Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua"]:173: in function PetBattleFrame_Display'
[string "@Interface/AddOns/Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua"]:111: in function <...AddOns/Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua:108>

Locals: self =

{
requisite = false
id = 931
certain = true
pet =
{
}
cooldown = false
}
target =
{
index = 1
owner = 1
}
_ = 931
_ = "Croak"
icon = 804966
_ = 0
_ = "Your critical strike chance has been reduced by [abs(abilityStateMod(40,520))]%."
_ = 1
type = nil
healing = false

commented

I'm having SO MANY errors. the game ended up inactivating the add-on. i would get errors in the middle of battle causing me to not be able to change pets. i had to just let the pet die and then i could pick one. usually.