Jump to content
  • IceGame # Spatiu Publicitar

Locked [Tutorial]Cum sa ai 2 servere in acelasi client/Cum sa protejezi serverul impotriva yang flood


Barlap

Recommended Posts

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.


Cum sa protejezi serverul impotriva yang flood-ului


1. Ne conectam la Navicat, dar sa avem serverul pornit.

2. Intram in tabelul „player”.

3. Cautam tabelul „itemproto” si stergem prima linie, respectiv linia 1.

4. Salvam ce am facut in Navicat si dam /reload p sau reboot la server

Link to comment
Share on other sites

Please disable AdBlocker in order to help us keeping the forum up and running!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By visiting our community, you agree to our Terms of Use.