Use A2S_INFO to ping servers, otherwise you will need to use different queries based upon the engine type.
- Alfred ----Original Message---- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian A. Stumm Sent: Wednesday, October 20, 2004 1:13 AM To: [EMAIL PROTECTED] Subject: RE: [hlds_apps] Source query protocol > I already noticed that "T" is supported in older steam mods (ie HL1) > and appreciate you pointing out the new version of "ping" so the next > question is which new protocols are currently supported in BOTH HL1 > and HL2 of those you mention below. I notice you say that the new > "info" protocol is supported backwards but you fail to mention the > others. I'd also be curious to hear what (if anything) has changed as > we move to this new protocol. I realize a later SDK will explain this > but meanwhile we must support your changes in our applications. > > On Tue, 19 Oct 2004, Alfred Reynolds wrote: > > > You need to use the A2A_PING query (char value 'i'). > > The other queries are A2S_INFO, A2S_PLAYER and A2S_RULES ('T', 'U' > > and 'V' respectively). > > > > "players" and "rules" are supports for backwards compatibility but > > shouldn't be used in new apps. > > > > Both SRC and GoldSRC (i.e HL1) servers support the A2S_INFO query. > > > > - Alfred > > > > ----Original Message---- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Brian > > A. Stumm Sent: Tuesday, October 19, 2004 3:47 PM To: > > [EMAIL PROTECTED] Subject: Re: [hlds_apps] Source > > query protocol > > > > > What query types are currently supported in the Source Engine? > > > From my searches it seems most people are only using "info", > > > "rules" and "players", what about the others like "ping", > > > "infostring", and "details". Particularly looking for "ping" as > > > I've always used that to test server up/down before requesting > > > additional information. > > > > > > > > > > > > _______________________________________________ > > > hlds_apps mailing list > > > [EMAIL PROTECTED] > > > http://list.valvesoftware.com/mailman/listinfo/hlds_apps > > > > _______________________________________________ > > hlds_apps mailing list > > [EMAIL PROTECTED] > > http://list.valvesoftware.com/mailman/listinfo/hlds_apps > > > > No Virus Detected, - scanned with Clam Anti Virus, > > http://www.clamav.net/ > > > > For a Spam Free America, - scanned with SpamAssassin, > > http://www.spamassassin.org/ _______________________________________________ hlds_apps mailing list [EMAIL PROTECTED] http://list.valvesoftware.com/mailman/listinfo/hlds_apps
