Login Server Connection problem
Posted: Mon Jan 10, 2011 6:41 pm
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4422:
L2JDP Revision Number:
Here is what i get when i log in
I can login right away,
but i'm absolutley shure this is not right ...
====================================================================================
Listening for GameServers on *:9014
Telnet server is currently disabled.
Login Server ready on *:2106
Updated Gameserver [1] Bartz IP's:
InternalIP: *
ExternalIP: *
java.net.UnknownHostException: *
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at com.l2jserver.loginserver.serverpackets.ServerList.write(ServerList.j
ava:130)
at org.mmocore.network.SelectorThread.putPacketIntoWriteBuffer(SelectorT
hread.java:571)
at org.mmocore.network.SelectorThread.prepareWriteBuffer(SelectorThread.
java:543)
at org.mmocore.network.SelectorThread.writePacket(SelectorThread.java:46
2)
at org.mmocore.network.SelectorThread.run(SelectorThread.java:179)
======================================================================================
And Here are some cofigs that you may require :
ipconfig.xml :
Server.properties :
hexid.txt :
Loginserver.properties :
» Find Revision
L2J Revision 4422:
L2JDP Revision Number:
Here is what i get when i log in
I can login right away,
but i'm absolutley shure this is not right ...
====================================================================================
Listening for GameServers on *:9014
Telnet server is currently disabled.
Login Server ready on *:2106
Updated Gameserver [1] Bartz IP's:
InternalIP: *
ExternalIP: *
java.net.UnknownHostException: *
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at com.l2jserver.loginserver.serverpackets.ServerList.write(ServerList.j
ava:130)
at org.mmocore.network.SelectorThread.putPacketIntoWriteBuffer(SelectorT
hread.java:571)
at org.mmocore.network.SelectorThread.prepareWriteBuffer(SelectorThread.
java:543)
at org.mmocore.network.SelectorThread.writePacket(SelectorThread.java:46
2)
at org.mmocore.network.SelectorThread.run(SelectorThread.java:179)
======================================================================================
And Here are some cofigs that you may require :
ipconfig.xml :
Code: Select all
<?xml version="1.0" encoding="UTF-8"?><!-- Put old contents of ExternalHostname here, used by default --><gameserver address="89.137.194.206"> <!-- Localhost access --> <define subnet="127.0.0.0/8" address="127.0.0.1" /> <!-- LAN's, put old contents of InternalHostname here --> <define subnet="10.0.0.0/8" address="10.0.0.0" /> <define subnet="172.16.0.0/19" address="172.16.0.0" /> <define subnet="192.168.0.0/16" address="192.168.0.140" /></gameserver>
Code: Select all
# Where's the Login server this gameserver should connect to# Default: 127.0.0.1LoginHost = 127.0.0.1 # TCP port the login server listen to for gameserver connection requests# Default: 9014LoginPort = 9014 # Bind address for gameserver. You should not need to change it in most cases.# Default: * (0.0.0.0)GameserverHostname = * # Default: 7777GameserverPort = 7777 RequestServerID = 1 # True = The Login Server will give an other ID to the server if the requested ID is already reserved.# Default: TrueAcceptAlternateID = True # Datapack root directory.# Defaults to current directory from which the server is started unless the below line is uncommented.#DatapackRoot = C:/Work/tmp/DataPack # Define how many players are allowed to play simultaneously on your server.# Default: 100MaximumOnlineUsers = 1000 # Numbers of protocol revisions that server allows to connect.# Delimiter is ;# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u># Default: 216AllowedProtocolRevisions = 216
Code: Select all
@echo offcolor 17clsjava -Djava.util.logging.config.file=console.cfg -cp ./../libs/*;l2jlogin.jar com.l2jserver.gsregistering.BaseGameServerRegister -cexit
Code: Select all
# ---------------------------------------------------------------------------# 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# --------------------------------------------------------------------------- # Bind ip of the LoginServer, use * to bind on all available IPs# Default: *LoginserverHostname = * # Default: 2106LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs# Default: *LoginHostname = * # The port on which login will listen for GameServers# Default: 9014LoginPort = 9014 # The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)# Default: 15IpUpdateTime = 15 # ---------------------------------------------------------------------------# Security# ---------------------------------------------------------------------------# Default: TrueLogLoginController = True # How many times you can provide an invalid account/pass before the IP gets banned.# Default: 10LoginTryBeforeBan = 10 # Time you won't be able to login back again after LoginTryBeforeBan tries to login.# Default: 600 (10 minutes)LoginBlockAfterBan = 600 # If set to True any GameServer can register on your login's free slots# Default: FalseAcceptNewGameServer = True # Enforce GameGuard authorization from client?# If True, login server will kick client if the client bypassed GameGuard authentication.# Default: FalseForceGGAuth = False # Flood Protection. All values are in MILISECONDS.# Default: TrueEnableFloodProtection = True # Default: 15FastConnectionLimit = 15 # Default: 700NormalConnectionTime = 700 # Default: 350FastConnectionTime = 350 # Default: 50MaxConnectionPerIP = 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.SQLServerDriverDriver = com.mysql.jdbc.Driver # Database URL# URL = jdbc:mysql://localhost/l2jdb (default)# URL = jdbc:hsqldb:hsql://localhost/l2jdb# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =URL = jdbc:mysql://localhost/l2jdb # Database user info (default is "root" but it's not recommended)Login = root # Database connection passwordPassword = Casio20041 # Default: 10MaximumDbConnections = 10 # Default: 0MaximumDbIdleTime = 0 # ---------------------------------------------------------------------------# Misc.# ---------------------------------------------------------------------------# If False, the license (after the login) will not be shown.# Default: TrueShowLicence = False # Default: TrueAutoCreateAccounts = True # ---------------------------------------------------------------------------# Developer Settings# ---------------------------------------------------------------------------# Default: FalseDebug = False # Default: FalseAssert = False # Default: FalseDeveloper = False