| View previous topic :: View next topic |
| Author |
Message |
silentium Voice
Joined: 28 Mar 2006 Posts: 1
|
Posted: Tue Mar 28, 2006 4:18 pm Post subject: HL2 css server query |
|
|
hi everyone,
i've been searching for an css dod .... server query script but didn't find nothing really good.
So i got the following idea.
But,
I dont have any idea of TCL i can code some php and so on but tcl...
so let's come to my idea:
My server is running HLstats which are realtime server stats for hl2
all lifetime stats are saved in an sql table named hlstats_Servers structure is: | Quote: |
serverId address port name game publicaddress statusurl rcon_password kills players rounds suicides headshots bombs_planted bombs_defused ct_wins ts_wins act_players max_players act_map map_rounds map_ct_wins map_ts_wins map_started map_changes ct_shots ct_hits ts_shots ts_hits map_ct_shots map_ct_hits map_ts_shots map_ts_hits |
now: is it possible to write an tcl script that when you type mabe "!server"
the script makes an sql query to that table and qets the information from fields:serverId,address ,port , name,game act_players,act_map
is somthing like that possible ? |
|
| Back to top |
|
 |
[Lt]im Voice
Joined: 09 Mar 2006 Posts: 17 Location: Kaunas - Lithuania
|
Posted: Tue Mar 28, 2006 4:49 pm Post subject: |
|
|
i'm using qstat for my hl2 cs:s server query and it shows server's name, ip, players, map and ping ;s why dont you try it?  _________________ [Lt]im |
|
| Back to top |
|
 |
cakemonster Voice
Joined: 25 Mar 2006 Posts: 2
|
Posted: Wed Mar 29, 2006 1:29 pm Post subject: |
|
|
| Yeah qstat + qstat.tcl can do everything you asked for. |
|
| Back to top |
|
 |
|