Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: CodeMaster on May 06, 2004, 11:57 PM

Title: Question About A 0x65 Response
Post by: CodeMaster on May 06, 2004, 11:57 PM
In location I am getting 0x04 in response for 2 of my friends, and 0x04 is not listed on BNET Docs, does anyone know what 0x04 is?
Title: Re:Question About A 0x65 Response
Post by: MyndFyre on May 07, 2004, 02:30 AM
Are you sure you're not confusing that with Status?

Possible bitwise values for Status:
0x01: Mutual
0x02: DND
0x04: Away

Possible values for Location:
0x00: Offline
0x01: Not in chat
0x02: In chat
0x03: In a public game
0x05: In a private game

Are you checking the 1st or 2nd byte after the username string?
Title: Re:Question About A 0x65 Response
Post by: UserLoser. on May 07, 2004, 07:13 AM
I have 0x04 as in a private game, never seen 0x05 there
Title: Re:Question About A 0x65 Response
Post by: MyndFyre on May 07, 2004, 10:06 AM
I just copied that straight out of BnetDocs.
Title: Re:Question About A 0x65 Response
Post by: CodeMaster on May 07, 2004, 05:26 PM
Yeah I figured 0x04 was for private game, but BNET Docs put it as 0x05 for private game, thanks for clarifying.
Title: Re:Question About A 0x65 Response
Post by: ChR0NiC on May 11, 2004, 01:46 PM
Quote from: CodeMaster on May 07, 2004, 05:26 PM
Yeah I figured 0x04 was for private game, but BNET Docs put it as 0x05 for private game, thanks for clarifying.

Actually 0x04 is for a private game and 0x05 is for a password protected game, don't ask me how they differ, but if you use /f l and you check the friend who you get 0x04 for it says Game name (private) and for 0x05 it says Game name (passworded)
Title: Re:Question About A 0x65 Response
Post by: MyndFyre on May 11, 2004, 07:18 PM
Quote from: ChR0NiC on May 11, 2004, 01:46 PM
Quote from: CodeMaster on May 07, 2004, 05:26 PM
Yeah I figured 0x04 was for private game, but BNET Docs put it as 0x05 for private game, thanks for clarifying.

Actually 0x04 is for a private game and 0x05 is for a password protected game, don't ask me how they differ, but if you use /f l and you check the friend who you get 0x04 for it says Game name (private) and for 0x05 it says Game name (passworded)

I suppose that Warcraft III games can be private but not passworded, but down-level clients can only be private if they are passworded.
Title: Re:Question About A 0x65 Response
Post by: ChR0NiC on May 11, 2004, 07:22 PM
For some reason, all D2 games (passworded or not) show up as private games both with 0x65 and /f l
Quote
Game name (private).
Title: Re:Question About A 0x65 Response
Post by: MyndFyre on May 11, 2004, 07:38 PM
Quote from: ChR0NiC on May 11, 2004, 07:22 PM
For some reason, all D2 games (passworded or not) show up as private games both with 0x65 and /f l
Quote
Game name (private).

So a public D2 game shows up as private?  Odd.
Title: Re:Question About A 0x65 Response
Post by: Eli_1 on May 11, 2004, 07:41 PM
I think bnet might have done that so PKers (player killers) can't follow one person they're pissed at to every game, and kill them.
Title: Re:Question About A 0x65 Response
Post by: ChR0NiC on May 11, 2004, 07:50 PM
Ah yes, this is possible, because if someone is not on your F List, it says in a private game, but if they are it says
Quote
Game name (private)
Title: Re:Question About A 0x65 Response
Post by: Skywing on May 12, 2004, 07:58 PM
Quote from: Myndfyre on May 11, 2004, 07:38 PM
Quote from: ChR0NiC on May 11, 2004, 07:22 PM
For some reason, all D2 games (passworded or not) show up as private games both with 0x65 and /f l
Quote
Game name (private).

So a public D2 game shows up as private?  Odd.
That's expected for D2 Realm games, since those don't use the chat server for the game management stuff at all, really.

What about D2 Open games?  You may have different results with a passworded game there.