Stuck at last step, can't login

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
AgainstMe
Posts: 8
Joined: Sat May 08, 2010 4:48 pm

Stuck at last step, can't login

Post by AgainstMe »

Hello everyone.

I downloaded the files which is presently posted on l2jserver.com/downloads section. I believe its Gracia-EP. I got everything working well, but when I try to connect to the game via gracia final part client it keeps saying password is incorrect. There's just no way for that, since I already set the accounts to be created automatically. I opened ports, editted properties files, hosts file but still I simply can't login. I'll post three of these files below below. By the way, I've set the server on my computer from which I am willing to play.


ImHosts file (its ImHosts just because win7 I believe)

Code: Select all

# Copyright (c) 1993-1999 Microsoft Corp.## This is a sample LMHOSTS file used by the Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to computernames# (NetBIOS) names.  Each entry should be kept on an individual line.# The IP address should be placed in the first column followed by the# corresponding computername. The address and the computername# should be separated by at least one space or tab. The "#" character# is generally used to denote the start of a comment (see the exceptions# below).## This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmhosts# files and offers the following extensions:##      #PRE#      #DOM:<domain>#      #INCLUDE <filename>#      #BEGIN_ALTERNATE#      #END_ALTERNATE#      \0xnn (non-printing character support)## Following any entry in the file with the characters "#PRE" will cause# the entry to be preloaded into the name cache. By default, entries are# not preloaded, but are parsed only after dynamic name resolution fails.## Following an entry with the "#DOM:<domain>" tag will associate the# entry with the domain specified by <domain>. This affects how the# browser and logon services behave in TCP/IP environments. To preload# the host name associated with #DOM entry, it is necessary to also add a# #PRE to the line. The <domain> is always preloaded although it will not# be shown when the name cache is viewed.## Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT)# software to seek the specified <filename> and parse it as if it were# local. <filename> is generally a UNC-based name, allowing a# centralized lmhosts file to be maintained on a server.# It is ALWAYS necessary to provide a mapping for the IP address of the# server prior to the #INCLUDE. This mapping must use the #PRE directive.# In addtion the share "public" in the example below must be in the# LanManServer list of "NullSessionShares" in order for client machines to# be able to read the lmhosts file successfully. This key is under# \machine\system\currentcontrolset\services\lanmanserver\parameters\nullsessionshares# in the registry. Simply add "public" to the list found there.## The #BEGIN_ and #END_ALTERNATE keywords allow multiple #INCLUDE# statements to be grouped together. Any single successful include# will cause the group to succeed.## Finally, non-printing characters can be embedded in mappings by# first surrounding the NetBIOS name in quotations, then using the# \0xnn notation to specify a hex value for a non-printing character.## The following example illustrates all of these extensions:## 102.54.94.97     rhino         #PRE #DOM:networking  #net group's DC# 102.54.94.102    "appname  \0x14"                    #special app server# 102.54.94.123    popular            #PRE             #source server# 102.54.94.117    localsrv           #PRE             #needed for the include## #BEGIN_ALTERNATE# #INCLUDE \\localsrv\public\lmhosts# #INCLUDE \\rhino\public\lmhosts# #END_ALTERNATE## In the above example, the "appname" server contains a special# character in its name, the "popular" and "localsrv" server names are# preloaded, and the "rhino" server name is specified so it can be used# to later #INCLUDE a centrally maintained lmhosts file if the "localsrv"# system is unavailable.## Note that the whole file is parsed including comments on each lookup,# so keeping the number of comments to a minimum will improve performance.# Therefore it is not advisable to simply add lmhosts file entries onto the# end of this file. 127.0.0.1 localhost 192.168.1.1 l2authd.lineage2.com192.168.1.1 nprotect.lineage2.com

server.properties

Code: Select all

# ---------------------------------------------------------------------------# 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/. 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 *.# ---------------------------------------------------------------------------# Default: *ExternalHostname = 127.0.0.1 # ---------------------------------------------------------------------------# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.# If this IP is resolvable by the Login Server, just leave *.# ---------------------------------------------------------------------------# Default: *InternalHostname = 127.0.0.1 # Default: 127.0.0.1LoginHost = 127.0.0.1 # Default: 9014LoginPort = 9014 # Default: *GameserverHostname = 127.0.0.1 # Default: 7777GameserverPort = 7777 # ---------------------------------------------------------------------------# Database# ---------------------------------------------------------------------------# Uncomment the appropriate driver and url for the database you're using. If you don't know what this is... www.google.comDriver = com.mysql.jdbc.Driver #Driver = org.hsqldb.jdbcDriver#Driver = com.microsoft.sqlserver.jdbc.SQLServerDriverURL = jdbc:mysql://localhost/l2jdb #URL = jdbc:hsqldb:hsql://localhost/l2jdb#URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =#Database user info (using root user is not recommended)Login = root #Password = root # Default: 100MaximumDbConnections = 100 # Default: 0MaximumDbIdleTime = 0 # ---------------------------------------------------------------------------# Misc Server Settings# ---------------------------------------------------------------------------# This is the server ID that the Game Server will request.# Example: 1 = Bartz# Default: 1RequestServerID = 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 = 100 # Minimum and maximum protocol revision that server allow to connect.# Warning: You must make sure that the minimum revision is always less than or equal to the maximum revision.# Default: 12MinProtocolRevision = 12 # Default: 17MaxProtocolRevision = 17 # ---------------------------------------------------------------------------# Misc Player Settings# ---------------------------------------------------------------------------# Character name template.# Example: CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*# The above setting will allow names with first capital letter, next three small letters, and any (capital or not) letter or number, like OmfgWTF1# Most rational to have CnameTemplate = [A-Z][a-z]*# The above setting will allow names only of letters with first one capital, like Omfgwtf# Default .* (as many of any symbols)CnameTemplate = .* #PetNameTemplate = .* # Maximum number of characters per account.# Default: 7 (client limit)CharMaxNumber = 7
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# ---------------------------------------------------------------------------# ---------------------------------------------------------------------------# 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/. This is if you want people outside your internal network to be able to connect to your server.# ---------------------------------------------------------------------------# Default: 127.0.0.1ExternalHostname = 127.0.0.1 # ---------------------------------------------------------------------------# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.# ---------------------------------------------------------------------------# Default: 127.0.0.1InternalHostname = 127.0.0.1 # Bind ip of the LoginServer, use * to bind on all available IPs# Default: *LoginserverHostname = 127.0.0.1 # Default: 2106LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs# Default: *LoginHostname = 127.0.0.1 # 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 = False # Enforce GameGuard authorization from client?# If True, login server will kick client if the client bypassed GameGuard authentication.# Default: TrueForceGGAuth = True # Flood Protection. All values are in MILISECONDS.# Default: TrueEnableFloodProtection = True # Default: 15FastConnectionLimit = 15 # Default: 700NormalConnectionTime = 700 # Default: 350FastConnectionTime = 350 # Default: 50MaxConnectionPerIP = 50 # ---------------------------------------------------------------------------# Database# ---------------------------------------------------------------------------# Uncomment the appropriate driver and url for the database you're using. If you don't know what this is... www.google.comDriver = com.mysql.jdbc.Driver #Driver = org.hsqldb.jdbcDriver#Driver = com.microsoft.sqlserver.jdbc.SQLServerDriverURL = jdbc:mysql://localhost/l2jdb #URL = jdbc:hsqldb:hsql://localhost/l2jdb#URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =#Database user info (using root user is not recommended)Login = root #Password = root # Default: 10MaximumDbConnections = 10 # Default: 0MaximumDbIdleTime = 0 # ---------------------------------------------------------------------------# Misc.# ---------------------------------------------------------------------------# If False, the license (after the login) will not be shown.# Default: TrueShowLicence = True # Default: TrueAutoCreateAccounts = True # ---------------------------------------------------------------------------# Developer Settings# ---------------------------------------------------------------------------# Default: FalseDebug = False # Default: FalseAssert = False # Default: FalseDeveloper = False
Any kind of help would be appreciated a lot!
Last edited by AgainstMe on Sat May 08, 2010 11:45 pm, edited 1 time in total.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Stuck at last step, can't login

Post by hope »

should be hosts file not the one you are using
and you are also missing the nprotect line
and remove the #

your configs external and interanl ips need to be filled in
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Stuck at last step, can't login

Post by hope »

93.MinProtocolRevision = 5000 /////(THESE SETTINGS DETERMINE WHAT CLIENT CAN PLAY ON THE SERVER, KEEP TO DEFAULT OR FOR ALL CLIENTS TO PLAY DO MIN: 1 AND MAX 9999)94. 95.# Default: 1796.MaxProtocolRevision = 9999

u joking

this will not even let the latest client to login files you are running are not latest
AgainstMe
Posts: 8
Joined: Sat May 08, 2010 4:48 pm

Re: Stuck at last step, can't login

Post by AgainstMe »

Believe me I don't, it's my first try and all I did is follow the steps. What should I enter to minprotocolrev? Secondly, whats that nprotect line? Could you please give me an example (would be awesome if you copy a proper working one)

And thank you so much for replying so fast :)


edit: I filled these with 127.0.0.1, also tried to edit ImHosts file as you said but it still doesn't work. (I changed the codes which is on the first post with the latest edits.)
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Stuck at last step, can't login

Post by hope »

first of all you will need the latest server files use eclipse to get them
AgainstMe
Posts: 8
Joined: Sat May 08, 2010 4:48 pm

Re: Stuck at last step, can't login

Post by AgainstMe »

I already compiled this the ones written below with eclipse(these are posted on l2jserver.com/download section)

* L2J Core: http://l2jserver.com/svn/trunk/L2_GameServer/
* L2J Datapack : http://www.l2jdp.com/svn/trunk/datapack_development
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Stuck at last step, can't login

Post by hope »

what core and db version do you have
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Stuck at last step, can't login

Post by hope »

what way did you build the zip files that could be your problem if not build right then that its self will cause problem can show you how if you want
AgainstMe
Posts: 8
Joined: Sat May 08, 2010 4:48 pm

Re: Stuck at last step, can't login

Post by AgainstMe »

I added that two link to the ''SVN Repositories'' at eclipse, after downloading finished there was a build.xml file in both folders. I did right click > run as > 1 Ant Build. Both finished successfully. Thats how I did :roll:
AgainstMe
Posts: 8
Joined: Sat May 08, 2010 4:48 pm

Re: Stuck at last step, can't login

Post by AgainstMe »

Could anyone please help? I almost tried everything, nothing seems to be workin' and its driving me crazy :roll:
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: Stuck at last step, can't login

Post by LasTravel »

Man if your use on configs:

Code: Select all

InternalHostname = 127.0.0.1
Why you put on "ImHosts":

Code: Select all

192.168.1.1 l2authd.lineage2.com192.168.1.1 nprotect.lineage2.com
???

Use:

Code: Select all

127.0.0.1 l2authd.lineage2.com127.0.0.1 nprotect.lineage2.com
AgainstMe
Posts: 8
Joined: Sat May 08, 2010 4:48 pm

Re: Stuck at last step, can't login

Post by AgainstMe »

I tried that too, didn't work :/
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Stuck at last step, can't login

Post by hope »

AgainstMe wrote:I added that two link to the ''SVN Repositories'' at eclipse, after downloading finished there was a build.xml file in both folders. I did right click > run as > 1 Ant Build. Both finished successfully. Thats how I did :roll:
was not talking about eclipse build was talking about the zip files when you put together your files did you do it right and as i said if u want help i will show you over remote connection if u want
AgainstMe
Posts: 8
Joined: Sat May 08, 2010 4:48 pm

Re: Stuck at last step, can't login

Post by AgainstMe »

Problem solved.

The problem wasn't with hosts, or properties files. At the beginning I didn't compile right thats why.

Thanks Hope for all the help.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Stuck at last step, can't login

Post by hope »

happy to
Post Reply