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/Форум для новичков[JAVA]/[help] Emu
Search

[help] Emu

9 replies96 viewsCurrently viewing: 1
Rakot
Rakot

User

Новичок

Posts: 10

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

Рейтинг: 0

· 03/08/2009, 06:15 PM

Уважаемые форумчане, хочу попросить у вас помощи. Решил поставить сборочку L2EMU-1281. Все делаю по мануалу.. дохожу до регистрации сервера, запускаю register_gameserver.bat и вот что пишет:

Цитата
=====================================================-[ Network Configuration ]
Loading: ./config/network/network.properties.
java.lang.NumberFormatException: For input string: "9014 "
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at net.l2emuproject.Config.loadNetworkConfig(Config.java:116)
at net.l2emuproject.Config.load(Config.java:259)
at net.l2emuproject.gsregistering.GameServerRegister.main(GameServerRegi
ster.java:42)
Exception in thread "main" java.lang.Error: Failed to Load ./config/network/netw
ork.properties File.
at net.l2emuproject.Config.loadNetworkConfig(Config.java:130)
at net.l2emuproject.Config.load(Config.java:259)
at net.l2emuproject.gsregistering.GameServerRegister.main(GameServerRegi
ster.java:42)
Для продолжения нажмите любую клавишу . . .


Это происходило и с другими сборками Эму. Ставил сборки от др команд, такого не наблюдалось... Вроде бы все делаю по мануалу.

0
-=[BloodKill]=-
-=[BloodKill]=-

User

Ветеран

Posts: 1355

На форуме с: 09/01/2008

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

Рейтинг: 0

· 03/08/2009, 06:17 PM

Ищи ошибку тут:
network.properties

— Оо

0
Rakot
Rakot

User

Новичок

Posts: 10

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

Рейтинг: 0

· 03/08/2009, 06:20 PM

Вопрос такой... если у меня нету выделенного внешнего ИП, но я пишу туда свой внутренний... это может повлиять? Остальное, опять таки, делаю по мануалу...

0
-=[BloodKill]=-
-=[BloodKill]=-

User

Ветеран

Posts: 1355

На форуме с: 09/01/2008

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

Рейтинг: 0

· 03/08/2009, 06:23 PM

Xanatos: Вопрос такой... если у меня нету выделенного внешнего ИП, но я пишу туда свой внутренний... это может повлиять? Остальное, опять таки, делаю по мануалу...

Скинь сюда свой конфиг

— Оо

0
Rakot
Rakot

User

Новичок

Posts: 10

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

Рейтинг: 0

· 03/08/2009, 06:26 PM

L2EMU-1281\l2emuproject-game\dist\config\network\network.properties:

Цитата
# ================== #==================#
# L2Emu Project Pack # Network Settings #
# ================== #==================#

# ------------------
# Here you can Setup:
# ------------------
# - General network Connection
# - Telnet
# - Database Connection
# - HTML cache

# ------------------------------------------------------------------------------------------------- #
# Usually you have to change the ExternalHostname option to #
# - 127.0.0.1 (if you want to play alone / testing purpose) #
# - LAN IP* (if you want to play from another computer in the network) #
# - WAN IP** (if you want to play with friends over internet) #
# - Support => http://www.l2emu.net #
# - If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig" #
# - If you want to get you WAN IP, visit http://www.whatismyip.com or http://www.showip.com #
# ------------------------------------------------------------------------------------------------- #

# ---------------------------------
# Section: Network Connection Setup
# ---------------------------------
# Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs
# This is The IP/Port Gameserver will Assume and Use.
GameServerHostName = 0.0.0.0
GameServerPort = 7777

# this is the Loginserver host and port that this gameserver will try to connect to.
LoginPort = 9014
LoginHost = 80.251.122.167

# This is transmitted to the clients connecting from an external network,
# so it has to be a public IP or resolvable hostname.
ExternalHostname = 80.251.122.167

# This is transmitted to the client from the same network,
# so it has to be a local IP or resolvable hostname
InternalHostname = 80.251.122.167

# Network traffic optimization: minimum time between sending char's hp/mp status update packet.
NetworkTrafficOptimization = true
NetworkTrafficOptimizationStatusMs = 400
NetworkTrafficOptimizationBroadcastMs = 800

# ------------------------------------
# Section: Subnets & Advanced Routing
# ------------------------------------
# Define optional networks and router IPs
#
# Format:
#
# Subnet = host, net/mask; host, net/mask, net/mask
#
# host - IP address (200.100.200.100) or
# fully qualified domain name (example.org)
#
# net/mask - mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0
# would be 192.168.*.*
#
# External - external hostname, you defined in server.properties
# Internal - internal hostname, you defined in server.properties
#
# Example:
# Subnet = 169.254.1.100, 169.254.0.0/16, 111.222.333.0/255.255.255.0
InternalNetworks =
OptionalNetworks =

Subnet = Internal, 127.0.0.1/32, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
Subnet = External, 0.0.0.0/0

# ---------------
# Section: Telnet
# ---------------
# Enables /Disables Telnet Server.
EnableTelnet = false

# This is the port telnet server will bind to
# default 23, telnet port.
StatusPort = 23

# If the following is not set, a random password is generated on server startup.
# default l2emuproject, fell free to change it.
StatusPW = l2emuproject

# Use alternative telnet, requiring to do a real login with a GM so your GM-name can be used for messaged instead of "telnet".
AltTelnet = true

# if a password is not set, telnet server will generate a random one, so you define the size of it.
TelnetPasswordLength = 10

# Hosts must be resolvable to an IP.
# define here the IPs allowed to connect to your server via Telnet.
# The format is as follows:
# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# NOTE: Make sure there are no spaces between hosts/ips !
ListOfHosts = 127.0.0.1,localhost

# ----------------------------
# Section: Database Connection
# ----------------------------
# MySQL Driver we will use to connect to database
Driver= com.mysql.jdbc.Driver
# here are some other drivers :
# Driver= org.hsqldb.jdbcDriver
# Driver= com.microsoft.sqlserver.jdbc.SQLServerDriver

# URL to connect to database.
URL = jdbc:mysql://localhost/L2Emu_DB
# here are some other url's :
# URL = jdbc:hsqldb:hsql://localhost/L2Emu_DB
# URL = jdbc:sqlserver://localhost/database=L2Emu_DB/user=sa/password=

# your database login (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own login)
Login = root

# your database password (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own pass)
Password = 12341235
# define here how many connections are allowed at the same time.
MaximumDbConnections = 1000

# -------------------
# Section: HTML Cache
# -------------------
# Set the html cache's lazy loading true or false
# (Load html's into cache only on first time requested)
LazyCache = true


L2EMU-1281\l2emuproject-login\dist\config\network\network.properties:

Цитата
# ================== #========================#
# L2EMU PROJECT PACK # Network Configuration #
# ================== #========================#

# ================================================================================
================= #
# This is the network configuration file. Here you can set up the connection for your Loginserver. #
# Usually you have to change the LoginServerHostName option to #
# - 127.0.0.1 (if you want to play alone / testing purpose) #
# - LAN IP* (if you want to play from another computer in the network) #
# - WAN IP** (if you want to play with friends over internet) #
# - Support => http://www.l2emu.net #
# - If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig" #
# - If you want to get you WAN IP, visit http://www.whatismyip.com or www.showip.com #
# ================================================================================
================= #

# ==========
# Connection
# ==========

# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostName = 80.251.122.167
LoginServerPort = 2106

# The port, ip on which login will listen for GameServers
LoginPort = 9014
LoginHostName = 80.251.122.167

# The delay between IP Update Time.
# set this delay in minutes after which the login updates the gameservers IP's
# (usefull when ip is dynamic)
# (0 = disabled) in Minutes
IpUpdateTime = 10


# Telnet is disabled by default.
EnableTelnet = false

# ============
# Port Related
# ============
# This is the port telnet server will bind to
StatusPort = 12345

# ============
# Pass Related
# ============
# If the following is not set, a random password is generated on server startup.
# StatusPW = somePass

# =====
# Hosts
# =====
# This list can contain IPs or Hosts of clients you wish to allow.
# Hosts must be resolvable to an IP.
# The format is as follows:
# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# Make sure there are no spaces between hosts/ips
ListOfHosts = 127.0.0.1,localhost


# --------------------
# Database Information
# --------------------

# Define MySQL Driver
Driver = com.mysql.jdbc.Driver

# here you have some more drivers:
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver

# Define MySQL Driver URL.
URL = jdbc:mysql://localhost/L2Emu_DB

# here you have some more urls:
# URL = jdbc:hsqldb:hsql://localhost/L2Emu_DB
# URL = jdbc:sqlserver://localhost/database = L2Emu_DB/user = sa /password = (your pass)

# Your login to Database (default = root)
Login = root

# Your password to database (default = root)
Password = 12341235

# Define how many connections are allowed on your database.
MaximumDbConnections = 1000

0
Rakot
Rakot

User

Новичок

Posts: 10

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

Рейтинг: 0

· 03/08/2009, 08:09 PM

АП! Хелп ПЛЗ!

0
M
Maksi

User

Участник

Posts: 78

На форуме с: 10/12/2007

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

Рейтинг: 0

· 03/08/2009, 08:28 PM

Какая версия явы, и если к пути сервера русские папки может проблема ешё и в этом хотя если выдает на 9014 порт, что то ему в нем не нравиться как вечелична, может порт у тебя закрытый? Хотя и в других сборках он по умолчанию. Короче надо смотреть и рыскать, да и как ведёт все это у тебя при IP 127.0.0.1?

0
Rakot
Rakot

User

Новичок

Posts: 10

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

Рейтинг: 0

· 03/08/2009, 08:30 PM

Цитата
да и как ведёт все это у тебя при IP 127.0.0.1?


Точно так же... Папок с кирилицей нету. 6 версия явы.

0
M
Maksi

User

Участник

Posts: 78

На форуме с: 10/12/2007

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

Рейтинг: 0

· 03/08/2009, 09:00 PM

Блин все чем смогу помочь если конечно установишь радмин и стукнишь мне в асю, я там почти всегда не в сети но это не значит что я не у компа. Посмотрим так немного подозрительно почему такой сбой )

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