Step By Step Tutorial, How to Compile / Build your Odinms Source files with NetBeans
Download NetBeans if you don’t have it here: [Only registered and activated users can see links. ] and install it.
Remember you must have JDK6_XX to run this.
Open NetBeans IDE 6.1
Select File> NEW
Select JAVA > "Java Project with existing sources" > Click Next
Change project name to odinms, (less problems in the long run when compiling) click the browse button
Navigate to you odinms> src directory, I am using MoograMS source for this example all credits for the repack belongs to Moogra at ragezone, get it here: [Only registered and activated users can see links. ]
Click open
Now click Finish
Right click on the odinms Icon in the left window > Select properties from the menu
Highlight sources, then click "Add Folder"
Select the src folder again, click open
Next highlight Libraries
Click on the "Ad JAR/Folder button"
Hold the Ctrl key down and select all files in the dist folder EXCEPT the odinms.jar file, click Open
Now you can click OK at the bottom to close this window
Now select "Build" from the main menu> and then "Build Main Project", or hit F11
You should have two warning about "com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release"
You can ignore these, so long as you have no errors and it reports: BUILD SUCCESSFUL (total time: 3 seconds)
Congratulations you have completed a successful build of your private server source files!
Now you need to copy the odinms.jar file you just built from the source\src\dist directory into the source\dist folder and overwrite the old one
Now try you hand at Java coding, like turning on or off auto register by changing the code to either true or false in the AutoRegister.java file. Learn to code and help make MSPS better, rather than flaming repacks and whining about things not working. The more people colaberating then better it will be.
Remember to rebuild your source files after you have made any changes to you .java files and then recopy the odinms.jar file.
Enjoy…..
.
__________________
The button is used for thanking people, it is faster than typing "Thank you" The Icon is for adding to a person reputatuion that went above and beyond. Please use both when appropriate. Scubabatdan
The Following 6 Users Say Thank You to scubabatdan For This Useful Post:
Re: Step By Step Tutorial, How to Compile / Build your Odinms Source files with NetBe
Quote:
Originally Posted by skadoodle
is this for v60?
This will work for any version of odinms private server, odinms it is all java based.
.
__________________
The button is used for thanking people, it is faster than typing "Thank you" The Icon is for adding to a person reputatuion that went above and beyond. Please use both when appropriate. Scubabatdan
The Following 2 Users Say Thank You to scubabatdan For This Useful Post:
Re: Step By Step Tutorial, How to Compile / Build your Odinms Source files with NetBe
Quote:
Originally Posted by Chingatumadre
can u like give us the links to all the needed files we have to download?
The main files you need are the jave JDK6_10, NetBeans and what ever odinms source file you are using.
Here are the files I am using:
Java Files, JDK6_10, JRE6_07, JCE: [Only registered and activated users can see links. ] 89mb
NetBeans 6.1 : [Only registered and activated users can see links. ] 31.7mb
MoograMS Source, sql and WZ files : [Only registered and activated users can see links. ]
Hope this helps
.
__________________
The button is used for thanking people, it is faster than typing "Thank you" The Icon is for adding to a person reputatuion that went above and beyond. Please use both when appropriate. Scubabatdan
Re: Step By Step Tutorial, How to Compile / Build your Odinms Source files with NetBe
BTW MoograMS repack works great... I finally have my black dragon :P
__________________
The button is used for thanking people, it is faster than typing "Thank you" The Icon is for adding to a person reputatuion that went above and beyond. Please use both when appropriate. Scubabatdan
Re: Step By Step Tutorial, How to Compile / Build your Odinms Source files with NetBe
does any1 noe wher i can get a dl to launch my v60 host
krnjcboi added 69 Minutes and 34 Seconds later...< --- Please use the edit button in the future--- >
wait i got the v60 since now ms is now v60 thing is how do i debugg like with visual c++ cuz i tried to go no wrok
~edit~im not using titan ms im using odinms v60 but iono how to launch plz o and thx thumbs up it will help me eventually lol~
~edit2~i got to start using the moogra but how do i start ms now >.< in the bat when i put start it worked but now iono how to start the game sry that i suk at this ~
Last edited by krnjcboi; 09-30-2008 at 10:22 PM.
Reason: Automerged Doublepost
Re: Step By Step Tutorial, How to Compile / Build your Odinms Source files with NetBe
Quote:
Originally Posted by krnjcboi
does any1 noe wher i can get a dl to launch my v60 host
krnjcboi added 69 Minutes and 34 Seconds later...< --- Please use the edit button in the future--- >
wait i got the v60 since now ms is now v60 thing is how do i debugg like with visual c++ cuz i tried to go no wrok
Sorry, dont do TitanMS, you might try an odinms source instead. I had zero luck with c++, java based was way easier to setup and maintain. Here is v60 based odinms source and everything you need to get it up:
Downaload All Java files required JDK, JRE, JCE: [Only registered and activated users can see links. ] 89mb
Downaload All MySQL files required MySQL and Tools: [Only registered and activated users can see links. ]62mb Download Hamachi Plus Hex editor Upadted hamachi v1.0.3 18 Aug 08: [Only registered and activated users can see links. ] 1.4mb
All credits to MM_plox at [Only registered and activated users can see links. ] :
Download Repack v0.1: [Only registered and activated users can see links. ] Download XML Files : [Only registered and activated users can see links. ] Download LocalHost v60 : [Only registered and activated users can see links. ] Download Quest.wz Fix file: [Only registered and activated users can see links. ]
Good luck...
__________________
The button is used for thanking people, it is faster than typing "Thank you" The Icon is for adding to a person reputatuion that went above and beyond. Please use both when appropriate. Scubabatdan
The Following 4 Users Say Thank You to scubabatdan For This Useful Post:
Re: Step By Step Tutorial, How to Compile / Build your Odinms Source files with NetBe
Quote:
Originally Posted by wowuser32
hey i was wondering how do you get it to start like should i press debug main project?
Select "Build" from the main menu> and then "Build Main Project", or hit F11, You can not debug the main project since this has about 5 mains. And it will fail everytime you do. There is no one main project to debug. Just follow the guide step by step. Only build or clean and build the project. Then copy the new odinms.jar file that was built to the dist folder and overwrite the old one.
Hope that helps...
__________________
The button is used for thanking people, it is faster than typing "Thank you" The Icon is for adding to a person reputatuion that went above and beyond. Please use both when appropriate. Scubabatdan