[bfprog] querying ranked status
"Einar S. Idsø"
esi at itk.ntnu.no
Sun Jul 3 05:01:32 PDT 2005
Have you tried checking the sv.ranked parameter? You can probably use
host.ss_getParam(ranked) for that.
Einar
Steven Hartland wrote:
> Thanks for that but unfortunately there is also no way of determining
> the server ports from the python so that's no use either :(
> What Im trying to do is to determine if the server is ranked and hence
> disable some rcon commands.
>
> Steve / K
> ----- Original Message ----- From: "Anton Jansen" <gradius at fmf.nl>
>
>>
>> I'm not sure what you want Steve. However, this is something you might
>> find interesting: http://docs.python.org/ext/intro.html It shows how
>> you can call C stuff from python, therefore you could use your qstat
>> source and make a python wrapper around it and use this functionality
>> in python. I'm not sure if this is what you want ....
>
>
>
>
> ================================================
> This e.mail is private and confidential between Multiplay (UK) Ltd. and
> the person or entity to whom it is addressed. In the event of
> misdirection, the recipient is prohibited from using, copying, printing
> or otherwise disseminating it or any information contained in it.
> In the event of misdirection, illegible or incomplete transmission
> please telephone (023) 8024 3137
> or return the E.mail to postmaster at multiplay.co.uk.
>
> _______________________________________________
> BFProg mailing list
> BFProg at lists.matureasskickers.net
> http://lists.matureasskickers.net/mailman/listinfo/bfprog
>
>
More information about the BFProg
mailing list