Re: [hlds_linux] Can Server Queries be Logged?

2008-10-24 Thread mRyOuNg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pawel wrote:
> Hi,
> 
> I'm new at php coding. I know this language not the best but on avarage.
> Is there any FAQ or some instruction how to use PHP to get information from
> hlds servers?
> 
> I would like to learn something more about it. :d
> 

Sometimes ago, i wrote a PHP Class querying source server ...

You can take a look at it:
http://mryoung.soundbomb.net/svn/ygds/_web/ygsq_csrcds.php

And here is a page using this class:
http://mryoung.soundbomb.net/svn/ygds/_web/index.php

Cya
- --
. mRyOuNg :: [ SoundBomb . Syn[Rj] ] .
 mail: [EMAIL PROTECTED]
 web : mryoung.soundbomb.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkCBO8ACgkQ0BxveTvEDvkyDgCgpWMQgPJjxugWE+ny6P93lvRx
CkAAni6W3GMaT/xw2hLpgfApuhgFCMUV
=M+B6
-END PGP SIGNATURE-

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Can Server Queries be Logged?

2008-10-24 Thread Kveri
If you're not pro in php (you don't know anything about sockets) best 
option for you is use some already coded php class, link psycho query 
(psychostats).
Basically it's just sending one packet (command) to server and receiving 
bunch of packets, in which server info is encoded.

Kveri

Pawel  wrote / napísal(a):
> Hi,
>
> I'm new at php coding. I know this language not the best but on avarage.
> Is there any FAQ or some instruction how to use PHP to get information from
> hlds servers?
>
> I would like to learn something more about it. :d
>
> On Fri, Oct 24, 2008 at 5:46 PM, Crazy Canucks <[EMAIL PROTECTED]>wrote:
>
>   
>> Thanks so much!  IT'S WORKING!  *does a little dance of joy*
>>
>> In case you are wondering why I'm so excited.  I'm a complete coding
>> newb, so it's pretty amazing when things don't blow up in my face.  Now
>> I've got to see if I can get the theme crap working so I can actually
>> get something displayed in my frame...
>>
>> *pats his trusty PHP textbook*  :D
>>
>> Drek
>>
>> Kveri wrote:
>> 
>>> Query class in psychostats has DEBUG mode, enable it and you'll see
>>> where is the problem.
>>> Btw, HLDS has swiched to source query protocol.
>>>
>>> Kveri
>>>
>>> Crazy Canucks  wrote / napísal(a):
>>>
>>>   
 I'm working on setting up a minimal web page with just basic information
 from my server on it, such as a small picture of the map, player names,
 kills and deaths, etc., like the old PsychoQuery used to have.

 I'm using the query code from Psychostats 3.1, and I think I've got it
 connecting to the server, as I am not getting any errors, but I haven't
 got the web display/theme set up yet, so I have no way of knowing if it
 is working.

 I've checked my logs and there is nothing in my logs, is there any
 setting on which queries to the server will be logged, or even displayed
 in the console, just for debugging purposes?  I tried mp_logdetail 3 and
 that didn't show anything.

 Thanks in advance, Drek

 ___
 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
>>>
>>>
>>>   
>> ___
>> 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
>
>   


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Can Server Queries be Logged?

2008-10-24 Thread Pawel
Hi,

I'm new at php coding. I know this language not the best but on avarage.
Is there any FAQ or some instruction how to use PHP to get information from
hlds servers?

I would like to learn something more about it. :d

On Fri, Oct 24, 2008 at 5:46 PM, Crazy Canucks <[EMAIL PROTECTED]>wrote:

> Thanks so much!  IT'S WORKING!  *does a little dance of joy*
>
> In case you are wondering why I'm so excited.  I'm a complete coding
> newb, so it's pretty amazing when things don't blow up in my face.  Now
> I've got to see if I can get the theme crap working so I can actually
> get something displayed in my frame...
>
> *pats his trusty PHP textbook*  :D
>
> Drek
>
> Kveri wrote:
> > Query class in psychostats has DEBUG mode, enable it and you'll see
> > where is the problem.
> > Btw, HLDS has swiched to source query protocol.
> >
> > Kveri
> >
> > Crazy Canucks  wrote / napísal(a):
> >
> >> I'm working on setting up a minimal web page with just basic information
> >> from my server on it, such as a small picture of the map, player names,
> >> kills and deaths, etc., like the old PsychoQuery used to have.
> >>
> >> I'm using the query code from Psychostats 3.1, and I think I've got it
> >> connecting to the server, as I am not getting any errors, but I haven't
> >> got the web display/theme set up yet, so I have no way of knowing if it
> >> is working.
> >>
> >> I've checked my logs and there is nothing in my logs, is there any
> >> setting on which queries to the server will be logged, or even displayed
> >> in the console, just for debugging purposes?  I tried mp_logdetail 3 and
> >> that didn't show anything.
> >>
> >> Thanks in advance, Drek
> >>
> >> ___
> >> 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
> >
> >
>
>
> ___
> 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] Can Server Queries be Logged?

2008-10-24 Thread Crazy Canucks
Thanks so much!  IT'S WORKING!  *does a little dance of joy*

In case you are wondering why I'm so excited.  I'm a complete coding 
newb, so it's pretty amazing when things don't blow up in my face.  Now 
I've got to see if I can get the theme crap working so I can actually 
get something displayed in my frame...

*pats his trusty PHP textbook*  :D

Drek

Kveri wrote:
> Query class in psychostats has DEBUG mode, enable it and you'll see 
> where is the problem.
> Btw, HLDS has swiched to source query protocol.
>
> Kveri
>
> Crazy Canucks  wrote / napísal(a):
>   
>> I'm working on setting up a minimal web page with just basic information 
>> from my server on it, such as a small picture of the map, player names, 
>> kills and deaths, etc., like the old PsychoQuery used to have.
>>
>> I'm using the query code from Psychostats 3.1, and I think I've got it 
>> connecting to the server, as I am not getting any errors, but I haven't 
>> got the web display/theme set up yet, so I have no way of knowing if it 
>> is working.
>>
>> I've checked my logs and there is nothing in my logs, is there any 
>> setting on which queries to the server will be logged, or even displayed 
>> in the console, just for debugging purposes?  I tried mp_logdetail 3 and 
>> that didn't show anything.
>>
>> Thanks in advance, Drek
>>
>> ___
>> 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
>
>   


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Can Server Queries be Logged?

2008-10-24 Thread Kveri
Query class in psychostats has DEBUG mode, enable it and you'll see 
where is the problem.
Btw, HLDS has swiched to source query protocol.

Kveri

Crazy Canucks  wrote / napísal(a):
> I'm working on setting up a minimal web page with just basic information 
> from my server on it, such as a small picture of the map, player names, 
> kills and deaths, etc., like the old PsychoQuery used to have.
>
> I'm using the query code from Psychostats 3.1, and I think I've got it 
> connecting to the server, as I am not getting any errors, but I haven't 
> got the web display/theme set up yet, so I have no way of knowing if it 
> is working.
>
> I've checked my logs and there is nothing in my logs, is there any 
> setting on which queries to the server will be logged, or even displayed 
> in the console, just for debugging purposes?  I tried mp_logdetail 3 and 
> that didn't show anything.
>
> Thanks in advance, Drek
>
> ___
> 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


[hlds_linux] Can Server Queries be Logged?

2008-10-24 Thread Crazy Canucks
I'm working on setting up a minimal web page with just basic information 
from my server on it, such as a small picture of the map, player names, 
kills and deaths, etc., like the old PsychoQuery used to have.

I'm using the query code from Psychostats 3.1, and I think I've got it 
connecting to the server, as I am not getting any errors, but I haven't 
got the web display/theme set up yet, so I have no way of knowing if it 
is working.

I've checked my logs and there is nothing in my logs, is there any 
setting on which queries to the server will be logged, or even displayed 
in the console, just for debugging purposes?  I tried mp_logdetail 3 and 
that didn't show anything.

Thanks in advance, Drek

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux