MoopleDEV FAQ | Bugs/Errors

Joined
Jun 30, 2008
Messages
3,451
Reaction score
1,619
Dear MoopleDEV users!

My thread is getting spammed with bugs and with people that need help with something. In order to prevent that I will set up this FAQ.

More rules will come later and Questions/Answers will be added later.

Let's start of with a few rules:
  • Only report bugs when you are sure it is caused by 'me', if you caused it yourself, don't ask for help in here.
  • Don't ask how to add custom stuff. Only if you have some problems with non-RMI.
  • You can report bugs in this thread OR in the release thread.
  • Read the FAQ first, before posting an error.

I have to build to FAQ, so just report bugs/errors, I will try to fix all of them and I will most likely create links in this post to the fix.

Thanks for using my source and for all the support!
 
Hey Ragezoner,

I have a error when i am setting up My MapleStory server for testing!

I compiled + edited the server constants and launched the server but it gives me an error as stated in the title.Here are some screenshots on the Error and my server constants

Any help given would be appreciated

Note:Sorry for wasting your time

Here are the screenshots: and

Dude, upload your images to imageshack or something.
 
Upvote 0
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.PacketProcessor.<init>(PacketProcessor.java:38)
at net.PacketProcessor.getProcessor(PacketProcessor.java:67)
at net.login.LoginServer.run(LoginServer.java:101)
at net.login.LoginServer.main(LoginServer.java:135)
Caused by: java.lang.NullPointerException
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at net.RecvPacketOpcode.getDefaultProperties(RecvPacketOpcode.java:187)
at net.RecvPacketOpcode.<clinit>(RecvPacketOpcode.java:195)
... 4 more
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.PacketProcessor.<init>(PacketProcessor.java:38)
at net.PacketProcessor.getProcessor(PacketProcessor.java:67)
at net.channel.ChannelServer.run(ChannelServer.java:183)
at net.channel.ChannelServer.main(ChannelServer.java:383)
Caused by: java.lang.NullPointerException
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at net.RecvPacketOpcode.getDefaultProperties(RecvPacketOpcode.java:187)
at net.RecvPacketOpcode.<clinit>(RecvPacketOpcode.java:195)
... 4 more

I get this error, Any help?
 
Upvote 0
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.PacketProcessor.<init>(PacketProcessor.java:38)
at net.PacketProcessor.getProcessor(PacketProcessor.java:67)
at net.login.LoginServer.run(LoginServer.java:101)
at net.login.LoginServer.main(LoginServer.java:135)
Caused by: java.lang.NullPointerException
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at net.RecvPacketOpcode.getDefaultProperties(RecvPacketOpcode.java:187)
at net.RecvPacketOpcode.<clinit>(RecvPacketOpcode.java:195)
... 4 more
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.PacketProcessor.<init>(PacketProcessor.java:38)
at net.PacketProcessor.getProcessor(PacketProcessor.java:67)
at net.channel.ChannelServer.run(ChannelServer.java:183)
at net.channel.ChannelServer.main(ChannelServer.java:383)
Caused by: java.lang.NullPointerException
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at net.RecvPacketOpcode.getDefaultProperties(RecvPacketOpcode.java:187)
at net.RecvPacketOpcode.<clinit>(RecvPacketOpcode.java:195)
... 4 more

I get this error, Any help?
I don't have ChannelServer and LoginServer anymore... so wtf?
 
Upvote 0
@Kevin
I have an issue where after you make a character and try to log in it gets stuck after you type in your PIC then it brings you back to login screen and says unable to connect. I have everything clean other then the modified server constants, everything is port forwarded correctly, I also executed all of the sqls and the only thing I changed is I manually created an account (made id 1 then user and pass and gm), might that be the issue?
 
Last edited:
Upvote 0
Is there a way to permanently take out GM server? I've already deleted the gm, gm.mina, gm.server, gm.serverhandler files and edited the server.java, mapleclient & player logged in handlers, but everytime a GM logs on and someone makes a character, they will automaticly have /m commands and will talk in white chat. I put my ini on gmserver=false also.
 
Upvote 0
DuelForCode - how does your project folder look like ? it should look something like this
kevintjuh93 - MoopleDEV FAQ | Bugs/Errors - RaGEZONE Forums
 
Upvote 0
Just re-do the JCE

K i re did it and it works thanks but i had another problem i open the started bat and it showed me this error. i already use netbean to Build and copy the dlist files inside the source file of the dlist any idea what i did wrong ? Thanks
 

Attachments

  • Compiling - MoopleDEV FAQ | Bugs/Errors - RaGEZONE Forums
    Compiling.webp
    34.1 KB · Views: 43
Upvote 0
Hey can you help me with this?
Im using rev 116 :

I added this commands under player commands:
Code:
} else if (sub[0].equals("buygml")) {
                if (player.getMeso() >= 1000000000) {
                    player.gainMeso(-1000000000, true);
                          MapleInventoryManipulator.addById(c, 4000313, (short) 1);
                    player.dropMessage(" You have lost 1,000,000,000 mesos and have gain 1 GML.");
                 player.dropMessage(" You now have a total of  " + player.getItemQuantity(4000313, true) +" GML.");
                } else {
                    player.dropMessage(" You didnt even have 1 billion Meso");
                }
                 } else if (sub[0].equalsIgnoreCase("sellgml")) {
                int meso = 1000000000 - player.getMeso();
                     if (c.getPlayer().haveItem(4000313)) {
                    MapleInventoryManipulator.removeById(c, MapleInventoryType.ETC, 4000313, 1, true, true);
                    player.gainMeso(meso, true);
                   player.dropMessage(" You have lost 1 GML and meso have gain " + meso + "mesos.");
                player.dropMessage(" You are left with  " + player.getItemQuantity(4000313, true) +" GML.");
                } else { 
                         player.dropMessage("You do not even have 1 GML.");
                }

This is the error i got :
Code:
init:
Deleting: C:\Documents and Settings\Hello JJ\My Documents\NetBeansProjects\Moopledev\build\built-jar.properties
deps-jar:
Updating property file: C:\Documents and Settings\Hello JJ\My Documents\NetBeansProjects\Moopledev\build\built-jar.properties
Compiling 3 source files to C:\Documents and Settings\Hello JJ\My Documents\NetBeansProjects\Moopledev\build\classes
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:86: error: cannot find symbol
                if (player.getMeso() >= 1000000000) {
  symbol:   method getMeso()
  location: class player
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:87: error: cannot find symbol
                    player.gainMeso(-1000000000, true);
  symbol:   method gainMeso(int,boolean)
  location: class player
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:89: error: cannot find symbol
                    player.dropMessage(" You have lost 1,000,000,000 mesos and have gain 1 GML.");
  symbol:   method dropMessage(String)
  location: class player
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:90: error: cannot find symbol
                 player.dropMessage(" You now have a total of  " + player.getItemQuantity(4000313, true) +" GML.");
  symbol:   method getItemQuantity(int,boolean)
  location: class player
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:92: error: cannot find symbol
                    player.dropMessage(" You didnt even have 1 billion Meso");
  symbol:   method dropMessage(String)
  location: class player
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:95: error: cannot find symbol
                int meso = 1000000000 - player.getMeso();
  symbol:   method getMeso()
  location: class player
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:98: error: cannot find symbol
                    player.gainMeso(meso, true);
  symbol:   method gainMeso(int,boolean)
  location: class player
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:99: error: cannot find symbol
                   player.dropMessage(" You have lost 1 GML and meso have gain " + meso + "mesos.");
  symbol:   method dropMessage(String)
  location: class player
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:100: error: cannot find symbol
                player.dropMessage(" You are left with  " + player.getItemQuantity(4000313, true) +" GML.");
  symbol:   method getItemQuantity(int,boolean)
  location: class player
C:\Documents and Settings\Hello JJ\Desktop\moopledev\src\client\command\Commands.java:102: error: cannot find symbol
                         player.dropMessage("You do not even have 1 GML.");
  symbol:   method dropMessage(String)
  location: class player
10 errors
C:\Documents and Settings\Hello JJ\My Documents\NetBeansProjects\Moopledev\nbproject\build-impl.xml:603: The following error occurred while executing this line:
C:\Documents and Settings\Hello JJ\My Documents\NetBeansProjects\Moopledev\nbproject\build-impl.xml:245: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 9 seconds)

Please help me fix!
 
Upvote 0
Hi does anyone the solution for this error? i've already disable my firewall and opened the required port.
Thanks
 

Attachments

  • firewall - MoopleDEV FAQ | Bugs/Errors - RaGEZONE Forums
    firewall.webp
    9.1 KB · Views: 57
Upvote 0
Back