Page 1 of 1

[HELP] How to query a server ?

PostPosted: 23 Apr 2012, 01:58
by alex
Hi,

First of all, i love your game.

I would like to make a block on my website to monitor my R.E server so users can see who's playing. For Enemy territory i can use quakestat + php. For minecraft only PHP. But what about Red Eclipse ?

That would help me a lot to get my friends into this game.

Re: [HELP] How to query a server ?

PostPosted: 23 Apr 2012, 14:03
by orbitaldecay
C source code that queries the server viewtopic.php?f=53&t=1656&p=16307
See redflare.ofthings.net for Mulex's server listing (includes source).

Re: [HELP] How to query a server ?

PostPosted: 23 Apr 2012, 18:31
by alex
i will have a look tonigh. I hope there s no need C knowledges. Thanks.

Re: [HELP] How to query a server ?

PostPosted: 24 Apr 2012, 00:24
by orbitaldecay
alex {l Wrote}:i will have a look tonigh. I hope there s no need C knowledges. Thanks.


If you're not interested in writting something from scratch, I'd recommend you look at mulex's server listing.

Re: [HELP] How to query a server ?

PostPosted: 26 Apr 2012, 01:19
by Mulex
Also note you can query redflare thus:
http://redflare.ofthings.net/reports
to get te JSON data that is used to generate the server statuses on the site. You could use this to make a widget for your website.

Re: [HELP] How to query a server ?

PostPosted: 26 Apr 2012, 09:36
by alex
Mulex {l Wrote}:Also note you can query redflare thus:
http://redflare.ofthings.net/reports
to get te JSON data that is used to generate the server statuses on the site. You could use this to make a widget for your website.


Coooool