Talk:Server queries

From Valve Developer Community
Jump to navigation Jump to search

@Megaoerti: The change with the bot count and the unknown value can't be correct :/

Protocol

Source seems to handle multiple packet replies differently. It also sends the 0xFFFFFFFE header followed by the request id. But then the next byte contains the total number of packets, the one after the current packet number. Also Source does not seem to start all "actual" replies with 0xFFFFFFFF (only contained the first packet).

Is this completely right or did I miss something? If it is it will have to be updated in the main page.

--Philip 08:41, 4 Sep 2006 (PDT)

SteamAppID

Yes you're right, but i worry about the SteamAppID set as a 2 byte value 'F000'. This isn't zero?!

F0 is in decimal 240, which stands for CS: Source (see Steam Application IDs) --King2500 14:53, 15 Aug 2005 (PDT)
ok ... i forgot the sweet little endian of these two bytes *g* --MEGAOerti 13:17, 16 Aug 2005 (PDT)

SteamAppID Again

Either I'm being blind and stupid, or do Goldsource a2s_info replies not include an AppID... I think I should point out that I may be both blind and stupid, but I'm just not seeing it

LINE Hex
0000 FF FF FF FF 6D 31 39 34 ....m194
0008 2E 31 34 30 2E 32 34 32 .140.242
0010 2E 32 3A 32 37 30 32 35 .2:27025
0018 00 32 5E 48 41 42 20 43 .2^HAB C
0020 6C 61 6E 20 53 65 72 76 lan Serv
0028 65 72 3A 3A 77 77 77 2E er::www.
0030 32 68 61 62 2D 70 72 6F 2hab-pro
0038 67 61 6D 65 72 73 2E 63 gamers.c
0040 6F 2E 6E 72 3A 3A 00 63 o.nr::.c
0048 73 5F 6F 66 66 69 63 65 s_office
0050 00 63 73 74 72 69 6B 65 .cstrike
0058 00 43 6F 75 6E 74 65 72 .Counter
0060 2D 53 74 72 69 6B 65 00 -Strike.
0068 01 0B 2F 64 6C 00 01 77 ../dl..w
0070 77 77 2E 63 6F 75 6E 74 ww.count
0078 65 72 2D 73 74 72 69 6B er-strik
0080 65 2E 6E 65 74 00 00 00 e.net...
0088 01 00 00 00 00 9E F7 0A ........
0090 00 01 01 00 ....

--Luthias 09:05, 13 Nov 2006 (PST)

You're right. GoldSrc server replies doesn't include an AppID. --King2500 17:32, 11 Jan 2007 (PST)