hab n problem mit 2tem CH

02/19/2012 17:16 BassKing2010#1
hay leuete ich wolte heute ma n 2ten Channel in meinen Client machen aber dann bekomm ich ne fhler melden beim Patchen

ich hab den Clinet von Crank 2010

das is meine Serverinfo.py im normal zustand mit einem CH

PHP Code:
import os
import app
import locale
import debugInfo
import binascii

CHINA_PORT 
50000

def BuildServerList
(orderList):
    
retMarkAddrDict = {}
    
retAuthAddrDict = {}
    
retRegion0 = {}

    
ridx 1
    
for regionauthmarkchannels 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 retRegion0retAuthAddrDictretMarkAddrDict

app
.ServerName None


if locale.IsEUROPE():
    
info = {
        
'MARKADDR': {
        
10: {
            
'tcp_port'13000'ip':  "5.114.231.13"'symbol_path''10''mark''10.tga'
            
}
        },
        
'GAMEADDR': {
            
0: {
                
1: {
                    
'name'"Dubstep-MJ3",
                    
'channel':
                {
                    
1: {
                    
'state''ON''name''CH1''key'11'ip':  "5.114.231.13"'tcp_port'13000'udp_port'11002
                    
}
                }
            },
        } }, 
'NAME': { 0'GERMANY' }, 'AUTHADDR': { 0: {
        
1: {
            
'ip':  "5.114.231.13"'port'11002
            
}
        } }
    }

    
STATE_NONE "..."

    
STATE_DICT = {
        
"Online",
        
"LEER",
        
"Belebt",
        
"VOLL"
    
}

    
REGION_NAME_DICT info["NAME"]
    
REGION_AUTH_SERVER_DICT info["AUTHADDR"]
    
REGION_DICT info["GAMEADDR"]
    
MARKADDR_DICT info["MARKADDR"]
port" : 13100, "mark" : "10.tga", "symbol_path" : "10", },
20 : { "
ip" : "5.114.231.13"""tcp_port" 13000"mark" "20.tga""symbol_path" "20", },

}

TESTADDR = { "ip" "5.114.231.13"", "tcp_port" : 50000, "udp_port" : 50000, } 
möchte aber gern n 2ten wenn möglich auch n 3ten und 4ten
mit 4 chs wäre perfect kann mir da einer helfen :handsdown:
02/19/2012 18:02 Mashkin#2
Quote:
Originally Posted by BassKing2010 View Post
hay leuete ich wolte heute ma n 2ten Channel in meinen Client machen aber dann bekomm ich ne fhler melden beim Patchen

ich hab den Clinet von Crank 2010

das is meine Serverinfo.py im normal zustand mit einem CH

möchte aber gern n 2ten wenn möglich auch n 3ten und 4ten
mit 4 chs wäre perfect kann mir da einer helfen :handsdown:
PHP Code:
import os
import app
import locale
import debugInfo
import binascii

CHINA_PORT 
50000

def BuildServerList
(orderList):
    
retMarkAddrDict = {}
    
retAuthAddrDict = {}
    
retRegion0 = {}

    
ridx 1
    
for regionauthmarkchannels 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 retRegion0retAuthAddrDictretMarkAddrDict

app
.ServerName None


if locale.IsEUROPE():
    
info = {
        
'MARKADDR': {
        
10: {
            
'tcp_port'13000'ip':  "5.114.231.13"'symbol_path''10''mark''10.tga'
            
}
        },
        
'GAMEADDR': {
            
0: {
                
1: {
                    
'name'"Dubstep-MJ3",
                    
'channel':
                {
                    
1: {
                    
'state''ON''name''CH1''key'11'ip':  "5.114.231.13"'tcp_port'13000'udp_port'13000
                    
},
                    
2: {
                    
'state''ON''name''CH2''key'12'ip':  "5.114.231.13"'tcp_port'13001'udp_port'13001
                    
},
                    
3: {
                    
'state''ON''name''CH3''key'13'ip':  "5.114.231.13"'tcp_port'13002'udp_port'13002
                    
},
                    
4: {
                    
'state''ON''name''CH4''key'14'ip':  "5.114.231.13"'tcp_port'13003'udp_port'13003
                    
},
                }
            },
        } }, 
'NAME': { 0'GERMANY' }, 'AUTHADDR': { 0: {
        
1: {
            
'ip':  "5.114.231.13"'port'11002
            
}
        } }
    }

    
STATE_NONE "..."

    
STATE_DICT = {
        
"Online",
        
"LEER",
        
"Belebt",
        
"VOLL"
    
}

    
REGION_NAME_DICT info["NAME"]
    
REGION_AUTH_SERVER_DICT info["AUTHADDR"]
    
REGION_DICT info["GAMEADDR"]
    
MARKADDR_DICT info["MARKADDR"]

TESTADDR = { "ip" "5.114.231.13"", "tcp_port" : 50000, "udp_port" : 50000, } 
Dann musst du halt noch schauen, wie ob die Ports alle mit den CONFIGs der Cores übereinstimmen.

€dit: Dein Bereich "MarkAddr" ganz unten ist überflüssig, ich habe ihn entfernt.
02/19/2012 19:51 BassKing2010#3
@M@shkin

bekomme direct fehler meldung....
02/19/2012 20:51 Mashkin#4
Quote:
Originally Posted by BassKing2010 View Post
@M@shkin

bekomme direct fehler meldung....
Sagt mir jetzt gar nichts...
Was für eine Fehlermeldung du bekommst solltest du schon dazuschreiben.