The HL Client connects to a server on local port 27005. Look at the
machines UDP connection on that port and do a standard HL query on the
server ip/port you get back. That should get you the server
name/map/mod/timeleft/etc.

-EvilGrin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Predatory
Kangaroo
Sent: Thursday, August 28, 2003 6:57 AM
To: [EMAIL PROTECTED]
Subject: [hlcoders] COM in HL

Does anyone here know if it would be possible to expose some COM
interfaces
within a MOD, like, to let other programs find out what server ur
playing
on, map, team, stuff like that.
Because i'm thinking of different ways to make a bot in MSN to respond
to
certain phrases with certain bits of info.
Of course, it'd have to be designed so that it can't be exploited, like
people alt+tabbing to find out an enemies health, ammo, weapon, etc.
But for now i'm just wondering whether it would be possible
Greetz,
Predatory Kangaroo

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to