Fertige Serverinfo.py

01/06/2011 19:17 .Nexitis#1
Hallo ich be komms nich hin kann mir jmd die Serverinfo.py machen mit der ip
5.10.53.61

so sieht meine jetzige aus

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'90000'ip':  "5.10.53.61"'symbol_path''10''mark''10.tga'
            
}
        },
        
'GAMEADDR': {
            
0: {
                
1: {
                    
'name'"Lusorius2",
                    
'channel':
                {
                    
1: {
                    
'state''...''name''CH1   ''key'11'ip':  "5.10.53.61"'tcp_port'90000'udp_port'90000
                    
}
                }
            },
        } }, 
'NAME': { 0'GERMANY' }, 'AUTHADDR': { 0: {
        
1: {
            
'ip':  "5.10.53.61"'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"
01/06/2011 19:18 .FailMorePls##2
von welchem Client ?
01/06/2011 19:22 .Nexitis#3
ich hab cranks client ich weiss nich genau ob das 2008 2007 oder 2010 ist
01/06/2011 19:25 zagrosX#4
Der Client von Crank ist ein 2010ner Client.
Ich uploade mal die Serverinfo.py mit deiner ip.
Dauert ein bischen
01/06/2011 19:26 BaTushi16#5
Du muss die Ports ändern.
Hier fertige :
01/06/2011 19:31 .Nexitis#6
Quote:
Originally Posted by bstyler16398 View Post
Du muss die Ports ändern.
Hier fertige :
hab das probiert aber da is nun ein LOG error
01/06/2011 19:33 BaTushi16#7
Probier es dann mit dennen :
[Only registered and activated users can see links. Click Here To Register...]
(serverimfo ist mc.txt da muss nur hamachi ip)
01/06/2011 19:37 zagrosX#8
Hir die Serverinfo.py für den CLient von Crank:
Im Anhang
01/06/2011 19:49 .Nexitis#9
ich probiers danke