Bump version to 0.4.x

This commit is contained in:
2025-04-12 09:55:07 +03:00
parent fea8f3fe76
commit 03daaa7a20
3 changed files with 40 additions and 19 deletions

View File

@ -1,5 +1,11 @@
SERVER_NAME = "Metin2"
SERVER_IP = "127.0.0.1"
SERVER_NAME_1 = "Local server"
SERVER_NAME_2 = "Dev server"
SERVER_NAME_3 = "Homeserver"
SERVER_NAME_4 = "Raspberry Pi"
SERVER_IP_1 = "127.0.0.1"
SERVER_IP_2 = "10.11.255.203"
SERVER_IP_3 = "192.168.100.3"
SERVER_IP_4 = "192.168.100.136"
CH1_NAME = "CH1"
CH2_NAME = "CH2"
CH3_NAME = "CH3"
@ -21,10 +27,16 @@ STATE_DICT = {
}
SERVER01_CHANNEL_DICT = {
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},
1: {"key": 11, "name": CH1_NAME, "ip": SERVER_IP_1, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
}
SERVER02_CHANNEL_DICT = {
1: {"key": 21, "name": CH1_NAME, "ip": SERVER_IP_2, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
}
SERVER03_CHANNEL_DICT = {
1: {"key": 31, "name": CH1_NAME, "ip": SERVER_IP_3, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
}
SERVER04_CHANNEL_DICT = {
1: {"key": 41, "name": CH1_NAME, "ip": SERVER_IP_4, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
}
REGION_NAME_DICT = {
@ -33,16 +45,25 @@ REGION_NAME_DICT = {
REGION_AUTH_SERVER_DICT = {
0: {
1: {"ip": SERVER_IP, "port": PORT_AUTH},
1: {"ip": SERVER_IP_1, "port": PORT_AUTH},
2: {"ip": SERVER_IP_2, "port": PORT_AUTH},
3: {"ip": SERVER_IP_3, "port": PORT_AUTH},
4: {"ip": SERVER_IP_4, "port": PORT_AUTH},
}
}
REGION_DICT = {
0: {
1: {"name": SERVER_NAME, "channel": SERVER01_CHANNEL_DICT},
1: {"name": SERVER_NAME_1, "channel": SERVER01_CHANNEL_DICT},
2: {"name": SERVER_NAME_2, "channel": SERVER02_CHANNEL_DICT},
3: {"name": SERVER_NAME_3, "channel": SERVER03_CHANNEL_DICT},
4: {"name": SERVER_NAME_4, "channel": SERVER04_CHANNEL_DICT},
},
}
MARKADDR_DICT = {
10: {"ip": SERVER_IP, "tcp_port": PORT_MARK, "mark": "10.tga", "symbol_path": "10"},
10: {"ip": SERVER_IP_1, "tcp_port": PORT_MARK, "mark": "10.tga", "symbol_path": "10"},
20: {"ip": SERVER_IP_2, "tcp_port": PORT_MARK, "mark": "20.tga", "symbol_path": "20"},
30: {"ip": SERVER_IP_3, "tcp_port": PORT_MARK, "mark": "30.tga", "symbol_path": "30"},
40: {"ip": SERVER_IP_4, "tcp_port": PORT_MARK, "mark": "40.tga", "symbol_path": "40"},
}