DOWNLOADSDownload L2 Emu Server Pack:Download DownloadDownload MySql 5.0:Download DownloadDownload Navicat:DownloadDownloadDownload JavaDownload from official site!PASUL 1: Dupa ce ati descarcat MySQL 5.0 trebuie sa-l instalati ca in urmatoarele poze:
Acum am terminat de instalat MySQL 5.0 !
PASUL 2: Dupa ce ati descarcat Navicat 8 instalati-l ca in urmatorele poze:
PASUL 3: Creearea conexiunii si a data base-ului in NAVICAT!
PASUL 4: Instalarea bazelor de date in MySql !
Deci, dupa ce ati dezarhivat server-ul in C:\ trebuie sa instalam baza de date !
Intrati in server\tools si apasati click dreapta pe simple_installer apoi pe edit si editati ca in urmatoarea poza:Acum dupa ce am configurat simple_installer putem intra in el si sa instalam database-ul ca in urmatoarele poze:
PASUL 5: EDITAREA IP-URILOR SI A PAROLEI DE LA MYSQL !
Intrati in server\gameserver\config\network\database.properties si editeaza:
Cod: |
#================= ########################################
# L2EMU PROJECT PACK # GENERAL DATABASE CONNECTION SETTINGS #
#================= ########################################
# --------------------
# Database Information
# --------------------
Driver= com.mysql.jdbc.Driver
#Driver= org.hsqldb.jdbcDriver
#Driver= com.microsoft.sqlserver.jdbc.SQLServerDriver
URL = jdbc:mysql://localhost/Emu_DB
#URL = jdbc:hsqldb:hsql://localhost/Emu_DB
#URL = jdbc:sqlserver://localhost/database=Emu_DB/user=sa/password=
Login = root
Password = aici pui parola de la mysql
MaximumDbConnections = 5000 |
Intrati in server\gameserver\config\network.properties si editeaza:
Cod: |
# ================== ############################
# L2EMU PROJECT PACK # GENERAL NETWORK SETTINGS #
# ================== ############################
#######################################################################################################
# =================================================================================================== #
# This is the Gameserver configuration file. Here you can set up the connection for your Gameserver. #
# 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 => http://www.emu-project.net #
# - 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 or www.showip.com #
# =================================================================================================== #
#######################################################################################################
#############################
# ========================= #
# GAMESERVER CONFIGURATION #
# ========================= #
#############################
# ===========
# Connection
# ===========
# Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs
GameserverHostname = aici ip-ul tau
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 = aici ip-ul tau
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname = aici ip-ul tau
InternalNetworks =
# Define optional networks and router IPs
# IP (200.100.200.100) or fully qualified domain name
# (google.com) that resolves to an IP (use ping to determine if a domain resolves).
# Format: ip,net/mask;ip,net/mask,net/mask
# (mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0 would be 192.168.*.*)
# Note: keep InternalNetworks and OptionalNetworks blank for compatibility with older login server
OptionalNetworks =
# ==============
# Port Forwading
# ==============
# The Loginserver host and port
LoginPort = 9014
LoginHost = aici ip-ul tau
# =====================
# Other Network Options
# =====================
# Network traffic optimization: minimum time between sending char's hp/mp status update packet.
NetworkTrafficOptimization = False
NetworkTrafficOptimizationMs = 1100
# how character will be logged out on //kick command
# Options: 1 - closeclient - closes client: WARNING: this method sometimes crash client
# 2 - relogin - send client to relogin screen
KickType = relogin
# === Flood Protector ===
# set the initial size of the flood protector (should equal ~player count)
FloodProtectorInitialSize = 50
# === Packets Related ===
# Packet LifeTime in miliseconds, 0 - disabled feature
PacketLifeTime = 0
# Packet ExecutionTime in milliseconds, 0 - disabled feature
PacketExecutionTime = 0
# Flood Protection
# if enabled players which send more then PACKETLIMIT packets in PACKETTIMELIMIT ms will get kicked
# warning not tested made a quickhack for squeezed
FloodProtection = False
PacketLimit = 500
PacketTimeLimit = 1100 |
Intrati in server\loginserver\config\network\network.properties si editeaza:
Cod: |
# ================== ##############################################
# L2EMU PROJECT PACK # Descriptions and Some Support Information #
# ================== ##############################################
#######################################################################################################
# =================================================================================================== #
# 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 => http://www.l2emu.net #
# - 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 or www.showip.com #
# =================================================================================================== #
#######################################################################################################
##########################
# ====================== #
# NETWORK CONFIGURATION #
# ====================== #
##########################
# ===========
# Connection
# ===========
# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostName = ip-ul tau aici
LoginServerPort = 2106
# The port, ip on which login will listen for GameServers
LoginPort = 9014
LoginHostName = ip-ul tau aici
# 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 = 10 |
Intrati in server\loginserver\config\network\database.properties si editeaza:
Cod: |
# ================== ####################*
# L2EMU PROJECT PACK # Database Settings #
# ================== #####################
# --------------------
# 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/Emu_DB
# here you have some more urls:
# URL = jdbc:hsqldb:hsql://localhost/Emu_DB
# URL = jdbc:sqlserver://localhost/database = Emu_DB/user = sa /password = (your pass)
# Your login to Database (default = root)
Login = root
# Your password to database (default = root)
Password = aici pui parola ta de la mysql
# Define how many connections are allowed on your database.
MaximumDbConnections = 1000 |
PASUL 6: INREGISTRAREA UNUI SERVER !
Intra in server\loginserver\register_gameserver.bat si scrie ca in urmatoarea poza :
Acum ne va aparea un fisier hexid(server1).txt, ii vom schimba numele in hexid fara (server 1) si il vom copia in Gameserver si in Gameserver\config !Acum deschide-ti server-ul din gameserver\startgameserver.bat si din loginserver\startloginserver.bat !ATENTIE: PRIMA DATA DESCHIDE-TI GAMESERVER-UL SI APOI LOGINSERVER-UL PENTRU A EVITA ANUMITE PROBLEME CARE VOR APAREA IN TIMP !Pentru a spawna un CUSTOM NPC trebuie sa scrii in chat :
//spawn (id-ul acestuia)
30038 Andromeda - Wedding Priest
50000 TOFIZ - Buffer
50001 Rayan - Buffer
50002 GM Shop - Trader
50003 Luxury GateKeeper - Tinkerbell
50004 Charus - Craft Manager
50005 Chron - Summon Buffer
50006 Gustaff - Gold Coins Mercenary
50008 Nikki - unsealer
50011 Trader - Life Stone Mercenary
50012 Newser - Anouncer Manager
50013 Gatis - Jail Manager
FINISH SI DISTRACTIE PLACUTA IN JOC !
_________________