Page 1 of 1

MMOCore Problems

Posted: Sat Jul 25, 2009 12:09 pm
by Thunderb0lt
L2J Revision 3310:
L2JDP Revision 6430:

When firing up my Gameserver i get two errors regarding MMOCore. I tried to fix them myself but without success. Since connecting to my Server is no longer possible any help is much appreciated. You get to server selection screen but then nothing happens. No error messages are displayed neighter in Server logs nor on client side. I think connection is not possible because of the second error:

1st:

Code: Select all

Loading Server Scripts----------1. ERROR in C:\Users\Marcel\Desktop\L2J Final\gameserver\data\scripts\handlers\admincommandhandlers\AdminEditChar.java (at line 818)        ip = client.getConnection().getInetAddress().getHostAddress();                                    ^^^^^^^^^^^^^^The method getInetAddress() is undefined for the type MMOConnection<L2GameClient>----------1 problem (1 error)The method getInetAddress() is undefined for the type org.mmocore.network.MMOConnection<net.sf.l2j.gameserver.network.L2GameClient>
2nd:

Code: Select all

Connecting to login on [i]XXX.XXX.XXX.XXX:XXXX[/i]Exception in thread "main" java.lang.NoSuchMethodError: org.mmocore.network.SelectorConfig: method <init>()V not found        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:483)        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:549)

Re: MMOCore Problems

Posted: Sat Jul 25, 2009 2:35 pm
by _DS_
Properly update datapack (including handlers).

Re: MMOCore Problems

Posted: Sat Jul 25, 2009 3:16 pm
by Thunderb0lt
It is already latest revision

Re: MMOCore Problems

Posted: Sat Jul 25, 2009 3:49 pm
by _DS_
You forget to update libs folder ?

Re: MMOCore Problems

Posted: Sat Jul 25, 2009 3:54 pm
by Thunderb0lt
Do I have to do this manually? If so where to get the newest libs?
I'm using the libs provided by last svn revision.

Re: MMOCore Problems

Posted: Sat Jul 25, 2009 4:16 pm
by _DS_
No, you are not using libs from last svn revisions.

Re: MMOCore Problems

Posted: Sat Jul 25, 2009 4:27 pm
by itskidd
if you're building the SVNs yourself, you should end up extracting 2 zip files and creating your server the same way as using nightlies.. Server first and then replace your datapack over your server files.. and that's about it..

a good way to fix current problems is by updating or starting over with your files.. I'm using same server/db revisions as you and I dont have this problem

Either download the new nightly or use Eclipse to remake the server files


1. ERROR in C:\Users\Marcel\Desktop\L2J Final\gameserver\data\scripts\handlers\admincommandhandlers\AdminEditChar.java (at line 818)
sounds like a problem due to missing handler files.. good luck.. Sounds like a server build issue

Re: MMOCore Problems

Posted: Sat Jul 25, 2009 5:08 pm
by Thunderb0lt
Damn you were right. I always checked to have the libs up to date in my build directory but only copied the resulting *.jar file to gameservers dir. So the libs were not updated THERE but in my SVN dir. :P
I'm so stupid :mrgreen:

Thanks for your help!