Ir para conteúdo
  • Cadastre-se
  • 0

[Duvida]l2emu


felipao

Pergunta

7 respostass a esta questão

Posts recomendados


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

# L2Emu Project Pack # Network Settings #

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

 

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

# Here you can Setup:

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

# - General network Connection

# - Telnet

# - Database Connection

# - HTML cache

 

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

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

# - Support =>

O conteúdo está oculto, favor efetuar login ou se cadastrar!
#

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

O conteúdo está oculto, favor efetuar login ou se cadastrar!
or
O conteúdo está oculto, favor efetuar login ou se cadastrar!
#

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

 

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

# Section: Network Connection Setup

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

# Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs

# This is The IP/Port Gameserver will Assume and Use.

GameServerHostName = 0.0.0.0

GameServerPort = 7777

 

# this is the Loginserver host and port that this gameserver will try to connect to.

LoginPort = 9014

LoginHost = 127.0.0.1

 

# This is transmitted to the clients connecting from an external network,

# so it has to be a public IP or resolvable hostname.

ExternalHostname = 127.0.0.1

 

# This is transmitted to the client from the same network,

# so it has to be a local IP or resolvable hostname

InternalHostname = 127.0.0.1

 

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

# Section: Subnets & Advanced Routing

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

# Define optional networks and router IPs

#

# Format:

#

# Subnet = host, net/mask; host, net/mask, net/mask

#

# host - IP address (200.100.200.100) or

# fully qualified domain name (example.org)

#

# net/mask - mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0

# would be 192.168.*.*

#

# External - external hostname, you defined in server.properties

# Internal - internal hostname, you defined in server.properties

#

# Example:

# Subnet = 169.254.1.100, 169.254.0.0/16, 111.222.333.0/255.255.255.0

InternalNetworks =

OptionalNetworks =

 

Subnet = Internal, 127.0.0.1/32, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12

Subnet = External, 0.0.0.0/0

 

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

# Section: Telnet

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

# Enables /Disables Telnet Server.

EnableTelnet = false

 

# This is the port telnet server will bind to

# default 23, telnet port.

StatusPort = 23

 

# If the following is not set, a random password is generated on server startup.

# default l2emuproject, fell free to change it.

StatusPW = l2emuproject

 

# Use alternative telnet, requiring to do a real login with a GM so your GM-name can be used for messaged instead of "telnet".

AltTelnet = true

 

# if a password is not set, telnet server will generate a random one, so you define the size of it.

TelnetPasswordLength = 10

 

# Hosts must be resolvable to an IP.

# define here the IPs allowed to connect to your server via Telnet.

# The format is as follows:

# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3

# NOTE: Make sure there are no spaces between hosts/ips !

ListOfHosts = 127.0.0.1,localhost

 

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

# Section: Database Connection

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

# MySQL Driver we will use to connect to database

Driver= com.mysql.jdbc.Driver

# here are some other drivers :

# Driver= org.hsqldb.jdbcDriver

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

 

# URL to connect to database.

URL = jdbc:mysql://localhost/l2jnet_db

# here are some other url's :

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

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

 

# your database login (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own login)

Login = root

 

# your database password (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own pass)

Password = root

 

# define here how many connections are allowed at the same time.

MaximumDbConnections = 50

 

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

# Section: HTML Cache

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

# Set the html cache's lazy loading true or false

# (Load html's into cache only on first time requested)

LazyCache = true

 

# Network traffic optimization: minimum time between sending char's hp/mp status update packet.

NetworkTrafficOptimization = true

NetworkTrafficOptimizationStatusMs = 400

NetworkTrafficOptimizationBroadcastMs = 800

 

 

 

login server

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

# L2EMU PROJECT PACK # Network Configuration #

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

 

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

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

# This is the network configuration file. Here you can set up the connection for your Loginserver. #

# Usually you have to change the LoginServerHostName 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) #

# - Support =>

O conteúdo está oculto, favor efetuar login ou se cadastrar!
#

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

O conteúdo está oculto, favor efetuar login ou se cadastrar!
or www.showip.com #

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

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

 

# ==========

# Connection

# ==========

 

# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs

LoginServerHostName = 0.0.0.0

LoginServerPort = 2106

 

# The port, ip on which login will listen for GameServers

LoginPort = 9014

LoginHostName = 127.0.0.1

 

# The delay between IP Update Time.

# set this delay in minutes after which the login updates the gameservers IP's

# (usefull when ip is dynamic)

# (0 = disabled) in Minutes

IpUpdateTime = 0

 

 

# Telnet is disabled by default.

EnableTelnet = false

 

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

# Port Related

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

# This is the port telnet server will bind to

StatusPort = 12345

 

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

# Pass Related

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

# If the following is not set, a random password is generated on server startup.

# StatusPW = somePass

 

# =====

# Hosts

# =====

# This list can contain IPs or Hosts of clients you wish to allow.

# Hosts must be resolvable to an IP.

# The format is as follows:

# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3

# Make sure there are no spaces between hosts/ips

ListOfHosts = 127.0.0.1,localhost

 

 

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

# Database Information

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

 

# Define MySQL Driver

Driver = com.mysql.jdbc.Driver

 

# here you have some more drivers:

# Driver = org.hsqldb.jdbcDriver

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

 

# Define MySQL Driver URL.

URL = jdbc:mysql://localhost/L2jnet_db

 

# here you have some more urls:

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

# URL = jdbc:sqlserver://localhost/database = L2jnet_db/user = sa /password = (your pass)

 

# Your login to Database (default = root)

Login = root

 

# Your password to database (default = root)

Password = root

 

# Define how many connections are allowed on your database.

MaximumDbConnections = 10

Venha Voce tbm Jogar no Melhor Dos Servidores Gracia Final

>>>> http://www.l2forever.br30.com <<

Link para o comentário
Compartilhar em outros sites

Vamos ao primero pra ve se pode ser isso: Teu mysql quando instalo ;instalo com senha?

 

la em config do game server esta linha

 

InternalNetworks = pode por aki 127.0.0.1

 

ficando assim:

 

InternalNetworks =127.0.0.1

Editado por patricktb

Servidor Lineage II Sem Custom:

Clique aqui

Link para o comentário
Compartilhar em outros sites

Opa repare:

 

 

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 

 

seu navicat ta como la ? l2jdb?

 

ai tem que troca este l2jnet_db e por so l2jdb.

 

Por cima foi isto que vi jaja to aki de volta diz se resolveu.

Editado por patricktb

Servidor Lineage II Sem Custom:

Clique aqui

Link para o comentário
Compartilhar em outros 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.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  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.

Processando...



×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.