Ic3 Client fehler

04/02/2012 18:49 .SonGoku™#1
Fehler verbinden mit Server was das problem stimmt doch alles oder nicht

PHP Code:
import os
import app
import locale
import debugInfo

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'13003'ip''5.99.118.100''symbol_path''10''mark''10.tga'
            
},
        },
        
'GAMEADDR': {
            
0: {
                
1: {
                    
'name''ExplictMt2',
                    
'channel':
                {
                    
1: {
                    
'state''NORM''name''CH1    ''key'11'ip''5.99.118.100''tcp_port'13003'udp_port'13003
                    
},
                    
2: {
                    
'state''NORM''name''CH2    ''key'11'ip''5.99.118.100''tcp_port'13002'udp_port'13002
                    
}
                },
                },
        } }, 
'NAME': { 0'GERMANY' }, 'AUTHADDR': { 0: {
            
1: { 
            
'ip''5.99.118.100''port'11002
            
}, 
            
        } }
    }

    
STATE_NONE "..."

    
STATE_DICT = {
        
"....",
        
"NORM",
        
"BUSY",
        
"FULL"
    
}

    
REGION_NAME_DICT info["NAME"]
    
REGION_AUTH_SERVER_DICT info["AUTHADDR"]
    
REGION_DICT info["GAMEADDR"]
    
MARKADDR_DICT info["MARKADDR"
04/02/2012 18:54 .Yunu#2
Hast du vielleicht den PONG Falsch?
04/02/2012 18:55 .SonGoku™#3
Ja wo änder ich denn den pong in den clienten.. xD
04/02/2012 19:03 .Verkauf´#4
Porst ändern
PHP Code:
import os 
import app 
import locale 
import debugInfo 

CHINA_PORT 
50000 

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

    
ridx 
    
for regionauthmarkchannels in orderList
        
cidx 
        channelDict 
= {} 
        for 
channel in channels
            
key ridx 10 cidx 
            channel
["key"] = key 
            channelDict
[cidx] = channel 
            cidx 
+= 

        region
["channel"] = channelDict 

        retRegion0
[ridx] = region 
        retAuthAddrDict
[ridx] = auth 
        retMarkAddrDict
[ridx*10] = mark 
        ridx 
+= 

    
return retRegion0retAuthAddrDictretMarkAddrDict 

app
.ServerName None 


if locale.IsEUROPE(): 
    
info = { 
        
'MARKADDR': { 
        
10: { 
            
'tcp_port'13003'ip''5.99.118.100''symbol_path''10''mark''10.tga' 
            
}, 
        }, 
        
'GAMEADDR': { 
            
0: { 
                
1: { 
                    
'name''ExplictMt2'
                    
'channel'
                { 
                    
1: { 
                    
'state''NORM''name''CH1    ''key'11'ip''5.99.118.100''tcp_port'13001'udp_port'13001 
                    
}, 
                    
2: { 
                    
'state''NORM''name''CH2    ''key'11'ip''5.99.118.100''tcp_port'13002'udp_port'13002 
                    

                }, 
                }, 
        } }, 
'NAME': { 0'GERMANY' }, 'AUTHADDR': { 0: { 
            
1: {  
            
'ip''5.99.118.100''port'11002 
            
},  
             
        } } 
    } 

    
STATE_NONE "..." 

    
STATE_DICT = { 
        
"...."
        
"NORM"
        
"BUSY"
        
"FULL" 
    


    
REGION_NAME_DICT info["NAME"
    
REGION_AUTH_SERVER_DICT info["AUTHADDR"
    
REGION_DICT info["GAMEADDR"
    
MARKADDR_DICT info["MARKADDR"
04/02/2012 19:07 .SonGoku™#5
VerKauf jetz wenn ich öffne die exe kommt Log fehler ..

KANN GECLOSED WERDEN GEHT JETZ..
04/02/2012 19:54 HeilSchamane1993#6
die oben genannten Ports sind freigeschalten...? hast du geguckt ob du überall wo die ip stehen soll richtig geschrieben hast..? oft liegen die fehler an so einfachen sachen^^

sry war zuspät beim antworten xD
04/02/2012 19:56 .SonGoku™#7
KANN GECLOSED WERDEN GEHT JETZ..