Jump to content
  • 0

[Help]2o server


Question

Posted

Geia sas paidia....8a i8ela na ma8w pws mporw na sikwsw 2o server sto idio pack.....dld na exw ena Hight rate server kai ena low rate server......exw L2Jarchid pack(se periptwsei pou sas xreiazete)

3 answers to this question

Recommended Posts

  • 0
Posted

Περνάς όποιο gameserver θέλεις απο όποιο pack θέλεις μέσα στο "C:/server/" (η όπως το έχεις xD) με όνομα "gameserver 2" μετά πας "C:/server/gameserver 2/config" ανίγεις το "server.properties"

 

Εγώ έχω l2jfree.

Όλα είναι παρόμοια περίπου...

 

# 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://l2jfree.com

#

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

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

 

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

GameserverHostname = 0.0.0.0

GameserverPort = 7777

 

# 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

# Note: You can define server hostname for each network in subnets.properties

 

# 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 = 1        <<<--------------------------------------------------------------------Αυτό κάνε το 2

# 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/l2jwanted  <---------------------------- Εδώ το όνομα της καινούργιας database

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

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

# Database user info (using root user is not recommended)

Login = root

Password =

MaximumDbConnections = 50

 

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

# DatapackRoot = H:/workEclipse/L2J Free/trunk/L2_DataPack_CT2

 

# Define character name template

# These ones are regular expressions, visit http://www.regular-expressions.info for details

# Note: Checking lengths are done server side, but keep it in pattern for future purposes

# Character name ( Default [A-Za-z0-9\-]{3,16} )

CnameTemplate = [A-Za-z0-9\-]{3,16}

# Pet name ( Default [A-Za-z0-9\-]{3,16} )

PetNameTemplate = [A-Za-z0-9\-]{3,16}

# Clan and ally name ( [A-Za-z0-9 \-]{3,16} )

ClanAllyNameTemplate = [A-Za-z0-9 \-]{3,16}

# Title ( [A-Za-z0-9 \-\\[\\]\<\>\(\)\!\|]{3,16} )

TitleTemplate = [A-Za-z0-9 \-\\[\\]\<\>\(\)\!\|]{3,16}

 

# Maximum number of chars per account - 0 = illimited - default = 7

CharMaxNumber = 7

 

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

MaximumOnlineUsers = 100

 

 

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

# You must keep MinProtocolRevision <= MaxProtocolRevision.

MinProtocolRevision = 12

MaxProtocolRevision = 12

 

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

# Safe Reboot configuration

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

# This will prevent some exploit during restart/shutdown process

SafeReboot = True

# To use following options, SafeReboot must be set to True

# Time in seconds before server complete shutdown/reboot, when

# following striction take effect

SafeRebootTime = 10

# Disable item enchant

SafeRebootDisableEnchant = True

# Disable players teleportations

SafeRebootDisableTeleport = False

# Disable craft and crystallize

SafeRebootDisableCreateItem = False

# Disable trades and shops

SafeRebootDisableTransaction = False

# Disable actions between players

SafeRebootDisablePcIteraction = False

# Disable actions on NPC

SafeRebootDisableNpcIteraction = False

 

# Flood Protection

# If enabled players which send more then PACKETLIMIT packets in PACKETTIMELIMIT ms will get kicked

FloodProtection = False

PacketLimit = 500

PacketTimeLimit = 1100

 

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

# CT1 Legacy

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

CT1LegacyMode = False

 

Μετά κάνεις στο mysql μια νέα database

αλλά μην ξεχάσεις να βάλεις το name στο τελευταιο  (<<<-----------------) που σου έδειξα...

 

 

Κάνεις install την database

 

"C:/server/tools/database_install.bat" δεξί click και βάλε database name

 

REM LOGINSERVER

set lsuser=root

set lspass=

set lsdb=l2jwanted      <<<--------------

set lshost=localhost

 

REM GAMESERVER

set gsuser=root

set gspass=

set gsdb=l2jwanted  <<<---------------------

set gshost=localhost

 

Πάνε "C:/server/loginserver"

 

άνοιξε το "registergameserver.bat" και κάντο με το "ID 2"

 

μετά πάρτο το hexid(server 2) η όπως λέγετε και βάλτο μέσα στο

 

"C:/server/gameserver 2/config"

 

δεν ξέρω αν θέλει δεύτερο loginserver δεν νομίζω να χρειάζετε....

 

  • 0
Posted

exei ginei eidh eido request , psakse ligo kai tha breis thn lysh , allakse kai to port se 7778(tou 2rou server)

Guest
This topic is now closed to further replies.
×
×
  • Create New...