Skip to content
La2Base
Home
DownloadsWikiForumFAQ
Search
ruen
Sign up Login
HomeFilesWikiLogin
  • Home
  • Downloads
  • Wiki
  • FAQ
  • Contact Us
  • About
  • Rules
  • Privacy
  • Terms of Service

© 2026 la2base.com · All rights reserved

ruen
Forum/Ошибки LoginServer -/- GameServer/2 ГС на 1 ЛС
Search

2 ГС на 1 ЛС

6 replies113 viewsCurrently viewing: 1
Игорь
Игорь

User

Новичок

Posts: 14

На форуме с: 11/20/2009

Репутация: +13

Рейтинг: 0

· 12/19/2009, 10:28 AM

Пишу порт 7778
Хексид создал
Стоит l2j
ставлю l2open
захожу пишет пинг 9999
Что делать ?

0
Антоха
Антоха

User

Бывалый

Posts: 289

На форуме с: 11/24/2008

Репутация: +333

Рейтинг: 0

· 12/19/2009, 10:33 AM

La2JusT: Пишу порт 7778
Хексид создал
Стоит l2j
ставлю l2open
захожу пишет пинг 9999
Что делать ?

Покажи настройки IP и портов гейм и логин сервера, скорее всего там ошибки

0
M
mhost
· 12/19/2009, 10:34 AM

Писать подробней.

Машина, 2 колеса, одно левое другое правое... почему не едет?

0
D
dodelez
· 12/19/2009, 11:01 AM

Раскрывающийся текст
# ---------------------------------------------------------------------------
# ????????? ??????????
# ---------------------------------------------------------------------------

# ????? ?????????:
# 127.0.0.1 - ???? ?? ??????? ?????? ?? ???????? ??????? ??? ????.
# ??? ????????? ??? ??????? IP ????? ??? ???? ??? ?? ? ??? ????? ???????????? ?? ?????????.
# ??? ?? ?????? ???? ??????? IP ???????? ?? ?????? http://www.whatismyip.com/. ??? ????? ???????? Your IP Address Is (??? ??? IP ????? (???????)).
# ?? ?????????: 127.0.0.1
ExternalHostname = 88.198.51.36

# ---------------------------------------------------------------------------
# ??????????? ?????? ????. ?????? ??? ??? ?????, ??????? ????????? ? ???? ? ????? ????.
# ??? 127.0.0.1 ???? ?????? ?????? ???? (??????????? ??????).
# ?? ?????????: 127.0.0.1
InternalHostname = 88.198.51.36

# ---------------------------------------------------------------------------
# ?? ?????????: 127.0.0.1
LoginHost = 88.198.51.36

# ?? ?????????: 9014
LoginPort = 9014

# ?? ?????????: 127.0.0.1
GameserverHostname = 88.198.51.36

# ?? ?????????: 7777
GameserverPort = 7777


# ---------------------------------------------------------------------------
# ????????? ??????????? ? ???? ??????
# ---------------------------------------------------------------------------
# ??????? # ????? ??????????????? ????????? URL ??? ???? ??????. ???? ?? ?? ?????? ??? ??? ????? ---> www.google.com ??? yandex.ru
# Driver = com.mysql.jdbc.Driver (?? ?????????)
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver = com.mysql.jdbc.Driver
# Database URL
# URL = jdbc:mysql://localhost/jeka_l2open_db (?? ?????????)
# URL = jdbc:hsqldb:hsql://localhost/jeka_l2open_db
# URL = jdbc:sqlserver://localhost/database = jeka_l2open_db/user = sa/password =
# ??? ??????? ????? ? ???????? ??????...
URL = jdbc:mysql://localhost/jeka_l2open_db?useUnicode=true&characterEncoding=utf-8
URL = jdbc:mysql://localhost/jeka_l2open_db
# ???? ?????? - ?????????? ? ???????????? (? ?????????????? ????????? (root) ???????????? ?? ?????????????).
Login = XX
# ?????? ? ???? ??????.
Password = XXX

# Default: 100
MaximumDbConnections = 100

# Default: 0
MaximumDbIdleTime = 0

# Default: True
AllowDualBox = True


Раскрывающийся текст
# ---------------------------------------------------------------------------
# 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
# ---------------------------------------------------------------------------
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# Common settings...
# 127.0.0.1 - If you are playing alone on a test server
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
ExternalHostname = 88.198.51.36

# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
InternalHostname = 88.198.51.36

# ---------------------------------------------------------------------------
# If you are behind a router which using its own local IP for Port Forwarding then set this to the routers
# local IP if you want people outside your internal network to be able to connect to your server.
# ---------------------------------------------------------------------------
# RouterHostname =

# Bind ip of the LoginServer, use * to bind on all available IPs
# Default: *
LoginserverHostname = 88.198.51.36

# Default: 2106
LoginserverPort = 2106

# The address on which login will listen for GameServers, use * to bind on all available IPs
# Default: *
LoginHostname = 88.198.51.36

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

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# Default: 15
IpUpdateTime = 15


# ---------------------------------------------------------------------------
# Security
# ---------------------------------------------------------------------------
# Default: True
LogLoginController = True

# How many times you can provide an invalid account/pass before the IP gets banned.
# Default: 10
LoginTryBeforeBan = 6

# Time you won't be able to login back again after LoginTryBeforeBan tries to login.
# Default: 600 (10 minutes)
LoginBlockAfterBan = 300

# If set to True any GameServer can register on your login's free slots
# Default: False
AcceptNewGameServer = true

# Enforce GameGuard authorization from client?
# If True, login server will kick client if the client bypassed GameGuard authentication.
# Default: False
ForceGGAuth = False

# Flood Protection. All values are in MILISECONDS.
# Default: True
EnableFloodProtection = True

# Default: 15
FastConnectionLimit = 15

# Default: 700
NormalConnectionTime = 700

# Default: 350
FastConnectionTime = 350

# Default: 50
MaxConnectionPerIP = 50


# ---------------------------------------------------------------------------
# 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/jeka_l2jdb (default)
# URL = jdbc:hsqldb:hsql://localhost/jeka_l2jdb
# URL = jdbc:sqlserver://localhost/database = jeka_l2jdb/user = sa/password =
URL = jdbc:mysql://localhost/jeka_l2jdb
# Database user info (default is "root" but it's not recommended)
Login = XXX
# Database connection password
Password = XXX

# Default: 10
MaximumDbConnections = 10

# Default: 0
MaximumDbIdleTime = 0


# ---------------------------------------------------------------------------
# Misc.
# ---------------------------------------------------------------------------
# If False, the license (after the login) will not be shown.
# Default: True
ShowLicence = false

# Default: True
AutoCreateAccounts = True


# ---------------------------------------------------------------------------
# Developer Settings
# ---------------------------------------------------------------------------
# Default: False
Debug = False

# Default: False
Assert = False

# Default: False
Developer = False

0
Антоха
Антоха

User

Бывалый

Posts: 289

На форуме с: 11/24/2008

Репутация: +333

Рейтинг: 0

· 12/19/2009, 11:10 AM

Если сервер на одном компе, то в логин сервере сделай так:

Цитата
LoginserverHostname = *
LoginserverPort = 2106

LoginHostname = *
LoginPort = 9014


А в гейм серверах сделай так:

Цитата
LoginHost = 127.0.0.1
LoginPort = 9014

GameserverHostname = *
GameserverPort = 7777 <-- Во втором сервере порт поменять не забудь

0
Gaiver
Gaiver

User

Новичок

Posts: 1

На форуме с: 02/14/2008

Рейтинг: 0

· 01/26/2010, 09:18 PM

А если сервер на другом компе? а ЛС на другом?

Вот такая ошибка
Exception in thread "main" java.net.BindException: Cannot assign requested addre
ss: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
at org.mmocore.network.SelectorThread.openServerSocket(SelectorThread.ja
va:102)
at com.l2open.gameserver.L2GameServer.<init>(L2GameServer.java:369)
at com.l2open.gameserver.util.BootManager.<init>(BootManager.java:100)
at com.l2open.gameserver.util.BootManager.main(BootManager.java:53)
27  эт 00:07:03: [INFO] Registered on login as Server 4 : Lionna

0
Войдите или зарегистрируйтесь чтобы ответить