Ir para conteúdo
  • Cadastre-se
  • 0

(Resolvido) Login Server e Game Server Error


bozinmv

Pergunta

Não Consigo colocar o servidor on para outras pessoas entrar nele,

pq quando tiro o * e coloko o no-ip não da certo aparece esse erro:

 

 

==================================================================-[ Database ]

MLog clients using java 1.4+ standard logging.

Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]

Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireInc

rement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnCl

ose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailu

re -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connec

tionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSou

rceName -> 1hge1368jqf4ci3m4spx0|14f8dab, debugUnreturnedConnectionStackTraces -

> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClass

Location -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1

hge1368jqf4ci3m4spx0|14f8dab, idleConnectionTestPeriod -> 3600, initialPoolSize

-> 10, jdbcUrl -> jdbc:mysql://localhost/l2jdb, maxAdministrativeTaskTime -> 0,

maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxP

oolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSi

ze -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, pre

ferredTestQuery -> null, properties -> {user=******, password=******}, propertyC

ycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,

unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]

===========================================================-[ LoginController ]

Cached 10 KeyPairs for RSA communication

Stored 20 keys for Blowfish communication

Loaded 127 server names

Loaded 1 registered Game Servers

Cached 10 RSA keys for Game Server communication.

FATAL: Failed to start the Game Server Listener. Reason: Cannot assign requested

address: JVM_Bind

java.net.BindException: Cannot assign requested address: JVM_Bind

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(Unknown Source)

at java.net.ServerSocket.bind(Unknown Source)

at java.net.ServerSocket.<init>(Unknown Source)

at com.l2jfrozen.loginserver.FloodProtectedListener.<init>(FloodProtecte

dListener.java:54)

at com.l2jfrozen.loginserver.GameServerListener.<init>(GameServerListene

r.java:39)

at com.l2jfrozen.loginserver.L2LoginServer.<init>(L2LoginServer.java:206

)

at com.l2jfrozen.loginserver.L2LoginServer.main(L2LoginServer.java:52)

 

LoginServer terminated abnormaly

 

 

 

 

Meu PC é Rotiado Já tentei liberar as portas 9014 e a 2106 que é as q estao com a opção de colocar *

ja procurei em tutoriais aki no forum mais não consigui resolver com as explicação que vi ,

me ajudem ai por favor.

Obrigado

Link para o comentário
Compartilhar em outros sites

4 respostass a esta questão

Posts recomendados

Não precisa mecher onde esta o * se não da erro mesmo, apenas mude o InternalIP e External

# Configure your external ip

ExternalHostname = 127.0.0.1 ~~> no-ip

 

# Configure your internal ip

InternalHostname = 127.0.0.1 ~~> se é no seu pc deixa 127.0.0.1 ai na sua system pra vc logar deixa 127.0.0.1(ini) e pros outros de fora coloca o no-ip como vc ve, é Interno e o outro externo :lala:

 

Abraços espero ter ajudado.

Link para o comentário
Compartilhar em outros sites


Mas e esses outros dois aki , pq o problema são neles :

 

# Bind ip of the loginServer, use * to bind on all available IPs

LoginserverHostname = Oq Coloko aki ( tentei no-ip mas nao deu )

LoginserverPort = 2106

 

 

# The address on which login will listen for GameServers, use * to bind on all available IPs

LoginHostname = Oq Coloko aki ( tentei no-ip mas nao deu )

 

# The port on which login will listen for GameServers

LoginPort = 9014

 

Coloquei o no-ip ali onde esta vermlho , e o erro acima indica q é ali, pelomenos é oq eu axo, mas agradeço por comentar, se possivel me ajude ai denovo. vlws

Link para o comentário
Compartilhar em outros sites

Mas e esses outros dois aki , pq o problema são neles :

 

# Bind ip of the loginServer, use * to bind on all available IPs

LoginserverHostname = Oq Coloko aki ( tentei no-ip mas nao deu )

LoginserverPort = 2106

 

 

# The address on which login will listen for GameServers, use * to bind on all available IPs

LoginHostname = Oq Coloko aki ( tentei no-ip mas nao deu )

 

# The port on which login will listen for GameServers

LoginPort = 9014

 

Coloquei o no-ip ali onde esta vermlho , e o erro acima indica q é ali, pelomenos é oq eu axo, mas agradeço por comentar, se possivel me ajude ai denovo. vlws

 

Gameserver.prop

 

# ===================================#

# 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

# -----------------------------------------------------------------------------------------------------------------------------------------------------------------

# 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/.'>http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.

# If this IP is resolvable by the Login Server, just leave *.

# ----------------------------------------------------------------------------------------

 

# Enter here (ip) address of your game server, or use the symbol *

GameserverHostname = *

GameserverPort = 7777

 

# Configure your external ip

ExternalHostname = 127.0.0.1 ~~> No IP

 

# Configure your internal ip

InternalHostname = 127.0.0.1 ~~> se é no seu pc deixa 127.0.0.1 ai na sua system pra vc logar deixa 127.0.0.1(ini) e pros outros de fora coloca o no-ip como vc ve, é Interno e o outro externo :lala:

 

# Bunch ID and game server. It is better not to change.

LoginPort = 9014

LoginHost = 127.0.0.1

 

# Database Pool Type

# Possible Values: c3p0 or BoneCP

# c3p0: more stable

# BoneCP: more performance

DatabasePoolType=c3p0

 

# Parameters Databases - MYSQL

Driver = com.mysql.jdbc.Driver

URL = jdbc:mysql://localhost/l2jdb

# Login - Mysql's user

Login = root

# Password - Mysql's Password

Password =

# Attention: lazy init connections disabled!

# Please, set only real values for your database

# Default: 100

MaximumDbConnections = 50

 

# Default: 0

MaximumDbIdleTime = 0

 

# The timeout before a new connection to the database (in ms)

# 0 - to remove restrictions

TimeOutConDb = 0

 

# The timeout before the single connection must be closed (in ms)

# if a connection life is more then this timeout, a Runtime Exception

# is rised up. Post the exception on forum (www.l2jfrozen.com) to solve

# it.

SingleConnectionTimeOutDb=200000

 

# Sets number of partitions to use.- BoneCP

# In order to reduce lock contention and thus improve performance,

# each incoming connection request picks off a connection from a pool that has thread-affinity,

# i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case

# when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start

# to have a negative effect on performance (and only for the case when connections on a partition start running out).

PartitionCount = 3

 

# Setting emulation off the kernel (package SendStatus)

RemoteWhoLog = True

RemoteWhoSendTrash = True

RemoteWhoMaxOnline = 329

RemoteOnlineIncrement = 50

RemoteWhoForceInc = 50

RemotePrivStoreFactor = 12

 

# Datapack folder

# DatapackRoot = C:/Work/tmp/DataPack

 

 

 

Loginserver.prop

 

#============================================================#

# Frozen Dev.Team #

#============================================================#

# This is the server configuration file. Here you can set up the connection for your server.

# 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)

# - Questions? =>

O conteúdo está oculto, favor efetuar login ou se cadastrar!

#

# * = 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

# ===================================================================================================

 

# ================================================================

# General server setting !!! REQUIRED to configure to everyone !!!

# ================================================================

 

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

ExternalHostname = 127.0.0.1 ~~> No-IP

 

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

InternalHostname = 127.0.0.1 ~~> se é no seu pc deixa 127.0.0.1 ai na sua system pra vc logar deixa 127.0.0.1(ini) e pros outros de fora coloca o no-ip como vc ve, é Interno e o outro externo :lala:

 

# Bind ip of the loginServer, use * to bind on all available IPs

LoginserverHostname = *

LoginserverPort = 2106

 

# How many times you can provide an invalid account/pass before the IP gets banned

LoginTryBeforeBan = 20

 

# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)

LoginBlockAfterBan = 600

GMMinLevel = 100

 

# The address on which login will listen for GameServers, use * to bind on all available IPs

LoginHostname = 127.0.0.1

 

# The port on which login will listen for GameServers

LoginPort = 9014

 

# If set to True any GameServer can register on your login's free slots

AcceptNewGameServer = False

 

# If False, the licence (after the login) will not be shown

# It is highly recomended for Account Seciurity to leave this option as defalut (True)

ShowLicence = True

 

# Database Pool Type

# Possible Values: c3p0 or BoneCP

# c3p0: more stable

# BoneCP: more performance

DatabasePoolType=c3p0

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

 

# Database Settings

URL=jdbc:mysql://localhost/l2jdb

#URL=jdbc:hsqldb:hsql://localhost/l2jdb

#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=

 

# Parameters Databases - MYSQL

# Login - Mysql's user

Login = root

# Password - Mysql's Password

Password =

# maximum number of simultaneous connecting to the database

MaximumDbConnections = 50

 

# Default: 0

MaximumDbIdleTime = 0

 

# The timeout before a new connection to the database (in ms)

# default 0 disabled

TimeOutConDb = 0

 

# Sets number of partitions to use. - BoneCP

# In order to reduce lock contention and thus improve performance,

# each incoming connection request picks off a connection from a pool that has thread-affinity,

# i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case

# when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start

# to have a negative effect on performance (and only for the case when connections on a partition start running out).

PartitionCount = 3

 

# Limit fast connections (input username / password)

FastConnectionLimit = 15

# Time of the normal connection (in ms)

NormalConnectionTime = 700

# Time fast connection (in ms)

FastConnectionTime = 350

# Maximum connections with the 1st IP

MaxConnectionPerIP = 50

 

 

# The lifetime of the session with the login server.

SessionTTL = 25000

MaxSessions = 100

 

# Choose the option: "true", to create an account when logging in automatically

AutoCreateAccounts = True

 

# Time to renew the IP address of the server in minutes (for dynamic IP)

IpUpdateTime = 0

 

# The configuration of the local subnet

# Example : 192.168

# Ppimer : 10.1

NetworkList = 192.168.;10.0.

 

# ===============================================================

# Test server configuration, not to switch on the game server! =

# ===============================================================

# Use the GG client authentication

# Login server access let the client without GameGuard

ForceGGAuth = False

 

# Including protection from flood

# IMPORTANT: Put True for server security.

EnableFloodProtection = True

 

# Enable mode "debugging"

# With debug you will see more log on console and more messages in game.

Debug = False

 

# Switched on "development"

Developer = False

 

# =============================================================

# Anti Ddos protection.

# This system works with iptables

# =============================================================

# iptables -A INPUT -p tcp --dport 7777 -j DROP

# IMPORTANT: Put True for server security.

# IMPORTANT: Active only with LINUX OS.

EnableDdosProSystem = False

# String deny_comms

# IMPORTANT: If you don't know what is it, leave as default

Deny_noallow_ip_ddos = /sbin/iptables -I INPUT 13 -p tcp --dport 7777 -s $IP -j ACCEPT

# Active full log on Login Server console about Ddos protection

Fulllog_mode_print = false

 

#-------------------------------------------

# Additional login server logs settings -

#-------------------------------------------

Debug = False

Assert = False

Developer = False

EnableAllExceptionsLog = false

DebugPackets = false

 

Muda apenas ai onde está vermelho o resto nem meche

Link para o comentário
Compartilhar em outros sites

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.





×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.