Jump to content

Can't conect with 2011 client


Recommended Posts

Hei guys. I wanted to make a 2011 lookalike metin2 server, so i used the 2089 game and 2011 metin2sg client provided by shogun.
But i have a problem. I can't conect into the game. When i enter a wrong acount it says it's wrong, but when i enter a good one it gives me the error thing. The server is up and running and syserr is clean.
Can't figure out what the problem is.

 

serverinfo.py:

import locale
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
if locale.IsEUROPE():
	STATE_NONE = '...'

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

	CHANNELS1 = [
		{'name':'CH1','ip':'89.**.14.67','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},
		{'name':'CH2','ip':'89.**.14.67','tcp_port':13002,'udp_port':13002,'state':STATE_NONE,},
		{'name':'CH3','ip':'89.**.14.67','tcp_port':13003,'udp_port':13003,'state':STATE_NONE,},
	]
	MARK1 = { 'ip' : '89.**.14.67', 'tcp_port' : 13000, 'mark' : '120.tga', 'symbol_path' : '120', }
	AUTH1 = {'ip':'89.**.14.67','port':11002, }
	NAME1 = { 'name' : 'xD'}
	REGION0_ORDER_LIST = [
		(NAME1, AUTH1, MARK1, CHANNELS1),
	]
	NEW_REGION0, NEW_REGION0_AUTH_SERVER_DICT, NEW_MARKADDR_DICT = BuildServerList(REGION0_ORDER_LIST)
	# RESULT
	NEW_REGION_NAME_DICT = {0 : 'POLAND',}
	NEW_REGION_AUTH_SERVER_DICT = {0 : NEW_REGION0_AUTH_SERVER_DICT,}
	NEW_REGION_DICT = {0 : NEW_REGION0,}

	MARKADDR_DICT = NEW_MARKADDR_DICT
	REGION_DICT = NEW_REGION_DICT
	REGION_NAME_DICT = NEW_REGION_NAME_DICT
	REGION_AUTH_SERVER_DICT = NEW_REGION_AUTH_SERVER_DICT

	TESTADDR = { 'ip' : '89.**.14.67', 'tcp_port' : 50000, 'udp_port' : 50000, } 

channel 1 config:

HOSTNAME: channel1 CHANNEL: 1 PORT: 13001 P2P_PORT: 14001 DB_PORT: 15000 DB_ADDR: localhost
Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

syslog is empty.

syserr shows:

SYSERR: Apr  9 19:56:56 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Apr  9 19:56:59 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Apr 12 03:02:03 :: heart_idle: losing 33 seconds. (lag occured)
SYSERR: Apr 12 03:05:11 :: heart_idle: losing 158 seconds. (lag occured)
SYSERR: Apr 12 03:09:08 :: heart_idle: losing 207 seconds. (lag occured)
SYSERR: Apr 12 07:38:09 :: ChildLoop: MySQL connection was reconnected. querying locale set
SYSERR: Apr 12 08:48:25 :: DirectQuery: MySQL connection was reconnected. querying locale set

it's doing the same thing with everyclient i try to conect with.

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.