Client by Crank v2 DynDns Server

02/26/2011 07:01 liiqhtzz♥#1
Hallo,

ich bekomme es einfach nicht hin auf meinen DynDns Server zu connecten.
Habe serverinfo.py meine ip reingemacht und wieder gepackt.

Was muss ich noch machn?

Wie muss ich genau die Ports ändern? hab die Standart Ports.


Quote:
import os
import app
import locale
import debugInfo
import binascii

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': 90000, 'ip': "217.23.1.151", 'symbol_path': '10', 'mark': '10.tga'
}
},
'GAMEADDR': {
0: {
1: {
'name': "Lusorius2",
'channel':
{
1: {
'state': '...', 'name': 'CH1 ', 'key': 11, 'ip': "217.23.1.151", 'tcp_port': 90000, 'udp_port': 90000
}
}
},
} }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: {
1: {
'ip': "217.23.1.151", 'port': 11002
}
} }
}

STATE_NONE = "..."

STATE_DICT = {
0 : "....",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}

REGION_NAME_DICT = info["NAME"]
REGION_AUTH_SERVER_DICT = info["AUTHADDR"]
REGION_DICT = info["GAMEADDR"]
MARKADDR_DICT = info["MARKADDR"]
Vlt kann ja bitte jemand die Ports einstelln.

Wäre nett ;)