Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > MapleStory
You last visited: Today at 08:02

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to setup a private server using the OdinMS source

Discussion on How to setup a private server using the OdinMS source within the MapleStory forum part of the MMORPGs category.

Reply
 
Old   #1
 
zeeshawn's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 76
Received Thanks: 16
Exclamation How to setup a private server using the OdinMS source

OdinMS Source Code


The Java Runtime Environment (Version 6)

Choose Java SE 6 Update 10 Beta.
Choose the JDK, not the JRE.

The JCE Unlimited Strength Files

Go to the bottom, the link is under "Other Downloads"

Apache MINA 1.1


MySQL Connector/J


slf4j 1.5


MySQL


MySQL Query Browser



Installation


1. Download and extract the OdinMS source code from Sourceforge. If you don't know which one to download, get the odinms-0.5.zip one.


2. Download and install MySQL. Choose all the default settings and remember what password you set. If you don't know what you're doing, just set your password to "root"


3. Install MySQL Query Browser (GUI Tools). Use it to connect to mysql (the username is "root" unless you changed it and the password is the one you set in step 2). Choose "odinms" as your default schema.



4. In the Query Browser create a new schema (right click>Create New Schema) called "odinms"


5. Double click on odinms and go File>Open Script. Browse to odinms.sql in the source code directory and open it. The code will load. Click Execute in the top right and wait for the script to execute.



6. Locate the following files from the "Apache MINA," "MySQL Connector," and "slf4j 1.5" download, and copy the following files from them to the /dist folder in the odinms source directory:
Code:
mina-core-1.1.7.jar
slf4j-api-1.5.0.jar
slf4j-jdk14-1.5.0.jar
mysql-connector-java-3.1.14-bin.jar



7. Rename those files as follows:
Code:

mina-core-1.1.7.jar to mina-core.jar
slf4j-api-1.5.0.jar to slf4j-api.jar
slf4j-jdk14-1.5.0.jar to slf4j-jdk14.jar
mysql-connector-java-3.1.14-bin.jar to mysql-connector-java-bin.jar




8. Open launch_world.bat, launch_login.bat, and launch_channel.bat in notepad and change the CLASSPATH line to say this:
Code:
set CLASSPATH=.;dist\odinms.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar



9. Go to the folder with your OdinMS source. Open the file "db.properties" and change the bottom two lines to say "user = root" and "password = root" (but change the password to whatever you set it as in step 2). Also change the "DBNAME" in the url line to "odinms"


10. Open launch_world.bat, launch_login.bat, and launch_channel.bat in notepad and change the third line (the one that starts with "Java") to these:

launch_world.bat
Code:

java -Dnet.sf.odinms.recvops=recvops.properties -Dnet.sf.odinms.sendops=sendops.properties -Dnet.sf.odinms.wzpath=wz\ -Djavax.net.ssl.keyStore=key.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=key.keystore -Djavax.net.ssl.trustStorePassword=passwd net.sf.odinms.net.world.WorldServer



launch_login.bat
Code:

java -Dnet.sf.odinms.recvops=recvops.properties -Dnet.sf.odinms.sendops=sendops.properties -Dnet.sf.odinms.wzpath=wz\ -Dnet.sf.odinms.login.config=login.properties -Djavax.net.ssl.keyStore=key.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=key.keystore -Djavax.net.ssl.trustStorePassword=passwd net.sf.odinms.net.login.LoginServer



launch_channel.bat
Code:

java -Dnet.sf.odinms.recvops=recvops.properties -Dnet.sf.odinms.sendops=sendops.properties -Dnet.sf.odinms.wzpath=wz\ -Dnet.sf.odinms.channel.config=channel.properties -Djavax.net.ssl.keyStore=key.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=key.keystore -Djavax.net.ssl.trustStorePassword=passwd net.sf.odinms.net.channel.ChannelServer



11. Open your command prompt (Start>Run>cmd). Navigate to your java directory (for most people, this is by typing "cd c:\program files\java\jdk1.6.0_06\bin").


12. Type this, set the password to "passwd" and random crap for the personal info:
Code:
keytool -genkeypair -keyalg RSA -keysize 1024 -validity 365 -keystore key.keystore


(It will not seem like it is letting you type anything when you enter your password, but it is, it doesn't show up.)



13. Browse to your jdk \bin folder and copy the .keystore file to your odinms source folder.

Alternative to Steps 12 and 13: You can just download the keystore file from here:
If you use that file, you must use the password "passwd"


14. Copy the two .jar files from the JCE Unlimited Strength folder and put them in the /lib/security folder in your Java directory. Click yes to replace files. Repeat this for ALL of the /lib/security folders in ALL of the jre folders in your Java directory.


15. Make a new folder called wz in your odinms source folder and copy all your .wz files from your MapleStory folder into it.


Running the server

Run the server bat files in this order:
World Server
Login Serer
Channel Server(s)


The easiest way to connect is to use this localhost client: Put that in your Maplestory game folder and run it.

To login, use "admin" as both the username and password. You can create new accounts by opening the MySQL Query Browser, connecting, opening the accounts table by double clicking on it and hitting Execute, click Edit at the bottom, and entering new information in the second row. You can copy the information from the admin account and change it to your liking (remember to assign a different ID). For the password, go to this page: Enter your password, choose SHA1, and encrypt it. Copy the encrypted password to the password field in the accounts table.
zeeshawn is offline  
Old 05/15/2008, 21:53   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 410
Received Thanks: 19
Nice post
spritelleh is offline  
Old 06/11/2008, 05:01   #3
 
elite*gold: 0
Join Date: Jun 2008
Posts: 1
Received Thanks: 0
Nice, I hope it works
kevin1823 is offline  
Old 06/11/2008, 05:30   #4
 
elite*gold: 0
Join Date: Oct 2007
Posts: 1
Received Thanks: 0
this dosn't work
u liar
eragon134 is offline  
Old 06/12/2008, 23:33   #5
 
elite*gold: 0
Join Date: Aug 2007
Posts: 41
Received Thanks: 4
it's gunna work i already can tell by reading it
jkjkmaster is offline  
Old 06/13/2008, 23:31   #6
 
elite*gold: 0
Join Date: Jun 2008
Posts: 1
Received Thanks: 0
whenever i open the world, channel, and login it closes automatically.
CubeSlime is offline  
Old 07/02/2008, 18:58   #7
 
elite*gold: 0
Join Date: Jun 2008
Posts: 3
Received Thanks: 0
unable to connect to server

hi zeeshawn. i had a problem after following all the steps. they prompted me "unable to connect to server " . i had set my Wamps online, and no idea what to do next. Im not good with programming and setting up stuffs like this. i hope you could clarify my doubts.
And regarding the keys.keystroke file, i couldn't dl it from the link from the rapidshare . thus, i skip the step. is it possible this skip of step causes this ??
thankyou if it clarifies
MrMana is offline  
Old 07/05/2008, 19:49   #8
 
elite*gold: 0
Join Date: Jul 2008
Posts: 1
Received Thanks: 0
Ty You
kingmannn is offline  
Old 08/10/2008, 10:20   #9
 
elite*gold: 0
Join Date: Aug 2008
Posts: 2
Received Thanks: 0
nice guide.
bad5ever is offline  
Old 01/01/2009, 00:41   #10
 
elite*gold: 0
Join Date: Dec 2008
Posts: 16
Received Thanks: 9
question how do i download the odinms i click to download but another screen comes up and it doesnt download???
raiever is offline  
Old 01/10/2009, 23:47   #11
 
elite*gold: 0
Join Date: Jan 2009
Posts: 12
Received Thanks: 0
It would help if u added pictures to it...
Gorrack is offline  
Old 10/26/2010, 14:29   #12
 
elite*gold: 0
Join Date: Oct 2010
Posts: 1
Received Thanks: 0
is it only me who cant find out where to download the odinms source? i cant find it on the website :i
LayRain is offline  
Old 12/11/2010, 08:54   #13
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1
Received Thanks: 0
Can someone tell me how to make my own knight online private server pls?
This program dont work.
Give me another one pls!
RFID is offline  
Old 12/18/2010, 22:12   #14
 
ihate1's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 138
Received Thanks: 24
hope this will work....did anyone tryied it?
ihate1 is offline  
Reply


Similar Threads Similar Threads
How-To Compile OdinMS source [Netbeans]
05/04/2010 - MapleStory - 4 Replies
Assuming you cannot compile with the guide that Traitor posted. How-to compile OdinMS source - OdinMS I have made this thread to inform you that you can compile with NetBeans. http://download.netbeans.org/netbeans/6.1/final/ Download the one furthest to the right, which includes all the languages. You never know when you might need to use something rather than Java. After downloading and installing NetBeans ; open it up, depending on your computer processor speed/RAM.
OdinMS Source RELEASED!
05/15/2008 - MapleStory - 1 Replies
Good news, Odin has just released their source files.. Serpendiem (OdinMS developer) wrote: Hi as hinted in the release notes of r877 we have something exciting coming. This is it The OdinMS server including full Sourcecode is now available at our ( https://sourceforge.net/projects/odinms ) We have also created a new section for discussing the OdinMS server and for submitting source changes back to us. Please keep your posts in these sections civilized we don't want to ban...
Private Server Setup
03/21/2008 - Lineage 2 - 2 Replies
Hi, I am looking to start a private server. I have some programming knowledge in Java and Visual Basic, but I doubt that will help me. Can someone explain step by step the way to setup a private server, and the commands that I can use as the creator.
How to Setup a Private Server
02/18/2008 - CO2 Guides & Templates - 24 Replies
Here is a Introduction how to set up a "naked" server with the CO Full Server Code. What i mean with naked you will see when you run and "play" it... 1. Download The Sourcecode 2. In the CO Full Server C# Project is one File named "BackEndDB.cs" open it go to line 200 insert your IP there. 3. Build Both of the Projects 4. Create a Database called "Conquer" in your pgSQL Admin 5. Do a SQL Query with the table defination 6. Add a Account to the DB (leave the Password Field blank) 7. Open...



All times are GMT +1. The time now is 08:02.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.