2. Intram in “serverinfo.py”
3. Cautam unde scrie:
6. Salvam si impachetam.SERVER01_CHANNEL_DICT = {
1:{“key”:11,”name”:”CH1 “,”ip”:”metin2b.ath.cx”,”tcp_port”:13000,”udp_port”:13000,”state”:STATE_NONE,},
2:{“key”:11,”name”:”CH2 “,”ip”:”metin2b.ath.cx”,”tcp_port”:16000,”udp_port”:16000,”state”:STATE_NONE,},
}
4. Adaugam inca una si modificam in functie de servere datele de mai jos:
ERVER01_CHANNEL_DICT = {
1:{“key”:11,”name”:”CH1 “,”ip”:”metin2b.ath.cx”,”tcp_port”:13000,”udp_port”:13000,”state”:STATE_NONE,},
2:{“key”:11,”name”:”CH2 “,”ip”:”metin2b.ath.cx”,”tcp_port”:16000,”udp_port”:16000,”state”:STATE_NONE,},
}
SERVER02_CHANNEL_DICT = {
1:{“key”:11,”name”:”CH1 “,”ip”:”metin2b.ath.cx”,”tcp_port”:13000,”udp_port”:13000,”state”:STATE_NONE,},
2:{“key”:11,”name”:”CH2 “,”ip”:”metin2b.ath.cx”,”tcp_port”:16000,”udp_port”:16000,”state”:STATE_NONE,},
}
5. Cautam si adaugam:
REGION_DICT = {
0 : {
1 : { “name” : “Metin2Borcea”, “channel” : SERVER01_CHANNEL_DICT, },
2 : { “name” : “Metin2Borcea2″, “channel” : SERVER02_CHANNEL_DICT, },
},
}
Sau:
Salutari, azi va voi invata cum sa adaugati un al doilea server intr-un client, desigur daca urmati pasii inca odata , puteti introduce si al treilea , etc.. sa incepem
Pentru inceput, ceea ce v-om face in acest tutorial o sa arate cam asa:
Pasul 1
* Despacheptam fisierele root.epk/eix , de preferinta cu eternexus, acum depinde de fiecare caz.
Pasul 2
* Intram in serverinfo.py , il deschidem cu notepad++
Pasul 3
* Cautam linia cu CHANNELS1 , si v-om gasi ceva de genul:
Fix dupa ultima " ] " dam [enter]
si introducem al doilea canal uite asa
Sa fie channels2
Va trebuii sa arate cam asa:
Desigur aici sunt doar 2 ch-uri , puteti avea mai multe
Pasul 4
* Cautam linia
si fix sub ea adaugam urmatoarea linie
* Ar trebuii sa arate cam asa:
Pasul 5
* Cautam linia
si sub ea adaugam urmatorul lucru:
Ar trebuii sa arate cam asa:
Pasul 6
* Cautam linia
si sub ea adaugam
* Cam asa ar trebuii sa arate:
Pasul 7
* Cautam linia
si sub ea adaugam
Ar trebuii sa arate cam asa:
Si cu asta am incheiat de pus 2 servere intr-un client , cam asa ar trebuii sa arate toata chestia:
Daca ati configurat cum trebuie , trebuie sa va mearga 100%, Acest tutorial a fost creeat 100% de mine, Zorke, Pentru nelamuriri lasati cate un raspuns si va ajut !