Jaliborc / PetTracker

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

In the middle of a pet battle #419

Open jhoffeins opened 1 month ago

jhoffeins commented 1 month ago

Which software were you running?

Have you read the changelog? Channelog?

Please describe the bug. Lua Error

Please describe how to reproduce it. Switching pets

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

Error Logs are Important! Message: .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType) Time: Mon Sep 30 20:41:51 2024 Count: 3 Stack: .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType) string "=[C]": in function GetAttackModifier' [string "@Interface/AddOns/PetTracker/addons/main/classes/abstract/ability.lua"]:17: in functionGetModifier' [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 "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...e/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:143>

[string "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent' [string "@Interface/AddOns/Blizzard_SharedXMLBase/GlobalCallbackRegistry.lua"]:9: in function <...ns/Blizzard_SharedXMLBase/GlobalCallbackRegistry.lua:8>

Locals: (temporary) = nil (temporary) = 3

Duderino84 commented 1 month ago

same here..

36x .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType) string "=[C]": in function GetAttackModifier' [string "@PetTracker/addons/main/classes/abstract/ability.lua"]:17: in functionGetModifier' [string "@PetTracker/addons/main/classes/combat/abilityButton.lua"]:27: in function Display' [string "@PetTracker/addons/battle/enemyBar.lua"]:58: in function?' [string "@BagBrother/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:119: in function <...her/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>

[string "@BagBrother/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:29: in function <...her/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25> [string "@BagBrother/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:64: in function `Fire' [string "@BagBrother/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <BagBrother/libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: (temporary) = nil (temporary) = 10

dbmamaz commented 1 month ago

Iv'e been having something like this too. It seems to happen after pet battling for a while. My toons who only do WQs dont get it. My main pet collector its running into it a lot because he'll do pet battles for 30 minutes straight . . or a lot less as this crash happens and it becomes really hard to battle.