Bugs out Pet Battles #800


  • New
  • Defect
Open
Assigned to Antiarc
  • maligmus created this issue Oct 25, 2016

    What steps will reproduce the problem?
    1.Enter Pet Battle
    -No action buttons availble
    -Pet battle interface shifted to right

    What version of the product are you using?
    latest for 7.1

    Do you have an error log of what happened?
    No

  • maligmus added the tags New Defect Oct 25, 2016
  • maligmus added an attachment WoWScrnShot_102516_175950.jpg Oct 25, 2016

    WoWScrnShot_102516_175950.jpg

  • maligmus posted a comment Oct 25, 2016

    I have disabled all addons and used only Chatter to verify the bug. The bug happens as soon as you enter any pet battle. I only tried in the Broken Isles.

  • Keryn_TB posted a comment Oct 25, 2016

    Seeing the same UI behavior. This bug popped up when I tried to enter a pet battle:

    Message: Interface\AddOns\Chatter\Modules\AutoPopup.lua:40: attempt to index local 'info' (a nil value) Time: 10/25/16 21:46:31 Count: 1 Stack: Interface\AddOns\Chatter\Modules\AutoPopup.lua:40: in function `AlwaysDecorate' Interface\AddOns\Chatter\Chatter.lua:196: in function <Interface\AddOns\Chatter\Chatter.lua:183> (tail call): ? ...AddOns\Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua:149: in function `PetBattleFrame_Display' ...AddOns\Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua:95: in function <...AddOns\Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua:92>

    Locals: self = <table> { SetDefaultModuleLibraries = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:398 Enable = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:325 NewModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:266 EnableModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:363 modules = <table> { } GetModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:241 IterateEmbeds = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:473 SecureHookScript = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:410 defaultModuleLibraries = <table> { } RawHookScript = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:395 GetName = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:310 name = "Chatter_Automatic Whisper Windows" IsEnabled = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:482 orderedModules = <table> { } DisableModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:381 baseName = "Chatter" ProcessWhisper = <function> defined @Interface\AddOns\Chatter\Modules\AutoPopup.lua:48 RegisterMessage = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:116 HookScript = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:366 AlwaysDecorate = <function> defined @Interface\AddOns\Chatter\Modules\AutoPopup.lua:21 OnDisable = <function> defined @Interface\AddOns\Chatter\Modules\AutoPopup.lua:14 IsHooked = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:493 OnEnable = <function> defined @Interface\AddOns\Chatter\Modules\AutoPopup.lua:7 Disable = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:345 IsModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:248 defaultModuleState = true SetDefaultModuleState = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:418 UnregisterAllEvents = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:200 SendMessage = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:85 SetEnabledState = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:455 Hook = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:274 enabledState = false UnregisterMessage = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:179 RegisterEvent = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:116 UnregisterAllMessages = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:200 hooks = <table> { } SetDefaultModulePrototype = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:440 SecureHook = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:336 IterateModules = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:468 UnhookAll = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:477 RawHook = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:313 Unhook = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:418

  • jtrack3d posted a comment Oct 26, 2016

    I see all pet battles buttons are missing with chatter loaded. Broken isles as well.

  • Gello posted a comment Oct 27, 2016

    If any of you are confident enough to edit lua files:

    It looks like there's been a change with the messageFrame:GetMessageInfo() API in 7.1. Chatter is using:

    local text, accessID, lineID, extraData = chatFrame:GetMessageInfo(i, accessID);
    

    The 7.1 default UI now uses:

    local text, r, g, b, chatTypeID, messageAccessID, lineID = sourceChatFrame:GetMessageInfo(i);
    

    If you change this at line 37 in Chatter\Modules\AutoPopup.lua:

    local text, accessID, lineID, extraData = chatFrame:GetMessageInfo(i, accessID);
    local cType, cTarget = ChatHistory_GetChatType(extraData);
    local info = ChatTypeInfo[cType];
    frame:AddMessage(text, info.r, info.g, info.b, lineID, false, accessID, extraData);
    

    to this

    local text, r, g, b, chatTypeID, accessID, lineID, extraData = chatFrame:GetMessageInfo(i, accessID);
    frame:AddMessage(text, r, g, b, lineID, false, accessID, extraData);
    

    Everything may work fine.

    I don't use Chatter myself. But another was having issues with Chatter alongside one of my addons. So I don't know if this is the best solution.

  • slybootz posted a comment Oct 27, 2016

    @Gello: Go

    Thank you, this fixed the pet battle issue for me.

  • Keryn_TB posted a comment Oct 29, 2016

    Version 1.5.3 appears to have resolved this issue, thank you!

  • maligmus posted a comment Oct 29, 2016

    Confirmed here as well. 1.5.3 Resolved issue.

  • BigFire posted a comment Oct 29, 2016

    1.5.3 didn't fix it for me


To post a comment, please login or register a new account.