Metin2 Serverinfo.py

10/17/2012 22:47 nexoseinwas1#1
Hallo,

Wollte mal fragen wie ich das machen soll mit den Cleint und der Serverinfo.py
habe das gemacht von ein TuT und das klappt trozdem nicht...
Oder ist einer von euch so nett und kann mir ebnd eine machen ?
Wäre echt cool
10/17/2012 22:48 Lauling#2
poste mal deine syserr und serverinfo.py

mit was connectest du ? surakopf.exe oder metin2client.exe ?
10/17/2012 22:49 lfcmaus#3
wird nen hamachiserver sein maximal nen dyndns nen root sa sollte seine serverinfo erfolgreich bearbeiten können ne...

wie vorposter bereits schrieb pls poste deine serverinfo
10/17/2012 23:11 nexoseinwas1#4
Ok damit metin2client.exe (ClientStarter) .
Quote:
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': 11002, 'ip': '185.5.474.32', 'symbol_path': '10', 'mark': '10.tga'
},
},
'GAMEADDR': {
0: {
1: {
'name': 'Yolo2-Test',
'channel':
{
1: {
'state': 'NORM', 'name': 'CH1 ', 'key': 11, 'ip': '185.5.474.32', 'tcp_port': 13001, 'udp_port': 13001
},
2: {
'state': 'NORM', 'name': 'CH2 ', 'key': 11, 'ip': '185.5.474.32', 'tcp_port': 13003, 'udp_port': 13003
}
},
},
} }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: {
1: {
'ip': '185.5.474.32', 'port': 11002
},

} }
}

STATE_NONE = "..."

STATE_DICT = {
0 : "....",
1 : "NORMM",
2 : "BUSY",
3 : "FULL"
}

REGION_NAME_DICT = info["NAME"]
REGION_AUTH_SERVER_DICT = info["AUTHADDR"]
REGION_DICT = info["GAMEADDR"]
MARKADDR_DICT = info["MARKADDR"]
10/17/2012 23:14 lfcmaus#5
wer nutzten noch solche ports`?
185.5.474.32 << die hast du woher?
der pong stimmt ebenfalls?
10/17/2012 23:16 nexoseinwas1#6
Ja der pong stimmt überein könntest du mir bitte die Serverinfo.py schenll fertig machen ?
oder dauert das lange ?
10/17/2012 23:18 lfcmaus#7
als erstes brauch ich dazu den servertyp desweiten die ip
10/18/2012 00:07 Lauling#8
bei mir ging diese serverinfo.py nie, nimm meine:

PHP Code:
import os
import app
import locale
import debugInfo

CHINA_PORT 
50000
##PONG = testtesttest
##IP = "deine ip"
##CH1PORT = 13000
##AUTHPORT = 11002
##SERVERNAME = "Instant 2012"

if locale.IsEUROPE():
    
STATE_NONE "..."
                    
    
STATE_DICT = {
        
"......",
        
"normal",
        
"belebt",
        
"voll"
    
}

    
Lauling = {
        
1:{"key":11,"name":"CH1","ip":"eine ip","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    }

    
    
REGION_NAME_DICT = {
        
"GERMANY",        
    }

    
REGION_AUTH_SERVER_DICT = {
        
: {
            
: { "ip":"deine ip""port":11002, },
    
        }        
    }

    
REGION_DICT = {
        
: {
            
: { "name" :"2012Instant Files by Lauling""channel" Lauling, },
        },
    }

    
MARKADDR_DICT = {
        
10 : { "ip" "deine ip""tcp_port" 13000"mark" "10.tga""symbol_path" "10", },
    }

    
TESTADDR = { "ip" "deine ip""tcp_port" 13000"udp_port" 13000, } 
10/18/2012 00:48 nexoseinwas1#9
Ok danke habe ich das so richtig gemacht ?

import os
import app
import locale
import debugInfo

CHINA_PORT = 50000
##PONG = testtesttest
##IP = "185.5.126.32"
##CH1PORT = 13001
##AUTHPORT = 11002
##SERVERNAME = "Instant 2012"

if locale.IsEUROPE():
STATE_NONE = "..."

STATE_DICT = {
0 : "......",
1 : "normal",
2 : "belebt",
3 : "voll"
}

Lauling = {
1:{"key":11,"name":"CH1","ip":"eine ip","tcp_port":13001,"udp_port":13001,"state":STAT E_NONE,},
}


REGION_NAME_DICT = {
0 : "GERMANY",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"185.5.126.32", "port":13001, },

}
}

REGION_DICT = {
0 : {
1 : { "name" :"2012Instant Files by Lauling", "channel" : Lauling, },
},
}

MARKADDR_DICT = {
10 : { "ip" : "185.5.126.32", "tcp_port" : 13001, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : "185.5.126.32", "tcp_port" : 13001, "udp_port" : 13001, }
10/18/2012 01:37 Lauling#10
auling = {
1:{"key":11,"name":"CH1","ip":"eine ip","tcp_port":13001,"udp_port":13001,"state":ST AT E_NONE,},
}

bei eine ip muss noch deine ip rein

mfg
10/18/2012 01:45 ¢ýL#11
Quote:
Originally Posted by Lauling View Post
auling = {
1:{"key":11,"name":"CH1","ip":"eine ip","tcp_port":13001,"udp_port":13001,"state":ST AT E_NONE,},
}

bei eine ip muss noch deine ip rein

mfg
Hat er denn die richtige ip adresse seines servers?
10/18/2012 11:12 .Remix#12
PHP Code:
Lauling = {
1:{"key":11,"name":"CH1","ip":"DEINEHAMACHIIP","tcp_port":13000,"udp_port":13000,"state":ST AT E_NONE,},

Der Port ist meistens 13000
Denke kaum, dass der geändert wurde.
10/18/2012 12:52 Lauling#13
und hats geklappt ?
10/18/2012 16:02 nexoseinwas1#14
Ja hatt gekalppt danke :)