Register for your free account! | Forgot your password?

You last visited: Today at 02:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Serverinfo

Discussion on Serverinfo within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2011
Posts: 246
Received Thanks: 17
Serverinfo

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': 13000, 'ip': 'EureIp', 'symbol_path': '10', 'mark': '10.tga'
}
},
'GAMEADDR': {
0: {
1: {
'name': 'SF',
'channel':
{
1: {
'state': '...', 'name': 'CH1 ', 'key': 11, 'ip': 'EureIp', 'tcp_port': 13000, 'udp_port': 13000
}
2: {
'state': '...', 'name': 'CH1 ', 'key': 11, 'ip': 'EureIp', 'tcp_port': 13000, 'udp_port': 13000
}
}
2: {
'name': 'Servernamen',
'channel':
{
1: {
'state': '...', 'name': 'CH1 ', 'key': 11, 'ip': 'EureIp', 'tcp_port': 13000, 'udp_port': 13000
}
2: {
'state': '...', 'name': 'CH1 ', 'key': 11, 'ip': 'EureIp', 'tcp_port': 13000, 'udp_port': 13000
}
}
},
} }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: {
1: {
'ip': '', 'port': 11002
}
} }
2: {
'ip': '', 'port': 11002
}
} }
}

STATE_NONE = "..."

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

REGION_NAME_DICT = info["NAME"]
REGION_AUTH_SERVER_DICT = info["AUTHADDR"]
REGION_DICT = info["GAMEADDR"]
MARKADDR_DICT = info["MARKADDR"]
Wo liegt der Fehler
Computercrack is offline  
Old 06/03/2011, 21:52   #2
 
xFearlessx's Avatar
 
elite*gold: 1
Join Date: Aug 2009
Posts: 2,485
Received Thanks: 749
Was hast du denn für ein Problem?


Btw. bei "deine ip" solltest du schon deine Ip eintragen,falls das kein Beispiel ist.


MfG
xFear
xFearlessx is offline  
Old 06/03/2011, 21:56   #3
 
elite*gold: 0
Join Date: Mar 2011
Posts: 246
Received Thanks: 17
Aber stimmt die so bei mir kommt immer ein Fehler
Computercrack is offline  
Old 06/03/2011, 21:57   #4
 
AmazZeD's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 25
Received Thanks: 5
"EureIp" durch deine ersetzen.
AmazZeD is offline  
Old 06/03/2011, 21:58   #5
 
xFearlessx's Avatar
 
elite*gold: 1
Join Date: Aug 2009
Posts: 2,485
Received Thanks: 749
Erstmal trägst du überall wo "EureIp" steht deine IP ein.

Dann müsste es eig. gehen,aber das sieht generell etwas komisch aus,weil überall ch1 steht o.O
xFearlessx is offline  
Reply

Tags
metin2 servinfo


Similar Threads Similar Threads
[??] Serverinfo.py
02/07/2011 - Metin2 Private Server - 10 Replies
Hallo und guten Tag, habe hier meien Serverinfo.py. import os import app import locale import debugInfo import binascii CHINA_PORT = 50000
Serverinfo.py
02/06/2011 - Metin2 Private Server - 2 Replies
Hay.. Ich erstelle gerade einen 2010er Client. Ich habe einen DynDns server , muss ich dann in der Serverinfo.py mein DynDns namen eingeben oder die öffentliche DynDns IP ??
Serverinfo.py
01/11/2011 - Metin2 Private Server - 4 Replies
Hey leute :) kann mir mal wer n 2en CH in irgendeine 2010er serverinfo.py machen? die ports ect pass ich dann schon an dankeschön
-- Serverinfo help :/ --
11/26/2010 - Metin2 Private Server - 4 Replies
Heyo Also ich brauch ne Server für 2Server KA was falsch ist aber ich habs irgendwie vergessen :> My Serverinfo im Anhang pls korrigieren !!! Mit freundlichen Grüßen:
serverinfo.py
06/07/2010 - Metin2 Private Server - 1 Replies
kann mir die jemand bitte hochladen? Aus dem neonblue ordner 4.5 hab sie ausversehn gelöscht ._.



All times are GMT +1. The time now is 02:54.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.