Page 1 of 1

does not work RegisterGameServer (on Gentoo)

Posted: Mon Jun 27, 2011 6:56 pm
by fanfcsd
Hi, I beg your pardon for my English. I have a problem. Downloaded your build and decided to install it on Gentoo. All went well, but when I launched RegisterGameServer.sh I get this error:

Code: Select all

Error: There was an error while attempting to retrieve the list of currently registered GameServers.Reason: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.Exception in thread "main" java.lang.NullPointerException        at com.l2jserver.gsregistering.GameServerRegister.<init>(GameServerRegister.java:46)        at com.l2jserver.gsregistering.BaseGameServerRegister.startCMD(BaseGameServerRegister.java:279)        at com.l2jserver.gsregistering.BaseGameServerRegister.main(BaseGameServerRegister.java:187)        at com.l2jserver.gsregistering.GameServerRegister.main(GameServerRegister.java:34) 

help please to solve this problem. :cry:

P.S. In the configuration all entered correctly, mysql works.



» Find Revision
L2J Revision 4470 :
L2JDP Revision 7733:

Re: does not work RegisterGameServer (on Gentoo)

Posted: Wed Jun 29, 2011 7:47 pm
by ksmxbg
try this:

1. open terminal start nautilus as root (

Code: Select all

sudo nautilus
, or sudo any file-manager that you use)
2.go to serverdir/login/config
3.if any hexid.txt file exist delete it (if it says protected - kill all JAVA processes (all with name java to be sure))
4. right mouse button on RegisterGameServer.sh - choose Open --> then(or) Run in Terminal
5. in terminal must see Menu of this tool 4. -> Remove all GameServers
6. then 1.Register GameServer
7. Desired ID - choise 1 for test
8. in directory /login/config must appear new hexid.txt file
9. copy this file to serverdirectory/gameserver/config (leave copy of file in login/config too)
10. start login start gameserv

(if any problems with file-managers or files-privileges - all steps 2-10 you can do as root only in terminal, but you must change dirs and operate with files in text mode - for terminal with root privileges open terminal and write

Code: Select all

sudo -i
, then all steps )

ask for help ..give more details ... good luck

(i tested it and its works on fedora, debian and slack ... so this must work for L2J server for most popular distributions of linux, couse all distributions now just their clones)

Re: does not work RegisterGameServer (on Gentoo)

Posted: Fri Jul 01, 2011 3:36 pm
by fanfcsd
Thanks! It works!!!! :D