Jump to content
  • 0

[HELP-IL-L2jServer] Register game server error (Solved)


Question

Posted

Hello again, guys. So, this time I need an advice for choosing the best interlude server pack. I'll try to create high rates, no costum, pvp server, but I don't know which pack to compile for that with eclipse :D

Would be grateful if someone could give an advice for my :)

 

P.S. My English is bad, I know it :D

 

EDIT: Sorry, I just read the FAQ (not for the first time) and now I know that that type of topics isn't available here. Sorry again :/

______________________________________________________________

I don't want to create a new topic, so I will edit this one

______________________________________________________________

I just compiled and build L2jServer, installed database, but when I'm tried to Register game server I got this error:

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)

 

How to fix this? :/

5 answers to this question

Recommended Posts

  • 0
Posted

in login folder these should be a file named hexid(server 1).txt rename it to hexid.txt and Cut or Copy to folder gameserver/config.

 

Thanks for spam

 

Error is about registerGameServer. So how he can get hexid, if RegisterGameServer don't work.

Don't post useless messages!

  • 0
Posted

So far, I can say you use Frozen and it's surely related to java 1.7 (from what I understood of Shyla). Use 1.6 or post in appropriate forum.

How to prove you, that I'm not...?

 

P.S. You say that I should use 1.6 jdk in eclipse while building project?

P.P.S. I got the same error (I think it was the same) when I used L2jFrozen

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..