[GHID]Cum sa bagi 2 servere in acelasi client
Pagina 1 din 1
[GHID]Cum sa bagi 2 servere in acelasi client
Astazi va voi arata cum sa bagati mai multe servere in lista unui client in genul metin2.ro(nu fac reclama)
1.Pentru inceput 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 unde scrie cu rosu in functie de servere :
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. Dupa cautam si adaugam :
REGION_DICT = {
0 : {
1 : { "name" : "Metin2Borcea", "channel" : SERVER01_CHANNEL_DICT, },
2 : { "name" : "Metin2Borcea2", "channel" : SERVER02_CHANNEL_DICT, },
},
}
6. Acum salvam si inpachetam tot si in client...
7. Enjoy avem 2 servere in lista
1.Pentru inceput 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 unde scrie cu rosu in functie de servere :
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. Dupa cautam si adaugam :
REGION_DICT = {
0 : {
1 : { "name" : "Metin2Borcea", "channel" : SERVER01_CHANNEL_DICT, },
2 : { "name" : "Metin2Borcea2", "channel" : SERVER02_CHANNEL_DICT, },
},
}
6. Acum salvam si inpachetam tot si in client...
7. Enjoy avem 2 servere in lista
Subiecte similare
» [GHID]Cum sa bagi muzica pe client
» [GHID]Cum sa schimbi imaginile din client
» Cineva priceput in Servere !
» [Client]Call Of Metin2
» Cum sa modifici un client ma refer la tot
» [GHID]Cum sa schimbi imaginile din client
» Cineva priceput in Servere !
» [Client]Call Of Metin2
» Cum sa modifici un client ma refer la tot
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum