Yes, I could get the stuff by using the server protocol, but first i'd need to find the address of the server the user is connected to. I was thinking that with a program like All-Seeing Eye, I could use DDE to find the server information, as you can have it broadcast the IP address thru DDE when you connect to a server. P.S. this is meant to be client side, not server side, and seeing as there is no (official) linux client, and if u try to play it with something like WinE, it emulates COM, Linux compatibility isn't really a worry. Because it's client side, that also means you can't use a plugin like AMX, although I suppose you could try to make a local UDP port open in the cl.dll...
----Original Message Follows---- From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: hlcoders digest, Vol 1 #1042 - 3 msgs Date: Thu, 28 Aug 2003 08:28:46 -0700 MIME-Version: 1.0 Received: from list.valvesoftware.com ([207.173.176.202]) by mc1-f15.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 28 Aug 2003 08:41:11 -0700 Received: from localhost ([127.0.0.1] helo=list.valvesoftware.com)by list.valvesoftware.com with esmtp (Exim 3.35 #1 (Debian))id 19sOtF-0005fu-00; Thu, 28 Aug 2003 08:40:49 -0700 X-Message-Info: EoYTbT2lH2MzcOlOTVI0KDxTxWx9tbjk Message-ID: <[EMAIL PROTECTED]> X-Mailer: Mailman v2.0.11 Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.0.11 Precedence: bulk X-Reply-To: [EMAIL PROTECTED] List-Help: <mailto:[EMAIL PROTECTED]> List-Post: <mailto:[EMAIL PROTECTED]> List-Subscribe: <http://list.valvesoftware.com/mailman/listinfo/hlcoders>,<mailto:[EMAIL PROTECTED]> List-Id: Discussion of Half-Life Programming <hlcoders.list.valvesoftware.com> List-Unsubscribe: <http://list.valvesoftware.com/mailman/listinfo/hlcoders>,<mailto:[EMAIL PROTECTED]> List-Archive: <http://list.valvesoftware.com/mailman/private/hlcoders/> Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 28 Aug 2003 15:41:13.0044 (UTC) FILETIME=[CF742940:01C36D7A]
Send hlcoders mailing list submissions to
[EMAIL PROTECTED]To subscribe or unsubscribe via the World Wide Web, visit
http://list.valvesoftware.com/mailman/listinfo/hlcoders
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]You can reach the person managing the list at
[EMAIL PROTECTED]When replying, please edit your Subject line so it is more specific than "Re: Contents of hlcoders digest..."
Today's Topics:
1. COM in HL (Predatory Kangaroo) 2. RE: COM in HL (Admin) 3. RE: COM in HL (Geoff)
--__--__--
Message: 1 From: "Predatory Kangaroo" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Thu, 28 Aug 2003 12:57:06 +0700 Subject: [hlcoders] COM in HL Reply-To: [EMAIL PROTECTED]
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
--__--__--
Message: 2 From: "Admin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: [hlcoders] COM in HL Date: Thu, 28 Aug 2003 07:32:18 -0400 Reply-To: [EMAIL PROTECTED]
Sure it is possible, but probably not a smart thing to do. Com is not the best protocol for internet or firewalls and does not run on linux.
Almost all the data you describe is available through the rcon protocol of half-life. You could write simple scripts/code to put additional info in cvars that are read through rcon.
Another way is simply code a UDP socket server plugin. Amx - www.amxmod.net has a udp protocol module that could be used to write a simple light weight udp based protocol to query additional info.
Or just write the socket server in C++.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Predatory Kangaroo Sent: Thursday, August 28, 2003 1: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
--__--__--
Message: 3 From: "Geoff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: [hlcoders] COM in HL Date: Thu, 28 Aug 2003 12:58:03 +0100 Reply-To: [EMAIL PROTECTED]
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
End of hlcoders Digest
_________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

