If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: latest stable
L2JDP Revision Number: latest stable
I am running L2J on ubuntu 12.04
the login server is working awesome but people are saying they cant get on the game server, while some can get on it for a while but if they leave and come back they cant get on the game server. Ideas? Thank you.
game server issues
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 14
- Joined: Mon Aug 19, 2013 11:52 am
Re: game server issues
I'm assuming you're running the server using
In which case you had to create a folder called log inside the game and login server called log. The server should have created a file inside that directory called stdio.out (which is the output from the server) or something along those lines.
Do you have this file and does it say anything?
Code: Select all
bash startGameServer.sh
Do you have this file and does it say anything?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: game server issues
you're supposed to run the server via GameServer_loop.sh
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 18
- Joined: Mon Aug 19, 2013 2:40 pm
Re: game server issues
well i moved that log file to /var/log/ and here is what i got from it "i did turn on debugging":abramsba wrote:I'm assuming you're running the server usingIn which case you had to create a folder called log inside the game and login server called log. The server should have created a file inside that directory called stdio.out (which is the output from the server) or something along those lines.Code: Select all
bash startGameServer.sh
Do you have this file and does it say anything?
Code: Select all
Client: [Character: Missty[268484196] - Account: zanderman2 - IP: 75.129.144.182] - Failed writing: SSQStatus - L2J Server Version: 5937 - DP Revision: 9641 ; / by zerojava.lang.ArithmeticException: / by zero at com.l2jserver.gameserver.network.serverpackets.SSQStatus.writeImpl(SSQStatus.java:232) at com.l2jserver.gameserver.network.serverpackets.L2GameServerPacket.write(L2GameServerPacket.java:61) at org.mmocore.network.SelectorThread.putPacketIntoWriteBuffer(SelectorThread.java:619) at org.mmocore.network.SelectorThread.prepareWriteBuffer(SelectorThread.java:589) at org.mmocore.network.SelectorThread.writePacket(SelectorThread.java:500) at org.mmocore.network.SelectorThread.run(SelectorThread.java:187)
-
- Posts: 18
- Joined: Mon Aug 19, 2013 2:40 pm
Re: game server issues
So I looked inside that script and took out:jurchiks wrote:you're supposed to run the server via GameServer_loop.sh
Code: Select all
java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1
I did the same thing with the login server script and it works like a champ.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: game server issues
why'd you put it in /var/log/? it should log the server stuff in the server log directory.
just use the bash script and don't modify the directories.
just use the bash script and don't modify the directories.
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 18
- Joined: Mon Aug 19, 2013 2:40 pm
Re: game server issues
because its nice to have all the logs in one place.jurchiks wrote:why'd you put it in /var/log/? it should log the server stuff in the server log directory.
just use the bash script and don't modify the directories.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: game server issues
Well, that's a matter of opinion. I like to have logs for my specific app in the folder of my app, not somewhere else.
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.