L2JMobius

High Five Does not pass the login, ipconfig

cristianlarenga · 1 · 2644

Offline cristianlarenga

  • Vassal
  • *
    • Posts: 4
Hello,
I need help to fix this problem.
I'm testing the l2jmobius H5 datapack and I can't pose from the login, the gameserver inside the game appears to me down.

This is the LoginServer configuration:
Code: [Select]
# ---------------------------------------------------------------------------
# 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 0.0.0.0 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 = 0.0.0.0

# 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: 127.0.0.1
LoginHostname = 127.0.0.1

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

This is the game server configuration:
Code: [Select]
# ---------------------------------------------------------------------------
# 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 = 0.0.0.0

# Default: 7777
GameserverPort = 7777

This is the configuration of the ipconfig.xml:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: If file is named "ipconfig.xml" this data will be used as network configuration, otherwise server will configure it automatically! -->
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<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.0.0/16" address="192.168.0.0" />
<define subnet="192.168.0.0/24" address="192.168.0.0" />
</gameserver>

The server is mounted on a VPS with Windows 7 and has a private IP, also that the firewall is not active and there is nothing that is blocking the port since I have other datapack and they work perfectly with the same ports.
These are the following configurations that I have made without being able to enter the game:
1) Add my wan ip to the gameserver address = inside ipconfig.xml (It didn't work)
2) Add the ip inside the ipconfig.xml
3) Remove the ipconfig and add the ip directly to the gameserver and the loginserver
4) Restore login and game and delete ipconfig, DO NOT ADD ANY IP ADDRESS and when it finishes loading the console it loads the external ip of my server correctly but it does not connect to the gameserver.

The login and game consoles do not throw any errors and are correctly registered.
login:
Code: [Select]
[02/10 21:11:45] Database: Initialized.
[02/10 21:11:45] Loading LoginController...
[02/10 21:11:47] Cached 10 KeyPairs for RSA communication.
[02/10 21:11:47] Loaded 127 server names.
[02/10 21:11:47] Loaded 1 registered Game Servers.
[02/10 21:11:47] Cached 10 RSA keys for Game Server communication.
[02/10 21:11:47] Loaded 2 IP Bans.
[02/10 21:11:47] Listening for GameServers on 127.0.0.1:9014
[02/10 21:11:48] ClientNetworkManager: Listening on 0.0.0.0:2106
[02/10 21:18:59] Updated Gameserver [1] L2 IP's:
[02/10 21:18:59] 127.0.0.1/127.0.0.0/8
[02/10 21:18:59] 45.7.230.XXX/45.7.230.0/24 -------------->SIN PONER LA IP EN EL GAME Y EL LOGIN ME CARGA LA IP EXTERNA
[02/10 21:18:59] 45.7.230.XXX/0.0.0.0/0     -------------->SIN PONER LA IP EN EL GAME Y EL LOGIN ME CARGA LA IP EXTERNA

GAME:
Code: [Select]
[02/10 21:18:48] AutoSpawnHandler: Loaded 129 handlers in total.
[02/10 21:18:49] TaskManager: Loaded 12 Tasks.
[02/10 21:18:49] MailManager: Loaded 0 messages.
[02/10 21:18:49] PunishmentManager: Loaded 0 active and 0 expired punishments.
[02/10 21:18:49] IdFactory: Free ObjectID's remaining: 1879000163
[02/10 21:18:49] TvTEventEngine[TvTManager.TvTManager()]: Engine is disabled.
[02/10 21:18:49] OfflineTraderTable: Loading offline traders...
[02/10 21:18:49] OfflineTraderTable: Loaded 0 offline traders.
[02/10 21:18:55] GameServer: Started, using 2260 of 4096 MB total memory.
[02/10 21:18:56] GameServer: Maximum number of connected players is 2000.
[02/10 21:18:56] GameServer: Server loaded in 365 seconds.
[02/10 21:18:56] ClientNetworkManager: Listening on 0.0.0.0:7777
[02/10 21:18:56] LoginServerThread: Connecting to login on 127.0.0.1:9014
[02/10 21:18:59] LoginServerThread: Registered on login as Server 1:

ipconfig de windows:
Code: [Select]
Configuración IP de Windows
Adaptador de Ethernet Conexión de área local 2:

   Sufijo DNS específico para la conexión. . :
   Vínculo: dirección IPv6 local. . . : fe80::b511:ed1c:83fa:9e1d%13
   Dirección IPv4. . . . . . . . . . . . . . : 45.7.230.XXX
   Máscara de subred . . . . . . . . . . . . : 255.255.255.0
   Puerta de enlace predeterminada . . . . . : fe80::2d0:ff:fe23:f400%13
                                       45.7.230.XXXX

Adaptador de túnel isatap.{B1636576-04DB-4D17-A8D1-0F9DB696C89E}:

   Estado de los medios. . . . . . . . . . . : medios desconectados
   Sufijo DNS específico para la conexión. . :

Adaptador de túnel 6TO4 Adapter:

   Sufijo DNS específico para la conexión. . :
   Dirección IPv6 . . . . . . . . . . : 2002:2d07:e6f3::2d07:e6f3
   Puerta de enlace predeterminada . . . . . : 2002:c058:6301::c058:6301

Waiting for your comments.
And I excuse for my English, as I use the translator. thanks.