Syserr:
1008 21:47:51506 :: LZObject: key incorrect
Serverinfo.py:
import locale
def BuildServerList(orderList):
retMarkAddrDict = {}
retAuthAddrDict = {}
retRegion0 = {}
ridx = 1
for region, auth, mark, channels in orderList:
cidx = 1
channelDict = {}
for channel in channels:
key = ridx * 10 + cidx
channel['key'] = key
channelDict[cidx] = channel
cidx += 1
region['channel'] = channelDict
retRegion0[ridx] = region
retAuthAddrDict[ridx] = auth
retMarkAddrDict[ridx*10] = mark
ridx += 1
return retRegion0, retAuthAddrDict, retMarkAddrDict
if locale.IsEUROPE():
STATE_NONE = "OFFLINE"
STATE_DICT = {
0 : "OFFLINE",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
SERVER01_CHANNEL =[
{"name":"CH1 ","ip":"65.19.130.18","tcp_port":13000,"udp_port": 13000,"state":STATE_NONE,},
]
SERVER01_MARK = { "ip" : "65.19.130.18", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10",}
SERVER01_AUTH = { "ip":"65.19.130.18", "port":11002, }
SERVER01 = { "name" : "EBURUM" }
TESTADDR = { "ip" : "46.22.210.126", "tcp_port" : 50000, "udp_port" : 50000, }
TESTADDR = { "ip" : "46.22.210.126", "tcp_port" : 50000, "udp_port" : 50000, }
REGION0_ORDER_LIST = [
(SERVER01, SERVER01_AUTH, SERVER01_MARK, SERVER01_CHANNEL),
]
# BUILD
NEW_REGION0, NEW_REGION0_AUTH_SERVER_DICT, NEW_MARKADDR_DICT = BuildServerList(REGION0_ORDER_LIST)
# RESULT
NEW_REGION_NAME_DICT = {
0 : "GERMANY",
}
NEW_REGION_AUTH_SERVER_DICT = {
0 : NEW_REGION0_AUTH_SERVER_DICT,
}
NEW_REGION_DICT = {
0 : NEW_REGION0,
}
MARKADDR_DICT = NEW_MARKADDR_DICT
REGION_DICT = NEW_REGION_DICT
REGION_NAME_DICT = NEW_REGION_NAME_DICT
REGION_AUTH_SERVER_DICT = NEW_REGION_AUTH_SERVER_DICT
TESTADDR = { 'ip' : '46.22.210.1260', 'tcp_port' : 50000, 'udp_port' : 50000, }
Lauling 2nd time you are helping me...
Thank you very much!