Ir para conteúdo
  • Cadastre-se

Editando GameServer e Loginserver e portas


Saulo BD

Posts recomendados

bom estou aqui para esclarecer e corrigir algumas duvidas quanto ediçao do gameserver e do login server,primeiramente devo agradecer ao amigo @energetico pelo tuto abaixo ensinando como colocar seu server on via no-ip,porem o tuto contem alguns erros e por isso criei este topico para corrigilos.

o link do tuto esta logo abaixo e a correçao logo depois

colocando server on via no-ip

 

Vá na pasta GameServer/Config/server

 

 

# 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 http://www.whatismyip.com'>http://www.whatismyip.com

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

 

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

# 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 = ConfIGURE AKI COM SEU NO-IP

 

# 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 = ConfIGURE AKI COM SEU IP INTERNO

 

# The Loginserver host and port

LoginPort = 9014

LoginHost = ConfIGURE AKI COM SEU IP INTERNO

 

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

RequestServerID = 1

# 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 = 1000AQUI POR CURIOSIDADE E AONDE VOCE “DIZ” AO SERVER A QUANTIDADE MAXIMA DE PLAYERS PERMITIDOS

 

 

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

# 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

 

Depois de ter Configurado a pasta Gameserver vá ate a pasta LoginServer/Config/loginserver e Configure assim :

 

 

# 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 http://www.whatismyip.com

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

 

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

# 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 = ConfIGURE AKI COM SEU NO-IP

 

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

InternalHostname = ConfIGURE AKI COM SEU IP INTERNO

 

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

LoginserverHostname = ConfIGURE AKI COM SEU IP INTERNO

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

 

# 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

 

Lembrando que caso você use um roteador você terá que abrir portas no roteador e no firewall para que assim os player possam acessar o seu server,com agradecimento ao @L2SuperServer pela informaçaso as principais portas são estas:

 

9014

8245

8090

7777

2106

3306

6667

 

Abra elas para tcp e udp,todas,caso você possua um modem tg508 siga este tutorial para abrir as portas

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

Caso contrario porcure por um tutorial no fórum ou vídeo no youtube ensinando como abrir as portas do modem correspondente ao seu

 

espero ter ajudado sempre que puder irei postar mais tutos aqui pra voces,qualquer duvida postem que tentarei responder!

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


  • 6 months later...
  • 1 month later...

Caso tenha alguma sugestão para aplicativos, por favor envie por MP.

 WhatsApp: 22 98156-2591 

L2JDREAM PROJECT

Link para o comentário
Compartilhar em outros sites

  • 2 months later...
  • 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.