|
Message ID: |
0x09 |
Message Name: |
SID_GETADVLISTEX
|
Direction: |
Server -> Client (Received) |
Used By: |
All Products |
Format: Help
Hint: Field names highlighted in blue will display a definition if you hover over the text. |
Starcraft:
(DWORD) Number of games
If count is 0:
(DWORD) Status
Otherwise, games are listed thus:
For each list item:
(WORD) Game Type
(WORD) Parameter
(DWORD) Unknown
(WORD) Address Family (Always AF_INET)
(WORD) Port
(DWORD) Host's IP
(DWORD) sin_zero (0)
(DWORD) sin_zero (0)
(DWORD) Game Status
(DWORD) Elapsed time (in seconds)
(STRING) Game name
(STRING) Game password
(STRING) Game statstring |
Remarks: |
Returns a list of available games and their information. Varies depending on product.
Note that fields from Address Family to sin_zero form a sockaddr_in structure.
Valid status codes:
0: OK
1: Game doesn't exist
2: Incorrect password
3: Game full
4: Game already started
6: Too many server requests
|
Related Links: |
[C>0x09] SID_GETADVLISTEX
|
|
Printable Version
|
User Comments:
Posted by LoRd[nK] on 03/02/05 02:57 |
[quote]UnKnown
Posted by Ringo on 18/12/04 10:52
(DWORD) Unknown
is the Ping value of the game i beleave.[/quote]
The game creator's ping is determined by exchanging pings with the creator via UDP.
|
#270 |
Posted by Ringo on 18/12/04 11:21 |
Game StatString for sc/bw goes as followed:
Example: ,22,16,6,1,a,,1,dd5881e4,1,,
Values: ,1*,2*,3,4,5,6,7,8******,9,10,
Values go as followed:
1 = map size(mapsize = 2x32 by 2x32)
2 = Players(2nd number, 1st allways 1)
3 = Game speed(0 = slowest, 6 = fastest)
4 = map icon
5 = Game type
6 = UnKnown(allways blank)
7 = Penalty(Ladder Pen, Greed resorces, teams etc)
8 = Map hash(not sure of the map hash value yet)
9 = Title set(space, jungle, Installation etc)
10 = UnKnown(Allways Blank)
right after this is the creater name and the map name, split with byte 0x0D.
Its poassible for some values to be blank, like speed fast would be blank.
hope this helps!
|
#245 |
Posted by Ringo on 18/12/04 11:03 |
I think a ladder game can only have them status values.
Im 99% sure the reassion ladder has differnt status codes than the other game types, is because the server will be isueing a differnt type of stats to the client at the end of the game.
Would i be right in beleaving the server only supports 2 game class's for sc/bw?
|
#244 |
Posted by Ringo on 18/12/04 10:57 |
(DWORD) Game Status
Verys on the game type.
Example: a ladder game would be from 16, 17, 18, 19, 20, 22.
|
#243 |
Posted by Ringo on 18/12/04 10:52 |
(DWORD) Unknown
is the Ping value of the game i beleave.
|
#242 |
Posted by LoRd[nK] on 16/11/04 07:04 |
The unknown DWORD above the elapsed time is a game status DWORD when Status is > 0.
|
#228 |
|
|
|