credits: Stephans (GodLord) for this release Next releases will be credits to him and me. Demo: http://kramansro.net/1/ Download source: http://download943.mediafire.com/ssccav73ewhg/sgjfxbb1af66xwo/Reg+For+EE.rar Features: Server Status Register System Test Next Updates: > How many players online Will be adding more next updates soon. Changes: > 1.0.1: > - Error 10035: operation would block (fixed). > > 1.0.2: > - Error 10056: already connected (fixed). > > 1.0.3: > - Connecting code (rewritten). > - Error 111: connection refused (fixed). > - Error 10035: operation would block (fixed). > - Registering code (fixed). > - Missing dollar signs (fixed). > - Image file name in istatus.php was error.png, should've been "offline.png" (fixed). > - Unknown package (fixed). > - Configuration trimming (added). > > 1.0.4: > - Array offset problem (fixed). > - Error 10056: already connected (fixed). **1\. Disclaimer** You're free to use this. 2\. Manual 2.1\. Configuration In the file called "configuration.php" you can configure some things. 2.1.1 Title (Optional) This is the title of your site, it is of course optional so you don't need to have this at all. Example: $_CONFIG['title'] = 'PHP Eclipse Game Centre'; 2.1.2 IP Address This is the IP address of your Eclipse Game Server. This must be put in string format. This is only optional when you specify the hostname instead. The IP address is secondary handled when there's a hostname specified else it is primary. Example: $_CONFIG['ipaddress'] = '127.0.0.1'; 2.1.3 Hostname This is the hostname of your Eclipse Game Server. This must be put in string format. This is only optional when you specify the IP address instead. The hostname is primary handled. Example: $_CONFIG['hostname'] = 'google.com'; 2.1.4 Port This is the port of your Eclipse Game Server. This must be an integer. This must be specified. Example: $_CONFIG['port'] = 80; 2.1.5 Timeout (Optional) This is the timeout of the connection. This must be an integer. This is optional. The timeout is specified in seconds. Example: $_CONFIG['timeout'] = 5; 2.1.6 Prefix (Optional) This is the prefix of the version you use. This must be put in string form. This is optional. Example: $_CONFIG['prefix'] = 'EE'; 2.1.7 Suffix (Optional) This is the suffix of the version you use. This must be put in string form. This is optional. Example: $_CONFIG['suffix'] = 'BE'; // Baron's Edition 2.1.8 Major (Optional) This is the major of the version you use. This must be an integer. This is optional. Example: $_CONFIG['minor'] = 2; 2.1.9 Minor (Optional) This is the minor of the version you use. This must be an integer. This is optional. Example: $_CONFIG['port'] = 7; 2.1.10 Version Note Although prefix, suffix, major and minor are optional. It's recommended to specify these. 2.2\. Custom Design There's a stylesheet called "stylesheet.css", you can edit that if you want your own style and design. If you want to go more advanced then you need to edit all the PHP files, therefor you will need XHTML 1.0 Strict and PHP knowledge, for the stylesheet you'll only need to know CSS. 2.3\. Intergration It's possible to intergrate this into your website if you know CSS, XHTML 1.0 Strict and PHP. 2.4\. Security The "configuration.php" is protected and cannot be modified unless download, modified and back uploaded or via an online editor. So far there are no known exploits. If you find any then please report them. 2.5\. File functions Each file has it's own function. Here are the functions listed of each file. 2.5.1 configuration.php This file contains all settings for each other file. Without this file the whole thing wouldn't even work. 2.5.2 index.php This file lists all other files except the stylesheet and the help.txt file. 2.5.3 register.php This file allows people to register an account on your game. 2.5.4 status.php This file shows if your server is online or offline. 2.5.5 istatus.php This file generates an PNG image and can be used as image to display whether your server is online or offline. It will display "Error" when an error occured. 2.5.6 help.php This is help file on how to use this and everything. 2.5.7 offline.png This is the offline image used by istatus.php 2.5.8 error.png This is the error image used by istatus.php 2.5.9 online.png This is the online image used by istatus.php 2.5.10 stylesheet.css This is the stylesheet, it's used to design all the pages. 2.6\. Error Handling The scripts have a way of error handling so you don't need to panic whether something goes wrong or not. It will just display what is wrong if there's something wrong. Open configuration.php and change this ``` $_CONFIG['title'] = 'Game name'; /*This is where you put name of server */ $_CONFIG['ipaddress'] = 'IP'; /* Your IP (http://ipchicken.com) */ $_CONFIG['hostname'] = 'Website IP'; /* Domain ip get from (http://no-ip.com) */ $_CONFIG['port'] = 4000; /* Server Port for game (4000) */ $_CONFIG['timeout'] = 5; /* Time out (5) */ $_CONFIG['prefix'] = 'EE'; /* Prefix EE */ $_CONFIG['suffix'] = 'BE'; /* Suffix BE */ $_CONFIG['major'] = 2; /* Major 2 */ $_CONFIG['minor'] = 7; /* minor 7 */ ``` You can get your IP from http://ipchicken.com You can get a Domain IP from http://www.no-ip.com