game server issues

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
emada
Posts: 18
Joined: Mon Aug 19, 2013 2:40 pm

game server issues

Post by emada »

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.
abramsba
Posts: 14
Joined: Mon Aug 19, 2013 11:52 am

Re: game server issues

Post by abramsba »

I'm assuming you're running the server using

Code: Select all

bash startGameServer.sh
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?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: game server issues

Post by jurchiks »

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.
emada
Posts: 18
Joined: Mon Aug 19, 2013 2:40 pm

Re: game server issues

Post by emada »

abramsba wrote:I'm assuming you're running the server using

Code: Select all

bash startGameServer.sh
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?
well i moved that log file to /var/log/ and here is what i got from it "i did turn on debugging":

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)  
and that is really the only error i see.
emada
Posts: 18
Joined: Mon Aug 19, 2013 2:40 pm

Re: game server issues

Post by emada »

jurchiks wrote:you're supposed to run the server via GameServer_loop.sh
So I looked inside that script and took out:

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
and i run just that all by it self, i did modify the log to redirect to /var/log/stdout.log. will that cause some of my issues? should i just be using the bash script?

I did the same thing with the login server script and it works like a champ.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: game server issues

Post by jurchiks »

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.
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.
emada
Posts: 18
Joined: Mon Aug 19, 2013 2:40 pm

Re: game server issues

Post by emada »

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.
because its nice to have all the logs in one place.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: game server issues

Post by jurchiks »

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.
Post Reply