Page 1 of 1

L2j Freya - online problem

Posted: Sat Mar 02, 2013 8:24 pm
by Lyan
Hi

Recently I tried to get my server to work online.

It's working perfectly for me, but other people can't connect to my server.

GameServer:
--------------->

IdFactory: Free ObjectID's remaining: 1879000579
TvTEventEngine[TvTManager.TvTManager()]: Engine is disabled.
GameServer Started, free memory 615 Mb of 980 Mb
Connecting to login on 127.0.0.1:9014
CommunityServerThread: Deactivated by config.
Maximum Numbers of Connected Players: 100
Server Loaded in 38 seconds
AutoAnnoucements: Loaded 0 Auto Annoucement Data.
Telnet server is currently disabled.
Registered on login as Server 1 : Bartz
FourSepulchersManager: Entry time: Sat Mar 02 21:55:52 IST 2013
GlobalVariablesManager: Database updated.
GlobalVariablesManager: Data updated successfully.
L2ItemAuctionInstance: Auction 82 has finished. There have not been any bid for
instance 32322
L2ItemAuctionInstance: Schedule next auction 85 on 17:00:00 09.03.13 for instanc
e 32322
Olympiad System: Data updated.
SevenSigns: Data updated successfully.


And the Login:
---------------------------------->
Loaded 127 server names
Loaded 1 registered Game Servers
Cached 10 RSA keys for Game Server communication.
Loaded 2 IP Bans.
Listening for GameServers on *:9014
Telnet server is currently disabled.
Login Server ready on *:2106
Updated Gameserver [1] Bartz IP's:
127.0.0.1/127.0.0.0/8
10.0.0.0/10.0.0.0/8
172.16.0.0/172.16.0.0/19
192.168.0.0/192.168.0.0/16
L2Inferno.no-ip.org/0.0.0.0/0


IpConfig.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="L2Inferno.no-ip.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="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.0.0/16" address="192.168.0.0" />
</gameserver>

Please help, it stuck for other people in the Log In.

Re: L2j Freya - online problem

Posted: Sat Mar 02, 2013 8:31 pm
by Lyan
# Where's the Login server this gameserver should connect to
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 127.0.0.1
LoginHost = 127.0.0.1

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014

# Bind address for gameserver. You should not need to change it in most cases.
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
GameserverHostname = 127.0.0.1

# Default: 7777
GameserverPort = 7777



---------------------------------------------------------------------------





# Bind ip of the LoginServer, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
LoginserverHostname = *

# Default: 2106
LoginserverPort = 2106

# The address on which login will listen for GameServers, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
LoginHostname = *

# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014



Can't go live




My friends tried to connect by changing their hosts** - numbers only

Re: L2j Freya - online problem

Posted: Sun Mar 03, 2013 5:56 am
by tukune
:evil:

Re: L2j Freya - online problem

Posted: Thu Mar 07, 2013 5:40 pm
by Lyan
Changed it but it didn't help

Re: L2j Freya - online problem

Posted: Fri Mar 08, 2013 12:41 am
by Torvitas
Did you open and forward the Ports on the router? (seems to be a Home-server)

Re: L2j Freya - online problem

Posted: Fri Mar 08, 2013 5:04 am
by Lyan
Torvitas wrote:Did you open and forward the Ports on the router? (seems to be a Home-server)
I got a modem, and the ports are open. I can make servers of other games and they can connect to me.

Re: L2j Freya - online problem

Posted: Fri Mar 08, 2013 5:09 am
by MELERIX
show me how are your login/server configs now, included the xml file for ip settings.

Re: L2j Freya - online problem

Posted: Fri Mar 08, 2013 5:48 am
by Lyan
# ---------------------------------------------------------------------------
# Game Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------

# Where's the Login server this gameserver should connect to
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 127.0.0.1
LoginHost = 127.0.0.1

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014

# Bind address for gameserver. You should not need to change it in most cases.
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
GameserverHostname = *

# Default: 7777
GameserverPort = 7777

# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------
# Specify the appropriate driver and url for the database you're using.
# Examples:
# Driver = com.mysql.jdbc.Driver (default)
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver = com.mysql.jdbc.Driver

# Database URL
# URL = jdbc:mysql://localhost/l2jdb (default)
# URL = jdbc:hsqldb:hsql://localhost/l2jdb
# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
URL = jdbc:mysql://localhost/l2jdb

# Database user info (default is "root" but it's not recommended)
Login = root

# Database connection password
Password =

# Default: 100
MaximumDbConnections = 100

# Default: 0
MaximumDbIdleTime = 0

Etc... it's for game server. --------------------------------------------------------------------------------------------


# Login Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------

# Bind ip of the LoginServer, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
LoginserverHostname = *

# Default: 2106
LoginserverPort = 2106

# The address on which login will listen for GameServers, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
LoginHostname = *

# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014

For Login.


------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="L2Inferno.no-ip.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="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.0.0/16" address="192.168.0.0" />
</gameserver>

Re: L2j Freya - online problem

Posted: Fri Mar 08, 2013 6:02 am
by MELERIX
ok, configs are ok ;)

it should be a issue with ports then, try this: http://www.simpleportforwarding.com/ and check that ports 7777 and 2106 are open (both in TCP).

I can see you are using no-ip service, make sure you have the no-ip app updated: http://www.noip.com/downloads.php?page=win

also make sure your users are using proper L2 client.

Re: L2j Freya - online problem

Posted: Sat Mar 09, 2013 8:34 am
by Lyan
I think the problem is with the l2.ini.

My friends can play in another server (when it''s a different l2.ini) but I can't change my l2.ini file because if I'll do it won't work.

Re: L2j Freya - online problem

Posted: Sat Mar 09, 2013 12:43 pm
by Arantir
Do you understand that with any possible l2.ini settings your friends wouldn't be allowed to connect to your server if there is no opened 7777 and 2106 ports (or any other two port you exactly use in your login & game servers settings).

Anybody could play any server with original l2.ini easily, just adding
your.server.IP.addres l2authd.lineage2.com
to the <system_disk>:\Windows\System32\drivers\etc\hosts

To solve the problem you, at first, have to make sure that anybody allowed to connect to ports 7777 & 2016 on your server's IP. It almost uniquely shows availability of game playing.
It should be noted that usually ports are opened by the OS for a running applications only. So run the server before checking.

Re: L2j Freya - online problem

Posted: Sat Mar 09, 2013 1:54 pm
by Lyan
Thank you everyone, problem solved!