Page 1 of 1

Login Server Connection problem

Posted: Mon Jan 10, 2011 6:41 pm
by allromanianrejects
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 :

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>
Server.properties :

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 
hexid.txt :

Code: Select all

@echo offcolor 17clsjava -Djava.util.logging.config.file=console.cfg -cp ./../libs/*;l2jlogin.jar com.l2jserver.gsregistering.BaseGameServerRegister -cexit 
Loginserver.properties :

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  

Re: Login Server Connection problem (Not Solved)

Posted: Mon Jan 10, 2011 6:48 pm
by _DS_
allromanianrejects wrote:InternalIP: *
ExternalIP: *
No such strings in Freya release.

Re: Login Server Connection problem (Not Solved)

Posted: Mon Jan 10, 2011 6:56 pm
by allromanianrejects
_DS_ wrote:
allromanianrejects wrote:InternalIP: *
ExternalIP: *
No such strings in Freya release.
So what have i did wrong to get this type of error ?

Re: Login Server Connection problem (Not Solved)

Posted: Mon Jan 10, 2011 7:17 pm
by _DS_
idk what revision you running

Re: Login Server Connection problem (Not Solved)

Posted: Mon Jan 10, 2011 7:21 pm
by allromanianrejects
_DS_ wrote:idk what revision you running
#
jdp : version = 7664

#
l2j : 4420

here is what i have

Re: Login Server Connection problem (Not Solved)

Posted: Mon Jan 10, 2011 7:45 pm
by TomDavidson
My version of l2j is 4466 so 4420 is a little behind. I'd try getting the latest version of both the core and the datapack.

I'm no java expert but it looks like it's complaining that it can't get your IP address.

Re: Login Server Connection problem (Not Solved)

Posted: Mon Jan 10, 2011 7:50 pm
by _DS_
No such strings in loginserver rev 4420.

Re: Login Server Connection problem (Not Solved)

Posted: Tue Jan 11, 2011 3:19 pm
by allromanianrejects
solved .. i pasted the data pack of a earlyer version of server :)
thanks anyway !