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!
 
u need to hex edit to 0.0.0.0 or 127.0.0.1 for your own use as you are hosting using your own computer... IF you are hosting on a vps, hex edit your vps ip :).

Notes if you are using your own computer :
hex edit your client to wan ip for public but you use hex editted client ip 0.0.0.0 or 127.0.0.1 to play on your own computer
 
Upvote 0
u need to hex edit to 0.0.0.0 or 127.0.0.1 for your own use as you are hosting using your own computer... IF you are hosting on a vps, hex edit your vps ip :).

Notes if you are using your own computer :
hex edit your client to wan ip for public but you use hex editted client ip 0.0.0.0 or 127.0.0.1 to play on your own computer

ok i tried hex editted to 127.0.0.1 it's still the same .
 
Upvote 0
I still can't solve Unable to connect to login server error due to server check , a firewall block .
if someone knows how to fix it please post a reply thanks alot
 
Upvote 0
I still can't solve Unable to connect to login server error due to server check , a firewall block .
if someone knows how to fix it please post a reply thanks alot
Did you port forward? Did you hex edit the client? Did you clean+compile after changing the ip in ServerConstants.java?

Good Luck.
 
Upvote 0
Moople has a subversion system linked to NetBeans; it shows if any files have been modified, added, or deleted differently from Kevin's official version online. Files in blue mean they have been modified by a user, but not modified in the online version. Hover your cursor over the file and see the "Locally Modified" tag.
 
Upvote 0
So if i compile it with my WanIP and then copy the Jar file into the source package it still works right? It's not due to i'm not compiling it correctly or something so this is does to affect or causes the firewall error i'm facing ?
 
Upvote 0
Heyy, I'm getting a .bat error. 'Exception in thread "main" java.lang.OutOfMemory: Java heap space'. I don't know what to set the heap size to though. Any help would be appreciated.
 
Upvote 0
Heyy, I'm getting a .bat error. 'Exception in thread "main" java.lang.OutOfMemory: Java heap space'. I don't know what to set the heap size to though. Any help would be appreciated.

Means you don't have that type of space on your computer, make it like 100mb or something. That should be more than enough as most things with codes are KB not MB.

The heap size is just based on the space you want to reserve for it.
 
Upvote 0
100 MB being enough to run the Channel Server?
LOL?
You need at least 700 MB of ram in TOTAL to run the entire server, don't listen to this tool
 
Upvote 0
I got error when launching server and somebody please help me, problem cannot be JCE because I already downloaded them and added to neede places like jdk.../bin and in places like that.

Here is the error :
Code:
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.mysql.jdbc.Util.stackTraceToString(Util.java:353)
        at com.mysql.jdbc.Util.<clinit>(Util.java:118)
        at com.mysql.jdbc.NonRegisteringDriver.parseURL(NonRegisteringDriver.jav
a:712)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:280)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
        at tools.DatabaseConnection$ThreadLocalConnection.getConnection(Database
Connection.java:72)
        at tools.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseC
onnection.java:66)
        at tools.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseC
onnection.java:55)
        at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
        at java.lang.ThreadLocal.get(ThreadLocal.java:131)
        at tools.DatabaseConnection$ThreadLocalConnection.get(DatabaseConnection
.java:81)
        at tools.DatabaseConnection$ThreadLocalConnection.get(DatabaseConnection
.java:55)
        at tools.DatabaseConnection.getConnection(DatabaseConnection.java:40)
        at net.world.WorldServer.<init>(WorldServer.java:50)
        at net.world.WorldServer.getInstance(WorldServer.java:57)
        at net.world.WorldRegistryImpl.<init>(WorldRegistryImpl.java:71)
        at net.world.WorldRegistryImpl.getInstance(WorldRegistryImpl.java:88)
        at net.world.WorldServer.main(WorldServer.java:73)
Caused by: java.lang.RuntimeException: Can't load resource bundle due to underly
ing exception java.util.MissingResourceException: Can't find bundle for base nam
e com.mysql.jdbc.LocalizedErrorMessages, locale et_EE
        at com.mysql.jdbc.Messages.<clinit>(Messages.java:63)
        ... 19 more
Caused by: java.util.MissingResourceException: Can't find bundle for base name c
om.mysql.jdbc.LocalizedErrorMessages, locale et_EE
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
.java:1427)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)
        at com.mysql.jdbc.Messages.<clinit>(Messages.java:61)
        ... 19 more
Exception in thread "main" Exception in thread "main" java.lang.RuntimeException
: Could not connect to world server.java.rmi.NotBoundException: WorldRegistry

        at net.login.LoginServer.run(LoginServer.java:92)       at sun.rmi.regis
try.RegistryImpl.lookup(RegistryImpl.java:106)

        at net.login.LoginServer.main(LoginServer.java:135)     at sun.rmi.regis
try.RegistryImpl_Skel.dispatch(Unknown Source)

Caused by: java.rmi.NotBoundException: WorldRegistry    at sun.rmi.server.Unicas
tServerRef.oldDispatch(UnicastServerRef.java:386)

        at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)  at sun.r
mi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)

        at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)  at sun.r
mi.transport.Transport$1.run(Transport.java:159)

        at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386
)       at java.security.AccessController.doPrivileged(Native Method)

        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

        at sun.rmi.transport.Transport$1.run(Transport.java:159)        at sun.r
mi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

        at java.security.AccessController.doPrivileged(Native Method)   at sun.r
mi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)  at sun.r
mi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:5
35)     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)

        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTranspor
t.java:790)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:908)

        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:649)      at java.lang.Thread.run(Thread.java:662)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)  at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
r(StreamRemoteCall.java:255)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
ll.java:233)

        at java.lang.Thread.run(Thread.java:662)        at sun.rmi.server.Unicas
tRef.invoke(UnicastRef.java:359)

        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:255)    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Sou
rce)

        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
233)    at net.channel.ChannelServer.main(ChannelServer.java:394)

        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at net.login.LoginServer.run(LoginServer.java:82)
        ... 1 more
Press any key to continue . . . Press any key to continue . . .
 
Upvote 0
I got error when launching server and somebody please help me, problem cannot be JCE because I already downloaded them and added to neede places like jdk.../bin and in places like that.

Here is the error :
Code:
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.mysql.jdbc.Util.stackTraceToString(Util.java:353)
        at com.mysql.jdbc.Util.<clinit>(Util.java:118)
        at com.mysql.jdbc.NonRegisteringDriver.parseURL(NonRegisteringDriver.jav
a:712)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:280)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
        at tools.DatabaseConnection$ThreadLocalConnection.getConnection(Database
Connection.java:72)
        at tools.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseC
onnection.java:66)
        at tools.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseC
onnection.java:55)
        at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
        at java.lang.ThreadLocal.get(ThreadLocal.java:131)
        at tools.DatabaseConnection$ThreadLocalConnection.get(DatabaseConnection
.java:81)
        at tools.DatabaseConnection$ThreadLocalConnection.get(DatabaseConnection
.java:55)
        at tools.DatabaseConnection.getConnection(DatabaseConnection.java:40)
        at net.world.WorldServer.<init>(WorldServer.java:50)
        at net.world.WorldServer.getInstance(WorldServer.java:57)
        at net.world.WorldRegistryImpl.<init>(WorldRegistryImpl.java:71)
        at net.world.WorldRegistryImpl.getInstance(WorldRegistryImpl.java:88)
        at net.world.WorldServer.main(WorldServer.java:73)
Caused by: java.lang.RuntimeException: Can't load resource bundle due to underly
ing exception java.util.MissingResourceException: Can't find bundle for base nam
e com.mysql.jdbc.LocalizedErrorMessages, locale et_EE
        at com.mysql.jdbc.Messages.<clinit>(Messages.java:63)
        ... 19 more
Caused by: java.util.MissingResourceException: Can't find bundle for base name c
om.mysql.jdbc.LocalizedErrorMessages, locale et_EE
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
.java:1427)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)
        at com.mysql.jdbc.Messages.<clinit>(Messages.java:61)
        ... 19 more
Exception in thread "main" Exception in thread "main" java.lang.RuntimeException
: Could not connect to world server.java.rmi.NotBoundException: WorldRegistry

        at net.login.LoginServer.run(LoginServer.java:92)       at sun.rmi.regis
try.RegistryImpl.lookup(RegistryImpl.java:106)

        at net.login.LoginServer.main(LoginServer.java:135)     at sun.rmi.regis
try.RegistryImpl_Skel.dispatch(Unknown Source)

Caused by: java.rmi.NotBoundException: WorldRegistry    at sun.rmi.server.Unicas
tServerRef.oldDispatch(UnicastServerRef.java:386)

        at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)  at sun.r
mi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)

        at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)  at sun.r
mi.transport.Transport$1.run(Transport.java:159)

        at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386
)       at java.security.AccessController.doPrivileged(Native Method)

        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

        at sun.rmi.transport.Transport$1.run(Transport.java:159)        at sun.r
mi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

        at java.security.AccessController.doPrivileged(Native Method)   at sun.r
mi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)  at sun.r
mi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:5
35)     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)

        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTranspor
t.java:790)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:908)

        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:649)      at java.lang.Thread.run(Thread.java:662)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)  at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
r(StreamRemoteCall.java:255)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
ll.java:233)

        at java.lang.Thread.run(Thread.java:662)        at sun.rmi.server.Unicas
tRef.invoke(UnicastRef.java:359)

        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:255)    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Sou
rce)

        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
233)    at net.channel.ChannelServer.main(ChannelServer.java:394)

        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at net.login.LoginServer.run(LoginServer.java:82)
        ... 1 more
Press any key to continue . . . Press any key to continue . . .
Try reinstalling Java. Use the links in a guide on how to make a server.
 
Upvote 0
I just did about few minutes ago but it didnt help, even tried re compiling and build + clean again. I think its best for you to see and fix it tought TeamViewer, might just make things easier.
 
Upvote 0
Back