View Single Post
Old 05-31-2008   #1 (permalink)
Innovative
blue skies.
 
Innovative's Avatar
 
Rank: Member +
Join Date: Nov 2007
Location: Hong Kong
Posts: 1,263
Thanked 34 Times in 21 Posts

[Tut] Setting up Registrations [Odin]

Your Ad Here
Post any bugs, problems, or issues HERE!
Innovative's Guide Library!

Stuck setting up a server? Feeling fed up?
Affordable Private MapleStory Server Setup!


This guide will help people set up a simple webserver to let people register for their Private MapleStory Server.

Step One-Download the following:
Abyss Web-Server : Download
Edited Superfun's Registration Script : Download Updated!
Pre-Configured PHP Package : Download

From MediaFire

All three files zipped together - Courtesy of Amiria : Download

Step Two -
Install Abyss Web-Server and set your username and password right after the installation.
Dont lose or forget this password as you will need it to access your control panel.
Also install the Pre-Configured PHP Package.

Step Three -
Right click the Abyss WebServer icon in your System Tray and select "Show Console..."
Enter your information.
Click on "Configure"
Click on "Scripting Parameters"
Under Interpreters, Click "Add"
Set "Interface" to "Fast CGI (Local - Pipes)"
In the Interpreter field, press "Browse..." and navigate to your PHP directory and locate "php-cgi.exe"
Set the "Type" to "PHP Style"
Press "Add" in the Associated Extensions table and type "PHP"
Press "Ok" until you are back on the configure page.


Now click "Index Files" and press "Add"
For the "File Name" field type "index.php"


Now your webserver can recognise PHP :)

Step Four -
Extract Superfun's Edited Registration.rar.
Copy and paste everything in the folder to:
"C:\Program Files\Abyss Web Server\htdocs"
After doing so, we need to configure it so that the data will be inputted into the correct database.


Step Five -
Go to the "functions" folder.
Open up "Config.php" with Notepad or WordPad.

Code:
<?php
$host['naam'] = 'localhost';                // You do not need to change this line
$host['gebruikersnaam'] = 'root';       // If you have followed my previous guide, you dont have to change this
$host['wachtwoord'] = '';   // Same as above
$host['databasenaam'] = 'odinms';       // Change to OdinMS

$db = mysql_connect($host['naam'], $host['gebruikersnaam'], $host['wachtwoord']) OR die ('Cant connect to the database');
mysql_select_db($host['databasenaam'], $db);
?>
Next you can touch up your registration page:
Open up "index.php" with Notepad or WordPad:

Search for:
Code:
<title>My maplestory server</title>
This will change the name of your website.

Search for:
Code:
<h1>My maplestory server</h1>
Change this to your Server Name

Search for:
Code:
<td class=listtitle colspan=2>Register at my server</td></tr>
Same as above

Step Six -
To make sure everyone can register correctly and fine.
Open up your MySQL Browser and select your "odinms" database and execute this:

Code:
ALTER TABLE `accounts` MODIFY COLUMN `banreason` TEXT NULL DEFAULT NULL;
Code:
ALTER TABLE `accounts` MODIFY COLUMN `macs` TINYTEXT NULL DEFAULT NULL;
Make sure you execute both of these queries.

Step Seven -
By default a website is hosted on port 80.
Some ISP's may block this port, therefore disallowing anyone to access your website.

There is however a way to get around this.
Right click the Abyss Web Server icon in your system tray and select "Show Console..."
Enter your details.
Click "Configure"
Click "General"
In the HTTP Port dropdown menu, select "8080" and let Abyss restart.
Now we have your website running on port 8080.


Step Eight -
Now we need to port forward the port 8080.
http://www.portforward.com/english/r...outerindex.htm

Select your router and port forward port 8080 on both TCP and UDP to your IP address.

Step Nine -
Find out your WAN IP address [External IP Address]
http://www.mywanip.com/
Your website address is:
http://WANIP:8080
Example: http://219.73.32.183:8080
Give this to your players and have fun!

Step Ten -
Some people might have this when they go to their IP
"Welcome to Abyss Web Server"
Just navigate to "C:/Program Files/Abyss Web Server/htdocs"
And delete "index.html"
__________________


StoryBox is back! Recruitment Thread found here

Last edited by Innovative; 08-09-2008 at 04:06 PM.
Innovative is offline  

RaGEZONE sponsored advertisment: