problem with host file

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Post by msknight »

What versions of the data and server are you using? Check for these in the first few lines of the stdio/log in the gameserver/log
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
adistaktos
Posts: 33
Joined: Tue Aug 01, 2006 2:28 am

Post by adistaktos »

where i can find these ???
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Post by msknight »

in the gameserver/log folder, you are looking for a file called stdio.log ... it contains the messages that the gameserver is making. In the first few lines it will give the server and datapack revision numbers.
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
adistaktos
Posts: 33
Joined: Tue Aug 01, 2006 2:28 am

Post by adistaktos »

i haven't these files in my log folder
msknight
Advanced User
Advanced User
Posts: 308
Joined: Wed May 10, 2006 11:40 am
Location: U.K.

Post by msknight »

adistaktos wrote:i haven't these files in my log folder
... then it is likely that your gameserver is not running.

Use the command "ps -a" and see if the loginserver and the gameserver are listed there.
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
adistaktos
Posts: 33
Joined: Tue Aug 01, 2006 2:28 am

Post by adistaktos »

i don't understand where to put this command pls help little more be more specific i am a liltle noob in these ..... :?
kadar
L2j Veteran
L2j Veteran
Posts: 152
Joined: Sun Apr 10, 2005 1:34 am

Re: problem with host file

Post by kadar »

adistaktos wrote:i did everything right but now i don't know what to put in host file so i can play with my friends on internet. I open the ports and i put the right ip's in the loginserver and in the gameserver file (external ip's , internal ip's) . i saw from others servers that they put : :arrow:
127.0.0.1 localhost
xxx.xxx.xxx.xxx l2testauthd.lineage2.com #......
xxx.xxx.xxx.xxx l2authd.lineage2.com #.....
and i did that with my external ip but i doesn't work . it tell's me wrong account (i have autocreate account) and if i put :
127.0.0.1 localhost
127.0.0.1 l2testauthd.lineage2.com
127.0.0.1 l2authd.lineage2.com
it works properly but i can't play in my server on internet. Pls some help here :!: (Sorry for my english i hope u will understand it !!! :P )


Are you using a router?
Yes -> Did you forward the needed ports? -> Use the Lan IP in YOUR host file and the Internal address in the config files.
No -> Use the 127.0.0.1 in YOUR host file and the Internal address in the config files.

Your players who are out on the internet use your 87.203.blah.blah address in their host to connect to you.

You can not use the internet address to play the game when you host the server.
adistaktos
Posts: 33
Joined: Tue Aug 01, 2006 2:28 am

Post by adistaktos »

i did that and only lan pc's can play in the server.
kadar
L2j Veteran
L2j Veteran
Posts: 152
Joined: Sun Apr 10, 2005 1:34 am

Post by kadar »

Then its a router or firewall problem.
adistaktos
Posts: 33
Joined: Tue Aug 01, 2006 2:28 am

Post by adistaktos »

in my router i have close all the requiered ports and i had closed my firewall protection.
kadar
L2j Veteran
L2j Veteran
Posts: 152
Joined: Sun Apr 10, 2005 1:34 am

Re: problem with host file

Post by kadar »

kadar wrote:

Are you using a router?
Yes -> Did you forward the needed ports?
adistaktos
Posts: 33
Joined: Tue Aug 01, 2006 2:28 am

Post by adistaktos »

yes i have a dsl router and i open all the ports that i need (like in portforward.com). :!: :!:
adistaktos
Posts: 33
Joined: Tue Aug 01, 2006 2:28 am

Post by adistaktos »

I think that we misunderstoud my problem i said that i can play to my server when i put in my host file this :arrow:

192.xxx.x.x l2authd.lineage2.com
192.xxx.x.x l2testauthd.lineage2.com

but i can't play in it when i put this :arrow:

87.xxx.xx.xx l2authd.lineage2.com
87.xxx.xx.xx l2testauthd.lineage2.com
kadar
L2j Veteran
L2j Veteran
Posts: 152
Joined: Sun Apr 10, 2005 1:34 am

Re: problem with host file

Post by kadar »

kadar wrote:
You can not use the internet address to play the game when you host the server.
I'm not misunderstood. Your just not reading what is written.

Let me try explain another way.

You are hosting the server locally, so you must use a local address to connect to it.
And everyone else but LAN users use the internet address.
adistaktos
Posts: 33
Joined: Tue Aug 01, 2006 2:28 am

Post by adistaktos »

so what can i do i will put in my host my lan ip.... in server.properties i will put in external =my wan ip and in internal = lan ip and in login server =lan ip ???

Image
Post Reply