This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

HL2 css server query

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
s
silentium
Voice
Posts: 1
Joined: Tue Mar 28, 2006 3:42 pm

HL2 css server query

Post by silentium »

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 :wink: 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:
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 ?
[
[Lt]im
Voice
Posts: 17
Joined: Thu Mar 09, 2006 4:20 pm
Location: Kaunas - Lithuania

Post by [Lt]im »

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? :roll:
[Lt]im
c
cakemonster
Voice
Posts: 2
Joined: Sat Mar 25, 2006 4:44 am

Post by cakemonster »

Yeah qstat + qstat.tcl can do everything you asked for.
Post Reply