|
You last visited: Today at 20:57
Advertisement
Serverinfo.py erstellen?
Discussion on Serverinfo.py erstellen? within the Metin2 Private Server forum part of the Metin2 category.
06/27/2011, 16:46
|
#1
|
elite*gold: 0
Join Date: Jun 2011
Posts: 682
Received Thanks: 81
|
Serverinfo.py erstellen?
Hallo,
habe folgende Ports
config aus auth:
Quote:
HOSTNAME: auth
CHANNEL: 1
PORT: 13373
P2P_PORT: 12000
DB_PORT: 15000
DB_ADDR: localhost
TABLE_POSTFIX:
ITEM_ID_RANGE: 000000001 000000002
PASSES_PER_SEC: 25
SAVE_EVENT_SECOND_CYCLE: 180
PING_EVENT_SECOND_CYCLE: 180
AUTH_SERVER: master
PLAYER_SQL: localhost mt2 mt2!@# player
COMMON_SQL: localhost mt2 mt2!@# common
LOG_SQL: localhost mt2 mt2!@# log
LOCALE_SERVICE: germany
|
und die aus der game99 config
Quote:
HOSTNAME: channel99
CHANNEL: 99
PORT: 13001
P2P_PORT: 14001
DB_PORT: 15000
DB_ADDR: localhost
MAP_ALLOW: 12 113 184 185 186 187 188 189 81 181 182 183 114 118 119 120 121 122 123 124 125 126 127 128
TABLE_POSTFIX:
PASSES_PER_SEC: 25
SAVE_EVENT_SECOND_CYCLE: 180
PING_EVENT_SECOND_CYCLE: 180
PLAYER_SQL: localhost mt2 mt2!@# player
COMMON_SQL: localhost mt2 mt2!@# common
LOG_SQL: localhost mt2 mt2!@# log
LOCALE_SERVICE: germany
#TEST_SERVER: 1
#NO_PK: 1
MALL_URL: minishop.nw3-network.org
VIEW_RANGE: 20000
CHECK_MULTIHACK: 1
|
meine ip ist 109.236.80.122
kann mir die einer machen? der, der es schaafft, würde nen ga platz aufn rootserver bekommen
skype: dreamscape95
lg
|
|
|
06/27/2011, 17:27
|
#2
|
elite*gold: 0
Join Date: Jan 2011
Posts: 2,903
Received Thanks: 1,262
|
PHP Code:
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': '109.236.80.122', 'symbol_path': '10', 'mark': '10.tga' } }, 'GAMEADDR': { 0: { 1: { 'name': 'dein servernamen', 'channel': { 1: {'state': '...', 'name': 'Channel1', 'key': 11, 'ip': '109.236.80.122', 'tcp_port': 13001, 'udp_port': 13001}, 2: {'state': '...', 'name': 'Channel2', 'key': 12, 'ip': '109.236.80.122', 'tcp_port': 13002, 'udp_port': 13002} } }, } }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: { 1: { 'ip': '109.236.80.122', '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"]
wenn es nicht geht sag es mir
|
|
|
06/27/2011, 17:46
|
#3
|
elite*gold: 0
Join Date: Jun 2011
Posts: 682
Received Thanks: 81
|
da kommt sofort n startfehler ...
|
|
|
06/27/2011, 17:50
|
#4
|
elite*gold: 0
Join Date: Jan 2011
Posts: 2,903
Received Thanks: 1,262
|
kannst du ihn hir reinschreiben damit ich mir das mal ansehen kann?
|
|
|
06/27/2011, 18:05
|
#5
|
elite*gold: 20
Join Date: Jun 2011
Posts: 1,202
Received Thanks: 319
|
Probiere es mal mit damit.
PHP Code:
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.Name = None
if locale.IsEUROPE(): info = { 'MARKADDR': { 10: { 'tcp_port': 13000, 'ip': '109.236.80.122', 'symbol_path': '10', 'mark': '10.tga' } }, 'GAMEADDR': { 0: { 1: { 'name': 'Name', 'channel': { 1: { 'state': '...', 'name': 'CH1 ', 'key': 11, 'ip': '109.236.80.122', 'tcp_port': 13000, 'udp_port': 13000 }, 2: { 'state': '...', 'name': 'CH2 ', 'key': 12, 'ip': '109.236.80.122', 'tcp_port': 16000, 'udp_port': 16000 } } }, } }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: { 1: { 'ip': '109.236.80.122', '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"]
MfG Fun
|
|
|
06/27/2011, 23:34
|
#6
|
elite*gold: 0
Join Date: Apr 2010
Posts: 1,712
Received Thanks: 1,075
|
einfach mal auf die Page von Igor gehen.
|
|
|
06/27/2011, 23:36
|
#7
|
elite*gold: 0
Join Date: Apr 2011
Posts: 587
Received Thanks: 672
|
Oida Tim.
Ich schick' sie dir morgen in Skype.
|
|
|
 |
Similar Threads
|
Serverinfo.py
05/15/2011 - Metin2 Private Server - 3 Replies
Hi ich habe einen Computerkrank Client und möchte gerne 2 Server in einem Client also z. B. BlablaaMt2 und FreeDayMt2. Ich hab es schon mit dem Serverinfo.py creator gemacht aber das geht iwie nicht!
Thx kriegt ihr türlich^^
|
serverinfo
10/11/2010 - Metin2 Private Server - 7 Replies
hey leute ich habn problem ich kom nich auf meinen server ich glaube ich hab was mit der server info falsch gemacht..
import app
import locale
import debugInfo
CHINA_PORT = 50000
app.ServerName = None
|
DE Serverinfo
06/19/2010 - Metin2 - 9 Replies
Ich such die DE serverinfo datei als txt datei die ich in einen client einfügen will. Damit will ich mit meinem spezi client auf De server verbinden und fun haben mit glas der einsicht :D wie nico_w
wer mir schiken kann krigt nen thx
mfg Kahrk aka Cheaterbox
|
Serverinfo s14
06/12/2010 - Metin2 - 4 Replies
hatt einer die serverinfo von s14 ich hab keine ahnung wie ich die kriegen soll mit jeden ch etc bitte help :D
|
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 20:58.
|
|