[FIXED] Interlude gameserver/loginserver problems

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
sollis711
Posts: 4
Joined: Thu Oct 27, 2011 8:39 pm

[FIXED] Interlude gameserver/loginserver problems

Post by sollis711 »

If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:
L2JDP Revision Number:

well i'll try this again. I uninstalled Jdk 7 and installed jdk1.5.0_07 and i still get this error when i try to run the register game server or login server:

Exception in thread "main" java.lang.NullPointerException
at net.sf.l2j.util.MTRandom.next(MTRandom.java:349)
at java.util.Random.nextInt(Unknown Source)
at java.util.Random.nextBytes(Unknown Source)
at net.sf.l2j.util.Rnd.nextBytes(Rnd.java:73)
at net.sf.l2j.gameserver.LoginServerThread.generateHex(LoginServerThread
.java:451)
at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.j
ava:115)

Any help would be appreciated, thanks.
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: Interlude gameserver/loginserver problems

Post by BiggBoss »

use java 1.6.x with older chronicles, dont use Java 1.7
Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Interlude gameserver/loginserver problems

Post by jurchiks »

sollics711 wrote:...uninstalled Jdk 7 and installed jdk1.5.0_07...
Misread?
Anyway, that error has nothing to do with java, it is an error in the code. It seems the Mersenne Twister has been removed for a long time already, probably for reasons like this. You could ask Tryskell to help you with this (or, to be more precise, to help you change the random number generator altogether), he has his own IL pack and he isn't using MTRandom either.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Interlude gameserver/loginserver problems

Post by Zoey76 »

After Changeset 5053 is fixed and is working with Java 7.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Post Reply