Mikeprod / FriendGroups

Friend Groups addon (World of Warcraft) working with the current version of WoW
https://www.curseforge.com/wow/addons/friend-groups-continued
1 stars 4 forks source link

does not work for non-BNet friends #52

Open k99k5 opened 4 years ago

k99k5 commented 4 years ago

614x FriendGroups\FriendGroups-1.13.2.lua:257: attempt to index global 'C_BattleNet' (a nil value) FriendGroups\FriendGroups-1.13.2.lua:257: in function <FriendGroups\FriendGroups.lua:237> FriendGroups\FriendGroups-1.13.2.lua:467: in function <FriendGroups\FriendGroups.lua:450> FriendGroups\FriendGroups-1.13.2.lua:843: in function <FriendGroups\FriendGroups.lua:552> [C]: in functionFriendsList_Update' FrameXML\FriendsFrame.lua:1268: in function <FrameXML\FriendsFrame.lua:1227> [C]: in function FriendsFrame_CheckBattlenetStatus' FrameXML\FriendsFrame.lua:934: in functionFriendsFrame_OnEvent'

Locals: button = FriendsFrameFriendsScrollFrameButton2 { 0 = highlight = { } buttonType = 3 id = 1 text = { } index = 2 summonButton = FriendsFrameFriendsScrollFrameButton2SummonButton { } name = FriendsFrameFriendsScrollFrameButton2Name { } travelPassButton = FriendsFrameFriendsScrollFrameButton2TravelPassButton { } status = FriendsFrameFriendsScrollFrameButton2Status { } background = FriendsFrameFriendsScrollFrameButton2Background { } gameIcon = FriendsFrameFriendsScrollFrameButton2GameIcon { } info = FriendsFrameFriendsScrollFrameButton2Info { } } index = 2 height = 34 nameText = nil nameColor = nil infoText = nil broadcastText = nil isFavoriteFriend = nil hasTravelPassButton = false info =

{ connected = true guid = "Player-4533-00E92408" afk = true referAFriend = false name = "张七夜" className = "法师" dnd = false level = 60 area = "幽暗城" } (temporary) = defined @FriendGroups\FriendGroups.lua:76 (temporary) = "法师" (temporary) = defined @FrameXML\FriendsFrame.lua:2237 (temporary) = nil (temporary) = FriendsFrameFriendsScrollFrameButton2Status { 0 = PixelSnapDisabled = true } (temporary) = true (temporary) = FriendsFrameFriendsScrollFrameButton2Status { 0 = PixelSnapDisabled = true } (temporary) = false (temporary) = nil (temporary) = defined =[C]:-1 (temporary) = 0 (temporary) = 0.050000 (temporary) = true (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = "attempt to index global 'C_BattleNet' (a nil value)" FriendButtons =
{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } count = 4 } ClassColourCode = defined @FriendGroups\FriendGroups.lua:76 currentExpansionMaxLevel = 60 GetOnlineInfoText = defined @FriendGroups\FriendGroups.lua:123 GetFriendInfoById = defined @FriendGroups\FriendGroups.lua:140 FriendGroups_GetBNetButtonNameText = defined @FriendGroups\FriendGroups.lua:199 INVITE_RESTRICTION_NONE = 8 ONE_YEAR = 31104000 GroupOnline =
{ = 1 } GroupTotal =
{ = 3 } FRIENDS_GROUP_NAME_COLOR =
{ GetRGB = defined @SharedXML\Util.lua:627 OnLoad = defined @SharedXML\Util.lua:616 b = 0 GenerateHexColorMarkup = defined @SharedXML\Util.lua:658 WrapTextInColorCode = defined @SharedXML\Util.lua:662 GenerateHexColor = defined @SharedXML\Util.lua:654 GetRGBA = defined @SharedXML\Util.lua:635 IsEqualTo = defined @SharedXML\Util.lua:620 g = 0.820000 r = 1 SetRGBA = defined @SharedXML\Util.lua:643 GetRGBAsBytes = defined @SharedXML\Util.lua:631 SetRGB = defined @SharedXML\Util.lua:650 GetRGBAAsBytes = defined @SharedXML\Util.lua:639 } FriendsScrollFrame = FriendsFrameFriendsScrollFrame { 0 = buttonHeight = 16 dividerPool =
{ } update = defined @FriendGroups\FriendGroups.lua:450 PendingInvitesHeaderButton = { } offset = 0 totalFriendListEntriesHeight = 118 buttons =
{ } ScrollChild = FriendsFrameFriendsScrollFrameScrollChild { } numFriendListEntries = 3 totalHeight = 118 range = -189 scrollDown = FriendsFrameFriendsScrollFrameScrollBarScrollDownButton { } dynamic = defined @FriendGroups\FriendGroups.lua:110 scrollBar = FriendsFrameFriendsScrollFrameScrollBar { } scrollChild = FriendsFrameFriendsScrollFrameScrollChild { } invitePool =
{ } scrollUp = FriendsFrameFriendsScrollFrameScrollBarScrollUpButton { } } `