Hi everyone,
i have this code on server info, and my server is with the original (rain / mcncc.com) server files, and de client don't log in, stay on "You will be connected to the server". Someone correct the code please.
There's the code
There's the ports and my ip:
ip:5.105.53.0:11002
ip:5.105.53.0:13000
ip:5.105.53.0:13002
ip:5.105.53.0:13001
ip:5.105.53.0:13061
ip:5.105.53.0:13099
ip:5.105.53.0:13004
i have this code on server info, and my server is with the original (rain / mcncc.com) server files, and de client don't log in, stay on "You will be connected to the server". Someone correct the code please.
There's the code
Code:
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():
info = {
'MARKADDR': {
10: {
'tcp_port': 73762, 'ip': '79.169.167.248', 'symbol_path': '10', 'mark': '10.tga'
}
},
'GAMEADDR': {
0: {
1: {
'name': 'MetinLife',
'channel':
{
1: {
'state': '...', 'name': 'Channel-1', 'key': 11, 'ip': '79.169.167.248', 'tcp_port': 73762, 'udp_port': 73762
}, 2: {
'state': '...', 'name': 'Channel-2', 'key': 12, 'ip': '79.169.167.248', 'tcp_port': 23422, 'udp_port': 23422
}
}
},
} }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: {
1: {
'ip': '79.169.167.248', 'port': 82424
}
} }
}
STATE_NONE = "..."
STATE_DICT = {
0 : "DESLIGADO",
1 : "ONLINE",
2 : "BUSY",
3 : "FULL"
}
REGION_NAME_DICT = info["NAME"]
REGION_AUTH_SERVER_DICT = info["AUTHADDR"]
REGION_DICT = info["GAMEADDR"]
MARKADDR_DICT = info["MARKADDR"]
ip:5.105.53.0:11002
ip:5.105.53.0:13000
ip:5.105.53.0:13002
ip:5.105.53.0:13001
ip:5.105.53.0:13061
ip:5.105.53.0:13099
ip:5.105.53.0:13004