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!

[Tool]How to Compile With Netbeans [Detailed]

Initiate Mage
Joined
Jan 6, 2011
Messages
1
Reaction score
0
I am getting this error:

init:
Deleting: C:\Users\David\Documents\NetBeansProjects\odinms\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\David\Documents\NetBeansProjects\odinms\build\built-jar.properties
Compiling 368 source files to C:\Users\David\Documents\NetBeansProjects\odinms\build\classes
C:\Users\David\Desktop\TestMS Database(v62)\src\net\sf\odinms\client\AutoRegister.java:73: hexSha1(java.lang.String) has private access in net.sf.odinms.client.LoginCrypto
ps.setString(2, LoginCrypto.hexSha1(pwd));
1 error
C:\Users\David\Documents\NetBeansProjects\odinms\nbproject\build-impl.xml:528: The following error occurred while executing this line:
C:\Users\David\Documents\NetBeansProjects\odinms\nbproject\build-impl.xml:261: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 11 seconds)
Help?:sneaky2:
 
Junior Spellweaver
Joined
Jan 30, 2011
Messages
106
Reaction score
21
wat does netbean do anyway?

It allows you to compile files?...

I am getting this error:

init:
Deleting: C:\Users\David\Documents\NetBeansProjects\odinms\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\David\Documents\NetBeansProjects\odinms\build\built-jar.properties
Compiling 368 source files to C:\Users\David\Documents\NetBeansProjects\odinms\build\classes
C:\Users\David\Desktop\TestMS Database(v62)\src\net\sf\odinms\client\AutoRegister.java:73: hexSha1(java.lang.String) has private access in net.sf.odinms.client.LoginCrypto
ps.setString(2, LoginCrypto.hexSha1(pwd));
1 error
C:\Users\David\Documents\NetBeansProjects\odinms\nbproject\build-impl.xml:528: The following error occurred while executing this line:
C:\Users\David\Documents\NetBeansProjects\odinms\nbproject\build-impl.xml:261: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 11 seconds)
Help?:sneaky2:

Are you sure you added jar Files?
It should work if you have read it carefully.
 
Last edited:
Newbie Spellweaver
Joined
Jan 30, 2011
Messages
10
Reaction score
0
im using moople and i clicked on launch_server and it opened and all that junk but idk how to get into the server.help please?
 
Last edited:
Initiate Mage
Joined
Jan 19, 2011
Messages
3
Reaction score
0
err yeah, I abandoned my previous source and went with mapleblade (v83)

I STILL get this error :grr:

Code:
init:
deps-jar:
Created dir: C:\Users\Rajin\Desktop\Private Server (v83)\NetBeans\build
Updating property file: C:\Users\Rajin\Desktop\Private Server (v83)\NetBeans\build\built-jar.properties
Created dir: C:\Users\Rajin\Desktop\Private Server (v83)\NetBeans\build\classes
Created dir: C:\Users\Rajin\Desktop\Private Server (v83)\NetBeans\build\empty
Compiling 440 source files to C:\Users\Rajin\Desktop\Private Server (v83)\NetBeans\build\classes
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketDecoder.java:31: net.mina.MaplePacketDecoder is not abstract and does not override abstract method doDecode(org.apache.mina.common.IoSession,org.apache.mina.common.ByteBuffer,org.apache.mina.filter.codec.ProtocolDecoderOutput) in org.apache.mina.filter.codec.CumulativeProtocolDecoder
public class MaplePacketDecoder extends CumulativeProtocolDecoder {
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketDecoder.java:49: cannot find symbol
symbol  : method getByte()
location: class org.apache.mina.core.buffer.IoBuffer
            Byte packetHeader = in.getByte();
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketDecoder.java:60: cannot find symbol
symbol  : method get(java.lang.Byte[],int,int)
location: class org.apache.mina.core.buffer.IoBuffer
            in.get(decryptedPacket, 0, decoderState.packetlength);
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketDecoder.java:62: crypt(byte[]) in tools.MapleAESOFB cannot be applied to (java.lang.Byte[])
            client.getReceiveCrypto().crypt(decryptedPacket);
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketDecoder.java:63: decryptData(byte[]) in net.mina.MapleCustomEncryption cannot be applied to (java.lang.Byte[])
            MapleCustomEncryption.decryptData(decryptedPacket);
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketDecoder.java:40: method does not override or implement a method from a supertype
    @Override
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketEncoder.java:31: net.mina.MaplePacketEncoder is not abstract and does not override abstract method dispose(org.apache.mina.common.IoSession) in org.apache.mina.filter.codec.ProtocolEncoder
public class MaplePacketEncoder implements ProtocolEncoder {
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketEncoder.java:37: incompatible types
found   : java.lang.Byte[]
required: byte[]
            final byte[] unencrypted = new Byte[input.length];
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketEncoder.java:39: incompatible types
found   : java.lang.Byte[]
required: byte[]
            final byte[] ret = new Byte[unencrypted.length + 4];
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketEncoder.java:47: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
                out.write(out_buffer);
C:\Users\Rajin\Desktop\Private Server (v83)\Official MapleBlade v83 Source\MapleBlade\src\net\mina\MaplePacketEncoder.java:51: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
            out.write(IoBuffer.wrap(((MaplePacket) message).getBytes()));
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
11 errors
C:\Users\Rajin\Desktop\Private Server (v83)\NetBeans\nbproject\build-impl.xml:528: The following error occurred while executing this line:
C:\Users\Rajin\Desktop\Private Server (v83)\NetBeans\nbproject\build-impl.xml:261: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 12 seconds)

pl0x tell me what to fix :laugh:
I've tried a few things already...:glare:
 
Newbie Spellweaver
Joined
Feb 5, 2011
Messages
44
Reaction score
0
What does pressing F8 after editing do? You say that we must press it after editing but I've yet to see it do anything.
 
Newbie Spellweaver
Joined
Oct 1, 2008
Messages
39
Reaction score
0
wtf? MY 4057KB hellyms jar file in not compile, so if i compile it will make a new one but that one has 1997 kb? any help?

---------- Post added at 05:55 PM ---------- Previous post was at 04:52 PM ----------

Help me im getting crazy!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Initiate Mage
Joined
Dec 17, 2010
Messages
2
Reaction score
0
I'm guessing your rachel o.o you forgot to cross out your name on your 3rd picture. nice guide :D
 
Newbie Spellweaver
Joined
Feb 24, 2011
Messages
17
Reaction score
0
Ehm... You say that we should add all files in dist folder to JAR/Folder thing but you have just selected all exept moopleDEV.jar :O Should i add MoopleDEV.jar too?
 
Newbie Spellweaver
Joined
Mar 25, 2011
Messages
6
Reaction score
0
I've got a problem , if you can help in any way....
I'm using DelphiMS source v83 . But ican't find my src.. so is it okay to skip it or you have a way to solve it / find it? :blink:
 
Skilled Illusionist
Joined
Feb 26, 2009
Messages
307
Reaction score
36
init:
Deleting: C:\Users\MATRIX\Documents\NetBeansProjects\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\MATRIX\Documents\NetBeansProjects\build\built-jar.properties
Compiling 96 source files to C:\Users\MATRIX\Documents\NetBeansProjects\build\classes
C:\Users\MATRIX\Documents\Lars zijn stuff\Maplestory server\MapleStory Repacks\xspro repack\src\net\mina\MaplePacketDecoder.java:31: net.mina.MaplePacketDecoder is not abstract and does not override abstract method doDecode(org.apache.mina.common.IoSession,org.apache.mina.common.ByteBuffer,org.apache.mina.filter.codec.ProtocolDecoderOutput) in org.apache.mina.filter.codec.CumulativeProtocolDecoder
public class MaplePacketDecoder extends CumulativeProtocolDecoder {
C:\Users\MATRIX\Documents\Lars zijn stuff\Maplestory server\MapleStory Repacks\xspro repack\src\net\mina\MaplePacketDecoder.java:38: method does not override or implement a method from a supertype
@Override
C:\Users\MATRIX\Documents\Lars zijn stuff\Maplestory server\MapleStory Repacks\xspro repack\src\net\mina\MaplePacketEncoder.java:31: net.mina.MaplePacketEncoder is not abstract and does not override abstract method dispose(org.apache.mina.common.IoSession) in org.apache.mina.filter.codec.ProtocolEncoder
public class MaplePacketEncoder implements ProtocolEncoder {
C:\Users\MATRIX\Documents\Lars zijn stuff\Maplestory server\MapleStory Repacks\xspro repack\src\net\mina\MaplePacketEncoder.java:46: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
out.write(out_buffer);
C:\Users\MATRIX\Documents\Lars zijn stuff\Maplestory server\MapleStory Repacks\xspro repack\src\net\mina\MaplePacketEncoder.java:50: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
out.write(IoBuffer.wrap(((MaplePacket) message).getBytes()));
Note: C:\Users\MATRIX\Documents\Lars zijn stuff\Maplestory server\MapleStory Repacks\xspro repack\src\tools\MonsterDropCreator.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
C:\Users\MATRIX\Documents\NetBeansProjects\nbproject\build-impl.xml:521: The following error occurred while executing this line:
C:\Users\MATRIX\Documents\NetBeansProjects\nbproject\build-impl.xml:258: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 3 seconds)
 
Last edited:
Initiate Mage
Joined
Mar 19, 2011
Messages
1
Reaction score
0
I get this too:

Code:
init:
Deleting: C:\Documents and Settings\Administrator\Mijn documenten\NetBeansProjects\ImprovedStory\build\built-jar.properties
deps-jar:
Updating property file: C:\Documents and Settings\Administrator\Mijn documenten\NetBeansProjects\ImprovedStory\build\built-jar.properties
Compiling 433 source files to C:\Documents and Settings\Administrator\Mijn documenten\NetBeansProjects\ImprovedStory\build\classes
C:\Documents and Settings\Administrator\Mijn documenten\Downloads\PS\ImprovedStoryV83\src\server\maps\MapleMap.java:1703: package net.sf.odinms.server.life does not exist
    public void addMonsterSpawn(net.sf.odinms.server.life.MapleMonster mob, int mobTime) {
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
C:\Documents and Settings\Administrator\Mijn documenten\NetBeansProjects\ImprovedStory\nbproject\build-impl.xml:528: The following error occurred while executing this line:
C:\Documents and Settings\Administrator\Mijn documenten\NetBeansProjects\ImprovedStory\nbproject\build-impl.xml:261: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 14 seconds)

Please help! :(::sleep:

PS: Im using ImprovedStory
 
Last edited:
Initiate Mage
Joined
Apr 21, 2011
Messages
1
Reaction score
0
THANKS A LOT!!! MY SERVER IS NOW DONE AND I WOULDNT HAVE FINISHED IT IF U WERE NOT BORN BY UR MAMA!XD i apologize for the caps lock,(too excited):thumbup:
 
Initiate Mage
Joined
Apr 29, 2011
Messages
3
Reaction score
0
init:
Deleting: D:\My Documents\NetBeansProjects\MoopleDEV\build\built-jar.properties
deps-jar:
Updating property file: D:\My Documents\NetBeansProjects\MoopleDEV\build\built-jar.properties
Compiling 95 source files to D:\My Documents\NetBeansProjects\MoopleDEV\build\classes
C:\Documents and Settings\Owner\Desktop\Raggio MS\MoopleDEV\src\net\mina\MaplePacketDecoder.java:31: net.mina.MaplePacketDecoder is not abstract and does not override abstract method doDecode(org.apache.mina.common.IoSession,org.apache.mina.common.ByteBuffer,org.apache.mina.filter.codec.ProtocolDecoderOutput) in org.apache.mina.filter.codec.CumulativeProtocolDecoder
public class MaplePacketDecoder extends CumulativeProtocolDecoder {
C:\Documents and Settings\Owner\Desktop\Raggio MS\MoopleDEV\src\net\mina\MaplePacketDecoder.java:38: method does not override or implement a method from a supertype
@Override
C:\Documents and Settings\Owner\Desktop\Raggio MS\MoopleDEV\src\net\mina\MaplePacketEncoder.java:31: net.mina.MaplePacketEncoder is not abstract and does not override abstract method dispose(org.apache.mina.common.IoSession) in org.apache.mina.filter.codec.ProtocolEncoder
public class MaplePacketEncoder implements ProtocolEncoder {
C:\Documents and Settings\Owner\Desktop\Raggio MS\MoopleDEV\src\net\mina\MaplePacketEncoder.java:46: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
out.write(out_buffer);
C:\Documents and Settings\Owner\Desktop\Raggio MS\MoopleDEV\src\net\mina\MaplePacketEncoder.java:50: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
out.write(IoBuffer.wrap(((MaplePacket) message).getBytes()));
Note: C:\Documents and Settings\Owner\Desktop\Raggio MS\MoopleDEV\src\tools\MonsterDropCreator.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
D:\My Documents\NetBeansProjects\MoopleDEV\nbproject\build-impl.xml:603: The following error occurred while executing this line:
D:\My Documents\NetBeansProjects\MoopleDEV\nbproject\build-impl.xml:245: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 2 seconds)

I Keep Getting this
 
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
16
Reaction score
0
This tutorial is crystal, everything is here. If you get errors while compiling (Build Failed) its probably your repack/source. I know this because everytime i get Build Failed I leech what I can and get a new source.
 
Newbie Spellweaver
Joined
Jun 26, 2011
Messages
7
Reaction score
0
Hmm help please... when i go to my documents and than moopledev their is no dist folder in their its only Build, and nbproject, what do i do ? please help me :\:?::/:

---------- Post added at 10:54 PM ---------- Previous post was at 10:45 PM ----------

Hmm help please... when i go to my documents and than moopledev their is no dist folder in their its only Build, and nbproject, what do i do ? please help me :\:?::/:

If u do help and i get my server running i will GM youh ;\ im also having a few other errors so if you dont mind PMing me. Please. i really wanna get my server running ive been trying for so many months please. \:::ehh::thumbdown:

---------- Post added 27-06-11 at 12:06 AM ---------- Previous post was 26-06-11 at 10:54 PM ----------

Hmm help please... when i go to my documents and than moopledev their is no dist folder in their its only Build, and nbproject, what do i do ? please help me :\:?::/:

---------- Post added at 10:54 PM ---------- Previous post was at 10:45 PM ----------



If u do help and i get my server running i will GM youh ;\ im also having a few other errors so if you dont mind PMing me. Please. i really wanna get my server running ive been trying for so many months please. \:::ehh::thumbdown:

Nvm it fails to compile idk why. lmao.

---------- Post added at 12:24 AM ---------- Previous post was at 12:06 AM ----------

I get this error when i press f11 to compile >:\


init:
deps-jar:
Created dir: C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build
Updating property file: C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\built-jar.properties
Created dir: C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\classes
Created dir: C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\empty
Created dir: C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\generated-sources\ap-source-output
Compiling 434 source files to C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\classes
C:\Documents and Settings\Amir\Desktop\Moople\src\net\channel\handler\BuyCSItemHandler.java:222: cannot find symbol
symbol : method enableCSUse0()
location: class tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.enableCSUse0());
C:\Documents and Settings\Amir\Desktop\Moople\src\net\channel\handler\BuyCSItemHandler.java:223: cannot find symbol
symbol : method enableCSUse1()
location: class tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.enableCSUse1());
C:\Documents and Settings\Amir\Desktop\Moople\src\net\channel\handler\BuyCSItemHandler.java:224: cannot find symbol
symbol : method enableCSUse2()
location: class tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.enableCSUse2());
C:\Documents and Settings\Amir\Desktop\Moople\src\net\channel\handler\BuyCSItemHandler.java:225: cannot find symbol
symbol : method enableCSUse3()
location: class tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.enableCSUse3());
4 errors
C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\nbproject\build-impl.xml:603: The following error occurred while executing this line:
C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\nbproject\build-impl.xml:245: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 13 seconds)
:thumbdown::blushing: PLease help me fix this ? what is this ? ]:)::$::*::thumbdown:
 
Newbie Spellweaver
Joined
Jun 26, 2011
Messages
7
Reaction score
0
I get this error when i press f11 to compile >:\


init:
deps-jar:
Created dir: C:\Documents and Settings\Amir\My Documents\NetBea
nsProjects\MoopleDev\build
Updating property file: C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\built-jar.properties
Created dir: C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\classes
Created dir: C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\empty
Created dir: C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\generated-sources\ap-source-output
Compiling 434 source files to C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\build\classes
C:\Documents and Settings\Amir\Desktop\Moople\src\net\channel\handler\BuyCSItemHandler.java:222: cannot find symbol
symbol : method enableCSUse0()
location: class tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.enableCSUse0());
C:\Documents and Settings\Amir\Desktop\Moople\src\net\channel\handler\BuyCSItemHandler.java:223: cannot find symbol
symbol : method enableCSUse1()
location: class tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.enableCSUse1());
C:\Documents and Settings\Amir\Desktop\Moople\src\net\channel\handler\BuyCSItemHandler.java:224: cannot find symbol
symbol : method enableCSUse2()
location: class tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.enableCSUse2());
C:\Documents and Settings\Amir\Desktop\Moople\src\net\channel\handler\BuyCSItemHandler.java:225: cannot find symbol
symbol : method enableCSUse3()
location: class tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.enableCSUse3());
4 errors
C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\nbproject\build-impl.xml:603: The following error occurred while executing this line:
C:\Documents and Settings\Amir\My Documents\NetBeansProjects\MoopleDev\nbproject\build-impl.xml:245: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 13 seconds)
:thumbdown::blushing: PLease help me fix this ? what is this ? ]:)::$::*::thumbdown:[/QUOTE][/COLOR]
 
Back
Top