Experienced Elementalist
- Joined
- Jul 8, 2008
- Messages
- 297
- Reaction score
- 126
Yes, I noticed that this thread has been created before. But over and over again, all the newbies are asking "How do we compile?" And then we tell them to search.
And then they can't find one, because we only have one guide AFAIK on Ragezone.
Hopefully, with this guide, we can easily redirect them to "How to compile".
Before you guys go like "This guide is stupid, how hard is it to compile >< *troll*", I've checked a lot of help threads and a lot of them can be answered by "Compile." So this is dedicated to those that do not know how to compile. If you are here to flame, please leave.
Step One:
Obviously, you should download Netbeans.
Here is the direct link:
Now download and install. Make sure you already have Java JDK (see "How to make a Maplestory Private Server" guides, they will have a link.)
Now let's open it.
You should get a screen like this:
Step 2:
Create a New Project by clicking the orange + button on the top left.
Step 3:
Then, click "Java with Existing Sources", then click Next:
Then name your project. Feel free to change it to anything else, depending on your source. Some might use odinms, some might use shootsource, etc.
To find out, right click your world.bat file and click Edit. Then look at the jar files. One of them would be 'different', eg. bubbles.jar, odinms.jar, etc.
For this sake, since I will demonstrate with MoopleDEV, I will use MoopleDEV because that's what the dist file says.
Then click Next.
Step 4:
Click the Add Folder button under "Source Packages".
Step 5:
Go to your source folder, and to the 'src' folder.
Step 6:
Click Open, and then click the "Add Test Packages". Click your entire folder (dist, scripts, sqls, etc.)- If you get an error, just add scripts, the rest is useless to add anyways, technically.
When you are finished, it should look like this:
Now click Finish.
Step 7:
Now click the the + button next to your package on the top left and right-click "Libraries" and click "Add Jar"
Step 8:
Go to your source folder (in my case, MoopleDEV) and go into the `dist` folder.
Press Ctrl and click all the dist files you see there:
Then click Open.
Step 9:
Press F11 to build. Or press this button:
Step 10:
Now go to My Documents -> NetBeanProjects -> MoopleDEV.
Open the dist folder in it.
Inside should be a MoopleDEV.jar file. Copy it, and paste it into your SOURCE'S DIST FOLDER.
Now restart your bat files and you're done.
You must open Netbeans everytime you want to edit the source files. You DO NOT have to recreate a new project, just use the one you JUST made and click F8 after editing.
As stated before, flamers can get out of here.
This might be useless for some people, useful for others.
Thank me if I helped :
Credits to kevintjuh93 for MoopleDEV.
And me for writing the guide.
And then they can't find one, because we only have one guide AFAIK on Ragezone.
Hopefully, with this guide, we can easily redirect them to "How to compile".
Before you guys go like "This guide is stupid, how hard is it to compile >< *troll*", I've checked a lot of help threads and a lot of them can be answered by "Compile." So this is dedicated to those that do not know how to compile. If you are here to flame, please leave.
Step One:
Obviously, you should download Netbeans.
Here is the direct link:
You must be registered to see links
Now download and install. Make sure you already have Java JDK (see "How to make a Maplestory Private Server" guides, they will have a link.)
Now let's open it.
You should get a screen like this:
Step 2:
Create a New Project by clicking the orange + button on the top left.
Step 3:
Then, click "Java with Existing Sources", then click Next:
Then name your project. Feel free to change it to anything else, depending on your source. Some might use odinms, some might use shootsource, etc.
To find out, right click your world.bat file and click Edit. Then look at the jar files. One of them would be 'different', eg. bubbles.jar, odinms.jar, etc.
For this sake, since I will demonstrate with MoopleDEV, I will use MoopleDEV because that's what the dist file says.
Then click Next.
Step 4:
Click the Add Folder button under "Source Packages".
Step 5:
Go to your source folder, and to the 'src' folder.
Step 6:
Click Open, and then click the "Add Test Packages". Click your entire folder (dist, scripts, sqls, etc.)- If you get an error, just add scripts, the rest is useless to add anyways, technically.
When you are finished, it should look like this:
Now click Finish.
Step 7:
Now click the the + button next to your package on the top left and right-click "Libraries" and click "Add Jar"
Step 8:
Go to your source folder (in my case, MoopleDEV) and go into the `dist` folder.
Press Ctrl and click all the dist files you see there:
Then click Open.
Step 9:
Press F11 to build. Or press this button:
Step 10:
Now go to My Documents -> NetBeanProjects -> MoopleDEV.
Open the dist folder in it.
Inside should be a MoopleDEV.jar file. Copy it, and paste it into your SOURCE'S DIST FOLDER.
Now restart your bat files and you're done.
You must open Netbeans everytime you want to edit the source files. You DO NOT have to recreate a new project, just use the one you JUST made and click F8 after editing.
As stated before, flamers can get out of here.
This might be useless for some people, useful for others.
Thank me if I helped :
Credits to kevintjuh93 for MoopleDEV.
And me for writing the guide.
Last edited by a moderator: