I send a "0xFF 0xFF 0xFF 0xFF infostring\0"
 
That will return something like...  (note the "secure" value in the list)
 
0099AD08  FF FF FF FF 69 6E 66 6F 73 74 72 69 6E 67 72 65 73 70 6F  ����infostringrespo
0099AD1B  6E 73 65 00 5C 70 72 6F 74 6F 63 6F 6C 5C 34 36 5C 61 64  nse.\protocol\46\ad
0099AD2E  64 72 65 73 73 5C 31 33 34 2E 31 39 33 2E 32 2E 32 33 36  dress\134.193.2.236
0099AD41  3A 32 37 30 31 35 5C 70 6C 61 79 65 72 73 5C 31 30 5C 70  :27015\players\10\p
0099AD54  72 6F 78 79 74 61 72 67 65 74 5C 30 5C 6C 61 6E 5C 30 5C  roxytarget\0\lan\0\
0099AD67  6D 61 78 5C 32 36 5C 67 61 6D 65 64 69 72 5C 64 6F 64 5C  max\26\gamedir\dod\
0099AD7A  64 65 73 63 72 69 70 74 69 6F 6E 5C 44 61 79 20 6F 66 20  description\Day of
0099AD8D  44 65 66 65 61 74 5C 68 6F 73 74 6E 61 6D 65 5C 5B 55 4D  Defeat\hostname\[UM
0099ADA0  4B 43 5D 20 2D 3D 20 54 33 20 3D 2D 20 4B 61 6E 73 61 73  KC] -= T3 =- Kansas
0099ADB3  20 43 69 74 79 20 50 75 62 6C 69 63 5C 6D 61 70 5C 64 6F   City Public\map\do
0099ADC6  64 5F 61 76 61 6C 61 6E 63 68 65 5C 74 79 70 65 5C 64 5C  d_avalanche\type\d\
0099ADD9  70 61 73 73 77 6F 72 64 5C 30 5C 6F 73 5C 6C 5C 73 65 63  password\0\os\l\sec
0099ADEC  75 72 65 5C 30 5C 6D 6F 64 5C 31 5C 6D 6F 64 76 65 72 73  ure\0\mod\1\modvers
0099ADFF  69 6F 6E 5C 33 5C 73 76 6F 6E 6C 79 5C 30 5C 63 6C 64 6C  ion\3\svonly\0\cldl
0099AE12  6C 5C 31 00 00                                            l\1..
 
 
----- Original Message -----
From: "DjoDjo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 30, 2002 3:52 PM
Subject: Re: [hlds_apps] How to know if VAC is running on a server?

> Yes i know that, it appear when you type "status" in console, but
> how can i do by contacting the server with udp sockets? Which request
> need i to send?
> For example, if i want the rules, i send the string "\xFF\xFF\xFF\xFFrules\x00"
> and i receive all the rules (cvars).
> How can i request a "status" ?
> I know that HLSW use something like "logadress", is it the solution?
>
> DjoDjo
>
> >Just do a stat or status.  Directly to the right of the version is either
> >secure or insecure.
> >
> >> Hi
> >> I would like to know how could i "detect" if a server is running with
> >> "secure 1" (VAC running) or not.
> >> I cant find any cvar for that when i do a "rules" or "info" request by udp
> >> socket.
> >> I know it's possible, HLSW does it.
> >>
> >> Thx for help!
> >>
> >> DjoDjo
>
>
> _______________________________________________
> hlds_apps mailing list
>
[EMAIL PROTECTED]
> http://list.valvesoftware.com/mailman/listinfo/hlds_apps

Reply via email to