Hey Leute ich will mich mit den 2010 Client von crank auf eine dyndsln Server verbinden so weit so gut nur wenn ich den char auswähle bekomme ich ein kik jetzt muss ich die Login Ports änder und die Word Ports nur welche????
meine jetzige wo ich den kik bekomme
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': 13000, 'ip': "playboy-mt2.ath.cx", 'symbol_path': '10', 'mark': '10.tga'
}
},
'GAMEADDR': {
0: {
1: {
'name': "Unbreakeblemt2",
'channel':
{
1: {
'state': '...', 'name': 'CH1 ', 'key': 11, 'ip': "playboy-mt2.ath.cx", 'tcp_port': 13000, 'udp_port': 13000
}
}
},
} }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: {
1: {
'ip': "playboy-mt2.ath.cx", '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"]
mit der ich mich ganz connecten kann ist
import app
import locale
import debugInfo
CHINA_PORT = 50000
app.ServerName = None
if locale.IsGERMANY() or (locale.IsEUROPE() and app.GetLocalePath() == "locale/de"):
STATE_NONE = "..."
STATE_DICT = {
0 : "....",
1 : "normal",
2 : "belebt",
3 : "voll"
}
IgorGlock_serverinfo_Generator = {
1:{"key":11,"name":"Channel 1","ip":"playboy-mt2.ath.cx","tcp_port":13000,"udp_port":13000,"sta te":STATE_NONE,},
}
IgorGlock_serverinfo_Generator2 = {
1:{"key":21,"name":"Channel 1","ip":"playboy-mt2.ath.cx","tcp_port":13000,"udp_port":13000,"sta te":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "GERMANY",
}
REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"playboy-mt2.ath.cx", "port":11002, },
2 : { "ip":"playboy-mt2.ath.cx", "port":63589, },
},
}
REGION_DICT = {
0 : {
1 : { "name" : "Lution", "channel" : IgorGlock_serverinfo_Generator, },
2 : { "name" : "Mesai", "channel" : IgorGlock_serverinfo_Generator2, },
},
}
MARKADDR_DICT = {
10 : { "ip" : "playboy-mt2.ath.cx", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", },
20 : { "ip" : "playboy-mt2.ath.cx", "tcp_port" : 13000, "mark" : "20.tga", "symbol_path" : "20", },
}
TESTADDR = { "ip" : "127.0.0.0", "tcp_port" : 50000, "udp_port" : 50000, }
Wenn ich ne ander serverinfo reinpacke kommt ein error.....
kann mir einer eine serverinfo.py machen die dann geht??? bekommt auch ein thx