Jump to content
  • 0

[Help] others can't connect


LauQ

Question

Hi,

 

I use L2jarchid rev 1292. I put my WAN IP (from www.whatismyip.com) on the ExternalIP of my network.properties from gameserver, and the loginserver.properties, and I put my PC network IP on the External, the others I leave default '*' (bind to all). (I have also tried with 127.0.0.1)

 

 

I have opened the ports:

1) PFports says the ports are open

2) When the servers are up, the server status (from blackoutgaming, on the WAN IP with the ports 7777 and 2106) says server is up

 

 

Other info:

- I also put Windows Firewall exceptions on the ports

- I use Windows 7 (just for testing purposes)

- I can get into login and gameserver.

- I have a modem, and my PC is connected to the router which is connected to my modem, and from both the modem and the router I have the correct ports opened by following guides from postforward.com

 

 

Problem: others can only login (so connect to the loginserver), and see gameserver up, but can't connect.

 

 

What is causing the problem? and how to fix it?

 

 

 

 

Thanks in advance

 

- LauQ

 

 

PS: please read it all, I don't like having replies of suggestions I have already tried

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Have you edited the l2ini and save it on 413 version?

Yes, and I have tried both the l2.ini way and the hosts file way

 

We did have some issues with gameguard, which got fixed by some hacked core.dll, cause strangely enough Wildcard didn't work. Perhaps the problem is still with that somehow...?

Link to comment
Share on other sites

  • 0

The 82.xxx.xxx.xxx is my WAN ip

and the 192.168.x.x is my PC's network IP, but I also tried replacing those with 127.0.0.1

 

Gameserver network.properties

# ---------------------------------------------------------------------------

# Game Networking 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.

# ---------------------------------------------------------------------------

# 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 = 85.xxx.xxx.xxx

 

# ---------------------------------------------------------------------------

# 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 = 192.168.x.x

 

# Default: 127.0.0.1

LoginHost = 192.168.x.x

 

# Default: 9014

LoginPort = 9014

 

# Default: *

GameserverHostname = *

 

# Default: 7777

GameserverPort = 7777

 

# ---------------------------------------------------------------------------

# Database

# ---------------------------------------------------------------------------

# Uncomment the appropriate driver and url for the database you're using. If you don't know what this is... www.google.com

Driver = com.mysql.jdbc.Driver

#Driver = org.hsqldb.jdbcDriver

#Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver

URL = jdbc:mysql://localhost/l2jarchid_db

#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 = xxxxxxx

 

# Default: 100

MaximumDbConnections = 100

 

# ---------------------------------------------------------------------------

# Packet Handler

# ---------------------------------------------------------------------------

# Old packet handler uses switches and its not updated

# New one is based on fast maps and packet instances being cloned

# Recommended = False

UseOldHandler = False

 

Loginserver.properties

# ---------------------------------------------------------------------------

# 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.1

ExternalHostname = 85.xxx.xxx.xxx

 

# ---------------------------------------------------------------------------

# 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.1

InternalHostname = 192.168.x.x

 

# Bind ip of the LoginServer, use * to bind on all available IPs

# Default: *

LoginserverHostname = *

 

# Default: 2106

LoginserverPort = 2106

 

# How many times you can provide an invalid account/pass before the IP gets banned.

# Default: 10

LoginTryBeforeBan = 10

 

# Time you won't be able to login back again after LoginTryBeforeBan tries to login.

# Default: 600 (10 minutes)

LoginBlockAfterBan = 600

GMMinLevel=100

 

# 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: 9014

LoginPort = 9014

 

# If set to True any GameServer can register on your login's free slots

# Default: False

AcceptNewGameServer = False

 

# If False, the license (after the login) will not be shown.

# Default: True

ShowLicence = False

 

# ---------------------------------------------------------------------------

# 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.SQLServerDriver

Driver = 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/l2jarchid_db

# Database user info (default is "root" but it's not recommended)

Login = root

# Database connection password

Password = xxxxxxx

 

# Default: 10

MaximumDbConnections = 10

 

# Default: True

AutoCreateAccounts = True

 

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)

IpUpdateTime=15

 

 

# ---------------------------------------------------------------------------

# Test server setting, shoudnt be touched in online game server

# ---------------------------------------------------------------------------

 

# Default: False

Debug = False

 

# Default: False

Assert = False

 

# Default: False

Developer = False

 

# Enforce GameGuard authorization from client?

# If True, login server will kick client if the client bypassed GameGuard authentication.

# Default: True

ForceGGAuth = False

 

#FloodProtection. time in ms

EnableFloodProtection=True

FastConnectionLimit=15

NormalConnectionTime=700

FastConnectionTime=350

MaxConnectionPerIP=50

Link to comment
Share on other sites

  • 0

Im behind router too and im using no-ip atm. Looks at my config, everything works fine.

 

gameserver:

ExternalHostname = http://www.whatismyip.com
InternalHostname = http://www.whatismyip.com


LoginHost = 192.168.x.x
LoginPort = 9014

GameserverHostname = 192.168.x.x
GameserverPort = 7777

 

loginserver:

ExternalHostname = http://www.whatismyip.com
InternalHostname = http://www.whatismyip.com


LoginserverHostname = 192.168.x.x
LoginserverPort = 2106

LoginHostname = 192.168.x.x
LoginPort = 9014

 

When i put like u "*" or "127.0.0.1" in LoginHostname and GameserverHostname i couldnt conect to gs.

 

I have also unlocked port "9014" (UTP&UDP).

Link to comment
Share on other sites

  • 0

Thanks skrzypek, this is the only setting that has worked so far, although it somehow seems to make no sense at all xD

 

is it possible that this setting is somehow less secure?

 

Anyway, thanks all for helping :)

Link to comment
Share on other sites

  • 0

I use Archid too, so I know it's working, as ppl can connect from Belgium (I'm in France).

 

About ports, they must be opened on UDP, not TCP : 7777, 9014 and 2106. You can see it on the "network.properties" file.

 

External : WAN IP.

Internal : 127.0.0.1 if no one from your LAN play on your server from another PC than the server.

 

----

 

About "ppl blocked on LS", it can be too the revision protocol of clients which are different from the server accpeted ones. But as you're client modder, and error is easy to see on GS logs, I think you didn't forget this part :P.

 

About the GG, normally if you haven't GG error, you can consider your cracked dll is working fine. Personnally I use "GameGuard Emulator For Ragezoner", clients have nothing to do like that.

Link to comment
Share on other sites

  • 0

I just check this u can do somethig like this in loginserver and gameserver:

 

InternalHostname = 192.168.x.x

 

With this mine server works well too.

 

 

Heres why u should unlock 9014 port.

Like u can see on photo gameserver is connecting at 9014 port and loginserver at 2106. So if u dont have unlocked port 9014, ppls from outside cant login into game.

f4ad80ff864573a2.jpg

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...