Police Administrator
Mesaje : 229 Data de înscriere : 08/08/2008
| Subiect: Cum faci server de l2 Sam Noi 22, 2008 7:14 pm | |
| CPU PENTIUM 3 800MHZ sau mai mult Ram cel putin 256 DDR GFXGeForce2 sau mai bun
Recomandat:
Intel Pentimu 4 1,2 GHZ sau mai mult Ram Cel Putin 512 DDR GeForce4 TI sau mai bun
Pasul 1
*Nota: Vei avea nevoie de cel putin 5 GIGA pentru acest pas . In caz in care nu doriti sa jucati L2 pe calculatorul pe care aveti serverul sariti acest pas. Nu recomand sa jucati l2 pe acelasi calculator in caz in care vreti playeri pe server* Downlodeaza Clientul de Lineage 2 . Vezi postul de la acest link pentru a downloda clientu:
http://www.warezbb.ro/viewtopic.php?t=2099
*Nota: Daca deja ai Directx 9.0c instalat sari la pasul 3* Downlodeaza si instaleaza Directx 9.0c Directx poate fi gasit aici
http://www.microsoft.com/windows/directx/default.aspx
*Nota: in timpul instalarii va cere sa setezi o parola pentru useru root. Sa nu cumva sa uiti aceasta parola. Parola iti va fi necesara pe parcursu configurarii serverului*
Pasul 4 Downlodeaza si instaleaza NAVICAT
http://dev.mysql.com/downloads/mysql/4.1.html
*Nota:programul e trial. Daca e cautati voi pt el un serial sau un crack. eu unu folosesc metoda asta : cand expira trial dau run: regedit si deletez tot ce gasesc cand dau search PremiumSoft si mai capat 30 de zile Dupa ce ai instalat navicat ruleaza programul. Dai File->New Connection iti va aparea o fereastra in care setezi ca in poza urmatoare. Iar la password pui parola setata la mysql pt userul root
Acum creaza o noua baza de date cu numele de l2jdb
Pasul 5 *Nota: In caz in care ai deja Java Runtime instalat sari la pasul urmator* Downlodeaza si instaleaza java runtime :
http://www.java.com/en/download/
Pasul 6 Downlodeaza serverpack-ul
http://www.warezbb.ro/viewtopic.php?t=1942&highlight=lineage
Extragel in C: astfel vei obtine C:\Banished_Build_1.2.6 . Da rename la folder in Server Intra in folder si asigurate ca ai urmatoarele foldere: L2j_DataPack, l2j-gameserver, Latest_protocol login si Non Costum GM Shop HTML. Vei observa pe langa Latest_protocol login mai ai in l2j-gameserver un Patch Login. Daca vrei ca playerii sa se conecteze folosind patchul custom care contine si itemele de c5 foloseste Patch Login . Daca vrei ca playerii sa se conecteze prin intermediul hostului si sa nu aibe acces la itemele de c5 atunci foloseste Latest_protocol login si copile html-ul din Non costum GM Shop HTML in C:\Server\l2j-gameserver\gameserver\data\html\merchant si dai overwrite.
Acum ca avem tot ce ne trebuie in calculator si te-ai hotarat ce login vei folosi v-om incepe sa instalam si sa configuram serverul.
Pasul 7 Instalare DATABASE Dute in C:\Server\L2J_DataPack\tools . Dai edit la database_installer si ti-l va deschide in notepad
vei vedea aceasta :
REM LOGINSERVER set lsuser=root set lspass=parola mysql set lsdb=l2jdb set lshost=localhost
REM GAMESERVER set gsuser=root set gspass=parola mysql set gsdb=l2jdb set gshost=localhost
acum salveaza si inchide. Ruleaza database_installer.bat de fiecare data cand esti intrebat dai full (f) -> te va intreba de 2 ori
Acum ca am instalat baza de date pentru serverul nostru o sa avem nevoie sa configuram gameserverul si loginserverul
Pasul 8 ducetiva in C:\server\l2j-gameserver\gameserver\config si deschideti server.propertis in wordpad Va arata ceva de genu
# ================================================================ # 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= ip-ul tau real (127.0.1 daca vrei sa joci doar tu singur sau daca nu ai un ip real)
# 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=ip-ul tau de retea ( in caz in care te joci singur pui 127.0.1 in caz in care ai ip real si ai setat mai sus pui* ) # Bind ip of the loginserver, use * to bind on all available IPs LoginserverHostname=* LoginserverPort=2106 LoginTryBeforeBan=20
# The Loginserver host and port LoginPort=9014 LoginHost=ip-ul tau real pe care il pui si in login(la fel in caz in care te joci singur setezi 127.0.1)
# This is the server id that the gameserver will request (i.e. 0 is Bartz) RequestServerID = 0 # 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=parola baza de date pe care ai pus la instalarea mysql MaximumDbConnections=10
Acum tot acolo in server.propertis dar jos de tot vei gasi
# Minimum and maximum protocol revision that server allow to connect. # You must keep MinProtocolRevision <= MaxProtocolRevision. MinProtocolRevision = 660 MaxProtocolRevision = 759 Daca folosest patched Patch_Login ai grija sa schimbi 660 in 656 daca folosesti LatestProtocol_Login lasa 660
Pasul 9 dute in C:\serverl\l2j-gameserver\Patch_Login\config sau C:\server\LatestProtocol_Login\config depinde ce server folosesti si deschide loginserver.propertis
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname=ip-ul tau real(sau 127.0.0.1 daca joci singur)
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname InternalHostname=ip-ul de reatea (daca ai ip real pui * daca jocin singur pui 127.0.0.1)
# Bind ip of the loginserver, use * to bind on all available IPs LoginserverHostname=* LoginserverPort=2106 LoginTryBeforeBan=20 GMMinLevel=100
# 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 - ai grija sa fie TRUE altfel nu va accepta GameServerul sa se inregistreze la el
# If false, the licence (after the login) will not be shown 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=parola baza de date pe care ai pus la instalarea mysql MaximumDbConnections=10
Pasul 10
acum implementam in server modificarile aduse de banished. acest pas nu este obligatori serverul dumneavoastra e gata sa functioneze dar eu recomand sa faceti totusi acest pas deoarece merita in plus repara multe buguri Dute in C:\server\L2J_DataPack\Banished_Content si copie folderul data in folderul C:\server\l2j-gameserver\gameserver . Daca te intreaba dai overwrite Dute in C:\server\L2J_DataPack\Banished_Content\sql . Acum inseram aceste fisiere in database. Pentru asta avem 2 metode 1. Intri in navicat si le inserezi pe fiecare in parte. (ceva mai complicat daca nu stii sa utilizezi navicat treci la pasul 2 ) 2. In C:\server\L2J_DataPack\tools update_sql.bat . Muta fiecare fisier din folderul sql deasupra acestui bat pentru a le insera.
| |
|