Buena, guía, aquí dejo un serverinfo de prueba para quienes lo quieran ver:
import os
import app
import locale
import debugInfo
CHINA_PORT = 50000
if locale.IsEUROPE():
STATE_NONE = "..."
STATE_DICT = {
0 : "....",
1 : "Normal",
2 : "Ocupado",
3 : "Lleno"
}
IgorGlock_serverinfo_Generator = {
1:{"key":11,"name":"CH1","ip":"xxx.xxx.xxx.xxx","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
2:{"key":12,"name":"CH2","ip":"xxx.xxx.xxx.xxx","tcp_port":16000,"udp_port":16000,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "GERMANY",
}
REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"xxx.xxx.xxx.xxx", "port":19835, },
}
}
REGION_DICT = {
0 : {
1 : { "name" :"XXX", "channel" : IgorGlock_serverinfo_Generator, },
},
}
MARKADDR_DICT = {
10 : { "ip" : "xxx.xxx.xxx.xxx", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", },
}
TESTADDR = { "ip" : "xxx.xxx.xxx.xxx", "tcp_port" : 50000, "udp_port" : 50000, }
Aunque puede haber millones de ellos, un saludo Danibonilla1.
Sigue así!