Jump to content
  • 0

Please I need some assistance!


Question

Posted

Hello everybody!

 

My name is Annie and I live in the UK.

Yesterday I was having a look on some private lineage forums about L2 God database and how to set up a L2 God private server.

I found a guy named RusDev and I downloaded his datapack RusDev_rev_51.

I installed MySQL 5.1 and I configured the server with password as I found on youtube tutorials how to set up MySQL!

Then I installed Navicat and I added the database successfully.

The server is running normaly with no errors ( At least I think there is no error, because the login server and gameserver runs as normal )

Then I configured my ipconfig.xml and gameserver config with login config as well.

I opened the ports 2009,9014,7777,80 and 2106 on my router ( I am useing a Netgear WGR616 v9 and my Internet Provider is Virgin Media )

 

I am sending you my configs: Please don't hesitate to ask me to support you with any information you need to know about my server

I will be glad to share everything!

 

This is my Ipconfig.xml

 

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

<!-- Externalhost here (Internet IP) or Localhost IP for local test -->

<gameserver address="xx.xx.xxx.xxx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">

<!-- Localhost here -->

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

<!-- Internalhosts here (LANs IPs) -->

<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.1.2" />

</gameserver>

 

 

My host file

 

# Copyright © 1993-1999 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

 

127.0.0.1 localhost

127.0.0.1 l2authd.lineage2.com

 

 

PS: I'm trying to play localy, server and client runs at the same PC

 

 

 

GAMESERVER CONFIG

 

# 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/l2rd (default)

# URL = jdbc:hsqldb:hsql://localhost/l2rd

# URL = jdbc:sqlserver://localhost/database = l2rd/user = sa/password =

URL = jdbc:mysql://localhost/l2rd

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

Login = root

# Database connection password

Password = 1234

 

# Default: 100

MaximumDbConnections = 100

 

# Cleans up the server database on startup.

# The bigger the database is, the longer it will take to clean up the database(the slower the server will start).

# Sometimes this ends up with 0 elements cleaned up, and a lot of wasted time on the server startup.

# If you want a faster server startup, set this to 'false', but its recommended to clean up the database from time to time.

# Default: True

DatabaseCleanUp = True

 

# The time before a database connection closes (in miliseconds)

# If a query takes longer to execute than the time defined here, the server will throw "Unclosed Connection!" error.

# If you get often this error message, try increasing this.

# Default: 60000ms

ConnectionCloseTime = 60000

 

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

# Misc Server Settings

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

# This is the server ID that the Game Server will request.

# Example: 1 = Bartz

# Default: 1

RequestServerID = 1

 

# True = The Login Server will give an other ID to the server if the requested ID is already reserved.

# Default: True

AcceptAlternateID = True

 

# Datapack root directory.

# Defaults to current directory from which the server is started unless the below line is uncommented.

#DatapackRoot = C:/Work/tmp/DataPack

 

# Define how many players are allowed to play simultaneously on your server.

# Default: 100

MaximumOnlineUsers = 100

 

# Numbers of protocol revisions that server allows to connect.

# Delimiter is ;

# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>

# Default: 389;392;393

AllowedProtocolRevisions = 389;392;393;415    <---------- I added 415 because I was having an error to my client ''You have been disconected from the server''

 

 

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

# Misc Player Settings

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

 

# Character name template.

# Examples:

# CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*

# The above setting will allow names with first capital letter, next three small letters,

# and any letter (case insensitive) or number, like OmfgWTF1

# CnameTemplate = [A-Z][a-z]*

# The above setting will allow names only of letters with first one capital, like Omfgwtf

# Default .* (allows any symbol)

CnameTemplate = .*

 

# This setting restricts names players can give to their pets.

# See CnameTemplate for details

PetNameTemplate = .*

 

# Maximum number of characters per account.

# Default: 7 (client limit)

CharMaxNumber = 7

 

 

 

 

 

 

 

LOGINSERVER CONFIG

 

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

# 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

# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>

# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>

# Default: * (0.0.0.0)

LoginserverHostname = *

 

# Default: 2106

LoginserverPort = 2106

 

# The address on which login will listen for GameServers, use * to bind on all available IPs

# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>

# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>

# Default: * (0.0.0.0)

LoginHostname = *

 

# The port on which login will listen for GameServers

# Default: 9014

LoginPort = 9014

 

 

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

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

 

# 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/l2rd (default)

# URL = jdbc:hsqldb:hsql://localhost/l2rd

# URL = jdbc:sqlserver://localhost/database = l2rd/user = sa/password =

URL = jdbc:mysql://localhost/l2rd

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

Login = root

# Database connection password

Password = 1234

 

# Default: 10

MaximumDbConnections = 10

 

 

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

# Misc.

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

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

# Default: False

ShowLicence = False

 

# Default: True

AutoCreateAccounts = True

 

 

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

# Restart LS every 24 hours?

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

# Default: False, 24

LoginRestartSchedule = False

LoginRestartTime = 24

 

 

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

# Developer Settings

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

# Default: False

Debug = False

 

 

 

My problem is that I am able to run the bat files ( both StarLogIn and StarGameserver ) I open my L2 God client, successfully creating an account ( username shows on LogIn.bat and in my database Accounts table on Navicat ) then I log in and I can see my registered gameserver as Liona with Light status, Then I'm trying to click ok to log in to the characters page and nothing happenes

I don't know why this is happening, maybe something I did wrong, I have no idea!

 

Please somebody help me

 

PS: I'm trying to run a test server first, and then I want to share it with same of my friends

 

Thanks in advice,

Annie 

3 answers to this question

Recommended Posts

  • 0
Posted

Your Gameserver isnt setup as the same IP as your login server. If you can access your login (Which is up to the server select screen) then change your gameservers IP to the same as your login server and BAM connected.

Guest
This topic is now closed to further replies.


×
×
  • Create New...