I did this as I set my server up on my new VPS, so figured I would write out every step I do. It is just in basic formatting, and black and white. I personally like simple format with basic colors, easier on the eyes. If you have a problem with it then you can go complain to a wall.
Step 1) Installations
Spoiler:
Things you will need;
Java:
86x JDK:http://download.oracle.com/otn-pub/j...ndows-i586.exe
64x JDK:http://download.oracle.com/otn-pub/j...indows-x64.exe
JCE Unlimited Strength Files: http://www.mediafire.com/download.php?0g6t7xpcrbu4u8p
Wamp:
86x: http://sourceforge.net/projects/wamp...6.exe/download
64x: http://sourceforge.net/projects/wamp...4.exe/download
Netbeans:
https://netbeans.org/downloads/
You will only need Java SE, so downloading the first package, being 84 MB, will do just fine.
HxD Hex Editor:
HxD: http://mh-nexus.de/en/downloads.php?product=HxD
Source:
I personally recommend MoopleDev rev 120, but I will provide other links.
XsPro Rev 14: http://forum.ragezone.com/f427/sourc...pdated-713999/
MoopleDev Rev 120: http://forum.ragezone.com/f427/sourc...worlds-670167/
MapleBlade Re-Pack: http://forum.ragezone.com/f427/sourc...-83-re-709457/
*Note - all of these sources are for v83. Anything in this guide will be based off of MoopleDevRev120.*
Client and Client Files:
Client(clean): Will be added later.
Client(Modded): http://forum.ragezone.com/f690/tools...atabus-716365/
Client Files(Rar): http://www.mediafire.com/download/ph...hp4m87/v83.rar
Client Files(Installer):
MySQL Query Browser:
MSI Installer: http://dev.mysql.com/downloads/file.php?id=450954
.RAR Compressed: http://dev.mysql.com/downloads/file.php?id=450955
Links for convience:
64x WinRAR: http://www.rarlab.com/rar/winrar-x64-501.exe
86x WinRAR: http://www.rarlab.com/rar/wrar501.exe
Make sure you have both the correct download for your current OS(Operating System) and the correct bit for your computer
(x64 or x86). What bit you have on Windows can be found by click the start key or going down and clicking the start menu, right clicking Computer, then clicking properties.
Step 2) Getting Started
Spoiler:
First, go to your desktop and create a two folders, one being 'MapleStory v83 Source' and the other being 'MapleStory v83 Client'.
Second, move whatever source you had downloaded from the .rar to the 'MapleStoryv83 Source'.
Third, go to either the .RAR for the v83 Client Files, the .RAR being wherever you downloaded it, the installer being in C:/Nexon/Maplestory, and move either one you had downloaded into the 'MapleStory v83 Client'.
Fourth, Install MySQL Query Browser, Wamp, HxD, Netbeans, and Java. If you cant install these by yourself you should probably NOT open a server.
Fifth and final, move the JCE files(two .jar's) to your desktop.
Step 3) Importing JCE Files
Spoiler:
Put your two JCE files into the two following paths:
C:\Program Files\Java\jdk1.7.0_01\jre\lib\ext
C:\Program Files\Java\jdk1.7.0_01\jre\lib\security
OR
C:\Program Files(x86)\Java\jdk1.7.0_01\jre\lib\ext
C:\Program Files(x86)\Java\jdk1.7.0_01\jre\lib\security
then
C:\Program Files\Java\jre7\lib\ext
C:\Program Files\Java\jre7\lib\security
OR
C:\Program Files(x86)\Java\jre7\lib\ext
C:\Program Files(x86)\Java\jre7\lib\security
Step 4) Setting up MySQL
Spoiler:
Firstly, make damn sure your WampServer is open. If WampServer is not online, or you do not have a Remote SQL login, you can not set up a server.
Second, once MySQL is open, there is a circle with a plus in it next to MySQL Connections, click the circle with a plus.
Third, enter this info:
Connection Name: MapleStorySQL
Connection Method: Standard (TCP/IP)
Hostname: localhost
Port: 3306
Username: root
Password: (Nothing)
Default Schema: (Nothing)
Fourth, once entered, hit Test Connection, if all is ok, then hit the button 'Ok', if any error is received, try to reopen WampServer, and re-enter any info. If any other errors, try google or posting on this thread.
Fifth, once you are on and see a mostly white screen, click on File and then click Open SQL Script, then locate the folder Maplestoryv83 Source' on your desktop, and there will either be a .sql file in the folder or a sub-folder named SQL, with a few .sql's in this folder. Load all of them. Now check on the MAIN .sql file, if it does not have a method to DROP then CREATE a Schema, then you need to create one. Do this buy clicking 'test', Create Schema, then type a name, then hit Apply, then finish. If you get a popup message, hit ok.
Sixth , you need to execute them. You can do this by locating the lightning button above the text editor. There is two, one with just a pure lightning bolt, and one with an I over it, run the one without the I. Now go to File, then Close Tab. Now reconnect to your database by double clicking the only database you have, MaplestorySQL, and you should have to databases, 'test' and 'sourcename'. Expand 'sourcename' then expand 'Tables', then double click 'Accounts' , and finally right click 'Columns' then 'Send to SQL Editor'. This will show the table you need to view to easily add values to the column/rows. If you get an error saying along the lines of 'You installed the .rar verison of MySQL, windows has blocked our libraries, we are going to try to unblock these libraries, please restart the application', then try restarting the application.
Seventh and final, you need to enter your values to be able to log in to your server. YOu can do this by first finding the word 'Edit' on the tool bar and click the icon that directly follows it, once this mode is on, you can double click the column to edit that specific column. Now, find the following columns and enter the values:
ID: thisisthenumberofmyaccount
Name: thisismyusername
Password: thisismypassword
gm: 6 or 5. Depending on your source. This would set you as 'owner' allowing you to have all commands.
paypalNX: 999,999
mPoints: 999,999
cardNX: 999,999
(You can also change any values, such as 'donor' to 1 from 0. or 'donorpoints' from 0 to 10,000 to have 10,000 donor points.'
Once these are entered, hit 'Apply', a window will pop up, hit 'Apply' again, then hit 'Finish. And your finally done with creating your account and setting up your SQL!
Step 5) Setting up Netbeans:
Spoiler:
First, open it. Pretty easy, if you cant do this I would stop about 6 steps ago. Once open, click File > New Project. Once the new window is open, click 'Java' on the Categories column, and then 'Java Project with Existing Source' under the Projects column, hit next. For the project name, name it 'MoopleDev'. I will explain why later. For project location, you may choose wherever you wish. Hit next.
Second, For 'Source Package Folders:' box, hit 'Add Folder...' and locate where you put your source files, which is in 'Maplestoryv83 Source' on your desktop. Locate that folder in the open window, and then click the folder 'src' a single time, and then hit 'Open'. Now hit the 'Add FOlder...' for 'Test Package Folders:' then locate the 'scripts' folder in your 'MapleStoryv83 Source'. Once highlighted on 'scripts', hit open. Now hit Finish.
Third, on the left, right click the expandable tab 'Libraries', and click 'Add Jar/Folder'. Once the window opens, navigate to your source folder - 'MapleStoryv83 Source', and open the folder 'dist', and either Shift+Click the first one, and while still holding shift, click the last one, or hold Ctrl and click each one, or load them one by one, then hit Finish.
Fourth, now you need to change the ip to yours. While still in Netbeans, go to the expandable table 'constants'. Expand this, then there should now be a file in there named ServerConstants.java. Somewhere in that file, there should be a line along the lines of 'Public static String Host = "127.0.0.1", change the 127.0.0.1 to your ip, which can be located at http://www.whatismyip.com/
Fifth, now you need to build this project. There is a hammer, silver top, blue handle at the top of the screen, click this and wait for Netbeans to build, on the bottom right it will say 'Build succeeded' if the build went through, check for errors.
Six, and final, Now you need to go to where Netbeans built, which would either be in C:\Users\YOURUSERNAME\Documents\NetBeansProjects
OR where you had saved the project to. Once finding the folder, open it and then locate the sub folder 'dist'. Open 'dist'. In the folder 'dist' there should be a file named MoopleDev.jar. Right click this file, and click cut. Now go to your desktop and open the folder 'MapleStoryv83 Source' and then open the sub-folder 'dist' and right click in that folder, and hit paste, and overrite any files it tells you to.
Congrats! Now run the Server Start.bat in the folder 'MapleStoryv83 Source'. If you have port forwarded, you should be online! If not, you will need to follow this tutorial: http://forum.ragezone.com/f428/tut-portforward-449544/
The ports you need to open: 8484.
Step 6) Editing your Client
Spoiler:
First, open HxD, and simply drag and drop your Maplestory.exe into HxD. Now hit Ctrl+F, and type in 127.0.0.1, then click find. Once you find the three lines that have 127.0.0.1, make damn sure you hit insert first, then type your ip, which can be found at http://www.whatismyip.com/. Once done, save the file, put into your client files and run it with your Server Start.bat being open. You should now be able to logon!
FAQ:
Spoiler:
I cant get passed the login screen!?!??!?!?!??!?!
Redo step 3.
WHERE ARE ALL MI COMMANDS?!?!??!!
Check Commands.java in the path: client.command > Commands.java
Can I add you on MSN or Skype for help?
I could care less. My Skype is Sinthed, dont expect a welcoming greeting from me at first.
What is the username of the admin account?
Whatever you set it to in step 4.
When i startup my server, it says i dont have WZ folder, halp mii.
Try finding a wz folder in a source elsewhere; MoopleDev has a clean one you could use. OR use
http://www.mediafire.com/download/1m...n/v83+XMLs.zip
Just put these in your src folder and run wild!
I disconnect after character selection, can you please h4lp mi.
Forward your ports, disable a loopback adapter, if you dont know what either of those are, use Hamachi or an ip of localhost.
Any more errors, check the second question in the FAQ or go here:
http://forum.ragezone.com/f566/read-...pdates-698669/
Also, remember to use http://forum.ragezone.com/f566/help-...d-14-a-699497/ whether posting for help, or messaging me on Skype. If you don't, I hope you plan on being ignored.
Oh, and a little program that starts your server that I have used over the years, forgot who created it, credits to whoever did though. Makes starting the server for new people even easier. Just open notepad, paste the below into it, save the file as 'All Files' and name it somethinglike ServerStart.bat and put it in your MapleStoryv83 Source folder, then run it. Then from there learn to read.
Spoiler:@echo off
set a=0
title KisaStory: inactive
color 1b
:clear
cls
echo KisaStory Server Launcher
echo.
echo Commands:
echo ---------
echo start - Start KisaStory server
echo shutdown - Shut down KisaStory server and close Launcher File
echo restart - Restart KisaStory Launcher File
echo clear - Clear this window
echo ---------
echo.
:command
set /p s="Enter command: "
if "%s%"=="start" goto :start
if "%s%"=="shutdown" goto :shutdown
if "%s%"=="restart" goto :restart
if "%s%"=="clear" goto :clear
echo Wrong Command.
echo.
goto :command
:start
if "%a%"=="1" (
echo KisaStory is already active!
echo.
goto :command
)
color 4c
echo This might take awhile....
echo.
title KisaStory: activating 0/3
echo World Launching...
start /b launch_world.bat
title KisaStory: activating 1/3
ping localhost -w 10000 >nul
start /b launch_login.bat
echo World Launched.
echo.
echo Login Launching...
title KisaStory: activating 2/3
ping localhost -w 10000 >nul
echo Login Launched.
echo.
echo Channel Launching...
start /b launch_channel.bat
title KisaStory: activating 3/3
ping localhost -w 10000 >nul
color 2a
title KisaStory: fully active
set a=1
ping localhost -w 10000 >nul
echo.
goto :command
:shutdown
color 4c
title KisaStory: shutting down
echo The Server Launcher will be close in a few seconds.
ping localhost -w 100000 >nul
taskkill /im cmd.exe
:restart
color 4c
title KisaStory: restarting
echo Please type 'start' in command box after bat file have been restarted.
ping localhost -w 100000 >nul
start KisaStory.bat
taskkill /im cmd.exe
Also, here is a few commands I had made ON MoopleDev, so I know they work there, that are pretty convient at times. Easily added by copying the code and putting it into Commands.java
http://forum.ragezone.com/f427/extem...mmands-981823/



Reply With Quote


