You would have to query it and retrieve its hostname (just for the
servername) or game name/type, depending on what the server itself returns
in its query packet.
You cant have 'a2s' = CS Source, as a2s is used to query all source-based
games (HL2 DM, CS Source, HL2 CTF, etc - and related mods) and now HL1,
Cstrike, Natural selection, etc as well.
A suggestion would be to query each server via a cronjob or similar and save
the information (server name, player count etc) so you can show other
relevant information.
This script may be of interest to you, but its out dated/unsupported and I
had trouble getting it working 100% myself: UgLy Game Search Engine rc10
Sorry, cant find a link, its hard to find and I dont have it anymore.
- Plasma
----- Original Message -----
From: "shack_web" <shack_web@...>
To: <qstat-users@yahoogroups.com>
Sent: Tuesday, July 19, 2005 5:25 PM
Subject: [qstat-users] Re: Howto rename querry protocol eg. a2s to cstrike
> No dirty things here ;o)
>
> Just take a look:
>
http://internetfreaks.net/inetservice/status/stats.php?mod=a2s&bgcolor=9AAEBA&ip\
=213.239.202.40:27015
>
> On the first line you got a status picture green/red, player count,
> protokoll, servername
>
> It would be nice if the real name for the game could be shown there.
>
> I thought of something like the list on http://www.game-monitor.com
> where every game is shown whith the real name.
>
>
> --- In qstat-users@yahoogroups.com, "Andrew Armstrong" <andrewa@b...>
> wrote:
>> I dont recommend doing that, it sounds like a dirty hack to make
> something
>> work.
>>
>> Why do you need to rename them?
>>
>> - Plasma
>>
>> ----- Original Message -----
>> From: "shack_web" <shack_web@y...>
>> To: <qstat-users@yahoogroups.com>
>> Sent: Tuesday, July 19, 2005 5:15 PM
>> Subject: [qstat-users] Howto rename querry protocol eg. a2s to cstrike
>>
>>
>> >I would like to rename some of the querrys to easyer
>> > names eg. a2s should be querried whith cstrike and
>> > hl1. Can someone give me a hint?
>> >
>> > It Should be:
>> > a2s = cstrike, cstrike1, cs, hl1, cstrike2, cs2, hl2
>> > gs3 = bf2, bf2demo
>> >
>> > I want this to easy show which game is running
>> > on my php Page whith al Servers listed.
>> >
>> >
>> >
>> >
>> >
>> > Yahoo! Groups Links
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>