Junior Spellweaver
- Joined
- Jul 4, 2012
- Messages
- 111
- Reaction score
- 32
How To Make A v111 Private Server!
This is a guide to show you how to complete a Lithium based private server.
1.Introduction
2.Downloads
3.Installations
4.Server Setup
5.Localhost v111
6.Common Errors
7.Notes
8.Cype-CMS
9.Add-Ons/Fixes
10.Credits
Introduction
Making private servers arent easy, but arent too hard....if you have good help!
And im here to make everyone's private server creation process very easy so lets get started!
Downloads
To start your private server you need to get the right files.
Here are the files
You need to download these and set them up.
Program/Files Needed:
Lithium (Of course)
Notepad++
Hamachi (Optional if you dont want to port-forward)
STREDIT
JDK 1.7 and JRE 7 (NOT 6...DUH)
Get anyone of these (I use NaviCat, only drawback is its only 30-Day Trial)
Java Unlimited Strength Files
WinRAR
LocalHost v111
Wz Files
WampServer
Maplestory v111
Extra:
GM Handbook
Lithium (Of course)
You must be registered to see links
Notepad++
You must be registered to see links
Hamachi (Optional if you dont want to port-forward)
You must be registered to see links
STREDIT
You must be registered to see links
JDK 1.7 and JRE 7 (NOT 6...DUH)
You must be registered to see links
You must be registered to see links
You must be registered to see links
Get anyone of these (I use NaviCat, only drawback is its only 30-Day Trial)
You must be registered to see links
You must be registered to see links
(Dont Use On Weak Machines)Java Unlimited Strength Files
You must be registered to see links
WinRAR
You must be registered to see links
LocalHost v111
You must be registered to see links
Wz Files
You must be registered to see links
WampServer
You must be registered to see links
Maplestory v111
You must be registered to see links
Extra:
GM Handbook
You must be registered to see links
Installations
Ok Lets Start With Java
1.Dowload Both JDK and JRE
2.Set them up with default settings
JCE Strength Files
1.Download them
2.Extract them anywhere
3.Copy them and paste in these directories
13.Save.
14.Open worldGMS.properties
15.Edit it to your liking and replace the 127.0.0.1 (Delete it, Then replace with the IPv4)
16.Save
Are you still with Me? Well then lets finish this.
17.Open all the .bat's with Notepad++ and replace them with these
18.Go To Src
19.Go To Constants
20.Open ServerConstants.jar with Notepad++
21.Find:
22.Replace with your IPv4
Like this
23.Change SQL Password from "root" to "(Nothing)" and then save
24.Open DatabaseConnection.java and search for serverconstants and change the v111 above it to Lithium and then save
25.Open NetBeans
26.Create New Project And Name it Lithium
27.Hit Next
28.Click Java/Java Project With Existing Sources
29.Hit Next
30.Go to your extracted Lithium Folder and click on src
31.Hit Finish
32.Right click Libraries and add the jars in your source dist folder. Then hit F11
33.Find the project folder and open dist
34.Take Lithium.jar and put it in the extracted lithium folder's dist
Now were done with NetBeans
35.Make a folder called wz in the extracted lithium folder
36.Take the v111wzxml.rar and extract those files to the wz folder you just created
37.Open Etc.wz/CashPackage. Search for 10003361 and make the "/> below it, right next to it like this 10003361"/>
38.Open NaviCat
39.Click Connection
40.Click MySQL, Not MySQLServer
41.Make your host localhost and port 3306 (Default)
42.Make Your Username=root Password=(Nothing)
43.And Name your connection Lithium
44.Double click your connection
45.Right click it and select - New Database
46.Name it Lithium and Default Character Set
47.Double Click your new database
48.Right click and select - Execute SQL File
47.Click on the ... and go to your source folder
48.Open SQL and execute all of them in a row (You Will have Errors On 4-6)
49.Go to your source folder and execute the Dump.bat's
50.Then click Launch.bat
Your Server Is Finally Up!
1.Dowload Both JDK and JRE
2.Set them up with default settings
JCE Strength Files
1.Download them
2.Extract them anywhere
3.Copy them and paste in these directories
Code:
64bit
C:\Program Files\Java\jre7\lib\security
C:\Program Files\Java\jre7\lib/ext
C:\Program Files\Java\jre7\lib
C:\Program Files\Java\jdk1.7\jre\lib
C:\Program Files\Java\jdk1.7\jre\lib\ext
C:\Program Files\Java\jdk1.7\jre\lib\security
32bit
C:\Program Files(x86)\Java\jre7\lib\security
C:\Program Files(x86)\Java\jre7\lib/ext
C:\Program Files(x86)\Java\jre7\lib
C:\Program Files(x86)\Java\jdk1.7\jre\lib
C:\Program Files(x86)\Java\jdk1.7\jre\lib\ext
C:\Program Files(x86)\Java\jdk1.7\jre\lib\security
NetBeans
1.Download correct system format NetBeans (32bit-64bit)
2.Follow the directions given on the link page.
WinRAR
1.Download it
2.Run it
3.Just make everything default
Maplestory v111
1.Download it.
2.Run the setup.
(Optional To Keep Regular Maple)3.Make directory in folder anywhere besides C:/Nexon
4.Delete these in the folder
MapleStory.exe
Patcher.exe
GameLauncher.exe
HShield (folder)
Lithium
1.Download it.
2.Double click it
3.Extract file to desktop
Password is ragezone
NaviCat
1.Download Premium
2.Follow setup with default settings
3.If you want full version, download this
http://www.mediafire.com/?8deziz4d6785scf
Notepad++
1.Download
2.Follow setup
Wamp
1.Download it
2.Follow setup with default settings (No need to put email at end)
3.Double ilick icon
4.On bottom right of your screen click The green [W].
5.Click put online
6.Click - Start All Services
STREDIT
1.Download it
2.Extract to desktop
Hamachi
1.Download it
2.Launch it
3.Press powerbutton
[/SPOILER]
[CENTER][SIZE=5]Server Setup[/SIZE][/CENTER]
[SPOILER]
1.Go to Hamachi
2.Press Network
3.Create a network
4.Right click the numbers next to the power button in hamachi
5.Click - Copy IPv4 Address
Now were done with Hamachi
6.Open The extracted Lithium file
7.Right click channel.propeties
8.Click edit with Notepad++
9.Delete 127.0.0.1
10.Replace it by pressing Ctrl-V and then save.
11.Then open db.properties in Notepad++
12.Delete it all and replace with this
[CODE]
url=jdbc:mysql://localhost:3306/Lithium?autoReconnect=true
user = root
password =
14.Open worldGMS.properties
15.Edit it to your liking and replace the 127.0.0.1 (Delete it, Then replace with the IPv4)
16.Save
Are you still with Me? Well then lets finish this.
17.Open all the .bat's with Notepad++ and replace them with these
Dump-Items
Dump-MobSkills
Dump-Quests
Launch
Code:
@echo off
@title Dump
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -server -Dnet.sf.odinms.wzpath=wz/ tools.wztosql.DumpItems
pause
Dump-MobSkills
Code:
@echo off
@title Dump
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar;dist\bcprov-jdk16-145.jar
java -server -Dnet.sf.odinms.wzpath=wz/ tools.wztosql.DumpMobSkills
pause
Dump-Quests
Code:
@echo off
@title Dump
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar;dist\bcprov-jdk16-145.jar
java -server -Dnet.sf.odinms.wzpath=wz/ tools.wztosql.DumpQuests
pause
Launch
Code:
@echo off
@title Lithium Server Console
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -server -Dnet.sf.odinms.wzpath=wz/ server.Start
pause
18.Go To Src
19.Go To Constants
20.Open ServerConstants.jar with Notepad++
21.Find:
Code:
public static final byte[] Gateway_IP = new byte[]{(byte) 127, (byte) 0, (byte) 0, (byte) 1};
22.Replace with your IPv4
Like this
Code:
This is What it would look like if my IPv4 was 6.201.37.159
public static final byte[] Gateway_IP = new byte[]{(byte) 6, (byte) 201, (byte) 37, (byte) 159};
23.Change SQL Password from "root" to "(Nothing)" and then save
24.Open DatabaseConnection.java and search for serverconstants and change the v111 above it to Lithium and then save
25.Open NetBeans
26.Create New Project And Name it Lithium
27.Hit Next
28.Click Java/Java Project With Existing Sources
29.Hit Next
30.Go to your extracted Lithium Folder and click on src
31.Hit Finish
32.Right click Libraries and add the jars in your source dist folder. Then hit F11
33.Find the project folder and open dist
34.Take Lithium.jar and put it in the extracted lithium folder's dist
Now were done with NetBeans
35.Make a folder called wz in the extracted lithium folder
36.Take the v111wzxml.rar and extract those files to the wz folder you just created
37.Open Etc.wz/CashPackage. Search for 10003361 and make the "/> below it, right next to it like this 10003361"/>
38.Open NaviCat
39.Click Connection
40.Click MySQL, Not MySQLServer
41.Make your host localhost and port 3306 (Default)
42.Make Your Username=root Password=(Nothing)
43.And Name your connection Lithium
44.Double click your connection
45.Right click it and select - New Database
46.Name it Lithium and Default Character Set
47.Double Click your new database
48.Right click and select - Execute SQL File
47.Click on the ... and go to your source folder
48.Open SQL and execute all of them in a row (You Will have Errors On 4-6)
49.Go to your source folder and execute the Dump.bat's
50.Then click Launch.bat
Your Server Is Finally Up!
Localhostv111
Now that your server is up lets make a client so you or anyone can join!
1.Open STREDIT
2.Click File-Open-Open File
3.Find your localhostv111 and open it
4.Edit the 127.0.0.1 on the bottom right to your Hamachi/WAN Ip
5.Make it use only 1 Ip Address
Getting In Game
1.Run Wamp
2.Run Lauch.bat
3.Go into your database-Lithium and double click accounts
4.Make a new account by entering the tables to your liking and for password, you have to SHA-1 it.
5.Go to here -
6.Put your password and copy the SHA-1'nd form of your pasword
7.Put that password into your account area
8.ID should be 1
9.Username should be your username
10.Password should be your SHA-1 converted pasword
11.Exit and save
12.Put your new localhost into your v111 Maplestory folder
13.Double Click Localhost
14.Login with your account info (Password is regular,not SHA-1 format)
15.From there its pretty much easy to find out yourself
2.Run Lauch.bat
3.Go into your database-Lithium and double click accounts
4.Make a new account by entering the tables to your liking and for password, you have to SHA-1 it.
5.Go to here -
You must be registered to see links
6.Put your password and copy the SHA-1'nd form of your pasword
7.Put that password into your account area
8.ID should be 1
9.Username should be your username
10.Password should be your SHA-1 converted pasword
11.Exit and save
12.Put your new localhost into your v111 Maplestory folder
13.Double Click Localhost
14.Login with your account info (Password is regular,not SHA-1 format)
15.From there its pretty much easy to find out yourself
Common Errors
Alot of the time people have lots of trouble fully creating a server even with easy to follow instructions
So here im going to post common errors that I know how to fix. Please post your errors as this will help me remember errors i had.
Newest Fixes 7/31/2012
"Unable to connect to game server"
This is a very big fix for those who have this problem
First turn on your loopback adapter, open pic at char screen, close the pic screen, open again and enter pic!
Works about 80% of the time (Meer Estimate)
Netbean Errors
The Fix - Delete JDK/JRE 6 And Download JDK/JRE 7
Bat Errors
To fix these, go to the .bats in notepad and replace them with these
Dump-Items
Dump-MobSkills
Dump-Quests
Launch
To Fix this, make sure when you compile in NetBeans you put the new Lithium.jar in the dist folder.
Code:
init:
deps-jar:
Created dir: C:\****\****\Documents\NetBeansProjects\Lithium\build
Updating property file: C:\****\***\Documents\NetBeansProjects\Lithium\build\built-jar.properties
Created dir: C:\****\****\Documents\NetBeansProjects\Lithium\build\classes
Created dir: C:\***\***\Documents\NetBeansProjects\Lithium\build\empty
Created dir: C:\****\****\Documents\NetBeansProjects\Lithium\build\generated-sources\ap-source-output
Compiling 331 source files to C:\****\****\Documents\NetBeansProjects\Lithium\build\classes
C:\Users\User\Desktop\*****\Lithium\src\client\MapleCharacter.java:3087: error: diamond operator is not supported in -source 1.6
Map<Skill, SkillEntry> list = new HashMap<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\***\Lithium\src\client\PlayerStats.java:58: error: diamond operator is not supported in -source 1.6
private Map<Integer, Integer> setHandling = new HashMap<>(), skillsIncrement = new HashMap<>(), damageIncrease = new HashMap<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\*****\Lithium\src\handling\channel\handler\InventoryHandler.java:440: error: diamond operator is not supported in -source 1.6
final List<StructItemOption> pots = new LinkedList<>(ii.getAllSocketInfo(rank).values());
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\handling\channel\handler\ItemMakerHandler.java:691: error: diamond operator is not supported in -source 1.6
final Map<Skill, SkillEntry> sa = new HashMap<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\handling\channel\handler\MobHandler.java:115: error: diamond operator is not supported in -source 1.6
final List<Pair<Integer, Integer>> unk3 = new ArrayList<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\handling\channel\handler\MovementParse.java:37: error: diamond operator is not supported in -source 1.6
final List<LifeMovementFragment> res = new ArrayList<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\handling\channel\handler\PlayersHandler.java:542: error: diamond operator is not supported in -source 1.6
final List<Integer> newDrops = new ArrayList<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\handling\login\handler\CharLoginHandler.java:265: error: diamond operator is not supported in -source 1.6
final Map<Skill, SkillEntry> ss = new HashMap<>();
^
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\scripting\NPCConversationManager.java:574: error: diamond operator is not supported in -source 1.6
final List<StructItemOption> pots = new LinkedList<>(ii.getAllSocketInfo(grade).values());
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\server\CashItemFactory.java:27: error: diamond operator is not supported in -source 1.6
private final Map<Integer, List<Integer>> openBox = new HashMap<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\server\MapleInventoryManipulator.java:849: error: diamond operator is not supported in -source 1.6
final Map<Skill, SkillEntry> ss = new HashMap<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\server\MapleItemInformationProvider.java:49: error: diamond operator is not supported in -source 1.6
protected final Map<Integer, Map<Integer, StructItemOption>> socketCache = new HashMap<>(); // Grade, (id, data)
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\****\Lithium\src\server\StructItemOption.java:38: error: diamond operator is not supported in -source 1.6
public Map<String, Integer> data = new HashMap<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\***\Lithium\src\server\maps\MapScriptMethods.java:1018: error: diamond operator is not supported in -source 1.6
final Map<Skill, SkillEntry> sa = new HashMap<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\***\Lithium\src\server\quest\MapleQuestAction.java:233: error: diamond operator is not supported in -source 1.6
final Map<Skill, SkillEntry> sa = new HashMap<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\*\Lithium\src\tools\packet\CWvsContext.java:1506: error: diamond operator is not supported in -source 1.6
partymembers = new ArrayList<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\*\Lithium\src\tools\packet\LoginPacket.java:253: error: diamond operator is not supported in -source 1.6
List<Pair<String, Integer>> flags = new LinkedList<>();
(use -source 7 or higher to enable diamond operator)
C:\Users\User\Desktop\***\Lithium\src\tools\packet\PacketHelper.java:152: error: diamond operator is not supported in -source 1.6
final Map<Integer, Integer> skillsWithoutMax = new LinkedHashMap<>();
(use -source 7 or higher to enable diamond operator)
18 errors
C:\Users\User\Documents\NetBeansProjects\Lithium\nbproject\build-impl.xml:596: The following error occurred while executing this line:
C:\Users\User\Documents\NetBeansProjects\Lithium\nbproject\build-impl.xml:242: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 3 seconds)
The Fix - Delete JDK/JRE 6 And Download JDK/JRE 7
Bat Errors
To fix these, go to the .bats in notepad and replace them with these
Dump-Items
Code:
@echo off
@title Dump
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -server -Dnet.sf.odinms.wzpath=wz/ tools.wztosql.DumpItems
pause
Dump-MobSkills
Code:
@echo off
@title Dump
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar;dist\bcprov-jdk16-145.jar
java -server -Dnet.sf.odinms.wzpath=wz/ tools.wztosql.DumpMobSkills
pause
Dump-Quests
Code:
@echo off
@title Dump
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar;dist\bcprov-jdk16-145.jar
java -server -Dnet.sf.odinms.wzpath=wz/ tools.wztosql.DumpQuests
pause
Launch
Code:
@echo off
@title Lithium Server Console
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -server -Dnet.sf.odinms.wzpath=wz/ server.Start
pause
To Fix this, make sure when you compile in NetBeans you put the new Lithium.jar in the dist folder.
Notes
Wamp
Everytime you restart your computer you must enable Wamp for it to run.
Make sure Skype is off when running Wamp.
NetBeans
You must recompile with NetBeans everythime you edit a .java file.
You can edit java files in NetBeans instead of Notepad++ if you'd like.
Cype-CMS
1.Download Cype Here
You must be registered to see links
2.Extract it to your Wamp folder located at C:/wamp
3.Put your ip in your internet browser search bar.
4.Skip steps until you have to execute SQL's
5.Follow directions given on the webpage from there
Add-Ons/InGame Fixes
New Section, this one will be fun xD
Credits
Credits Go To:
AuroX/AlphaEta for the Lithium Source
kevintjuh93 for localhostv111 and v111wzxml.rar
Nexon - For making a wonderful game.
cobbbg1998 - AKA Salt - For this full guide
End
Hope This Helped You All And Have a Nice Day
~Salt
Attachments
You must be registered for see attachments list
Last edited: