Jump to content

I can't login to my server!!!!!


Recommended Posts

Hello guys I'm having a severe problem on logging in to my server these days I've been trying to understand what's wrong but nothing makes sence... My partner and other computers are able to login normally but for some reason my login is stuck to "Connecting to server...". However when I input my password wrong the client responds normally saying "Your username or password is wrong". Does anybody know how to help me please?

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Well my server is hosted on KMS-Hosting.

My serverinfo.py looks like this:

Spoiler

SERVER_NAME = "Metin2Client"
SERVER_IP      = "IPAddressOfServer"
CH_NAME        = "CH1"
PORT_1         = Channel1Port
PORT_2         = AuthPort
PORT_3        = Game99Port


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

SERVER01_CHANNEL_DICT = {
    1:{"key":11,"name":CH_NAME,"ip":SERVER_IP,"tcp_port":PORT_1,"udp_port":PORT_1,"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", },
}

(My ip and ports are all correct!!!)

I only have a client syserr but when I remove the lines (as saw on a post) I only get "Error connecting to server...". Here is the syserr:

Spoiler

0512 21:05:13906 :: Traceback (most recent call last):

0512 21:05:13907 ::   File "introLogin.py", line 436, in OnConnectFailure

0512 21:05:13907 :: AttributeError
0512 21:05:13907 :: : 
0512 21:05:13907 :: 'LoginWindow' object has no attribute 'timeOutMsg'
0512 21:05:13907 :: 

I am the only one tried to connect to this host and couldn't... As I said this same client was tested on other machines and works perfectly fine... So I don't know what to do... Thank you for replying tho :)

Link to comment
Share on other sites

4 hours ago, Mind Rapist said:

Well my server is hosted on KMS-Hosting.

My serverinfo.py looks like this:

  Reveal hidden contents

SERVER_NAME = "Metin2Client"
SERVER_IP      = "IPAddressOfServer"
CH_NAME        = "CH1"
PORT_1         = Channel1Port
PORT_2         = AuthPort
PORT_3        = Game99Port


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

SERVER01_CHANNEL_DICT = {
    1:{"key":11,"name":CH_NAME,"ip":SERVER_IP,"tcp_port":PORT_1,"udp_port":PORT_1,"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", },
}

(My ip and ports are all correct!!!)

I only have a client syserr but when I remove the lines (as saw on a post) I only get "Error connecting to server...". Here is the syserr:

  Hide contents

0512 21:05:13906 :: Traceback (most recent call last):

0512 21:05:13907 ::   File "introLogin.py", line 436, in OnConnectFailure

0512 21:05:13907 :: AttributeError
0512 21:05:13907 :: : 
0512 21:05:13907 :: 'LoginWindow' object has no attribute 'timeOutMsg'
0512 21:05:13907 :: 

I am the only one tried to connect to this host and couldn't... As I said this same client was tested on other machines and works perfectly fine... So I don't know what to do... Thank you for replying tho :)

Fix for the client error

Find:

Spoiler

if app.loggined:
			self.PopupNotifyMessage(localeInfo.LOGIN_CONNECT_FAILURE, self.__ExitGame)
		elif self.timeOutMsg:
			self.PopupNotifyMessage(localeInfo.LOGIN_FAILURE_TIMEOUT, self.SetPasswordEditLineFocus)
		else:
			self.PopupNotifyMessage(localeInfo.LOGIN_CONNECT_FAILURE, self.SetPasswordEditLineFocus)

change it like this:

Spoiler

		if app.loggined:
			self.PopupNotifyMessage(localeInfo.LOGIN_CONNECT_FAILURE, self.__ExitGame)
		else:
			self.PopupNotifyMessage(localeInfo.LOGIN_CONNECT_FAILURE, self.SetPasswordEditLineFocus)

 

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.