Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 178

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 183

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 184

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 220

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 223

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 235

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 250

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 268
Print Page - Server status....

Old aRO Forums

The 'Other' Section => AnesisRO Archive => Archive => General Questions => Topic started by: Haruwa on November 06, 2008, 01:39:27 am

Title: Server status....
Post by: Haruwa on November 06, 2008, 01:39:27 am
Say just wondering how the server status thing works I want to make one..... *Looks expectantly in Denia's direction...*
I know you know so tell me.  >.<b
Title: Re: Server status....
Post by: DA~Kaitou on November 06, 2008, 01:37:05 pm
Or you could order one from Aki if she still makes 'em. Lemme grab the link...

http://www.anthemro.com/forums/index.php/topic,224.0.html
Title: Re: Server status....
Post by: Akishira on November 06, 2008, 01:38:35 pm
There are uh.... posts attempting to explain how server sigs work. Reiz0r has some links in the AC Index I think.

And yeah, you could order one from me.
Title: Re: Server status....
Post by: Talis on November 06, 2008, 02:04:13 pm
Server status sigs usually employ PHP to create a dynamic picture using
Code: [Select]
header(); to set the content type to image/png , jpg, gif whatever. XD

You simply poll the servers IP and depending on success / timeout you write either yes or no into it. The PHP manual has some good information about this.

You can probably piece it together using these things:

Code: [Select]
header("Content-type: image/png");http://www.php.net/manual/en/function.header.php

Code: [Select]
$im = ImageCreateTrueColor($width, $height);http://www.php.net/manual/en/function.imagecreatetruecolor.php

Code: [Select]
//Account
$up = @fsockopen("70.38.11.218", 6900, $errno, $errstr, 5);
if($up) {
//Online
fclose($up);
}else {
//Offline
}
http://www.php.net/manual/en/function.fsockopen.php
Title: Re: Server status....
Post by: DreamerP on November 06, 2008, 03:34:05 pm
There are uh.... posts attempting to explain how server sigs work. Reiz0r has some links in the AC Index I think.

And yeah, you could order one from me.

You don't say XD
Title: Re: Server status....
Post by: Haruwa on November 06, 2008, 06:25:01 pm
Ty Talis.  <3
I'll fail at it till I make a working one later.  X3