Valhalla Legends Forums Archive | BnetDocs Research and Discussion | Request for Information: Friend location values

The following was reported by a guest...

Location Constants: 4 is a private game, 5 is a pasword protected game. Not sure what the difference is, except for the client being used.

...with reference to SID_FRIENDSLIST. Can anyone clarify?
November 22, 2005, 7:59 PM
Actually with reference to that packet, only SC, BW, W2, D2, LoD use that packet, not W3, or TFT as you have there. And for the D2, it always says (private) when you do /f l if a mutual friend is in a d2 game? So then 0x04 could be used by d2 and 0x05 could be used by sc?
November 30, 2005, 11:38 PM
Warcraft II and Diablo II's clients support SID_FRIENDSLIST but do not support the other binary Friends functions.  Typing /f l or /friends list has the server return the result through SID_CHATEVENT with event ID 0x12 EID_INFO (IIRC).

4 is a private game when the friend on your list is in a password-protected game and that person does not have you on his or her friends list.  5 is a password-protected game when the friend does have you on his or her friends list (you're mutual friends).

When the value is 4, the Channel parameter of the message should be NULL; when it is 5, the value of the Channel parameter should be the name of the game.

I will update this.
December 1, 2005, 12:14 AM
Thanks :)
December 1, 2005, 2:30 AM