Describe the bug
got friend list error when open friend list window
To Reproduce
Steps to reproduce the behavior:
click o to open friend list
if there's any friend playing call of duty modern warfare 2 ( 2022 )
See error
Information (you can find these in [WindTools-Information]):
Addon Version: 2.52
ElvUI Version : 12.91
WoW Build 9.2.7
`131x ElvUI_WindTools\Modules\Social\FriendList.lua:412: attempt to index field '?' (a nil value)
[string "@ElvUI_WindTools\Modules\Social\FriendList.lua"]:412: in function <ElvUI_WindTools\Modules\Social\FriendList.lua:266>
[string "=[C]"]: in function FriendsFrame_UpdateFriendButton' [string "@FrameXML\FriendsFrame.lua"]:1261: in functionFriendsFrame_UpdateFriends'
[string "@FrameXML\FriendsFrame.lua"]:629: in function FriendsList_Update' [string "@FrameXML\FriendsFrame.lua"]:307: in function <FrameXML\FriendsFrame.lua:306> [string "=[C]"]: in functionShow'
[string "@FrameXML\UIParent.lua"]:3017: in function SetUIPanel' [string "@FrameXML\UIParent.lua"]:2862: in functionShowUIPanel'
[string "@FrameXML\UIParent.lua"]:2730: in function <FrameXML\UIParent.lua:2726>
[string "=[C]"]: in function SetAttribute' [string "@FrameXML\UIParent.lua"]:3582: in functionShowUIPanel'
[string "@FrameXML\FriendsFrame.lua"]:1068: in function `ToggleFriendsFrame'
Locals:
self =
{
SetDefaultModuleLibraries = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
Enable = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:294
NewModule = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:235
EnableModule = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
modules =
{
}
GetModule = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:210
IterateEmbeds = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
SecureHookScript = defined @ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:410
defaultModuleLibraries =
{
}
RawHookScript = defined @ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:395
GetName = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:279
name = "ElvUI_WindTools_FriendList"
Initialize = defined @ElvUI_WindTools\Modules\Social\FriendList.lua:460
IsEnabled = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
orderedModules =
{
}
DisableModule = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
UpdateFriendButton = defined @ElvUI_WindTools\Modules\Social\FriendList.lua:266
HookScript = defined @ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:366
IsHooked = defined @ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:493
IsModule = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:217
db =
{
}
SetDefaultModuleState = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:387
initialized = true
SetEnabledState = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
Hook = defined @ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:274
enabledState = true
Log = defined @ElvUI_WindTools\Core\Functions\Developer.lua:124
baseName = "ElvUI_WindTools"
ProfileUpdate = defined @ElvUI_WindTools\Modules\Social\FriendList.lua:471
hooks =
{
}
SetDefaultModulePrototype = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
SecureHook = defined @ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:336
IterateModules = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:437
UnhookAll = defined @ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:477
RawHook = defined @ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:313
Unhook = defined @ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:418
moduleName = "FriendList"
defaultModuleState = true
Disable = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:314
}
button = FriendsListFrameScrollFrameButton11 {
0 =
OnEnter = defined @FrameXML\FriendsFrame.lua:1905
index = 11
buttonType = 2
travelPassButton = FriendsListFrameScrollFrameButton11TravelPassButton {
}
status = FriendsListFrameScrollFrameButton11Status {
}
background = FriendsListFrameScrollFrameButton11Background {
}
OnClick = defined @FrameXML\FriendsFrame.lua:2086
OnLoad = defined @FrameXML\FriendsFrame.lua:1893
id = 11
OnLeave = defined @FrameXML\FriendsFrame.lua:2081
name = FriendsListFrameScrollFrameButton11Name {
}
highlight = {
}
summonButton = FriendsListFrameScrollFrameButton11SummonButton {
}
info = FriendsListFrameScrollFrameButton11Info {
}
Favorite = {
}
gameIcon = FriendsListFrameScrollFrameButton11GameIcon {
}
}
game = "AUKS"
realID = "|Kq58|`
Describe the bug got friend list error when open friend list window
To Reproduce Steps to reproduce the behavior:
Information (you can find these in [WindTools-Information]):
`131x ElvUI_WindTools\Modules\Social\FriendList.lua:412: attempt to index field '?' (a nil value) [string "@ElvUI_WindTools\Modules\Social\FriendList.lua"]:412: in function <ElvUI_WindTools\Modules\Social\FriendList.lua:266>
[string "=[C]"]: in function
FriendsFrame_UpdateFriendButton' [string "@FrameXML\FriendsFrame.lua"]:1261: in function
FriendsFrame_UpdateFriends' [string "@FrameXML\FriendsFrame.lua"]:629: in functionFriendsList_Update' [string "@FrameXML\FriendsFrame.lua"]:307: in function <FrameXML\FriendsFrame.lua:306> [string "=[C]"]: in function
Show' [string "@FrameXML\UIParent.lua"]:3017: in functionSetUIPanel' [string "@FrameXML\UIParent.lua"]:2862: in function
ShowUIPanel' [string "@FrameXML\UIParent.lua"]:2730: in function <FrameXML\UIParent.lua:2726> [string "=[C]"]: in functionSetAttribute' [string "@FrameXML\UIParent.lua"]:3582: in function
ShowUIPanel' [string "@FrameXML\FriendsFrame.lua"]:1068: in function `ToggleFriendsFrame'Locals: self =
The logic has been rewritten in 10.0 (both Blizzard original friend icon and WindTools module), if you met the problem again, mention me.