egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HL2 css server query

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
silentium
Voice


Joined: 28 Mar 2006
Posts: 1

PostPosted: Tue Mar 28, 2006 4:18 pm    Post subject: HL2 css server query Reply with quote

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:
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
View user's profile Send private message
[Lt]im
Voice


Joined: 09 Mar 2006
Posts: 17
Location: Kaunas - Lithuania

PostPosted: Tue Mar 28, 2006 4:49 pm    Post subject: Reply with quote

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? Rolling Eyes
_________________
[Lt]im
Back to top
View user's profile Send private message
cakemonster
Voice


Joined: 25 Mar 2006
Posts: 2

PostPosted: Wed Mar 29, 2006 1:29 pm    Post subject: Reply with quote

Yeah qstat + qstat.tcl can do everything you asked for.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber