Open GoogleCodeExporter opened 8 years ago
I did this on my own install to get it working but I don't know if it will
affect EPGP
lib:RawHook("GuildFrame_LoadUI", function(...)
if not (EPGP.db) then
local showoffline = true
else
local showoffline = EPGP.db.profile.blizzard_show_offline
end
SetGuildRosterShowOffline(showoffline)
lib.hooks.GuildFrame_LoadUI(...)
lib:RawHookScript(GuildRosterFrame, "OnShow", function(frame, ...)
GUILDFRAMEVISIBLE = true
if GuildRosterShowOfflineButton then
GuildRosterShowOfflineButton:SetChecked(showoffline)
GuildRosterShowOfflineButton:Enable()
end
SetGuildRosterShowOffline(showoffline)
lib.hooks[frame].OnShow(frame, ...)
end)
lib:RawHookScript(GuildRosterFrame, "OnHide", function(frame, ...)
GUILDFRAMEVISIBLE = false
EPGP.db.profile.blizzard_show_offline = GetGuildRosterShowOffline()
lib.hooks[frame].OnHide(frame, ...)
SetGuildRosterShowOffline(true)
end)
lib:Unhook("GuildFrame_LoadUI")
SetGuildRosterShowOffline(true)
end, true)
Original comment by upyurshd...@gmail.com
on 29 Jul 2011 at 9:57
Any response on this at all?
Original comment by upyurshd...@gmail.com
on 8 Aug 2011 at 11:23
Are you using the RecruitmentEnhancement addon? There is an incompatibility
with it and with EPGP.
Original comment by chip.turner
on 8 Aug 2011 at 11:29
Yes but with the error above it looks like your hook to GuildFrame_LoadUI is
broken "6x epgp-5.6.4\LibGuildStorage-1.2-0.lua:429: attempt to index field
"db" (a nil value)"
that then affects anyone using the GuildFrame for anything?
Original comment by upyurshd...@gmail.com
on 8 Aug 2011 at 11:32
[deleted comment]
Chip could you response to the "attempt to index field "db" (a nil value)"
error?
Original comment by upyurshd...@gmail.com
on 11 Aug 2011 at 11:35
seriously, it's interaction with RecruitmentEnhancement. have you disabled it
and seen it still fail? the issue is with how both addons interact with the
guild frame. something about RecruitmentEnhancement causes it to access the
frame before epgp has loaded or something.
If someone wants to dig deeper and submit a patch, that'd be cool, but as-is, I
don't use RecruitmentEnhancement and unless more people star the issue, I'm not
going to prioritize working with some other addon.
If you reproduce the problem without RecruitmentEnhancement, please let me
know, but I am rather certain you won't.
Original comment by chip.turner
on 11 Aug 2011 at 4:47
Any updates on this issue? Its effecting me too.
Original comment by chuck.r...@gmail.com
on 10 Oct 2011 at 6:46
Original issue reported on code.google.com by
upyurshd...@gmail.com
on 29 Jul 2011 at 9:48