07-07-2013, 08:35 PM
Настраиваю сервер, сам могу играть на своем компе, а друзьям кидаю патч то ЛС висит, то ГС не открываеться.
В этих конфигах не могу разобраться, вот:
Server.properties
LoginServer.properties
default-ipconfig.xml
1)Server.properties
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 = 192.168.0.24
# 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 = 192.168.0.24
# Default: 7777
GameserverPort = 7777
2)LoginServer.properties
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 = 192.168.0.24
# 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 = *
# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014
3)default-ipconfig.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Put old contents of ExternalHostname here, used by default -->
<gameserver address="46.98.198.95">
<!-- Localhost access -->
<define subnet="127.0.0.0/8" address="192.168.0.24" />
<!-- LAN's, put old contents of InternalHostname here -->
<define subnet="10.0.0.0/8" address="192.168.0.24" />
<define subnet="172.16.0.0/19" address="192.168.0.24" />
<define subnet="192.168.0.0/16" address="192.168.0.24" />
</gameserver>
В l2.ini указал 192.168.0.24 такой адрес
p.s. Это мой внешний ip - 46.98.198.95
192.168.0.24 - Это я так понял внутренний
Все порты открыл в роутере
Что и где у меня не так, подскажите пожалуйста(
В этих конфигах не могу разобраться, вот:
Server.properties
LoginServer.properties
default-ipconfig.xml
1)Server.properties
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 = 192.168.0.24
# 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 = 192.168.0.24
# Default: 7777
GameserverPort = 7777
2)LoginServer.properties
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 = 192.168.0.24
# 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 = *
# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014
3)default-ipconfig.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Put old contents of ExternalHostname here, used by default -->
<gameserver address="46.98.198.95">
<!-- Localhost access -->
<define subnet="127.0.0.0/8" address="192.168.0.24" />
<!-- LAN's, put old contents of InternalHostname here -->
<define subnet="10.0.0.0/8" address="192.168.0.24" />
<define subnet="172.16.0.0/19" address="192.168.0.24" />
<define subnet="192.168.0.0/16" address="192.168.0.24" />
</gameserver>
В l2.ini указал 192.168.0.24 такой адрес
p.s. Это мой внешний ip - 46.98.198.95
192.168.0.24 - Это я так понял внутренний
Все порты открыл в роутере
Что и где у меня не так, подскажите пожалуйста(