import app
import localeInfo
from constInfo import TextColor
app.ServerName = None
RUTIL_MINIMAP = "|cffffd500|h OldSchool" #MiniMap Altı Yazı
SERVER_NAME = {
"name":TextColor("OldSchool", "ffd500"), #GOLD
"host":"192.168.1.24 ",
"auth1":30001,
"ch1":13900,
"ch2":13910, #if you only have 1 ch and see it online, it's ch99 having the same port 30011
#"ch3":13920, #3007
#"ch4":13930, #30015
}
STATE_NONE = TextColor(localeInfo.CHANNEL_STATUS_OFFLINE, "FF0000") #RED
STATE_DICT = {
0: TextColor(localeInfo.CHANNEL_STATUS_OFFLINE, "FF0000"), #RED
1: TextColor(localeInfo.CHANNEL_STATUS_RECOMMENDED, "00ff00"), #GREEN
2: TextColor(localeInfo.CHANNEL_STATUS_BUSY, "ffff00"), #YELLOW
3: TextColor(localeInfo.CHANNEL_STATUS_FULL, "ff8a08") #ORANGE
}
SERVER1_CHANNEL_DICT = {
0: {"key":10, "name":TextColor("CH-1", "FFffFF"), "ip":SERVER_NAME["host"], "tcp_port":SERVER_NAME["ch1"], "udp_port":SERVER_NAME["ch1"], "state":STATE_NONE,},
1: {"key":11, "name":TextColor("CH-2", "FFffFF"), "ip":SERVER_NAME["host"], "tcp_port":SERVER_NAME["ch2"], "udp_port":SERVER_NAME["ch2"], "state":STATE_NONE,},
#2: {"key":12, "name":TextColor("CH-3", "FFffFF"), "ip":SERVER_NAME["host"], "tcp_port":SERVER_NAME["ch3"], "udp_port":SERVER_NAME["ch3"], "state":STATE_NONE,},
#3: {"key":13, "name":TextColor("CH-4", "FFffFF"), "ip":SERVER_NAME["host"], "tcp_port":SERVER_NAME["ch4"], "udp_port":SERVER_NAME["ch4"], "state":STATE_NONE,},
}
REGION_NAME_DICT = {
0: SERVER_NAME["name"],
}
REGION_AUTH_SERVER_DICT = {
0: {
0: {"ip": SERVER_NAME["host"], "port": SERVER_NAME["auth1"],},
1: {"ip": SERVER_NAME["host"], "port": SERVER_NAME["auth1"],},
2: {"ip": SERVER_NAME["host"], "port": SERVER_NAME["auth1"],},
3: {"ip": SERVER_NAME["host"], "port": SERVER_NAME["auth1"],},
}
}
REGION_DICT = {
0: {
1: {"name": SERVER_NAME["name"], "channel": SERVER1_CHANNEL_DICT,},
},
}
MARKADDR_DICT = {
10: {"ip": SERVER_NAME["host"], "tcp_port": SERVER_NAME["ch1"], "mark": "10.tga", "symbol_path": "10",},
}
TESTADDR = {"ip": SERVER_NAME["host"], "tcp_port": SERVER_NAME["ch1"], "udp_port": SERVER_NAME["ch1"],}