• Welcome to Valhalla Legends Archive.
 

S->C 0x05 MCP_GAMELIST

Started by Tazo, March 14, 2008, 05:16 PM

Previous topic - Next topic

Tazo

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?

NiNe

It tells you what type of game it is. nightmare, hell, ect...

Tazo

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.

Barabajagal