import app
import locale
import debugInfo
CHINA_PORT = 50000
app.ServerName = None
if locale.IsEUROPE() or (locale.IsEUROPE() and app.GetLocalePath() == "locale/ES"):
STATE_NONE = "..."
STATE_OFFLINE = "OFFLINE"
STATE_DICT = {
0 : "....",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
SERVER02_CHANNEL_DICT = {
1:{"key":31,"name":"CH1 ","ip":"5.92.188.83","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
2:{"key":32,"name":"CH2 ","ip":"5.92.188.83","tcp_port":16000,"udp_port":16000,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "SPAIN",
}
REGION_AUTH_SERVER_DICT = {
0 : {
2 : { "ip":"5.92.188.83", "port":11002, },
#3 : { "ip":"176.31.101.103", "port":11002, },
#4 : { "ip":"91.121.97.49", "port":11002, },
#5 : { "ip":"91.121.121.203", "port":11002, },
#6 : { "ip":"80.79.127.2", "port":20111, },
#7 : { "ip":"80.79.127.4", "port":20101, },
#8 : { "ip":"80.79.127.22", "port":11002, },
#9 : { "ip":"80.79.127.19", "port":11002, },
#10 : { "ip":"80.79.127.6", "port":11002, },
#11 : { "ip":"80.79.127.13", "port":11002, },
},
}
REGION_DICT = {
0 : {
2 : { "name" : "Pepineitor", "channel" : SERVER02_CHANNEL_DICT, },
#3 : { "name" : "ArcangelMt2", "channel" : SERVER03_CHANNEL_DICT, },
#4 : { "name" : "2011", "channel" : SERVER04_CHANNEL_DICT, },
#5 : { "name" : "Persia", "channel" : SERVER05_CHANNEL_DICT, },
#6 : { "name" : "Equus", "channel" : SERVER06_CHANNEL_DICT, },
#7 : { "name" : "Mainia", "channel" : SERVER07_CHANNEL_DICT, },
#8 : { "name" : "Mijen", "channel" : SERVER08_CHANNEL_DICT, },
#9 : { "name" : "Priscus", "channel" : SERVER09_CHANNEL_DICT, },
#10 : { "name" : "Rejoung", "channel" : SERVER10_CHANNEL_DICT, },
#11 : { "name" : "Zurana", "channel" : SERVER11_CHANNEL_DICT, },
},
}
MARKADDR_DICT = {
20 : { "ip" : "5.92.188.83", "tcp_port" : 13000, "mark" : "20.tga", "symbol_path" : "20", },
30 : { "ip" : "176.31.101.103", "tcp_port" : 13000, "mark" : "30.tga", "symbol_path" : "30", },
40 : { "ip" : "91.121.97.49", "tcp_port" : 13000, "mark" : "40.tga", "symbol_path" : "40", },
50 : { "ip" : "80.79.127.7", "tcp_port" : 7001, "mark" : "50.tga", "symbol_path" : "50", },
60 : { "ip" : "80.79.127.2", "tcp_port" : 0, "mark" : "60.tga", "symbol_path" : "60", },
70 : { "ip" : "80.79.127.4", "tcp_port" : 7001, "mark" : "70.tga", "symbol_path" : "70", },
80 : { "ip" : "80.79.127.11", "tcp_port" : 7001, "mark" : "80.tga", "symbol_path" : "80", },
90 : { "ip" : "80.79.127.19", "tcp_port" : 7001, "mark" : "90.tga", "symbol_path" : "90", },
100 : { "ip" : "80.79.127.6", "tcp_port" : 7001, "mark" : "100.tga", "symbol_path" : "100", },
110 : { "ip" : "80.79.127.13", "tcp_port" : 7001, "mark" : "110.tga", "symbol_path" : "110", },
}
TESTADDR = { "ip" : "91.121.97.49", "tcp_port" : 50000, "udp_port" : 50000, }
Te servira para 2 canales, si quieres más simplemente es quitar algunas almoadillas, es así, si no te funciona es cosa de tu serveridor.
Salu2.