Jump to content
  • 0

[HELP][KARMA]Gameserver problem


Question

Posted

BIaxSIb.png

 

 

Can anyone help me with the problem?

Also the configs :

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

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

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

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

 

# Enter here (ip) address of your game server, or use the symbol *

GameserverHostname = *

GameserverPort = 7777

 

# Configure your external ip

ExternalHostname = myip

 

# Configure your internal ip

InternalHostname = myip

 

# Bunch ID and game server. It is better not to change.

LoginPort = 9014

LoginHost = myip

 

# Database Pool Type

# Possible Values: c3p0 or BoneCP

# c3p0: more stable

# BoneCP: more performance

DatabasePoolType = c3p0

 

# Parameters Databases - MYSQL

Driver = com.mysql.jdbc.Driver

URL = jdbc:mysql://localhost/mydb

# Login - Mysql's user

Login = root

# Password - Mysql's Password

Password = mypass

# Attention: lazy init connections disabled!

# Please, set only real values for your database

# Default: 100

MaximumDbConnections = 50

 

# Default: 0

MaximumDbIdleTime = 0

 

# The timeout before a new connection to the database (in ms)

# 0 - to remove restrictions

TimeOutConDb = 0

 

# The timeout before the single connection must be closed (in ms)

# if a connection life is more then this timeout, a Runtime Exception

# it.

SingleConnectionTimeOutDb = 200000

 

# Sets number of partitions to use.- BoneCP

# In order to reduce lock contention and thus improve performance,

# each incoming connection request picks off a connection from a pool that has thread-affinity,

# i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case

# when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start

# to have a negative effect on performance (and only for the case when connections on a partition start running out).

PartitionCount = 3

 

# Setting emulation off the kernel (package SendStatus)

RemoteWhoLog = True

RemoteWhoSendTrash = True

RemoteWhoMaxOnline = 329

RemoteOnlineIncrement = 50

RemoteWhoForceInc = 50

RemotePrivStoreFactor = 12

 

Loginserver:

# ===================================#

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

# If this IP is resolvable by the Login Server, just leave *.

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

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

ExternalHostname = myip

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

InternalHostname = myip

 

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

LoginserverHostname = *

LoginserverPort = 2106

 

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

LoginTryBeforeBan = 20

 

# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600) 

LoginBlockAfterBan = 600

GMMinLevel = 100

 

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

LoginHostname = *

 

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

 

# Database Pool Type

# Possible Values: c3p0 or BoneCP

# c3p0: more stable

# BoneCP: more performance

DatabasePoolType = c3p0

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

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

 

# Database Settings

URL=jdbc:mysql://localhost/l2jdb

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

#URL=jdbc:sqlserver://localhost/database=l2jdb

 

# Parameters Databases - MYSQL

# Login - Mysql's user

Login = root

# Password - Mysql's Password

Password = mypass

# maximum number of simultaneous connecting to the database

MaximumDbConnections = 50

 

# Default: 0

MaximumDbIdleTime = 0

 

# The timeout before a new connection to the database (in ms)

# default 0 disabled

TimeOutConDb = 0

 

# Sets number of partitions to use. - BoneCP

# In order to reduce lock contention and thus improve performance,

# each incoming connection request picks off a connection from a pool that has thread-affinity,

# i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case

# when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start

# to have a negative effect on performance (and only for the case when connections on a partition start running out).

PartitionCount = 3

 

# Limit fast connections (input username / password)

FastConnectionLimit = 15

# Time of the normal connection (in ms)

NormalConnectionTime = 700

# Time fast connection (in ms)

FastConnectionTime = 350

# Maximum connections with the 1st IP

MaxConnectionPerIP = 50

 

 

# The lifetime of the session with the login server.

SessionTTL = 25000

MaxSessions = 100

 

# Choose the option: "true", to create an account when logging in automatically

AutoCreateAccounts = True

 

# Time to renew the IP address of the server in minutes (for dynamic IP)

IpUpdateTime = 0

 

# The configuration of the local subnet

# Example : 192.168

# Ppimer : 10.1

NetworkList = 192.168.;10.0.

 

# ===============================================================

# Test server configuration, not to switch on the game server!  =

# ===============================================================

# Use the GG client authentication

# Login server access let the client without GameGuard

ForceGGAuth = False

 

# Including protection from flood

# IMPORTANT: Put True for server security.

EnableFloodProtection = True

 

# Enable mode "debugging"

# With debug you will see more log on console and more messages in game.

Debug = False

 

# Switched on "development"

Developer = False

 

# =============================================================

# Anti Ddos protection.

# This system works with iptables

# =============================================================

# iptables -A INPUT -p tcp --dport 7777 -j DROP

# IMPORTANT: Put True for server security.

# IMPORTANT: Active only with LINUX OS.

EnableDdosProSystem = false

 

# String deny_comms

# IMPORTANT: If you don't know what is it, leave as default

Deny_noallow_ip_ddos = /sbin/iptables -I INPUT 13 -p tcp --dport 7777 -s $IP -j ACCEPT

 

# Active full log on Login Server console about Ddos protection

Fulllog_mode_print = true

 

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

# Additional login server logs settings    -

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

Debug = False

Assert = False

Developer = False

EnableAllExceptionsLog = False

 

+1 Rep For the helper xd

(Its not mine, but for a customer that needs help on l2 but he has no acc here.)

 

15 answers to this question

Recommended Posts

  • 0
Posted

>Sells somebody a service

>No idea how to run it

 

Are you kidding me? Connection Timed Out: Connect.

Use google ffs.

I Didnt undestand anything...

  • 0
Posted

Yes the problem is that we had made port forward and yesterday the server was running fine today is the problem ....

  • 0
Posted

http://kb.realvnc.com/questions/20/I%27m+receiving+the+error+%22Connection+Timed+Out%22+%2810060%29

"Connection timed out" indicates that no response was received from the specified IP address, even to reject the connection.

 

1) the ip/url is wrong

2) something within the network has been reconfigured

 

theres are pretty much your first two obvious choices to look.

 

this is interlude or Freya pack ?

 

How is that event a relevant question to network connection issues? Sorry bro, that ip only works with Freya. T_T

  • 0
Posted

EDIT: sorry i did not read all sh1ts :D

 

 

# 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

 

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

# Where's the Login server this gameserver should connect to
# 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: 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.
# 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)
GameserverHostname = *

# Default: 7777
GameserverPort = 7777

 

  • 0
Posted

EDIT: sorry i did not read all sh1ts :D

 

 

# 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

 

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

# Where's the Login server this gameserver should connect to
# 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: 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.
# 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)
GameserverHostname = *

# Default: 7777
GameserverPort = 7777

 

Problem solved take your shit :D

Guest
This topic is now closed to further replies.


×
×
  • Create New...