• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Not answered Santana files Can´t Login

Member
Apr
Threads
2
104
0
16
HubMoney
500
Hello

I have a Problem with the santana files i can´t login in client i have changed the ip in the serverinfo

import os
import app
import localeInfo
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 app.ENABLE_SERVER_SELECT_RENEWAL:
STATE_NONE = "OFF"
STATE_DICT = {
#0 : localeInfo.CHANNEL_STATUS_OFFLINE,
#1 : localeInfo.CHANNEL_STATUS_VACANT,
#2 : localeInfo.CHANNEL_STATUS_RECOMMENDED,
#3 : localeInfo.CHANNEL_STATUS_BUSY,
#4 : localeInfo.CHANNEL_STATUS_FULL,
0 : "OFF",
1 : "ON",
2 : "ON",
3 : "ON",
4 : "ON",
}

STATE_REVERSE_DICT = {}
STATE_COLOR_DICT = { "..." : 0xffdadada} # 퍼블리셔에서 channel상태에 ...을 유지하도 있어서 문제가 발생.
STATE_COLOR_LIST = [ 0xffffffff, 0xffdadada, 0xff00ff00, 0xffffc000, 0xffff0000 ]

idx = 0
for key, value in STATE_DICT.items():
STATE_REVERSE_DICT[value] = key
STATE_COLOR_DICT[value] = STATE_COLOR_LIST[idx%len(STATE_COLOR_LIST)]
idx += 1

SERVER_STATE_DICT = {
"NONE" : 0,
"NEW" : 1,
"SPECIAL" : 2,
"CLOSE" : 3
}

if not app.ENABLE_SERVER_SELECT_RENEWAL:
if app.ENABLE_CHANNEL_LIST:
STATE_NONE = "Offline"
STATE_DICT = { 0 : "Offline", 1 : "Available", 2 : "Busy", 3 : "Full" }
STATE_COLOR_DICT = { "Offline" : 0xffdadada, "Available" : 0xff00ff00, "Busy" : 0xffffff00, "Full" : 0xffff0000}
else:
STATE_NONE = "..."

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

SERVER01_CHANNEL_DICT = {
1 : {
"key" : 11,
"name" : "CH-1 ",
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"udp_port" : 12101,
"state" : STATE_NONE,
'count' : 0,
},
2 : {
"key" : 12,
"name" : "CH-2 ",
"ip" : "192.168.178.88",
"tcp_port" : 12201,
"udp_port" : 12201,
"state" : STATE_NONE,
'count' : 0,
},
3 : {
"key" : 13,
"name" : "CH-3 ",
"ip" : "192.168.178.88",
"tcp_port" : 12301,
"udp_port" : 12301,
"state" : STATE_NONE,
'count' : 0,
},
4 : {
"key" : 14,
"name" : "CH-4 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
5 : {
"key" : 14,
"name" : "CH-5 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
6 : {
"key" : 14,
"name" : "CH-6 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
}

SERVER02_CHANNEL_DICT = {
1 : {
"key" : 11,
"name" : "DEV-1 ",
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"udp_port" : 12101,
"state" : STATE_NONE,
'count' : 0,
},
2 : {
"key" : 12,
"name" : "DEV-2 ",
"ip" : "192.168.178.88",
"tcp_port" : 12201,
"udp_port" : 12201,
"state" : STATE_NONE,
'count' : 0,
},
3 : {
"key" : 13,
"name" : "DEV-3 ",
"ip" : "192.168.178.88",
"tcp_port" : 12301,
"udp_port" : 12301,
"state" : STATE_NONE,
'count' : 0,
},
4 : {
"key" : 14,
"name" : "DEV-4 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
}

SERVER03_CHANNEL_DICT = {
1 : {
"key" : 11,
"name" : "DEV-1 ",
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"udp_port" : 12101,
"state" : STATE_NONE,
'count' : 0,
},
2 : {
"key" : 12,
"name" : "DEV-2 ",
"ip" : "192.168.178.88",
"tcp_port" : 12201,
"udp_port" : 12201,
"state" : STATE_NONE,
'count' : 0,
},
3 : {
"key" : 13,
"name" : "DEV-3 ",
"ip" : "192.168.178.88",
"tcp_port" : 12301,
"udp_port" : 12301,
"state" : STATE_NONE,
'count' : 0,
},
4 : {
"key" : 14,
"name" : "DEV-4 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
}

REGION_NAME_DICT = {
0 : "Europe",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : {
"ip" : "192.168.178.88",
"port" : 11150,
},
2 : {
"ip" : "192.168.178.88",
"port" : 11150,
},
3 : {
"ip" : "192.168.178.88",
"port" : 11150,
},
}
}

REGION_DICT = {
0 : {
1 : {
"name" : "Hyperion2",
"channel" : SERVER01_CHANNEL_DICT,
"state" : "NEW",
},
2 : {
"name" : "Dev. FreeBSD",
"channel" : SERVER02_CHANNEL_DICT,
"state" : "SPECIAL",
},
3 : {
"name" : "Dev. Win32",
"channel" : SERVER03_CHANNEL_DICT,
"state" : "SPECIAL",
},
},
}

MARKADDR_DICT = {
10 : {
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"mark" : "10.tga",
"symbol_path" : "10",
},
20 : {
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"mark" : "10.tga",
"symbol_path" : "10",
},
30 : {
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"mark" : "10.tga",
"symbol_path" : "10",
},
}

TESTADDR = {
"ip" : "192.168.178.88",
"tcp_port" : 50000,
"udp_port" : 50000,
}

and this is on Server


Unbenannt.PNG


My problem is on client is the server offline anyone has an idea what the problem is

Thanks For Help
 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,354
2
1,284
113
HubMoney
1,669
Hello

I have a Problem with the santana files i can´t login in client i have changed the ip in the serverinfo

import os
import app
import localeInfo
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 app.ENABLE_SERVER_SELECT_RENEWAL:
STATE_NONE = "OFF"
STATE_DICT = {
#0 : localeInfo.CHANNEL_STATUS_OFFLINE,
#1 : localeInfo.CHANNEL_STATUS_VACANT,
#2 : localeInfo.CHANNEL_STATUS_RECOMMENDED,
#3 : localeInfo.CHANNEL_STATUS_BUSY,
#4 : localeInfo.CHANNEL_STATUS_FULL,
0 : "OFF",
1 : "ON",
2 : "ON",
3 : "ON",
4 : "ON",
}

STATE_REVERSE_DICT = {}
STATE_COLOR_DICT = { "..." : 0xffdadada} # 퍼블리셔에서 channel상태에 ...을 유지하도 있어서 문제가 발생.
STATE_COLOR_LIST = [ 0xffffffff, 0xffdadada, 0xff00ff00, 0xffffc000, 0xffff0000 ]

idx = 0
for key, value in STATE_DICT.items():
STATE_REVERSE_DICT[value] = key
STATE_COLOR_DICT[value] = STATE_COLOR_LIST[idx%len(STATE_COLOR_LIST)]
idx += 1

SERVER_STATE_DICT = {
"NONE" : 0,
"NEW" : 1,
"SPECIAL" : 2,
"CLOSE" : 3
}

if not app.ENABLE_SERVER_SELECT_RENEWAL:
if app.ENABLE_CHANNEL_LIST:
STATE_NONE = "Offline"
STATE_DICT = { 0 : "Offline", 1 : "Available", 2 : "Busy", 3 : "Full" }
STATE_COLOR_DICT = { "Offline" : 0xffdadada, "Available" : 0xff00ff00, "Busy" : 0xffffff00, "Full" : 0xffff0000}
else:
STATE_NONE = "..."

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

SERVER01_CHANNEL_DICT = {
1 : {
"key" : 11,
"name" : "CH-1 ",
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"udp_port" : 12101,
"state" : STATE_NONE,
'count' : 0,
},
2 : {
"key" : 12,
"name" : "CH-2 ",
"ip" : "192.168.178.88",
"tcp_port" : 12201,
"udp_port" : 12201,
"state" : STATE_NONE,
'count' : 0,
},
3 : {
"key" : 13,
"name" : "CH-3 ",
"ip" : "192.168.178.88",
"tcp_port" : 12301,
"udp_port" : 12301,
"state" : STATE_NONE,
'count' : 0,
},
4 : {
"key" : 14,
"name" : "CH-4 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
5 : {
"key" : 14,
"name" : "CH-5 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
6 : {
"key" : 14,
"name" : "CH-6 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
}

SERVER02_CHANNEL_DICT = {
1 : {
"key" : 11,
"name" : "DEV-1 ",
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"udp_port" : 12101,
"state" : STATE_NONE,
'count' : 0,
},
2 : {
"key" : 12,
"name" : "DEV-2 ",
"ip" : "192.168.178.88",
"tcp_port" : 12201,
"udp_port" : 12201,
"state" : STATE_NONE,
'count' : 0,
},
3 : {
"key" : 13,
"name" : "DEV-3 ",
"ip" : "192.168.178.88",
"tcp_port" : 12301,
"udp_port" : 12301,
"state" : STATE_NONE,
'count' : 0,
},
4 : {
"key" : 14,
"name" : "DEV-4 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
}

SERVER03_CHANNEL_DICT = {
1 : {
"key" : 11,
"name" : "DEV-1 ",
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"udp_port" : 12101,
"state" : STATE_NONE,
'count' : 0,
},
2 : {
"key" : 12,
"name" : "DEV-2 ",
"ip" : "192.168.178.88",
"tcp_port" : 12201,
"udp_port" : 12201,
"state" : STATE_NONE,
'count' : 0,
},
3 : {
"key" : 13,
"name" : "DEV-3 ",
"ip" : "192.168.178.88",
"tcp_port" : 12301,
"udp_port" : 12301,
"state" : STATE_NONE,
'count' : 0,
},
4 : {
"key" : 14,
"name" : "DEV-4 ",
"ip" : "192.168.178.88",
"tcp_port" : 12401,
"udp_port" : 12401,
"state" : STATE_NONE,
'count' : 0,
},
}

REGION_NAME_DICT = {
0 : "Europe",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : {
"ip" : "192.168.178.88",
"port" : 11150,
},
2 : {
"ip" : "192.168.178.88",
"port" : 11150,
},
3 : {
"ip" : "192.168.178.88",
"port" : 11150,
},
}
}

REGION_DICT = {
0 : {
1 : {
"name" : "Hyperion2",
"channel" : SERVER01_CHANNEL_DICT,
"state" : "NEW",
},
2 : {
"name" : "Dev. FreeBSD",
"channel" : SERVER02_CHANNEL_DICT,
"state" : "SPECIAL",
},
3 : {
"name" : "Dev. Win32",
"channel" : SERVER03_CHANNEL_DICT,
"state" : "SPECIAL",
},
},
}

MARKADDR_DICT = {
10 : {
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"mark" : "10.tga",
"symbol_path" : "10",
},
20 : {
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"mark" : "10.tga",
"symbol_path" : "10",
},
30 : {
"ip" : "192.168.178.88",
"tcp_port" : 12101,
"mark" : "10.tga",
"symbol_path" : "10",
},
}

TESTADDR = {
"ip" : "192.168.178.88",
"tcp_port" : 50000,
"udp_port" : 50000,
}

and this is on Server


View attachment 2932


My problem is on client is the server offline anyone has an idea what the problem is

Thanks For Help

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Member
Sep
Threads
0
18
0
1
HubMoney
138
I have found the Problem bro.
I was searching for it.
Look into the "auth" Task on start.sh its access denied or not found. You need to make it new