WarcraftReamls.com
  FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups   RegisterRegister 
  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 
[w/ fix] FriendsFrame_Update tainted by CensusPlus

 
Post new topic   Reply to topic    WarcraftRealms.com Forum Index -> CensusPlus UI Mod Bugs
View previous topic :: View next topic  
Author Message
Polarina



Joined: 22 Nov 2007
Posts: 3

WR Updates: 19,390
Polarina WR Profile

PostPosted: Tue Nov 27, 2007 11:32 am    Post subject: [w/ fix] FriendsFrame_Update tainted by CensusPlus Reply with quote

I had CensusPlus taking "censuses" while I was questing in Nagrand. I happened to be in combat during the time that happened. Immediately after the taint occurred, the guild window popped up. The taint log follows:

Code:
11/26 21:11:47.054  Global variable FriendsFrame_Update tainted by CensusPlus - Interface\AddOns\CensusPlus\CensusPlus.lua:625 CensusPlus_OnLoad()
11/26 21:11:47.054      CensusPlus:OnLoad()
11/26 21:11:47.054  Execution tainted by CensusPlus while reading FriendsFrame_Update - Interface\FrameXML\FriendsFrame.lua:1133 InGuildCheck()
11/26 21:11:47.054      Interface\FrameXML\FriendsFrame.lua:86 g_Pre_FriendsFrameOnShowOverride()
11/26 21:11:47.054      Interface\AddOns\CensusPlus\CensusPlus.lua:668 FriendsFrame_OnShow()
11/26 21:11:47.054      FriendsFrame:OnShow()
11/26 21:11:47.054      FriendsFrame:Show()
11/26 21:11:47.054      Interface\FrameXML\UIParent.lua:1184 SetUIPanel()
11/26 21:11:47.054      Interface\FrameXML\UIParent.lua:983 ShowUIPanel()
11/26 21:11:47.054      Interface\FrameXML\FriendsFrame.lua:408 GuildStatus_Update()
11/26 21:11:47.055      Interface\FrameXML\FriendsFrame.lua:756 FriendsFrame_OnEvent()
11/26 21:11:47.055      FriendsFrame:OnEvent()
11/26 21:11:47.055  An action was blocked in combat because of taint from CensusPlus - VoiceChatTalkers:Hide()
11/26 21:11:47.055      Interface\FrameXML\VoiceChat.lua:268 VoiceChat_Toggle()
11/26 21:11:47.055      Interface\FrameXML\FriendsFrame.lua:87 g_Pre_FriendsFrameOnShowOverride()
11/26 21:11:47.055      Interface\AddOns\CensusPlus\CensusPlus.lua:668 FriendsFrame_OnShow()
11/26 21:11:47.055      FriendsFrame:OnShow()
11/26 21:11:47.055      FriendsFrame:Show()
11/26 21:11:47.055      Interface\FrameXML\UIParent.lua:1184 SetUIPanel()
11/26 21:11:47.055      Interface\FrameXML\UIParent.lua:983 ShowUIPanel()
11/26 21:11:47.055      Interface\FrameXML\FriendsFrame.lua:408 GuildStatus_Update()
11/26 21:11:47.055      Interface\FrameXML\FriendsFrame.lua:756 FriendsFrame_OnEvent()
11/26 21:11:47.055      FriendsFrame:OnEvent()


I did not have Voice Chat enabled. However, I was grouping with other players.


Last edited by Polarina on Fri Dec 07, 2007 3:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Rollie
Site Admin


Joined: 28 Nov 2004
Posts: 5374
Location: Austin, TX
WR Updates: 480,131
Rollie WR Profile

PostPosted: Tue Nov 27, 2007 11:36 am    Post subject: Reply with quote

Thank you for the info. Others have described this as well but as of yet I have been unable to reproduce it =/
Back to top
View user's profile Send private message Visit poster's website
Polarina



Joined: 22 Nov 2007
Posts: 3

WR Updates: 19,390
Polarina WR Profile

PostPosted: Tue Nov 27, 2007 4:17 pm    Post subject: Reply with quote

A guess of what might cause this, it happened again to me.

Star the "census" process and get into combat.
While in combat, and taking censuses, have a friend to log in.
If nothing happens, try to click a item link from the chat frame and press the X button on the tooltip.

I hope that helps,
Polarina.
Back to top
View user's profile Send private message
Polarina



Joined: 22 Nov 2007
Posts: 3

WR Updates: 19,390
Polarina WR Profile

PostPosted: Fri Dec 07, 2007 9:45 am    Post subject: Reply with quote

I found a way to fix this bug!

With patch 2.3, Blizzard added a new function:
Code:
local frame_1, ..., frame_n = GetFramesRegisteredForEvent(<event>);

Just call that function, do a:
Code:
local i = result:GetName();

in a for loop and check if it matches "FriendsFrame". If it does, just do something like this:

Code:
result:UnregisterEvent("WHO_LIST_UPDATE");
SetWhoToUI("<who>");

function CensusPlus_OnEvent(...)
    -- Do something...
   
    result:RegisterEvent("WHO_LIST_UPDATE");
end
Back to top
View user's profile Send private message
Hybuir
Gear Dependent Squirrel
Gear Dependent Squirrel


Joined: 06 Sep 2005
Posts: 1538
Location: Austin, TX
WR Updates: 2,622,751
Hybuir WR Profile

PostPosted: Fri Dec 07, 2007 9:54 am    Post subject: Reply with quote

I'll try to check this out when i get home Smile
_________________

Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    WarcraftRealms.com Forum Index -> CensusPlus UI Mod Bugs All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
WarcraftRealms.com  


Powered by phpBB © 2001, 2005 phpBB Group