|
You last visited: Today at 11:59
Advertisement
HELP! Connecting to a server with another client
Discussion on HELP! Connecting to a server with another client within the Metin2 Private Server forum part of the Metin2 category.
02/10/2016, 17:52
|
#1
|
elite*gold: 0
Join Date: Jan 2013
Posts: 7
Received Thanks: 1
|
HELP! Connecting to a server with another client
I'm trying to connect to a server(dfmt2) with another client(ndmt2) because switchbots dont work on the protected client (df).
I ve unpacked the root of dfmt2 so i got the ip and the ports.
I changed the ports and ip in the unprotected client(ndmt2) and i still cant connect.It says Error in connection with the server.
serverinfo.py of dfmt2 :
SERVER_NAME = "DFMT2"
SERVER_IP = "37.221.210.58"
CH_NAME = "CH1"
CH2_NAME = "CH2"
PORT_1 = 20010
PORT_2 = 20000
PORT_3 = 20010
PORT_4 = 20020
STATE_NONE = "..."
STATE_DICT = {
0 : "....",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":CH_NAME,"ip":SERVER_IP,"tcp_por t":PORT_1,"udp_port":PORT_1,"state":STATE_NONE, },
2:{"key":12,"name":CH2_NAME,"ip":SERVER_IP,"tcp_po rt":PORT_4,"udp_port":PORT_4,"state":STATE_NONE, },
}
REGION_NAME_DICT = {
0 : "",
}
REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":SERVER_IP, "port":PORT_2, },
}
}
REGION_DICT = {
0 : {
1 : { "name" :SERVER_NAME, "channel" : SERVER01_CHANNEL_DICT, },
},
}
MARKADDR_DICT = {
10 : { "ip" : SERVER_IP, "tcp_port" : PORT_3, "mark" : "10.tga", "symbol_path" : "10", },
}
serverinfo.py (unchanged,default) of the ndmt2 client
import os
import app
import locale
import debugInfo
##patch fix
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():
STATE_NONE = "..."
STATE_DICT = {
0 : "...",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"37.221.210.78","tcp_port":45600,"udp_port" :45600,"state":STATE_NONE,},
2:{"key":12,"name":"CH2 ","ip":"37.221.210.78","tcp_port":45700,"udp_port" :45700,"state":STATE_NONE,}
}
REGION_NAME_DICT = {
0 : "CANADA",
}
REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"37.221.210.78", "port":45500, },
}
}
REGION_DICT = {
0 : {
1 : { "name" : "NDMT2", "channel" : SERVER01_CHANNEL_DICT, },
},
}
MARKADDR_DICT = {
10 : { "ip" : "37.221.210.78", "tcp_port" : 45600, "mark" : "10.tga", "symbol_path" : "10", },
}
edited serverinfo.py of ndmt2 client by me
import os
import app
import locale
import debugInfo
##patch fix
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():
STATE_NONE = "..."
STATE_DICT = {
0 : "...",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"37.221.210.58","tcp_port":20010,"udp_port" :20010,"state":STATE_NONE,},
2:{"key":12,"name":"CH2 ","ip":"37.221.210.58","tcp_port":20020,"udp_port" :20020,"state":STATE_NONE,}
}
REGION_NAME_DICT = {
0 : "CANADA",
}
REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"37.221.210.58", "port":20010, },
}
}
REGION_DICT = {
0 : {
1 : { "name" : "dfserver", "channel" : SERVER01_CHANNEL_DICT, },
},
}
MARKADDR_DICT = {
10 : { "ip" : "37.221.210.58", "tcp_port" : 20010, "mark" : "10.tga", "symbol_path" : "10", },
}
what could be the problem?
|
|
|
02/11/2016, 10:07
|
#2
|
elite*gold: 0
Join Date: Sep 2010
Posts: 79
Received Thanks: 10
|
It could be the game/binary compatibility or the pong. But if you are able to unpack the files in the root directory, why don't you just include a python switchbot?
|
|
|
02/11/2016, 14:12
|
#3
|
elite*gold: 0
Join Date: Jan 2013
Posts: 7
Received Thanks: 1
|
How do you mean game/binary compability?
The pong is matching, and i have tried like 3 python switchbots none of them worked
|
|
|
 |
Similar Threads
|
[Help]Client not connecting
09/16/2014 - Metin2 Private Server - 4 Replies
Hey, im having a problem that some people are having too, I'm using 40k files, I tried ALL the files 40k, but when I try to connect to the game it don't go through the " you will get connected.." but if I use 2080m or 34k i can connect easily.
I checked all the ports on the client , that ch1 is 12345 and the auth is 14004, and on the portmap too.
Someone know how to fix? I'm having a bad time
Sorry for my bad english
https://imageshack.com/i/idoPLFx9p add a img so you people...
|
[HEP] Connecting to client
10/05/2013 - Metin2 Private Server - 3 Replies
Hello community!
I have a big problem with my Pserver! I've downloaded Signe's serverfies, and everytning is works fine. I can connect to the server from my own computer. But, when i go to my friend and try to connect from there, when i select my character, the client exit to the menu. I am behind a router. Ive alredy configured my router, the server, anything. Web server, mysq, ssl working fine. I can ogin onto the server, i see my character, but when i select it, the client exit to the...
|
client connecting issuse
12/14/2012 - EO PServer Hosting - 0 Replies
ok everyone i have triple checked the OEM an there fine all match i can login an play on the comp that has the DB on it no problems but i can't get any of my othere comps on the same network to connect i get plz try again later error an before anyone says use search button i have an i looked through over a 100 pages in the forum i have researched this an could not find the answer i hope one of ya can help here are a pic of my servers in case there a problem i not aware of
for all...
|
Connecting the client to the server...
07/19/2012 - Dekaron Private Server - 3 Replies
I changed the csv files on both the client and server, and it's still not seeing my server? What am I missing?
I checked the config of the .ini files on the server and they are pointing to my ip address. Is it necessary to run the Webman.exe?
I run the client and it sill shows the Dekaron D.O.D. which I renamed in the csv files. All I want to do is connect the client to my server. I'm running the server in MS Virtual PC. It's faster and the network is a straight pass-through to my Virtual...
|
Connecting Client to Server
10/18/2008 - EO PServer Hosting - 2 Replies
I need help connecting my cleint to my server, when i try to connect on my main computer, it starts with a white screen, and then there is a error box, that has Soul, then a Ok button and you gotta hunt to close that white box.
Can you please post a oem.ini that i would need so i can connect to my server?
|
All times are GMT +1. The time now is 12:00.
|
|