Page 1 of 1

Game server

Posted: Mon Jul 07, 2014 5:36 pm
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

Re: Game server

Posted: Mon Jul 07, 2014 5:41 pm
by UnAfraid
Are login server and game server on the same machine?

Re: Game server

Posted: Mon Jul 07, 2014 5:47 pm
by bhpachulski
yes

Re: Game server

Posted: Mon Jul 07, 2014 5:47 pm
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)

Re: Game server

Posted: Mon Jul 07, 2014 5:48 pm
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.

Re: Game server

Posted: Mon Jul 07, 2014 5:51 pm
by bhpachulski
Thank you for you response. I will test the settings and so I will do the return.

Re: Game server

Posted: Mon Jul 07, 2014 6:03 pm
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

Re: Game server

Posted: Mon Jul 07, 2014 6:07 pm
by Zealar
Post your login server log stop do that netstat is useless command here.

Re: Game server

Posted: Mon Jul 07, 2014 6:33 pm
by bhpachulski
Image

Apparently now the GameServer is the right ip. However not the door 7777.

Re: Game server

Posted: Mon Jul 07, 2014 6:38 pm
by Zealar
Seems you touch LoginServer.properties.
Restore default one. IMO restore all just put that what i write you.

Re: Game server

Posted: Mon Jul 07, 2014 6:41 pm
by UnAfraid
Show me output of

Code: Select all

sudo lsof -i TCP -n -P|fgrep LISTEN

Re: Game server

Posted: Tue Jul 08, 2014 2:16 am
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.