Compare commits

..

3 Commits

1 changed files with 9 additions and 21 deletions

View File

@ -1,7 +1,5 @@
SERVER01_NAME = "Metin2 (homeserver)"
SERVER01_IP = "homeserver.internal.tiberiud.ro"
SERVER02_NAME = "Metin2 (localhost)"
SERVER02_IP = "localhost"
SERVER_NAME = "Metin2"
SERVER_IP = "127.0.0.1"
CH1_NAME = "CH1"
CH2_NAME = "CH2"
CH3_NAME = "CH3"
@ -23,17 +21,10 @@ STATE_DICT = {
}
SERVER01_CHANNEL_DICT = {
1: {"key": 11, "name": CH1_NAME, "ip": SERVER01_IP, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
# 2: {"key": 12, "name": CH2_NAME, "ip": SERVER01_IP, "tcp_port": PORT_2, "udp_port": PORT_2, "state": STATE_NONE},
# 3: {"key": 13, "name": CH3_NAME, "ip": SERVER01_IP, "tcp_port": PORT_3, "udp_port": PORT_3, "state": STATE_NONE},
# 4: {"key": 14, "name": CH4_NAME, "ip": SERVER01_IP, "tcp_port": PORT_4, "udp_port": PORT_4, "state": STATE_NONE},
}
SERVER02_CHANNEL_DICT = {
1: {"key": 11, "name": CH1_NAME, "ip": SERVER02_IP, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
# 2: {"key": 12, "name": CH2_NAME, "ip": SERVER02_IP, "tcp_port": PORT_2, "udp_port": PORT_2, "state": STATE_NONE},
# 3: {"key": 13, "name": CH3_NAME, "ip": SERVER02_IP, "tcp_port": PORT_3, "udp_port": PORT_3, "state": STATE_NONE},
# 4: {"key": 14, "name": CH4_NAME, "ip": SERVER02_IP, "tcp_port": PORT_4, "udp_port": PORT_4, "state": STATE_NONE},
1: {"key": 11, "name": CH1_NAME, "ip": SERVER_IP, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
2: {"key": 12, "name": CH2_NAME, "ip": SERVER_IP, "tcp_port": PORT_2, "udp_port": PORT_2, "state": STATE_NONE},
3: {"key": 13, "name": CH3_NAME, "ip": SERVER_IP, "tcp_port": PORT_3, "udp_port": PORT_3, "state": STATE_NONE},
4: {"key": 14, "name": CH4_NAME, "ip": SERVER_IP, "tcp_port": PORT_4, "udp_port": PORT_4, "state": STATE_NONE},
}
REGION_NAME_DICT = {
@ -42,19 +33,16 @@ REGION_NAME_DICT = {
REGION_AUTH_SERVER_DICT = {
0: {
1: {"ip": SERVER01_IP, "port": PORT_AUTH},
2: {"ip": SERVER02_IP, "port": PORT_AUTH},
1: {"ip": SERVER_IP, "port": PORT_AUTH},
}
}
REGION_DICT = {
0: {
1: {"name": SERVER01_NAME, "channel": SERVER01_CHANNEL_DICT},
2: {"name": SERVER02_NAME, "channel": SERVER02_CHANNEL_DICT},
1: {"name": SERVER_NAME, "channel": SERVER01_CHANNEL_DICT},
},
}
MARKADDR_DICT = {
10: {"ip": SERVER01_IP, "tcp_port": PORT_MARK, "mark": "10.tga", "symbol_path": "10"},
20: {"ip": SERVER02_IP, "tcp_port": PORT_MARK, "mark": "20.tga", "symbol_path": "20"},
10: {"ip": SERVER_IP, "tcp_port": PORT_MARK, "mark": "10.tga", "symbol_path": "10"},
}