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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...