Como poner para q salga el status real en los ch
-
Hola Alguien sabe como poner q salga Full cuando este lleno etc
import app
import locale
import debugInfoCHINA_PORT = 50000
app.ServerName = None
if (locale.IsEUROPE() and app.GetLocalePath()):
STATE_NONE = "Online"STATE_DICT = {
0 : "Apagado",
1 : "Normal",
2 : "Repleto",
3 : "Lleno"
}SERVER01_CHANNEL_DICT = { #Old Time
1:{"key":11,"name":"CH1 ","ip":"xxxxxxxxx","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
}REGION_NAME_DICT = {
0 : "POLAND",
}REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"xxxxxxxxx", "port":11002, }, #Client By agu}
}REGION_DICT = {
0 : {
1 : { "name" : "Old Time", "channel" : SERVER01_CHANNEL_DICT, },},
}MARKADDR_DICT = {
10 : { "ip" : "xxxxxxxxx", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", }, #Client By agu}
TESTADDR = { "ip" : "xxxxxxxxx", "tcp_port" : 50000, "udp_port" : 50000, }