[help]emu 1760
emu 1760
машина 3.2 Ghz 2Gb озд
суть проблемы в чём логин сервер запускается нормально, а вот когда я вписываю в файл:
L2Emu\l2emuproject-login\dist\config\network\network.properties
в эту строку
# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostName = 127.0.0.1
вместо 127.0.0.1 айпишку но-айпи shadowkann.no-ip.biz
то он мне говорит следующее
Initializing L2EmuProject LoginServer.
=====================================================-[ Network Configuration ]
Loading: ./config/network/network.properties.
Loading: ./config/network/security.properties.
========================================================-[ Main Configuration ]
Loading: ./config/main/ban.properties.
Loading: ./config/main/loginserver.properties.
===================================================-[ Developer Configuration ]
=================================================-[ Versionning Configuration ]
Loading: ./config/versionning/build-time.properties.
==================================================================-[ Database ]
INFO : MLog clients using log4j logging.
INFO : Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace
: 10]
INFO : Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acq
uireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCom
mitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcqui
reFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null,
connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester,
dataSourceName -> 1hge1388181iq9a385mub|115273a, debugUnreturnedConnectionStackT
races -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, facto
ryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityTok
en -> 1hge1388181iq9a385mub|115273a, idleConnectionTestPeriod -> 60, initialPool
Size -> 3, jdbcUrl -> jdbc:mysql://localhost/l2db, maxAdministrativeTaskTime ->
0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, m
axPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 100, minPool
Size -> 1, numHelperThreads -> 20, numThreadsAwaitingCheckoutDefaultUser -> 0, p
referredTestQuery -> null, properties -> {user=******, password=******}, propert
yCycle -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false,
unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
INFO : Loaded 127 server names
INFO : ..................................................
INFO : System Time: 08-05-2009 12:30:38 AM
INFO : ..................................................
INFO : OS: Windows XP Build: 5.1
INFO : OS Arch: x86
INFO : ..................................................
INFO : ..................................................
INFO : Avaible CPU(s): 2
INFO : Processor(s) Identifier: x86 Family 15 Model 4 Stepping 1, GenuineIntel
INFO : ..................................................
INFO : ..................................................
INFO : Runtime Information
INFO : Current Free Heap Size: 0 mb
INFO : Current Heap Size: 4 mb
INFO : Maximum Heap Size: 63 mb
INFO : ..................................................
INFO : ..................................................
INFO : Java Platform Information
INFO : Java Runtime Name: Java™ SE Runtime Environment
INFO : Java Version: 1.6.0_13
INFO : Java Class Version: 50.0
INFO : ..................................................
INFO : ..................................................
INFO : Virtual Machine Information (JVM)
INFO : JVM Name: Java HotSpot™ Client VM
INFO : JVM installation directory: C:\Program Files\Java\jre6
INFO : JVM version: 11.3-b02
INFO : JVM Vendor: Sun Microsystems Inc.
INFO : JVM Info: mixed mode, sharing
INFO : ..................................................
INFO : ..................................................
INFO : LoginManager initiating
INFO : Cached 10 KeyPairs for RSA communication
INFO : Stored 20 keys for Blowfish communication
INFO : GameServerManager: Loaded 1
INFO : Cached 10 RSA keys for Game Server communication.
INFO : BanManager: Loaded 3 banned ip/subnet(s).
INFO : Listening for GameServers on 127.0.0.1:9014
INFO : Telnet: Listening on port: 2106
===============================================-[ L2Emu Project: Login Server ]
INFO : Revision: 1760
INFO : Build Date: 05-05-2009 12:46:19 AM
INFO : JDK version: 1.6.0_12
INFO : Archiver-Version: Plexus Archiver
INFO : Created-By: Apache Maven
INFO : Built-By: Joxer
INFO : Manifest-Version: 1.0
====================================================================-[ Status ]
FATAL : FATAL: Failed to open server socket. Reason: Address already in use: bin
d java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.mmocore.network.SelectorThread.openServerSocket(SelectorThread.ja
va:114)
at net.l2emuproject.loginserver.L2LoginServer.startServer(L2LoginServer.
java:176)
at net.l2emuproject.loginserver.L2LoginServer.<init>(L2LoginServer.java:
168)
at net.l2emuproject.loginserver.L2LoginServer.main(L2LoginServer.java:78
)
LoginServer terminated abnormaly
LoginServer terminated
Для продолжения нажмите любую клавишу . . .
мои соображения: беспонятия
для игры по инету! это айпиха вот в ГС вписываю гс нормально запускается, а ЛС вот эту тягу выкидывает
вот одна проблема в 1760 сборке нету этих строк
ExternalHostname=Ваш домен
InternalHostname=Ваш домен
там только это
# ================== #========================#
# 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.l2-emu.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 = 127.0.0.1
LoginServerPort = 2106
# The port, ip on which login will listen for GameServers
LoginPort = 9014
LoginHostName = 127.0.0.1
# 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,lo,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/l2db
# 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 = root
# Define how many connections are allowed on your database.
MaximumDbConnections = 10
kr-aleksandr
так в чём весь прикол что он незапущен, я так понял он руает что неможет использовать этот домен


