Ir para conteúdo
  • Cadastre-se

[Tutorial] Criando Servidor de Lineage 2


Kelvin
Message added by Grundor

Atenção, esse tópico está desatualizado, use https://curso.l2jbrasil.com para um tutorial mais atualizado sobre como criar seu servidor de lineage 2.

Posts recomendados


GENTE... CONSEGUI, O PROBLEMA TAVA AQUI:

 

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

# 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:hsql://localhost/l2jdb (default)

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

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

URL = jdbc:mysql://localhost/NOME DATABASE

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

Login = root

# Database connection password

Password =

 

Eu não havia trocado pelo nome da database!

Obrigado pela ajuda, abraços.

Editado por Outlaw
Link para o comentário
Compartilhar em outros sites

O conteúdo está oculto, favor efetuar login ou se cadastrar!
- usa esse anti virus e desistala o q vc tem

O conteúdo está oculto, favor efetuar login ou se cadastrar!
-- usa esse navigator

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

 

verfica se o firewall do seu pc tao todos ativados depois de instala o anti virus faz uma busca e se tiver virus no seu pc apaga e depois faz o download de novo com um desses navicagor e desinstala o avast

kb24isonfirewj1.jpg

Link para o comentário
Compartilhar em outros sites

c vc mostrar uma ss fikaria melhor

 

isso mostra qnd enta entra no cliente ?

 

pode ser a sua system seu l2.ini nao editado .. pode ser isso.

account_tiny.gif

svn | timeline

activeMember.sendMessage("Quase tudo é possível quando se tem dedicação e habilidade. Grandes trabalhos são realizados não pela força, mas pela perseverança")

Link para o comentário
Compartilhar em outros sites

vc modifikou o l2.ini pra 127.0.0.1

e no loginserver.properties no ipinterno pra 127.0.0.1 tbm ?

account_tiny.gif

svn | timeline

activeMember.sendMessage("Quase tudo é possível quando se tem dedicação e habilidade. Grandes trabalhos são realizados não pela força, mas pela perseverança")

Link para o comentário
Compartilhar em outros sites

posta seu gameserver.properties e seu loginserver .properties como esta agora..

posta eles aki

account_tiny.gif

svn | timeline

activeMember.sendMessage("Quase tudo é possível quando se tem dedicação e habilidade. Grandes trabalhos são realizados não pela força, mas pela perseverança")

Link para o comentário
Compartilhar em outros sites

nao cara nada v

 

fas assim ó ...

pega o seu game e login copia o testo q tem dentro e cola aki tendeu ?

ai eu edito pra vc.

account_tiny.gif

svn | timeline

activeMember.sendMessage("Quase tudo é possível quando se tem dedicação e habilidade. Grandes trabalhos são realizados não pela força, mas pela perseverança")

Link para o comentário
Compartilhar em outros sites

GAME SERVE:

 

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

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

# - Questions? => http:\\l2dot.info\forum\

#

# * = 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!

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

===================

 

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

# General server setting !!! REQUIRED to configure to everyone !!!

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

 

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

GameserverHostname = SEU NO-IP OU USE 127.0.0.1 PARA JOGAR SO VOCE

GameserverPort = 7777

 

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

# If this ip is resolvable by Login just leave *

ExternalHostname =l2invictor.no-ip.biz

 

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

# If this ip is resolvable by Login just leave *

InternalHostname =201.58.128.201

# The Loginserver host and port

LoginPort = 9014

LoginHost = 127.0.0.1

 

# This is the server id that the gameserver will request (i.e. 1 is Bartz)

RequestServerID = 4

# If set to true, the login will give an other id to the server if the requested id is allready reserved

AcceptAlternateID = True

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

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

URL=jdbc:mysql://localhost/l2jdb

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

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

Login = root

Password =

MaximumDbConnections = 100

 

# Datapack root directory, defaults to current directory from which the server is started

# DatapackRoot = C:/Work/tmp/DataPack

 

# Define character name template

# Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*

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

# and any (capital or not) letter or number, like ZbigN1eW

# Most rational to have CnameTemplate=[A-Z][a-z]*

# meaning names only of letters with first one capital, like Zbigniew

# Default .* - any namy of any symbols

CnameTemplate = .*

PetNameTemplate = .*

 

# Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])

CharMaxNumber = 7

 

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

MaximumOnlineUsers = 1000

 

 

# Minimum and maximum protocol revision that server allow to connect.

# You must keep MinProtocolRevision <= MaxProtocolRevision.

MinProtocolRevision = 740

MaxProtocolRevision = 746

 

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

# L2Dot #

# EXTRA fuctions #

# before you set them up ready carefully the info #

# Thanks Dimis4 #

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

# Activate Protection for unknownPacket flooding

PacketProtection = False

# How much unknown packets before punishment.

# If the player send more than 5 unknownPackets per second, the player get punished.

UnknownPacketsBeforeBan = 5

# Punishments

# 1 - broadcast warning to gms only

# 2 - kick player (default)

# 3 - kick & ban player (Accesslevel -100)

UnknownPacketsPunishment = 2

 

LOGIN :

 

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

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

# - Questions? =>

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!

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

===================

 

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

# General server setting !!! REQUIRED to configure to everyone !!!

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

 

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

ExternalHostname = SEU NO-IP OU USE 127.0.0.1 PARA JOGAR SO

 

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

InternalHostname = SEU NO-IP OU USE 127.0.0.1 PARA JOGAR SO

 

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

LoginserverHostname = l2invictor.no-ip.biz

LoginserverPort = 2106

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

LoginTryBeforeBan = 10

# 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 = SEU NO-IP OU USE 127.0.0.1 PARA JOGAR SO

 

# 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

 

# If false, the licence (after the login) will not be shown

# It is highly recomended for Account Seciurity to leave this option as defalut (True)

ShowLicence = True

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

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

URL=jdbc:mysql://localhost/l2jdb

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

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

Login = root

Password =

MaximumDbConnections = 10

 

# Useable values: "true" - "false", use this option to choose whether accounts will be created

# automatically or not.

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

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

 

Debug = False

Assert = False

Developer = False

 

# Enforce GG Authorization from client

# Login server will kick client if client bypassed GameGuard authentication

ForceGGAuth = False

 

#FloodProtection. time in ms

EnableFloodProtection = True

FastConnectionLimit = 15

NormalConnectionTime = 700

FastConnectionTime = 350

MaxConnectionPerIP = 50

adventurerck8.png

EXPERT CLASS!

 

uwmj5.png

Link para o comentário
Compartilhar em outros sites

deixe assim:

 

GAME SERVE:

 

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

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

# - Questions? => http:\\l2dot.info\forum\

#

# * = 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!

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

===================

 

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

# General server setting !!! REQUIRED to configure to everyone !!!

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

 

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

GameserverHostname = *

GameserverPort = 7777

 

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

# If this ip is resolvable by Login just leave *

ExternalHostname =l2invictor.no-ip.biz

 

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

# If this ip is resolvable by Login just leave *

InternalHostname =127.0.0.1

# The Loginserver host and port

LoginPort = 9014

LoginHost = 127.0.0.1

 

# This is the server id that the gameserver will request (i.e. 1 is Bartz)

RequestServerID = 4

# If set to true, the login will give an other id to the server if the requested id is allready reserved

AcceptAlternateID = True

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

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

URL=jdbc:mysql://localhost/l2jdb

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

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

Login = root

Password =

MaximumDbConnections = 100

 

# Datapack root directory, defaults to current directory from which the server is started

# DatapackRoot = C:/Work/tmp/DataPack

 

# Define character name template

# Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*

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

# and any (capital or not) letter or number, like ZbigN1eW

# Most rational to have CnameTemplate=[A-Z][a-z]*

# meaning names only of letters with first one capital, like Zbigniew

# Default .* - any namy of any symbols

CnameTemplate = .*

PetNameTemplate = .*

 

# Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])

CharMaxNumber = 7

 

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

MaximumOnlineUsers = 1000

 

 

# Minimum and maximum protocol revision that server allow to connect.

# You must keep MinProtocolRevision <= MaxProtocolRevision.

MinProtocolRevision = 740

MaxProtocolRevision = 746

 

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

# L2Dot #

# EXTRA fuctions #

# before you set them up ready carefully the info #

# Thanks Dimis4 #

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

# Activate Protection for unknownPacket flooding

PacketProtection = False

# How much unknown packets before punishment.

# If the player send more than 5 unknownPackets per second, the player get punished.

UnknownPacketsBeforeBan = 5

# Punishments

# 1 - broadcast warning to gms only

# 2 - kick player (default)

# 3 - kick & ban player (Accesslevel -100)

UnknownPacketsPunishment = 2

 

LOGIN :

 

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

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

# - Questions? =>

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!

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

===================

 

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

# General server setting !!! REQUIRED to configure to everyone !!!

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

 

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

ExternalHostname = l2invictor.no-ip.biz

 

# 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

 

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

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

 

# 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

 

# If false, the licence (after the login) will not be shown

# It is highly recomended for Account Seciurity to leave this option as defalut (True)

ShowLicence = True

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

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

URL=jdbc:mysql://localhost/l2jdb

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

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

Login = root

Password =

MaximumDbConnections = 10

 

# Useable values: "true" - "false", use this option to choose whether accounts will be created

# automatically or not.

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

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

 

Debug = False

Assert = False

Developer = False

 

# Enforce GG Authorization from client

# Login server will kick client if client bypassed GameGuard authentication

ForceGGAuth = False

 

#FloodProtection. time in ms

EnableFloodProtection = True

FastConnectionLimit = 15

NormalConnectionTime = 700

FastConnectionTime = 350

MaxConnectionPerIP = 50

account_tiny.gif

svn | timeline

activeMember.sendMessage("Quase tudo é possível quando se tem dedicação e habilidade. Grandes trabalhos são realizados não pela força, mas pela perseverança")

Link para o comentário
Compartilhar em outros sites

2009.12.27 18:07:45

OS : Windows XP 5.1 (Build: 2600)

CPU : GenuineIntel Intel® Core2 Duo CPU E4600 @ 2.40GHz @ 2422 MHz 2039MB RAM

Video : Intel® 82945G Express Chipset Family (4926)

PosCode : LS1(83) 0:0:0 2/0 [759]

 

CreatePixelShader failed(D3DERR_INVALIDCALL).

 

History: UD3DRenderDevice::CreatePixelShader <- FD3DPixelShader::Init <- InitShader <- FD3DShaderManager::GetShader <- FD3DRenderInterface::DrawPrimitive <- FCanvasUtil::Flush <- Material=Transient.FinalBlend4 <- UGlowEffect::PostRender <- FPlayerSceneNode::Render <- SceneNodeRender <- Draw <- UGameEngine::Draw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- UpdateWorld <- MainLoop

 

________________________________________________________________________________

___________________________________________________________

 

To com esse erro quando vou iniciar o l2.exe para jogar.

Alguem pode me ajudar?

Link para o comentário
Compartilhar em outros sites

A meu Brigadao mas naum deu do mesmo Jeito clico pra loga mais nao loga ^^

 

 

 

seu l2.ini da suystem ta 127.0.0.1 ?

account_tiny.gif

svn | timeline

activeMember.sendMessage("Quase tudo é possível quando se tem dedicação e habilidade. Grandes trabalhos são realizados não pela força, mas pela perseverança")

Link para o comentário
Compartilhar em outros sites

tta entao no ipinterno vc poe o teu ip interno ao inves do 127.0.0.1

e no l2.ini tbm coloka o teu ip interno e tenta.

account_tiny.gif

svn | timeline

activeMember.sendMessage("Quase tudo é possível quando se tem dedicação e habilidade. Grandes trabalhos são realizados não pela força, mas pela perseverança")

Link para o comentário
Compartilhar em outros sites

  • Registre-se

    Faça parte da maior e  mais antigas comunidades sobre Lineage2 da América Latina.






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