client/bin/pack/root/serverinfo.py

42 lines
703 B
Python
Raw Normal View History

import app
app.ServerName = None
SERVER_HOSTNAME = "172.23.99.208"
STATE_NONE = '...'
STATE_DICT = {
0: '....',
1: 'NORM',
2: 'BUSY',
3: 'FULL'
}
SERVER1_CHANNEL_DICT = {
1: {'key': 11,'name': 'CH1 ', 'ip': SERVER_HOSTNAME, 'tcp_port': 13900, 'udp_port': 13900, 'state': STATE_NONE},
}
REGION_NAME_DICT = {
0: 'TAIWAN',
}
REGION_AUTH_SERVER_DICT = {
0: {
1: {'ip': SERVER_HOSTNAME, 'port':11900},
}
}
REGION_DICT = {
0: {
1: {'name': 'Test Server', 'channel': SERVER1_CHANNEL_DICT},
}
}
MARKADDR_DICT = {
10: {'ip': SERVER_HOSTNAME, 'tcp_port': 13900, 'mark': '10.tga', 'symbol_path': '10'},
}
TESTADDR = {'ip': SERVER_HOSTNAME, 'tcp_port': 13900, 'udp_port': 13900}
#DONE