Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tools] Compiling with NetBeans [Odin]

om nom nom.
Loyal Member
Joined
Nov 30, 2007
Messages
299
Reaction score
9
Post any bugs, problems, or issues HERE!
[ame=http://forum.ragezone.com/showthread.php?t=406087]Innovative's Guide Library![/ame]

Okay, in order to modify some commands and for example the scrolling header, you need to know how to compile your server files.

Downloads:
NetBeans IDE :

Download the "All" bundle.

Step One -
Open up NetBeans.
It might take a while, so be patient.

Step Two -
Once it has opened and finished initialising.
Go to:
File > New Project

Under "Categories" select "Java"
Under "Projects" select "Java Project with Existing Sources"
And press "Next"
Innovative - [Tools] Compiling with NetBeans [Odin] - RaGEZONE Forums


Have your project name as "odinms" as it cuts down troubles later on after compiling.
In the field "Project Folder" browse to your server files folder.
Press Next
Innovative - [Tools] Compiling with NetBeans [Odin] - RaGEZONE Forums


Click "Add" in the "Source Package Folders" section and locate your "src" directory within your server files.
Innovative - [Tools] Compiling with NetBeans [Odin] - RaGEZONE Forums


Press Finish

Step Three -
Now Build your project! [Press F11] Or go to:
Build > Build Main Project

Woah! 100 Errors!
Innovative - [Tools] Compiling with NetBeans [Odin] - RaGEZONE Forums


Not to worry - Keep reading.

Step Four -
Okay, you have you 100 errors, how are you going to fix it?
Right click "Libraries" in the Projects window and select "Add Jar/Folder"
Browse to your "dist" folder within your server files and add all the .jar's except for "odinms.jar"
Innovative - [Tools] Compiling with NetBeans [Odin] - RaGEZONE Forums


Step Five -
Now build it again, and your errors should have all gone away!
If you get warnings, dont worry about it.

Step Six -
After a successful build, navigate to your project folder and you should see a "dist" folder.
Inside should be "odinms.jar" copy this into your other "dist" folder deeper into your folder.
Innovative - [Tools] Compiling with NetBeans [Odin] - RaGEZONE Forums


That is how you compile with NetBeans!
 
Last edited by a moderator:
Junior Spellweaver
Joined
May 27, 2008
Messages
196
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

wow thx alot. it helps...

EDIT: when i choose my odinmsfile ... its says Cannot place the project in a project folder that already contains the "dist" folder..
 
Last edited:
Initiate Mage
Joined
Jun 1, 2008
Messages
2
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

make a new folder "Yourservername" then put the server files "odinms revblahblah" into it their should be no problem and when i compile with it and start server no one can connect besides me.
 
Newbie Spellweaver
Joined
May 31, 2008
Messages
6
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

how do i fix this... error code : -2147287038 (Unknown error 0x80030002)
 
Initiate Mage
Joined
Jun 1, 2008
Messages
2
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

remember this is for odin only, what did you do please list the steps.
 
Newbie Spellweaver
Joined
May 27, 2008
Messages
14
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

Can any1 help me if to patch can i use TortoiseSVN? or must use netbeans?
 
Newbie Spellweaver
Joined
Apr 11, 2008
Messages
5
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

When I set it to "C:\Documents and Settings\Admin\Desktop\PhoenixOdin\OdinMS.Rev947"

I get "Project folder cannot be created."
 
Newbie Spellweaver
Joined
Apr 9, 2008
Messages
20
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

So how do I compile in new things?
 
Newbie Spellweaver
Joined
Dec 14, 2007
Messages
17
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

i have a problem in step 2 when i browse and target my Odinms folder it sais Error because i already have Dist folder in there... what can i do?
 
Newbie Spellweaver
Joined
Apr 22, 2008
Messages
8
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

I complied and all i have was a 1kb odinms.jar. Can anyone help me =O
 
Skilled Illusionist
Joined
Apr 29, 2008
Messages
310
Reaction score
1
Re: [Guide] Compiling with NetBeans [Odin]

i have a problem in step 2 when i browse and target my Odinms folder it sais Error because i already have Dist folder in there... what can i do?
i also have that problem it would be nice if any1 can answer
 
Newbie Spellweaver
Joined
Apr 30, 2008
Messages
29
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

Hey Innovative ,
I need some helps.
May i know how do i make a npc which allows me to max all first to 4th jobs skills?
 
Newbie Spellweaver
Joined
Feb 21, 2008
Messages
12
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

THX Nice guide.
Though havent expected to find such a guide at Rz
Fixed my logger factory compile error thx
 
Newbie Spellweaver
Joined
Jun 4, 2008
Messages
5
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

What does compiling do? o_O
 
Newbie Spellweaver
Joined
May 20, 2008
Messages
5
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

Even after i add the files to the library i still get errors...
 
Newbie Spellweaver
Joined
Apr 19, 2008
Messages
6
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

hmm i nver get 100 error but 45 error how to fix??
 
Newbie Spellweaver
Joined
May 29, 2008
Messages
56
Reaction score
1
Re: [Guide] Compiling with NetBeans [Odin]

When I start netbeans, in the categories, it doesn't show any files...
 
Initiate Mage
Joined
Oct 10, 2007
Messages
2
Reaction score
0
Re: [Guide] Compiling with NetBeans [Odin]

I'm sorry if its a stupid question but I know little of java. I can't find a "dist" folder let alone any .jar files.

Wait let me correct myself, I find a "dist" folder inside the server package, but the only .jar file their IS the odinms.jar file you specified to leave out.

Any help?

Thanks in advance!

-DA
 
Back
Top