Valhalla Legends Archive

Programming => Battle.net Bot Development => BnetDocs Research and Discussion => Topic started by: Tazo on March 14, 2008, 05:16 PM

Title: S->C 0x05 MCP_GAMELIST
Post by: Tazo on March 14, 2008, 05:16 PM
EDIT: Nevermind. See this page: http://forum.valhallalegends.com/index.php?topic=16238.0

Quote from http://www.bnetdocs.org/?op=packet&pid=367:
Quote
(WORD) Request Id
(DWORD) Index
(BYTE) Number of players in game
(DWORD) Status
(STRING) Game name
(STRING) Game description
   
Remarks:   Instead of receiving a single response that has a list of all the games, the client will receive this packet once for every game listed by the server.

Request Id:
    Like a cookie. This value will be whatever you sent the server in MCP_GAMELIST.
Index:
    The game's index on the server.
Number of players in game:
    Self explanatory.

Status:
    0x00300004: Game is available to join 0xFFFFFFFF: Server is down


I'm not sure if the Status code for 'Game is available to join' is correct. Using a level 1 expansion barbarian in normal difficulty, I receive 04 00 10 00 (0x00100004). Using a 77 Sorceress in act Hell, I receive 04 20 10 00 (0x00102004). Does anyone have more information on these status codes?
Title: Re: S->C 0x05 MCP_GAMELIST
Post by: NiNe on March 14, 2008, 06:06 PM
It tells you what type of game it is. nightmare, hell, ect...
Title: Re: S->C 0x05 MCP_GAMELIST
Post by: Tazo on March 14, 2008, 08:28 PM
Quote from: NiNe on March 14, 2008, 06:06 PM
It tells you what type of game it is. nightmare, hell, ect...

Someone already posted the information I was looking for and I posted a link to it at the top of my post minutes after posting. It is my fault; I did not adequately search before posting.
Title: Re: S->C 0x05 MCP_GAMELIST
Post by: Barabajagal on March 14, 2008, 08:32 PM
Yay me!