[RooT Server]Problem In Contact To Server

02/18/2012 07:32 Metin2 AR#1
import os
import app
import locale
import debugInfo

CHINA_PORT = 50000

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

app.ServerName = None
if locale.IsEUROPE():
STATE_NONE = "OFLINE"

STATE_DICT = {
0 : "OFLINE",
1 : "ONLINE",
2 : "BUSY",
3 : "FULL"
}

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"قناة 1 ","ip":"×××.xxx.xxx.xxx","tcp_port":13000,"udp_por t":13000,"state":"مغلقة",},
2:{"key":12,"name":"قناة 2 ","ip":"×××.xxx.xxx.xxx","tcp_port":13001,"udp_por t":13001,"state":"مغلقة",},
3:{"key":13,"name":"قناة 3 ","ip":"×××.xxx.xxx.xxx","tcp_port":13002,"udp_por t":13002,"state":"مغلقة",},
4:{"key":14,"name":"قناة 4 ","ip":"×××.xxx.xxx.xxx","tcp_port":13000,"udp_por t":13000,"state":"مغلقة",},
}

REGION_NAME_DICT = {
0 : "TURKEY",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"×××.xxx.xxx.xxx", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "×××××", "channel" : SERVER01_CHANNEL_DICT, },
},
}

MARKADDR_DICT = {
10 : { "ip" : "×××.xxx.xxx.xxx", "tcp_port" : 13003, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : "×××.xxx.xxx.xxx", "tcp_port" : 13061, "udp_port" : 13099, }


My Server Is RooT
Server Files 2010 (By Daroo)

Can any one tell me What is the reason not to enter a documentary

Is it possible to modify one of the ports