The rules format has also changed to.....??
Im seeing:
FROM 203.26.94.184:27015
0: ffffffff 41277707 79 ....A'w. y
FROM 203.26.94.184:27015
0: feffffff 75010000 12617473 00300073 ....u... .ats.0.s
16: 765f636c 69656e74 74726163 6500332e v_client trace.3.
32: 35007376 5f636c69 706d6f64 65003000 5.sv_cli pmode.0.
48: 73765f63 6f6e7461 63740000 73765f66 sv_conta ct..sv_f
64: 72696374 696f6e00 34007376 5f677261 riction. 4.sv_gra
80: 76697479 00383030 0073765f 6c6f6762 vity.800 .sv_logb
96: 6c6f636b 73003000 73765f6d 61787261 locks.0. sv_maxra
112: 74650030 0073765f 6d617873 70656564 te.0.sv_ maxspeed
128: 00353030 0073765f 6d696e72 61746500 .500.sv_ minrate.
144: 30007376 5f706173 73776f72 64003000 0.sv_pas sword.0.
160: 73765f70 726f7869 65730030 0073765f sv_proxi es.0.sv_
176: 72656769 6f6e0035 0073765f 73746570 region.5 .sv_step
192: 73697a65 00313800 73765f73 746f7073 size.18. sv_stops
208: 70656564 00313030 0073765f 766f6963 peed.100 .sv_voic
224: 65656e61 626c6500 31007376 5f776174 eenable. 1.sv_wat
240: 65726163 63656c65 72617465 00313000 eraccele rate.10.
256: 73765f77 61746572 66726963 74696f6e sv_water friction
272: 003100 .1.
----- Original Message -----
From: "Alfred Reynolds" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 08, 2005 2:43 AM
Subject: RE: [hlds_apps] RE: [hlds_linux] HL1 Engine update
Arg, the response format is slightly different for HL1 (it matches the
old "info" response). Here is some sample code we use for parsing the
response:
// read in IP address
msg->ReadString();
v_strncpy(hostname, msg->ReadString(),
sizeof(hostname));
v_strncpy(map, msg->ReadString(), sizeof(map));
v_strncpy(gamedir, msg->ReadString(), sizeof(gamedir));
strlwr(gamedir);
v_strncpy(desc, msg->ReadString(), sizeof(desc));
players = msg->ReadByte();
maxplayers = msg->ReadByte();
msg->ReadByte(); // protocol version
msg->ReadByte(); // dedicated
msg->ReadByte(); // OS
password = msg->ReadByte();
// mod info
bool isMod = msg->ReadByte();
if (isMod)
{
msg->ReadString(); // mod URL
msg->ReadString(); // mod DL
msg->ReadString(); // empty string
msg->ReadLong(); // mod version
msg->ReadLong(); // mod size
msg->ReadByte(); // svonly
msg->ReadByte(); // cldll
}
secure = msg->ReadByte(); // secure server
// number of bots on server
bots = msg->ReadByte();
version = msg->ReadLong();
- Alfred
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please
telephone (023) 8024 3137
or return the E.mail to [EMAIL PROTECTED]
_______________________________________________
hlds_apps mailing list
[email protected]
http://list.valvesoftware.com/mailman/listinfo/hlds_apps