- Joined
- May 9, 2010
- Messages
- 307
- Reaction score
- 82
CoolGirl has some excellent guides here, but what this forum is lacking is a good non-VMWare/vBox guide to installing Jade Dynasty. So here's a quick and simple guide to getting your JD server up and running.
First to download a couple of things:
WinSCP:
(If using a remote server) PuTTY:
7-Zip:
Navicat (for MySQL):
Now that's out of the way, time to install the server.
Before you do anything else, you need to update your Ubuntu repositories.
Command: apt-get update
Also before we start, we need to be using the <root> directory.
Command: cd /
Now time to download the server files. Submit the following command into your Shell command Window (using PuTTY).
Command: wget
Now to untar it.
Command: tar xvzf JD.tar.gz
Next, submit the following command into your Shell command Window (using PuTTY).
Command: chmod -R 0755 /usr/rain
Now, open gamesys.conf in /usr/rain/glinkd. Change all 127.0.0.1 to your server's external IP address (or keep it as 127.0.0.1 if you're going localhost only. DO NOT CHANGE 0.0.0.0). Save.
Now you have to install MySQL with the following command:
Command: apt-get install mysql-server
Open Navicat, and connect to your database. Make a new database called "zx". Right-click on the new icon that's appeared and click Execute SQL File....
Navigate to dbo.sql which was unzipped with the server files and upload it through Navicat to your "zx" database. This will install all of the needed tables for your JD server.
On your server, open /etc/mcncc.xml.
Change: jdbc:mysql://localhost/zx?useUnicode=true&characterEncoding=utf8" username="root" password="123456"
To: jdbc:mysql://localhost/zx?useUnicode=true&characterEncoding=utf8" username="root" password="PASSWORD"
Changing PASSWORD for your actual MySQL password. Save.
To start your server, into your Shell command window, type:
Command: ./qd
To stop your server, into your Shell command window, type:
Command: ./stop
Before you attempt to start your server, make sure you reboot your server.
Command: reboot
Now I'm doing this as a quick guide, it's not fool-proof and fully tested, but it should work.
Client guide and download is coming soon. How to use the tools and such guide is coming soon as well.
Q: How do I change the realm names?
A: Open the corresponding file in /usr/rain/gamed/gsalias(x).conf (where (x) is the realm number) and change the Name value to what you want to call your realm.
Q: How do I start a second realm?
A: Use the command: ./gs2 to start a second realm. (Not recommended by CoolGirl unless you have 6+ GBs of RAM).
Q: How do I start more than two realms?
A: Open /root/ gs2 in notepad find: gsalias2.conf and change it to gsalias3.conf or gsalias4.conf etc. and save the file as gs3 or gs4 etc. Then run the command like you would do for a second realm. (Once again, not recommended for low RAM servers.)
Q: How do I change the EXP rate?
A: Use
Me - Guide & Server File repack.
ronny1982 - For his PW Server guide as my inspiration
CoolGirlPwns - For some much needed information and stickying this guide [:
If you liked, please press the Like button, thanks.
First to download a couple of things:
Step 1 - Downloading the necessary programs and files.
WinSCP:
You must be registered to see links
(If using a remote server) PuTTY:
You must be registered to see links
7-Zip:
You must be registered to see links
Navicat (for MySQL):
You must be registered to see links
Now that's out of the way, time to install the server.
Step 2 - Installing your Jade Dynasty server.
Before you do anything else, you need to update your Ubuntu repositories.
Command: apt-get update
Also before we start, we need to be using the <root> directory.
Command: cd /
Now time to download the server files. Submit the following command into your Shell command Window (using PuTTY).
Command: wget
You must be registered to see links
Now to untar it.
Command: tar xvzf JD.tar.gz
Next, submit the following command into your Shell command Window (using PuTTY).
Command: chmod -R 0755 /usr/rain
Now, open gamesys.conf in /usr/rain/glinkd. Change all 127.0.0.1 to your server's external IP address (or keep it as 127.0.0.1 if you're going localhost only. DO NOT CHANGE 0.0.0.0). Save.
Step 3 - Installing MySQL, the JD database and connecting your JD server to your MySQL server.
Now you have to install MySQL with the following command:
Command: apt-get install mysql-server
Open Navicat, and connect to your database. Make a new database called "zx". Right-click on the new icon that's appeared and click Execute SQL File....
Navigate to dbo.sql which was unzipped with the server files and upload it through Navicat to your "zx" database. This will install all of the needed tables for your JD server.
On your server, open /etc/mcncc.xml.
Change: jdbc:mysql://localhost/zx?useUnicode=true&characterEncoding=utf8" username="root" password="123456"
To: jdbc:mysql://localhost/zx?useUnicode=true&characterEncoding=utf8" username="root" password="PASSWORD"
Changing PASSWORD for your actual MySQL password. Save.
Step 4 - Starting and stopping your JD server.
To start your server, into your Shell command window, type:
Command: ./qd
To stop your server, into your Shell command window, type:
Command: ./stop
Step 5 - Notes and Finalising your installation.
Before you attempt to start your server, make sure you reboot your server.
Command: reboot
Now I'm doing this as a quick guide, it's not fool-proof and fully tested, but it should work.
Client guide and download is coming soon. How to use the tools and such guide is coming soon as well.
Frequently Asked Questions
Q: How do I change the realm names?
A: Open the corresponding file in /usr/rain/gamed/gsalias(x).conf (where (x) is the realm number) and change the Name value to what you want to call your realm.
Q: How do I start a second realm?
A: Use the command: ./gs2 to start a second realm. (Not recommended by CoolGirl unless you have 6+ GBs of RAM).
Q: How do I start more than two realms?
A: Open /root/ gs2 in notepad find: gsalias2.conf and change it to gsalias3.conf or gsalias4.conf etc. and save the file as gs3 or gs4 etc. Then run the command like you would do for a second realm. (Once again, not recommended for low RAM servers.)
Q: How do I change the EXP rate?
A: Use
You must be registered to see links
. Open elements.data in that tool, then type in the multiplier you would like (type 100 = 100x EXP).Credits.
Me - Guide & Server File repack.
ronny1982 - For his PW Server guide as my inspiration
CoolGirlPwns - For some much needed information and stickying this guide [:
If you liked, please press the Like button, thanks.
Last edited by a moderator: