Author | Message | Time |
---|---|---|
Deception | In the BNCS packet 0x65 (SID_FRIENDLIST), the friend's status is the byte after the friend's account name. Here is what I have found so far (Although I'm sure it is incomplete and possibly incorrect): [code] Private Function GetFriendStatus(Status As Integer) As String Select Case Status Case 1: GetFriendStatus = "Mutual Friend" Case 2: GetFriendStatus = "Do Not Disturb" Case 3: GetFriendStatus = "Mutual Friend, Do Not Disturb" Case 4: GetFriendStatus = "Away From Keyboard" Case 5: GetFriendStatus = "Mutual Friend, Away From Keyboard" Case 7: GetFriendStatus = "Mutual Friend, Do Not Disturb, Away From Keyboard" End Select End Function [/code] Does anyone know all the possible status codes for the friends list? | August 26, 2004, 4:28 PM |
Deception | Well I just noticed a pattern in the status codes and have determined that they are: [code] 1: Mutual Friend 2: Do Not Disturb 3: Mutual Friend, Do Not Disturb 4: Away From Keyboard 5: Mutual Friend, Away From Keyboard 6: Do Not Disturb, Away From Keyboard 7: Mutual Friend, Do Not Disturb, Away [/code] If anyone knows of any more let me know. | August 26, 2004, 4:33 PM |
Myndfyr | [quote author=Deception link=board=17;threadid=8382;start=0#msg77407 date=1093538004] Well I just noticed a pattern in the status codes and have determined that they are: [code] 1: Mutual Friend 2: Do Not Disturb 3: Mutual Friend, Do Not Disturb 4: Away From Keyboard 5: Mutual Friend, Away From Keyboard 6: Do Not Disturb, Away From Keyboard 7: Mutual Friend, Do Not Disturb, Away [/code] If anyone knows of any more let me know. [/quote] Wow... how about it.... flags... 0x01 : Mutual Friends 0x02 : Do Not Disturb 0x04: Away from Keyboard Bitwise combinations are possible. Man, it would be helpful if this was in Bnetdocs. Oh wait, it is. Silly :P | August 26, 2004, 5:53 PM |
UserLoser. | I thought 1 for status is not in chat, not mutual. | August 26, 2004, 6:53 PM |
tA-Kane | 1 for location type is not in chat. Not 1 for status. | August 26, 2004, 8:07 PM |