Re: [hlds_linux] cs:s how can i communicate with the server like hlsw does?
This has been coded as part of psychostats 2.2 You might be able to use the code from it. Andrew Forsberg wrote: On Sun, 2005-01-02 at 16:44 +0100, Pleite wrote: Hello and a happy new year ;), i want to code a php script to rcon our cs:s server and to show livestats. Hi Pleite, Sorry, was having mail trouble with the previous post. About a month back Cheops posted links to a script he is working on to do just this: there is a "HL2 query protocol" documentation in the developer section of http://www.hlsw.de I used this documentation for editing the CounterStrike class from Henrik Schack Jensen my modified source @ http://www.dusk-clan.de/csserver.phps Demo @ http://www.dusk-clan.de/csstatus.php It's pretty easy to see how to use if for both CSS / HL2DM and CS 1.6 / CZ / TFC / etc... The source of the demo is csstatus.phps (I assume Cheops doesn't mind that being public knowledge too, otherwise he wouldn't have opened it up for viewing). Cheers Andrew ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] cs:s how can i communicate with the server like hlsw does?
On Sun, 2005-01-02 at 16:44 +0100, Pleite wrote: > Hello and a happy new year ;), > > i want to code a php script to rcon our cs:s server and to show livestats. Hi Pleite, Sorry, was having mail trouble with the previous post. About a month back Cheops posted links to a script he is working on to do just this: > there is a "HL2 query protocol" documentation in the developer section > of http://www.hlsw.de > I used this documentation for editing the CounterStrike class from > Henrik Schack Jensen > my modified source @ http://www.dusk-clan.de/csserver.phps > Demo @ http://www.dusk-clan.de/csstatus.php It's pretty easy to see how to use if for both CSS / HL2DM and CS 1.6 / CZ / TFC / etc... The source of the demo is csstatus.phps (I assume Cheops doesn't mind that being public knowledge too, otherwise he wouldn't have opened it up for viewing). Cheers Andrew ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] cs:s how can i communicate with the server like hlsw does?
On Sun, 2005-01-02 at 16:44 +0100, Pleite wrote: > Hello and a happy new year ;), > > i want to code a php scrip > , > > there is a "HL2 query protocol" documentation in the developer section > of http://www.hlsw.de > I used this documentation for editing the CounterStrike class from > Henrik Schack Jensen > my modified source @ http://www.dusk-clan.de/csserver.phps > Demo @ http://www.dusk-clan.de/csstatus.php > This thing is still under heavy construction but perhaps you get an > idea > how to get the correct infos from your CS:S servers (works also for > HL2DM). > > Cheops > > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] cs:s how can i communicate with the server like hlsw does?
> Hello and a happy new year ;), > > i want to code a php script to rcon our cs:s server and to show livestats. > I > don't know where I can find some documentation or info about it. I > searched > the sdk docs but could't find anything, my post in those sdk forums is > unreplied so here is my last chance :) > > how can I realize that? I need informations about querystrings I need to > use > and so on... > > thx 4 help > > Pleite > I did nearly the same project, but I used perl instead. I ended up getting tips from 'qstat' program. I got the query strings from qstat, and used them as a guide when designing my own script using io::socket. I'm sure you could do the same to form the query with your php script. Jeff Love Burgh Gaming ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux