Jump to content
  • 0

[help]how to make my offline server become online


duduthqu

Question

5 answers to this question

Recommended Posts

  • 0

i finally finished my offline server...

what should i do to make it online?

 

Make a public ip , I dont remember the site now , well and after you make the public ip put it on your l2.ini , run the game and login console and login.

 

Link to comment
Share on other sites

  • 0

Make a public ip , I dont remember the site now , well and after you make the public ip put it on your l2.ini , run the game and login console and login.

 

still not work.

i have a question,in my loginserver.properties there is no externelhostname.should i write it?

 

Link to comment
Share on other sites

  • 0

My Login Server :

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

# 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

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

 

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

# Default: *

LoginserverHostname = 127.0.0.1

 

# Default: 2106

LoginserverPort = 2106

 

# 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

 

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

# Default: 15

IpUpdateTime = 15

 

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

# Security

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

# Default: True

LogLoginController = True

 

# 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

 

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

# Default: False

AcceptNewGameServer = False

 

# Enforce GameGuard authorization from client?

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

# Default: False

ForceGGAuth = False

 

# Flood Protection. All values are in MILISECONDS.

# Default: True

EnableFloodProtection = True

 

# Default: 15

FastConnectionLimit = 15

 

# Default: 700

NormalConnectionTime = 700

 

# Default: 350

FastConnectionTime = 350

 

# Default: 50

MaxConnectionPerIP = 50

 

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

# 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/l2jdb

 

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

Login = root

 

# Database connection password

Password = admin

 

# Default: 10

MaximumDbConnections = 10

 

# Default: 0

MaximumDbIdleTime = 0

 

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

# Misc.

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

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

# Default: True

ShowLicence = True

 

# Default: True

AutoCreateAccounts = True

 

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

# Developer Settings

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

# Default: False

Debug = False

 

# Default: False

Assert = False

 

# Default: False

Developer = False

 

 

My GameServer :

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

# 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

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

#

# Note: External/Internal address definitions was moved to the ipconfig.xml

#

 

# Where's the Login server this gameserver should connect to

# Default: 127.0.0.1

LoginHost = 127.0.0.1

 

# TCP port the login server listen to for gameserver connection requests

# Default: 9014

LoginPort = 9014

 

# Bind address for gameserver. You should not need to change it in most cases.

# Default: * (0.0.0.0)

GameserverHostname = *

 

# Default: 7777

GameserverPort = 7777

 

 

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

# 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/l2jdb

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

Login = root

# Database connection password

Password = admin

 

# Default: 100

MaximumDbConnections = 100

 

# Default: 0

MaximumDbIdleTime = 0

 

 

and my ipconfig.xml:

 

<?xml version="1.0" encoding="UTF-8"?>

<!-- Put old contents of ExternalHostname here, used by default -->

<gameserver address="xxx.xxx.xx.xx">

<!-- Localhost access -->

<define subnet="127.0.0.0/8" address="127.0.0.1" />

<!-- LAN's, put old contents of InternalHostname here -->

<define subnet="10.0.0.0/8" address="10.0.0.0" />

<define subnet="172.16.0.0/19" address="172.16.0.0" />

<define subnet="192.168.0.0/16" address="192.168.0.0" />

</gameserver>

 

 

 

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