Valhalla Legends Archive

Programming => Battle.net Bot Development => BnetDocs Research and Discussion => Topic started by: Arta on November 22, 2005, 01:59 PM

Title: Request for Information: Friend location values
Post by: Arta on November 22, 2005, 01:59 PM
The following was reported by a guest...

Quote
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 (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=371). Can anyone clarify?
Title: Re: Request for Information: Friend location values
Post by: l2k-Shadow on November 30, 2005, 05:38 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?
Title: Re: Request for Information: Friend location values
Post by: MyndFyre on November 30, 2005, 06:14 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.
Title: Re: Request for Information: Friend location values
Post by: Arta on November 30, 2005, 08:30 PM
Thanks :)