Game server

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
bhpachulski
Posts: 11
Joined: Tue Oct 26, 2010 11:39 am

Game server

Post by bhpachulski »

Hello,

I'm having problems with my game server, I am using the latest version (nightly). I observed that there appeared the return on the Login Server, but does not show anything about the Game Server.

I'm able to login with a user, but does not enter the game. What can I do?

Image

Image
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Game server

Post by UnAfraid »

Are login server and game server on the same machine?
Image
bhpachulski
Posts: 11
Joined: Tue Oct 26, 2010 11:39 am

Re: Game server

Post by bhpachulski »

yes
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Game server

Post by UnAfraid »

then why don't you let localhost connections between them?
make sure you don't have some iptables rules that doesn't permits connections on 2106 or 7777 ports (those are the only public ports)
Also let server configure itself (I mean don't use ipconfig.xml unless you know exactly what you are doing)
Image
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: Game server

Post by Zealar »

For begin disable IPv6 and increase server ram min x2.
About login be sure put proper ip for client i mean that is 2 side task. Server need to got proper config and game too.

In your case for GAME in host file

Code: Select all

192.168.237.5 L2authd.Lineage2.com
In your case for Server in game\config\ipconfig.xml
<?xml version="1.0" encoding="UTF-8"?>

Code: Select all

<gameserver address="127.0.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="10.0.0.0/8" address="10.0.0.0" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.237.5/16" address="192.168.237.5" /></gameserver>
Also is good to post login server console too.
bhpachulski
Posts: 11
Joined: Tue Oct 26, 2010 11:39 am

Re: Game server

Post by bhpachulski »

Thank you for you response. I will test the settings and so I will do the return.
bhpachulski
Posts: 11
Joined: Tue Oct 26, 2010 11:39 am

Re: Game server

Post by bhpachulski »

Zealar wrote:For begin disable IPv6 and increase server ram min x2.
About login be sure put proper ip for client i mean that is 2 side task. Server need to got proper config and game too.

In your case for GAME in host file

Code: Select all

192.168.237.5 L2authd.Lineage2.com
In your case for Server in game\config\ipconfig.xml
<?xml version="1.0" encoding="UTF-8"?>

Code: Select all

<gameserver address="127.0.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="10.0.0.0/8" address="10.0.0.0" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.237.5/16" address="192.168.237.5" /></gameserver>
Also is good to post login server console too.
Made as shown by you. Usually it would show a port 7777 in use?

Image
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: Game server

Post by Zealar »

Post your login server log stop do that netstat is useless command here.
bhpachulski
Posts: 11
Joined: Tue Oct 26, 2010 11:39 am

Re: Game server

Post by bhpachulski »

Image

Apparently now the GameServer is the right ip. However not the door 7777.
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: Game server

Post by Zealar »

Seems you touch LoginServer.properties.
Restore default one. IMO restore all just put that what i write you.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Game server

Post by UnAfraid »

Show me output of

Code: Select all

sudo lsof -i TCP -n -P|fgrep LISTEN
Image
bhpachulski
Posts: 11
Joined: Tue Oct 26, 2010 11:39 am

Re: Game server

Post by bhpachulski »

I put the original and modified files only ipconfig.xml. Anyway the server worked. However, when the restart did not return to work. The same thing happened. Logs but did not enter the game.
Post Reply