Kkthnx-Wow / KkthnxUI

KkthnxUI for The War Within World of Warcraft.
MIT License
34 stars 18 forks source link

Pet battle UI error on level up #11

Closed trinidadr closed 4 years ago

trinidadr commented 4 years ago

Description While doing pet battles and dinging a pet, the pop up display is distorted... looks flattened as if no height? And the error is triggered.

Version Number v9.10.5

Steps to Reproduce

  1. Enter pet battle
  2. Win battle
  3. Level a pet

Expected Behavior Should display "level X"

Actual Behavior Pop up is distorted.

Only KkthnxUI Enabled KkthnxUI enabled + Rematch

Additional Information

Error Log Message: Interface\AddOns\KkthnxUI\Core\Functions.lua:120: attempt to index local 'self' (a nil value) Time: Wed Jun 17 23:13:02 2020 Count: 1 Stack: Interface\AddOns\KkthnxUI\Core\Functions.lua:120: attempt to index local 'self' (a nil value)

[string "@Interface\AddOns\KkthnxUI\Core\Functions.lua"]:120: in function CreateFontString' [string "@Interface\AddOns\KkthnxUI\Modules\Unitframes\Core.lua"]:874: in functionCreateUnits' [string "@Interface\AddOns\KkthnxUI\Modules\Unitframes\Core.lua"]:1017: in function OnEnable' [string "@Interface\AddOns\KkthnxUI\Init.lua"]:265: in functionfunc' [string "@Interface\AddOns\KkthnxUI\Init.lua"]:128: in function <Interface\AddOns\KkthnxUI\Init.lua:123>

Locals:

Message: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: LevelUpDisplay:SetPoint. Time: Wed Jun 17 23:13:38 2020 Count: 1 Stack: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: LevelUpDisplay:SetPoint.

string "=[C]": in function SetPoint' [string "@Interface\FrameXML\LevelUpDisplay.lua"]:823: in functionLevelUpDisplay_StartDisplay' [string "@Interface\FrameXML\LevelUpDisplay.lua"]:264: in function PlayBanner' [string "@Interface\FrameXML\TopBannerManager.lua"]:33: in functionTopBannerManager_Show' [string "@Interface\FrameXML\LevelUpDisplay.lua"]:740: in function LevelUpDisplay_Start' [string "@Interface\FrameXML\LevelUpDisplay.lua"]:728: in functionLevelUpDisplay_Show' [string "@Interface\FrameXML\LevelUpDisplay.lua"]:302: in function <Interface\FrameXML\LevelUpDisplay.lua:281>

Locals:

Message: Interface\FrameXML\LevelUpDisplay.lua:620: bad argument #1 to 'insert' (table expected, got nil) Time: Wed Jun 17 23:28:29 2020 Count: 2 Stack: Interface\FrameXML\LevelUpDisplay.lua:620: bad argument #1 to 'insert' (table expected, got nil)

string "=[C]": in function insert' [string "@Interface\FrameXML\LevelUpDisplay.lua"]:620: in functionLevelUpDisplay_AddBattlePetLevelUpEvent' [string "@Interface\FrameXML\LevelUpDisplay.lua"]:311: in function <Interface\FrameXML\LevelUpDisplay.lua:281>

Locals:

Kkthnx commented 4 years ago

I was not able to reproduce this. Can you try to reproduce it again and let me know more info?

Kkthnx commented 4 years ago

Fixed https://github.com/Kkthnx-Wow/KkthnxUI/commit/35886fdad3506a53ce15fa88706d76be9b8b6908