[Tutorial] Private Server Basics

12/02/2013 19:22 «Ice.Shock™#1
This tutorial contains :
  • How to setup your server.
  • How to put your server online.
  • How to edit your server.
  • How to find packets.

- - - - - - - - - - - - - - - - - - - - - - -

How to setup your server.
Quote:
First lets choose our server pack.
Now after you've chosen an suitable emulator we might begin.

Now lets download our needed tools.

Quote:
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
Now we are able to begin for real this time :D

1. Find the xampp folder and then enter in it and you will see one sub-folder named htdocs and inside there extract your "Website Pack".

2. Now lets setup MYSQL. Turn Navicat on and inside the Website Pack there will be one .sql file now what you are going to do is copy it on your desktop or where you want.. After that you are going to do a new database :

[Only registered and activated users can see links. Click Here To Register...]

After that you will need to import you SQL file.
[Only registered and activated users can see links. Click Here To Register...]

and with this we finish MySQL part!

Now lets setup our htdocs..

1. First of all go inside KERNEL-DOCKS -> Server.Config -> Edit with [Only registered and activated users can see links. Click Here To Register...]

You will see inside :

HTML Code:
$Config['MySQL'] = [
	'host' => 'localhost',// Host (Don't touch it unless you know what you are doing!)
	'user' => 'root', // Database Username (Default if you didnt change it by yourself.)
	'pass' => '', // Database Password (Default there isnt any password if you dont set it up by yourself.)
	'dbname' => 'aurora', // Database Name
];
After that back to htdocs folder (WWW folder) and look for config.php file and if you find or so I belive with the code above you will be able to set it up.

Now lets move on to Emulator part!

After you've chosen emulator (I'm using Azure you are going to run it).

Azure Do Server -> Source -> Azure DO Server -> bin -> Debug -> app.ini

Quote:
[MySQL]
server=127.0.0.1
mport=3306
username=root
password=
dbName=aurora
[GAME]
port=9338
[SERVER]
flushPackets=true
and with it you are done and have working emulator and website.
How to put your server online.

Quote:
Suggested :
  • Virtual Private Server / Dedicated

1. Go to Server.Config and look at the part above.

Quote:
$Config['URL'] = [
'Default' => [
'Require.www' => false, // [Only registered and activated users can see links. Click Here To Register...]
'SSL.enabled' => false, // https://
'Server' => '127.0.0.1',// Dedicated / VPS / Your IP
'Lang' => 'en_US' // GLOBAL.
],
'Other' => [
//'example.com' => ['Require.www' => false, 'SSL.enabled' => false, 'Lang' => 'es_ES', 'MySQL' => ['host' => '127.0.0.1','user' => 'root','pass' => '','dbname' => 'cmsdb']]
],
'devPrivateServer' => '127.0.0.1' // IP
];
after that most important go to htdocs -> spacemap -> xml -> maps.php and edit the IP there!


NOTE : STILL EDITING IT !
12/02/2013 19:58 ChemosS#2
Oh thanks :)
12/02/2013 20:01 «Ice.Shock™#3
Added tutorial on how to put it online :) and thomorow video tutorial!
12/02/2013 20:14 KratonVsPande#4
nice thread :) hope this will prevent a lot of spam :)
12/02/2013 21:22 Madatek#5
You, yes you!
I love you for 2 things: this thread, and this image:
[Only registered and activated users can see links. Click Here To Register...]
12/03/2013 00:50 >D3XTER<#6
Nice Tutorial ! :)
12/03/2013 00:58 gabrielcool1#7
Ask to add it on this thread: [Only registered and activated users can see links. Click Here To Register...]
On tutorials ^^
12/03/2013 01:28 cryz35#8
Quote:
Originally Posted by >>Adrian187<< View Post
Nice Tutorial ! :)
Nice avatar D:
Navicat isnt necessary! anyways nice tutorial for beginners. I'm not sure what will you add on emulator part though..
12/03/2013 01:37 Requi#9
Thats what I've on my YouTube channel.

But nice work.
12/03/2013 10:25 «Ice.Shock™#10
Quote:
Originally Posted by cryz35 View Post
Nice avatar D:
Navicat isnt necessary! anyways nice tutorial for beginners. I'm not sure what will you add on emulator part though..
I fell asleep during editing it but now I will finish it and you will see ^^