Jump to content

Recommended Posts

i need a little solution i wanna that if the message come "Wrong Password or ID"
that the Text staying inside the box someone know how i can do that ?

Like that if its saying wrong password:
d6a7eb0c11aaa52c9d0a148f2a2993ec.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/21506-keep-login-data-in-the-column/
Share on other sites

 

In ConstInfo.py:

DONT_REMOVE_LOGIN_ID_PASSWORD_AFTER_WRONG_TRY = 0

 

 

Intrologin.py change the function SetPasswordEditLineFocus

	def SetPasswordEditLineFocus(self):
		if constInfo.DONT_REMOVE_LOGIN_ID_PASSWORD_AFTER_WRONG_TRY:
			if self.idEditLine != None: #0000862: [M2EU] 로그인창 팝업 에러: 종료시 먼저 None 설정됨
				self.idEditLine.SetText("")
				self.idEditLine.SetFocus() #0000685: [M2EU] 아이디/비밀번호 유추 가능 버그 수정: 무조건 아이디로 포커스가 가게 만든다

			if self.pwdEditLine != None: #0000862: [M2EU] 로그인창 팝업 에러: 종료시 먼저 None 설정됨
				self.pwdEditLine.SetText("")
		else:
			if self.pwdEditLine != None:
				self.pwdEditLine.SetFocus()

 

  • Love 2
vor 9 Minuten schrieb Syriza:

 

In ConstInfo.py:


DONT_REMOVE_LOGIN_ID_PASSWORD_AFTER_WRONG_TRY = 0

 

 

Intrologin.py change the function SetPasswordEditLineFocus


	def SetPasswordEditLineFocus(self):
		if constInfo.DONT_REMOVE_LOGIN_ID_PASSWORD_AFTER_WRONG_TRY:
			if self.idEditLine != None: #0000862: [M2EU] 로그인창 팝업 에러: 종료시 먼저 None 설정됨
				self.idEditLine.SetText("")
				self.idEditLine.SetFocus() #0000685: [M2EU] 아이디/비밀번호 유추 가능 버그 수정: 무조건 아이디로 포커스가 가게 만든다

			if self.pwdEditLine != None: #0000862: [M2EU] 로그인창 팝업 에러: 종료시 먼저 None 설정됨
				self.pwdEditLine.SetText("")
		else:
			if self.pwdEditLine != None:
				self.pwdEditLine.SetFocus()

 

 

Thank you very much for this Solution ! it works like a charm for meleys :)

  • Love 1

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.