[Ghid]Modificare Client dupa 3CH,2CH.
Pagina 1 din 1
[Ghid]Modificare Client dupa 3CH,2CH.
Saltuare Draga Comunitate!
Astazi am sa va arat 'cum modificam un client dupa 3Ch, 2CH, sau mai multe!
Am postat acest topic pentru cei care au clientul cu 1ch.
1.Intram In Folderul cu clientul.
2.Creem un client numit serverinfo, format '.php' ( fara ghilimele)!
3.Intram in el si bagam urmatoarele:
Multumesc.
Astazi am sa va arat 'cum modificam un client dupa 3Ch, 2CH, sau mai multe!
Am postat acest topic pentru cei care au clientul cu 1ch.
1.Intram In Folderul cu clientul.
2.Creem un client numit serverinfo, format '.php' ( fara ghilimele)!
3.Intram in el si bagam urmatoarele:
- Cod:
import app
import locale
import debugInfo
CHINA_PORT = 50000
app.ServerName = None
if (locale.IsEUROPE() and app.GetLocalePath()):
STATE_NONE = "..."
STATE_DICT = {
0 : "....",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"hm2.malware-site.www","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "POLAND",
}
REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"ip-ul serverului", "port":11002, },
}
}
REGION_DICT = {
0 : {
1 : { "name" : "Metin2 By SouL", "channel" : SERVER01_CHANNEL_DICT, },
},
}
MARKADDR_DICT = {
10 : { "ip" : "ip-ul serverului", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", },
}
TESTADDR = { "ip" : "ip-ul serverului", "tcp_port" : 50000, "udp_port" : 50000, }
elif locale.IsTAIWAN():
STATE_NONE = "NORM"
STATE_DICT = {
0 : "OFF",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"ip-ul serverului","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
2:{"key":12,"name":"CH2 ","ip":"ip-ul serverului","tcp_port":16000,"udp_port":16000,"state":STATE_NONE,},
3:{"key":13,"name":"CH3 ","ip":"ip-ul serverului","tcp_port":19000,"udp_port":19000,"state":STATE_NONE,},
}
MARKADDR_DICT = {
10 : { "ip" : "ip-ul serverului", "tcp_port" : 16000, "mark" : "10.tga", "symbol_path" : "10", },
20 : { "ip" : "ip-ul serverului", "tcp_port" : 16100, "mark" : "20.tga", "symbol_path" : "20", },
30 : { "ip" : "ip-ul serverului", "tcp_port" : 13000, "mark" : "30.tga", "symbol_path" : "30", },
}
REGION_NAME_DICT = {
0 : "TAIWAN",
}
#1. °{¹q2. ¬y¬P3. °l·4. ¨ª¨ß5. »AÀs6. ¥É°¨
#1. °{¹q 2. ¬y¬P 3. °l· 4. ¨ª¨ß 5. ºñ¦Õ 6. »AÀs 7. ¥É°¨ 8. ®µÁl 9. ¶V¼v 10.©b®d
REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"ip-ul serverului", "port":11002, },
2 : { "ip":"ip-ul serverului", "port":11102, },
3 : { "ip":"ip-ul serverului", "port":11002, },
}
}
REGION_DICT = {
0 : {
1 : { "name" : "Metin2By SouL", "channel" : SERVER01_CHANNEL_DICT, },
# 2 : { "name" : "Metin2By SouL", "channel" : SERVER02_CHANNEL_DICT, },
# 3 : { "name" : "¡i°l·¡j", "channel" : SERVER03_CHANNEL_DICT, },
},
}
TESTADDR = { "ip" : "ip-ul serverului", "tcp_port" : 13003, "udp_port" : 13003, }
Multumesc.
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum
|
|