The Banished
November 22, 2009, 03:41:21 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Show us the desire to live on
 
  Home Help Search Gallery Chatbox Staff List Login Register  

[Tutorial] Setting up my own MapleStory private server!


Pages: [1]
  Print  
Author Topic: [Tutorial] Setting up my own MapleStory private server!  (Read 40 times)
Espio
Starter
*

Karma: +1/-0
Posts: 3


View Profile Email
« on: July 18, 2008, 05:36:07 pm »

Yes, I just copied and pasted the damn thing over from the old forums.

Introduction

Hi guys, Espio here. I will be making a tutorial on making and setting up your very own private server based on the OdinMS source (repacked using the SeanPackv5.9beta). Okay, what are we waiting for? Let's get started!

==============================================

Step 1: Gathering All The Resources

Download the following:

Java SE 6 Update 10 Build 25 - http://java.sun.com/javase/downloads/ea.jsp

Download the JDK, not the JRE option.

Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6 - http://java.sun.com/javase/downloads/index.jsp

It's the one at the very bottom.

MySQL 5.0 Community Server - http://dev.mysql.com/downloads/mysql/5.0.html#downloads

Download the Community version, not the enterprise version.

MySQL GUI Tools 5.0 - http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-gui-tools-5.0-r12-win32.msi/from/pick#mirrors

Click "No thanks, just take me to the downloads" and choose a mirror.

OdinMS Source Files SeanRepack5.9b - http://www.filedropper.com/seanpackv59beta

LocalHost Client - http://www.mediafire.com/?2ayjwctetmx

And that should more or less get you started. Install everything that needs installing, and extract whatever needs to be extracted, then read on.
NB: I recommend just installing the programs into their default locations, it makes things a helluva lot easier for me to direct you to.

==============================================

Step 1B: Getting Your Java Ready

Now this is a VERY important step. If you don't do this now, your server will refuse to work. After installing your Java SE 6, extract the JCE Policy files.

Now, go to "C:\Program Files\Java\jdk1.6.0_10" and in there, find the folder called "lib", open it and paste the JCE files (the FILES inside the JCE folder, NOT the folder itself).

Go back one folder, and go into the folder "jre", click the "lib" folder in there, and open the folder "security". Paste them in there too.

If the JCE stuff is already there (which it should be), just overwrite it with your new JCE files.

So your JCE files should be in both:
"C:\Program Files\Java\jdk1.6.0_10\jre\lib\security"
"C:\Program Files\Java\jdk1.6.0_10\lib"
Assuming you installed it to the default location.

==============================================

Step 2: Setting Up Your OdinMS Folder

Okay, this is where it gets fun.

Extract the SeanRepackv5.9b somewhere easy to access, like maybe your desktop.

There should be 4 folders in it:
"Imp. SQLs", "SeanSource V5.9", "Shop SQLs", and "SQLs". What we do with these will become clearer soon. But first, we got something to take care of.

In the folder SeanSource V5.9, you should see a lot of files and a few folders. Open up the folder named "wz". In it, there are folders for each respective .wz file from MapleStory. Now what you have to do is copy your MapleGlobal v.55 .wz files into each respective folder. So Base.wz gets copied into the Base.wz folder, Character.wz into the Character.wz folder, and so on.

Once you're done with that, I recommend taking a 5 minute break, going for a toilet break, getting a drink of water, and getting yourself comfortable. We're about halfway done Cheesy

==============================================

Step 3: Setting Up MySQL

Now I assume MySQL 5.0 and MySQL GUI tools are both installed. Find MySQL Query Browser - which the GUI tools would have added - and open it. It will prompt you for a username, a password and other details. When you first run it, make your username and password "root" (without the "s). You COULD make it something else, but for simplicity's sake, do as I say for now.

Leave Stored Connection empty.
For Server Host, type in "localhost" without the "s.
For Port, make it 3306.
For Username, type in "root" without the "s.
For Password, type in "root" without the "s.
For Default Schema, type in "odinms" without the "s.

It'll ask to create odinms because it doesn't exist, so say Yes.

Now, you'll see your Query Browser. On the right will be a few Schemas. Yours should be there. Press Ctrl+O and browse to the SeanPack folder and open up the "SQLs" folder. Open odinms.sql. A script tab should open up with a lot of writing. Now, on the bar on the right, click your odinms schema to make sure it is selected and hit Execute at the top right (the green button with a lightning bolt). A lot of little icons should appear under your odinms schema.

Here comes the dull part. What you now have to do is press Ctrl+O and do the same for all the .sql files in the 3 folders in your SeanPack folder (SeanSource V.5.9 Beta has no SQLs in it). Have fun with that.

We're almost done!

==============================================

Step 3: Forwarding Our Ports

Now this part can be quite complicated. It is only necessary if you have a Router. If you have a modem, skip this.

OdinMS runs on ports 8484, 7575 and 7576.
Use http://www.portforward.com/english/routers/port_forwarding/routerindex.htm to do this. Find your router model on the site, and choose any game. It will tell you how to forward the ports for your router. But instead of forwarding the ports of that random game, forward 8484, 7575 and 7576 on both TCP and UDP.

==============================================

Step 4: Tying Up Loose Ends

We're almost done now.

Now go to the folder "SeanSource V.5.9" and open up "db.properties" with Notepad. You should see something like this

Code:
# qualified class name of your JDBC driver
driver=com.mysql.jdbc.Driver
# JDBC URL to your database
url=jdbc:mysql://127.0.0.1:3306/odinms
# credentials for database access
user = root
password =

Find "password = " and put in "root" as the password. So it looks like this:

Code:
# qualified class name of your JDBC driver
driver=com.mysql.jdbc.Driver
# JDBC URL to your database
url=jdbc:mysql://127.0.0.1:3306/odinms
# credentials for database access
user = root
password = root

NB: There must be a space after the equal sign.

Now, you're more or less done.

Just put the localhost client into your normal MapleStory folder that you use for kRaZyMS. Make a shortcut on your desktop if you want.

Now, go to the folder "SeanSource V.5.9" again and open up these files in this exact order:

Code:
launch_world.bat

It should stay blank. Wait 5 seconds...

launch_login.bat

Wait 5 seconds... It should start watching a port for logins.

launch_channel.bat

It should tell you what ports each channel is on.

These 3 batch files, combined with your MySQL files, are your server!

If you click launch_world.bat after this, it should say
"Channel 1 is online"
"Channel 2 is online"

That means it all worked out nicely. Now go open localhost.exe in your MapleStory folder and play!

The default login will be:
Username: admin
Password: admin

It will be a lvl200 GM character by default. Go ahead and have a blast!

==============================================

Credits

The OdinMS Team - For developing an awesome, stable source and releasing it!
Sean360 - For putting together this repack.
Me - For making this tutorial.
You - For reading it.

And many other people (whom I cannot name due to the sheer number of them) for the many contributions they have made in perfecting the OdinMS source.

==============================================

If you have any problems or queries or suggestions or corrections, please post below, or contact me in-game on Espio. I don't know everything, per se. In fact, I am quite new to this too, I just thought I could share what I've learned so far. I may add updates with instructions on how to customise your new server, so keep a lookout for those. I hope my guide helped you out!~

~Espio
Report Spam   Logged
Espio
Starter
*

Karma: +1/-0
Posts: 3


View Profile Email
« Reply #1 on: July 18, 2008, 05:36:47 pm »

~Of course, reserved for future updates (if any)~
Report Spam   Logged
Easily Hated
Easily Hated
Administrator
Born to Post
*

Karma: +10000/-0
Posts: I am a geek!!



View Profile Email
« Reply #2 on: July 18, 2008, 05:42:38 pm »

Why Nice Job ^.^
Report Spam   Logged



The bitterest tears shed over graves are for words left unsaid and deeds left undone
jacx64
Global Moderator
Born to Post
*

Karma: +0/-0
Posts: 10002


fireprince64@hotmail.com
View Profile Email
« Reply #3 on: July 18, 2008, 05:52:17 pm »

i said it on the old forum and i'll say it on this one to.....good job every things there if i remember...
Report Spam   Logged

Jacx64 I still have a Nintendo64 BEWARE!!!



Espio
Starter
*

Karma: +1/-0
Posts: 3


View Profile Email
« Reply #4 on: July 18, 2008, 05:56:55 pm »

Aww, thanks guys. It means a lot to me that my work is appreciated and can help others.
Report Spam   Logged
Easily Hated
Easily Hated
Administrator
Born to Post
*

Karma: +10000/-0
Posts: I am a geek!!



View Profile Email
« Reply #5 on: July 18, 2008, 06:00:09 pm »

^.^ i just hope i made this forums good enough for people =o
Report Spam   Logged



The bitterest tears shed over graves are for words left unsaid and deeds left undone
jacx64
Global Moderator
Born to Post
*

Karma: +0/-0
Posts: 10002


fireprince64@hotmail.com
View Profile Email
« Reply #6 on: July 18, 2008, 06:04:46 pm »

its better than the old one and many of the other ones ive seen before but i cant say it's the best(it is a free forum after all)
Report Spam   Logged

Jacx64 I still have a Nintendo64 BEWARE!!!





Pages: [1]
  Print  
 
Jump to:  

Banner
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2006, Simple Machines LLC
ServerBeach Coupon