Connecting to local server

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
Ainalcar
Posts: 4
Joined: Thu Apr 29, 2010 5:49 pm

Connecting to local server

Post by Ainalcar »

L2J Revision 4122:
L2JDP Revision 7322:

Hello there, i don't know what i am doing wrong... i used search, google several times but without success.
After having downloaded and updated the client i edited the hosts file, but i am still connecting to retail...
here is a picture of the server running - Image

since i guess the problem must be on client's side im not posting my config, but i can do that if it's necessary.

I am using Windows 7 64 bit.

Thanks in advance.
magestik
Posts: 31
Joined: Tue Jul 19, 2005 3:21 pm

Re: Connecting to local server

Post by magestik »

Are you useing L2.exe to start the client ?

post your hosts file pls
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Connecting to local server

Post by jurchiks »

it doesn't matter what he uses to launch the game, hosts file is most probably wrong or is not read by the game.
unless he has modified l2.ini file, hosts work always.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Ainalcar
Posts: 4
Joined: Thu Apr 29, 2010 5:49 pm

Re: Connecting to local server

Post by Ainalcar »

at the beginning i had no l2.exe at all so i had to make a copy of l2.bin and rename it into l2.exe
now i am using l2.exe to start lineage, yes

hosts file has ABSOLUTELY no influence on the client's behavior.. i tried everything... even to delete it! the client still connects to the retail server...

now (after having tried everything) i downloaded a patched gracia epilogue folder and changed the following Image from l2.authd.lineage2.com to localhost

now I am even able to get to the server selection window but no further because of this -
Image

i hope you know what i am doing ;D

thank you in advance ;)

p.s. here is my host file

Code: Select all

# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should be kept on an individual line. The IP address should# be placed in the first column followed by the corresponding host name.# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual# lines or following the machine name denoted by a '#' symbol.## For example:##      102.54.94.97     rhino.acme.com          # source server#       38.25.63.10     x.acme.com              # x client host # localhost name resolution is handled within DNS itself.127.0.0.1       localhost#	::1             localhost#	86.127.71.45 L2authd.lineage2.com
p.p.s. here's the protocol i am using maybe it will help Image
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Connecting to local server

Post by janiii »

# means a comment, so the content is ignored. Remove the # in front of the ip for l2authd
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Ainalcar
Posts: 4
Joined: Thu Apr 29, 2010 5:49 pm

Re: Connecting to local server

Post by Ainalcar »

i know, but why should i make my client connect to l2.authd?
should i place the 127 ip in front of this in this case?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Connecting to local server

Post by janiii »

you were complaining that you are always connecting to retail. that is because you have the line commented out in your hosts file. remove the comment and you will connect to the ip you specify.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Connecting to local server

Post by jurchiks »

just delete everything in the hosts file and put

127.0.0.1 localhost
127.0.0.1 l2authd.lineage2.com

there's nothing else important there anyway, only comments
and change the l2.ini back to what it was, l2authd.lineage2.com

Edit: oh, and protocol version 148 is outdated, update your client (full check)
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Ainalcar
Posts: 4
Joined: Thu Apr 29, 2010 5:49 pm

Re: Connecting to local server

Post by Ainalcar »

It worked fine, thank you a lot ;).
Post Reply