Cum sa ai 2 servere in acelasi client
1. Desfacem “root.eix”
2. Intram in “serverinfo.py”
3. Cautam unde scrie:
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:
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,},
}
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, },
},
}
6. Salvam si impachetam.