Online master server list (Back Online)

Online master server list (Back Online)

Postby orbitaldecay » 29 Jul 2011, 01:53

Available here: http://redeclipse.orbitaldecay.com

The new, permanent address of the master server list will be http://redeclipse.orbitaldecay.com. Feel free to update your links / bookmarks :)

Edit 5: Now equipped with a shinny new skin, thanks to LuckyStrike-Rx :)

Edit 4: Up again at a new location (see above). I'm converting the whole thing over to php/mysql. If anyone more design savy than myself wants to work on a pretty page for it, that would be super. Just shoot me an e-mail if you're interested.

Edit 3: Temporarily down until I figure out what's causing the random disconnects on my RE servers :(

Edit 2: Now generates usage plots for every server on the list, all hyperlinked from the master server list. Slightly better looking (but not much -- I'm a C programmer, I don't understand pretty). Updates data every 60 seconds. Feedback is appreciated.

Edit: Now has a link to the master server list and a link to some usage charts that are generated often.
Last edited by orbitaldecay on 24 Oct 2011, 08:05, edited 8 times in total.
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list

Postby orbitaldecay » 30 Jul 2011, 21:09

Also, play.redeclipse.net server stats for the last hour and 24 hours.

Edit: Time is in EST - these are automatically generated every 60 seconds.
Last edited by orbitaldecay on 31 Jul 2011, 01:38, edited 1 time in total.
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list

Postby Kitsune » 30 Jul 2011, 21:21

what if i dont want my servers shown? or is there a way i can get this on my site showing only my servers?
User avatar
Kitsune
 
Posts: 174
Joined: 28 Apr 2011, 00:07
Location: Maridia

Re: Online master server list

Postby orbitaldecay » 30 Jul 2011, 22:01

Well, its pulling data from the master server list, which is public information. But if anyone really has a problem with their server being listed I suppose it could be removed. I'd be happy to share what I have written so far if you're interested (mostly a big mess of poorly written C code and bash scripts).

Edit: What I think is especially interesting are the automagic usage plots I'm working on - if I have the time I'll clean it all up and release the code.
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list

Postby qreeves » 31 Jul 2011, 06:05

I agree, may be something worth looking at putting in the main tree eventually. Everyone loves a good graph.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: Online master server list (Improved)

Postby orbitaldecay » 22 Aug 2011, 06:02

bumpity bump (see top post)
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list (Improved)

Postby fluxord » 22 Aug 2011, 07:49

Looks great! Nice work with the additional info. Finally we can see who is playing, what and where. Nice indeed.
User avatar
fluxord
 
Posts: 160
Joined: 25 May 2011, 23:17

Re: Online master server list (Improved)

Postby ZeroKnight » 14 Oct 2011, 23:18

Hey orbital, any idea when you think this'll be back up? I miss having my little bookmark work and see how many people are playing :(
[ Github ][ WazuClan -- irc.wazuclan.com #wazuclan ][ Zero's Archive of RE Extensions, Scripts, WeapMods & More! ]
User avatar
ZeroKnight
 
Posts: 524
Joined: 08 Jun 2011, 01:24
Location: Ohio, United States

Re: Online master server list (Improved)

Postby qreeves » 15 Oct 2011, 03:14

ZeroKnight {l Wrote}:Hey orbital, any idea when you think this'll be back up? I miss having my little bookmark work and see how many people are playing :(

Same here, I think we need to work on making something like this official :)
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: Online master server list (Improved)

Postby ZeroKnight » 15 Oct 2011, 06:04

I'm sure orbital would be more than happy to let you add this to the main RE page, if you chose to implement it :)
You could just throw it in the header bar with "Forums" and "Tracker" etc. Or integrate it as a box on the page somewhere.
Whatever you decide, you should at least link put a link to it on the forum page.
See this for an example.
See how they have a link right at the top? You could link the stat page like that :)
[ Github ][ WazuClan -- irc.wazuclan.com #wazuclan ][ Zero's Archive of RE Extensions, Scripts, WeapMods & More! ]
User avatar
ZeroKnight
 
Posts: 524
Joined: 08 Jun 2011, 01:24
Location: Ohio, United States

Re: Online master server list (Improved)

Postby orbitaldecay » 18 Oct 2011, 03:18

Thanks all :) This kind of turned into one of those back burner projects that I haven't gotten to wrap up. My plan was to rewrite it to dump stats to a mysql database so someone a little more web-savy than myself can build a pretty webpage for it. Perhaps we should coordinate something to coincide with the 1.2 release? Any php/mysql webdesign guys (or gals) in the house?

An even better idea, I think, would be to include this capability in the master server (i.e. have the master server dump server stats to a mysql database that a page queries). Of course, this could also open the door to stat tracking and all sorts of other goodies :D

I'm interested in working on it, though sadly I won't have much time to dedicate to it until the semester is over (mid-December).
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list (Back Online)

Postby orbitaldecay » 23 Oct 2011, 03:46

The new version I'm working on is now up. It is using php and mysql as it is more design friendly. If there are any webdesign guys around who want to work on a frontend for it, let me know. Check it out at http://server.orbitaldecay.com/master.php
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list (Back Online)

Postby LuckyStrike-Rx » 23 Oct 2011, 04:18

You can send me the php file, I'll see what I can do

EDIT:
I Did this. is it ok ? I'll eventually add a player model to illustrate a bit

But I'll have to modify the Html to replace the table by div
Attachments
server-list.jpg
Image
User avatar
LuckyStrike-Rx
 
Posts: 183
Joined: 21 Mar 2011, 14:07

Re: Online master server list (Back Online)

Postby orbitaldecay » 23 Oct 2011, 05:25

LuckyStrike-Rx {l Wrote}:You can send me the php file, I'll see what I can do

EDIT:
I Did this. is it ok ? I'll eventually add a player model to illustrate a bit

But I'll have to modify the Html to replace the table by div


Looks great to me. Here's the php in its present form

{l Code}: {l Select All Code}
<html>
<title>Red Eclipse Master Server Listing</title>
<head>
</head>
</body>
<font face="courier">

<?php
$username = "Ho hum";
$password = "I'm dumb, but not that dumb";
$database = "retool";
mysql_connect(localhost, $username, $password);
@mysql_select_db($database) or die("Unable to select database");
$query = "SELECT * FROM server_list WHERE online=true";
$result = mysql_query($query);
$num = mysql_numrows($result);

$query = "SELECT * FROM player_list";
$presult = mysql_query($query);
$pnum = mysql_numrows($presult);

mysql_close();


echo "<table border=1 cellpadding=5 width=1024>";
echo "<tr>\n";
echo "<td>Name</td>\n";
echo "<td>Players</td>\n";
echo "<td>Mode</td>\n";
echo "<td>Mutators</td>\n";
echo "<td>Address</td>\n";
echo "<td>Ping</td>\n";
echo "</tr>\n";

$i=0;
while ($i < $num) {

$host=mysql_result($result,$i,"host");
$port=mysql_result($result,$i,"port");
$name=mysql_result($result,$i,"name");
$map=mysql_result($result,$i,"map");
$mode=mysql_result($result,$i,"mode");
$muts=mysql_result($result,$i,"muts");
$ping=mysql_result($result,$i,"ping");
$numplayers=mysql_result($result,$i,"numplayers");
$maxplayers=mysql_result($result,$i,"maxplayers");

if ($numplayers > 0) {
    echo "<tr bgcolor=ddffdd>\n";
}
else
{
    echo "<tr>\n";
}
echo "<td>$name</td>\n";
echo "<td>$numplayers/$maxplayers</td>\n";
echo "<td>$mode</td>\n";
echo "<td>$muts</td>\n";
echo "<td>$host:$port</td>\n";
echo "<td>$ping</td>\n";
echo "</tr>";
if ($numplayers > 0) {
    echo "</b>\n";
}

$i++;
}

echo "</table>\n";

echo "<br><i>$pnum players online:</i><br><br>\n";
$i=0;
while ($i < $pnum) {
$name = mysql_result($presult,$i,"name");
$sid = mysql_result($presult,$i,"location");
$location = mysql_result($result,$sid-1,"name");
echo "<b>$name</b> \tis on $location.<br>";
$i++;
}
?>

</table>

</body>
</html>


If it makes life any easier, I can set up an account for you on the server where its hosted.

Edit: Shoot me an e-mail at orbitaldecay@gmail.com
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list (Back Online)

Postby LuckyStrike-Rx » 23 Oct 2011, 05:59

E-mail sent !
<html>
<title>Red Eclipse Master Server Listing</title>
<head>
</head>
</body>

Opening with a closing </body> :) ?
Image
User avatar
LuckyStrike-Rx
 
Posts: 183
Joined: 21 Mar 2011, 14:07

Re: Online master server list (Back Online)

Postby orbitaldecay » 23 Oct 2011, 16:50

Responded. Yeah, clearly I'm an HTML expert :P
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list (Back Online)

Postby ZeroKnight » 23 Oct 2011, 18:59

Glad to see it's back up, orbital! :D And that's a very nice looking skin, Lucky ^^
Now, if we can apply that skin, and link it to the front page of the forums...then we're in business ;)
[ Github ][ WazuClan -- irc.wazuclan.com #wazuclan ][ Zero's Archive of RE Extensions, Scripts, WeapMods & More! ]
User avatar
ZeroKnight
 
Posts: 524
Joined: 08 Jun 2011, 01:24
Location: Ohio, United States

Re: Online master server list (Back Online)

Postby orbitaldecay » 23 Oct 2011, 19:22

ZeroKnight {l Wrote}:Glad to see it's back up, orbital! :D And that's a very nice looking skin, Lucky ^^
Now, if we can apply that skin, and link it to the front page of the forums...then we're in business ;)


Yeah, I think we'll have something nice going on soon :)
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list (Back Online)

Postby LuckyStrike-Rx » 24 Oct 2011, 03:08

Done :)
Edit> Forget something, be back soon (forget the @fontface)
Edit2 ok, done> http://server.orbitaldecay.com/staging/master.php
Last edited by LuckyStrike-Rx on 24 Oct 2011, 03:29, edited 2 times in total.
Image
User avatar
LuckyStrike-Rx
 
Posts: 183
Joined: 21 Mar 2011, 14:07

Re: Online master server list (Back Online)

Postby ZeroKnight » 24 Oct 2011, 03:09

That's so sexy! Great work, Lucky! :D
Now we just need to link it on the top of the forums!
[ Github ][ WazuClan -- irc.wazuclan.com #wazuclan ][ Zero's Archive of RE Extensions, Scripts, WeapMods & More! ]
User avatar
ZeroKnight
 
Posts: 524
Joined: 08 Jun 2011, 01:24
Location: Ohio, United States

Re: Online master server list (Back Online)

Postby orbitaldecay » 24 Oct 2011, 08:07

Cool. New address is http://redeclipse.orbitaldecay.com. That's a night.
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Online master server list (Back Online)

Postby inpersona64 » 24 Oct 2011, 11:52

Ooooh sexy! And makes for nice Windows 7 Taskbar shortcut too :D

Image
User avatar
inpersona64
 
Posts: 474
Joined: 01 Apr 2011, 18:19
Location: Eastern USA

Re: Online master server list (Back Online)

Postby LuckyStrike-Rx » 24 Oct 2011, 15:32

Now it may be cool to have the map image, can you report the change to the staging repertory ?

i may do <img src='"$map"'.jpg /> but the problem is non official maps, they will get an missing image
Edit - Nevermind I found a JS that do this well
Image
User avatar
LuckyStrike-Rx
 
Posts: 183
Joined: 21 Mar 2011, 14:07

Re: Online master server list (Back Online)

Postby ZeroKnight » 24 Oct 2011, 17:16

Looking forward to that addition, Lucky :) Thanks for your work ^_^
[ Github ][ WazuClan -- irc.wazuclan.com #wazuclan ][ Zero's Archive of RE Extensions, Scripts, WeapMods & More! ]
User avatar
ZeroKnight
 
Posts: 524
Joined: 08 Jun 2011, 01:24
Location: Ohio, United States

Re: Online master server list (Back Online)

Postby LuckyStrike-Rx » 25 Oct 2011, 03:16

Image
User avatar
LuckyStrike-Rx
 
Posts: 183
Joined: 21 Mar 2011, 14:07

Who is online

Users browsing this forum: No registered users and 1 guest