Leider bin ich ein Neuling und habe keine Ahnung was ich machen soll
bei dem ic3 clienten steht immer fehler beim verbinden mit dem server
bei den howan files
Serverinfo.py
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': 13003, 'ip': 'Hier steht meine IP mit 100 am ende', 'symbol_path': '10', 'mark': '10.tga'
},
},
'GAMEADDR': {
0: {
1: {
'name': 'EUERSERVERNAME',
'channel':
{
1: {
'state': 'NORM', 'name': 'CH1 ', 'key': 11, 'ip': 'Hier steht meine IP mit 100 am ende', 'tcp_port': 13003, 'udp_port': 13003
},
2: {
'state': 'NORM', 'name': 'CH2 ', 'key': 11, 'ip': 'Hier steht meine IP mit 100 am ende', 'tcp_port': 13002, 'udp_port': 13002
}
},
},
} }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: {
1: {
'ip': 'Hier steht meine IP mit 100 am ende', '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"]
Code:
HOSTNAME: channel1 CHANNEL: 1 PORT: 13000 P2P_PORT: 14000 DB_PORT: 15000 DB_ADDR: localhost MAP_ALLOW: 1 2 3 4 5 6 7 8 9 10 11 21 23 24 25 41 43 44 45 61 62 63 64 65 66 69 70 71 72 73 104 108 109 67 68 80 74 75 76 77 78 79 100 101 103 105 107 110 111 112 180 190 191 192 193 194 206 #MAP_ALLOW: 113 184 185 186 187 188 189 193 179 TABLE_POSTFIX: PASSES_PER_SEC: 25 SAVE_EVENT_SECOND_CYCLE: 180 PING_EVENT_SECOND_CYCLE: 180 PLAYER_SQL: localhost mt2 metin2 player COMMON_SQL: localhost mt2 metin2 common LOG_SQL: localhost mt2 metin2 log LOCALE_SERVICE: germany #TEST_SERVER: 1 #NO_PK: 1 MALL_URL: google.de adminpage_ip0: 127.0.0.1 admin_page_password: IAMFAMELIKEMYKLO VIEW_RANGE: 20000 CHECK_MULTIHACK: 1
Code:
HOSTNAME: channel2 CHANNEL: 2 PORT: 13001 P2P_PORT: 14001 DB_PORT: 15000 DB_ADDR: localhost MAP_ALLOW: 1 2 3 4 5 6 7 8 9 10 11 21 23 24 25 41 43 44 45 61 62 63 64 65 66 69 70 71 72 73 104 108 109 67 68 80 74 75 76 77 78 79 100 101 103 105 107 110 111 112 180 190 191 192 193 194 206 #MAP_ALLOW: 113 184 185 186 187 188 189 193 179 TABLE_POSTFIX: PASSES_PER_SEC: 25 SAVE_EVENT_SECOND_CYCLE: 180 PING_EVENT_SECOND_CYCLE: 180 PLAYER_SQL: localhost mt2 metin2 player COMMON_SQL: localhost mt2 metin2 common LOG_SQL: localhost mt2 metin2 log LOCALE_SERVICE: germany #TEST_SERVER: 1 #NO_PK: 1 MALL_URL: google.de adminpage_ip0: 127.0.0.1 admin_page_password: IAMFAMELIKEMYKLO VIEW_RANGE: 20000 CHECK_MULTIHACK: 1
Code:
HOSTNAME: auth CHANNEL: 1 PORT: 11002 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 metin2 account COMMON_SQL: localhost mt2 metin2 common LOG_SQL: localhost mt2 metin2 log LOCALE_SERVICE: germany






