problem with host file
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 33
- Joined: Tue Aug 01, 2006 2:28 am
problem with host file
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 :
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 !!! )
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 !!! )
-
- Advanced User
- Posts: 308
- Joined: Wed May 10, 2006 11:40 am
- Location: U.K.
Check the version number of your client against the one in the gameserver config files. If you update your client, you should find it turns in to 665. Check your gameserver/config/server.properties file, at the bottom should be a min version of 660 and max of 665.
Also, check the stdout.log file in gameserver/logs and see what that says about any connection errors.
If you are inside the network, try replacing your external IP with your internal IP ... eg, if your gateway is on 192.168.0.1 and your server is on 192.168.0.2 then your clients host file needs to use the .2 address rather than your external IP, and the game and logon server configurations need to reference the .2 as the internal address.
Of course, you may be unlucky and have updated your client, and the revision has changed above 665...
Also, check the stdout.log file in gameserver/logs and see what that says about any connection errors.
If you are inside the network, try replacing your external IP with your internal IP ... eg, if your gateway is on 192.168.0.1 and your server is on 192.168.0.2 then your clients host file needs to use the .2 address rather than your external IP, and the game and logon server configurations need to reference the .2 as the internal address.
Of course, you may be unlucky and have updated your client, and the revision has changed above 665...
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
-
- Posts: 33
- Joined: Tue Aug 01, 2006 2:28 am
-
- Advanced User
- Posts: 308
- Joined: Wed May 10, 2006 11:40 am
- Location: U.K.
Check your client with the official server, ie. load the executable in the Lineage 2 directory and let it do an online update.adistaktos wrote:check my client ??? what do mean ??
Well, it does and it doesn't. Just because you have given a big number range, doesn't mean that your client will work with the server ... the max and min are a safety check, not a dictation.adistaktos wrote:my min protocol was 1 and max 999 if that helps.
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
-
- Posts: 33
- Joined: Tue Aug 01, 2006 2:28 am
I fully update the client but it still doesn't login. this is 2 screeshots to help:
the loginserver and the gameserver:
http://img81.imageshack.us/my.php?image ... ameok6.jpg
the hostfile:
http://img81.imageshack.us/my.php?image=hostfilemo4.jpg
maybe the gameserver doesn't see the login or something i don't know
the loginserver and the gameserver:
http://img81.imageshack.us/my.php?image ... ameok6.jpg
the hostfile:
http://img81.imageshack.us/my.php?image=hostfilemo4.jpg
maybe the gameserver doesn't see the login or something i don't know
- Aikimaniac
- L2j Inner Circle
- Posts: 3048
- Joined: Sun Aug 07, 2005 11:42 pm
- Location: Slovakia
START/RUN/cmd and in command window type this "ping l2authd.lineage2.com" and when you get result from IP as you have in hosts it is not Hosts problem...can be firewall..antivirus..antispam..or your server wont accept connection from that client... when it shows different IP as you have in hosts...than you have some malware in your PC or the hosts file is damaged...
-
- Posts: 33
- Joined: Tue Aug 01, 2006 2:28 am
the ping is correct http://img91.imageshack.us/my.php?image=cmder3.jpg
so i maybe i have wrong login or gameserver properties.file?
can u upload those and take them and fill up the external and internal ip's
to work??
so i maybe i have wrong login or gameserver properties.file?
can u upload those and take them and fill up the external and internal ip's
to work??
- Aikimaniac
- L2j Inner Circle
- Posts: 3048
- Joined: Sun Aug 07, 2005 11:42 pm
- Location: Slovakia
Post your login server properties file (no ip please)...adistaktos wrote:the ping is correct http://img91.imageshack.us/my.php?image=cmder3.jpg
so i maybe i have wrong login or gameserver properties.file?
can u upload those and take them and fill up the external and internal ip's
to work??
-
- Posts: 33
- Joined: Tue Aug 01, 2006 2:28 am
# This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => http://l2j.sourceforge.net
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
# ===================================================================================================
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=
# Bind ip of the loginserver, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2106
LoginTryBeforeBan=20
GMMinLevel=100
# The port on which login will listen for GameServers
LoginPort=9014
# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = False
# If false, the licence (after the login) will not be shown
ShowLicence = true
# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=
MaximumDbConnections=100
# Useable values: "true" - "false", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=true
# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# (0 = disable)
IpUpdateTime=0
# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================
Debug = False
Assert = False
Developer = False
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=true
#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50
and if u want all the file http://rapidshare.de/files/30306307/log ... rties.html[/list]
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => http://l2j.sourceforge.net
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
# ===================================================================================================
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=
# Bind ip of the loginserver, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2106
LoginTryBeforeBan=20
GMMinLevel=100
# The port on which login will listen for GameServers
LoginPort=9014
# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = False
# If false, the licence (after the login) will not be shown
ShowLicence = true
# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=
MaximumDbConnections=100
# Useable values: "true" - "false", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=true
# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# (0 = disable)
IpUpdateTime=0
# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================
Debug = False
Assert = False
Developer = False
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=true
#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50
and if u want all the file http://rapidshare.de/files/30306307/log ... rties.html[/list]
-
- L2j Veteran
- Posts: 191
- Joined: Tue Dec 06, 2005 8:32 am
- Location: Poland
Code: Select all
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=
Dont use domain names.
- Aikimaniac
- L2j Inner Circle
- Posts: 3048
- Joined: Sun Aug 07, 2005 11:42 pm
- Location: Slovakia
Try to set False here...
Code: Select all
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=False
#FloodProtection. time in ms
EnableFloodProtection=False
-
- Posts: 33
- Joined: Tue Aug 01, 2006 2:28 am
-
- Posts: 33
- Joined: Tue Aug 01, 2006 2:28 am