Quote:
Originally Posted by .ExoTiC
Root Dateien:
Serverimfo.py
5.182.37.214 meine IP, darf keine 100 sein!
Serverinfo.py aus root Dateien genau das gleiche.
Crank Client: [Only registered and activated users can see links. Click Here To Register...]
|
Erstmal danke für deine Hilfe.
Aber, hoffnungslos:
Hier mal was in der "serverinfo.py" in "root" datein drin steht:
Meine Hamachi-IP: 5.36.155.156 - daswegen in der serverinfo.py keine 100 am ende!
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': 13000, 'ip': '5.36.155.156', 'symbol_path': '10', 'mark': '10.tga'
}
},
'GAMEADDR': {
0: {
1: {
'name': 'UnderWorld2',
'channel':
{
1: {
'state': '...', 'name': 'CH1 ', 'key': 11, 'ip': '5.36.155.156', 'tcp_port': 13000, 'udp_port': 13000
}, 2: {
'state': '...', 'name': 'CH2 ', 'key': 12, 'ip': '5.36.155.156', 'tcp_port': 47000, 'udp_port': 47000
}, 3: {
'state': '...', 'name': 'CH3 ', 'key': 13, 'ip': '5.36.155.156', 'tcp_port': 48000, 'udp_port': 48000
}
}
},
} }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: {
1: {
'ip': '5.36.155.156', 'port': 11002
}
} }
}
STATE_NONE = "Down"
STATE_DICT = {
0 : "Down",
1 : "Normal",
2 : "Belebt",
3 : "Voll"
}
REGION_NAME_DICT = info["NAME"]
REGION_AUTH_SERVER_DICT = info["AUTHADDR"]
REGION_DICT = info["GAMEADDR"]
MARKADDR_DICT = info["MARKADDR"]
Falsch/richtig? bitte helfen.
Danke.
PS: Wenn ich "10erfiles.exe" öffne kommt "Fehler beim verbinden" ist ja sicher klar ;)
Aber warum geht "RevivalMt2.exe" nicht auf -.-