Jaliborc / PetTracker

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

LUA error #362

Open Rycia opened 1 year ago

Rycia commented 1 year ago

Running Software (issues missing this information will be deleted):

Describe the bug Lua errors caught with Bugsack.

To Reproduce Steps to reproduce the behaviour:

  1. Load the addon.

Expected behaviour No lua errors.

Screenshots image

Error Logs 6x ...PetTracker/libs/Sushi-3.1-5/classes/drops/Dropdown.lua:148: calling 'IsMouseOver' on bad self (Usage: local isMouseOver = self:IsMouseOver([offsetTop, offsetBottom, offsetLeft, offsetRight])) [string "=[C]"]: in function `IsMouseOver' [string "@PetTracker/libs/Sushi-3.1-5/classes/drops/Dropdown.lua"]:148: in function <...PetTracker/libs/Sushi-3.1/classes/drops/Dropdown.lua:147> [string "@PetTracker/libs/Sushi-3.1-5/classes/drops/Dropdown.lua"]:153: in function <...PetTracker/libs/Sushi-3.1/classes/drops/Dropdown.lua:147>

[string "@PetTracker/libs/Sushi-3.1-5/classes/drops/Dropdown.lua"]:93: in function <...PetTracker/libs/Sushi-3.1/classes/drops/Dropdown.lua:92>

Locals: (*temporary) = SimpleCheckout { 0 = RightOutside = Line { } RightInside = Line { } Background = Frame { } CalculateDesiredSize = defined @Blizzard_StoreUI/Blizzard_Shared_SimpleCheckout.lua:101 OnShow = defined @Blizzard_StoreUI/Blizzard_Shared_SimpleCheckout.lua:54 OnLoad = defined @Blizzard_StoreUI/Blizzard_Shared_SimpleCheckout.lua:25 OnHide = defined @Blizzard_StoreUI/Blizzard_Shared_SimpleCheckout.lua:61 LeftOutside = Line { } OnExternalLink = defined @Blizzard_StoreUI/Blizzard_Shared_SimpleCheckout.lua:83 TopInside = Line { } BottomOutside = Line { } CloseButton = Button { } TopOutside = Line { } BottomInside = Line { } OnEvent = defined @Blizzard_StoreUI/Blizzard_Shared_SimpleCheckout.lua:29 LeftInside = Line { } RecalculateSize = defined @Blizzard_StoreUI/Blizzard_Shared_SimpleCheckout.lua:139 OnRequestNewSize = defined @Blizzard_StoreUI/Blizzard_Shared_SimpleCheckout.lua:75 }

ChloeMarie commented 1 year ago

I'm getting this one too. 31x ...PetTracker/libs/Sushi-3.1-5/classes/drops/Dropdown.lua:148: calling 'IsMouseOver' on bad self (Usage: local isMouseOver = self:IsMouseOver([offsetTop, offsetBottom, offsetLeft, offsetRight])) [string "=[C]"]: in function `IsMouseOver' [string "@PetTracker/libs/Sushi-3.1-5/classes/drops/Dropdown.lua"]:148: in function <...PetTracker/libs/Sushi-3.1/classes/drops/Dropdown.lua:147> [string "@PetTracker/libs/Sushi-3.1-5/classes/drops/Dropdown.lua"]:153: in function <...PetTracker/libs/Sushi-3.1/classes/drops/Dropdown.lua:147>

[string "@PetTracker/libs/Sushi-3.1-5/classes/drops/Dropdown.lua"]:93: in function <...PetTracker/libs/Sushi-3.1/classes/drops/Dropdown.lua:92>

Locals: (*temporary) = SimpleCheckout { 0 = RightOutside = Line { } RightInside = Line { } Background = Frame { } CalculateDesiredSize = defined @Blizzard_StoreUI/Blizzard_SimpleCheckout.lua:101 OnShow = defined @Blizzard_StoreUI/Blizzard_SimpleCheckout.lua:54 OnLoad = defined @Blizzard_StoreUI/Blizzard_SimpleCheckout.lua:25 OnHide = defined @Blizzard_StoreUI/Blizzard_SimpleCheckout.lua:61 LeftOutside = Line { } OnExternalLink = defined @Blizzard_StoreUI/Blizzard_SimpleCheckout.lua:83 TopInside = Line { } BottomOutside = Line { } CloseButton = Button { } TopOutside = Line { } BottomInside = Line { } OnEvent = defined @Blizzard_StoreUI/Blizzard_SimpleCheckout.lua:29 LeftInside = Line { } RecalculateSize = defined @Blizzard_StoreUI/Blizzard_SimpleCheckout.lua:139 OnRequestNewSize = defined @Blizzard_StoreUI/Blizzard_SimpleCheckout.lua:75 }

GurliGebis commented 1 year ago

If you just want the tracker on the map, I have created another addon without all the other stuff, that doesn't have all these errors. It seems like this addon is just kept alive to get patreon supporters. Have a look at Battle Pet Completionist, if you just want the map tracker.