Jump to content

Recommended Posts

  • Active+ Member

Hey guys,

is here someone who know how to enable use of right Enter key (the small one Enter key (big one is working right)  in the right corner of the keyboard) in character selection?

Thanks for answers!

Sincerely,

ReFresh

I'll be always helpful!  😉

Link to comment
https://metin2.dev/topic/20649-enable-use-of-enter-key/
Share on other sites

  • 2 weeks later...
  • 4 years later...
  • Active Member

If someone search it.

Solution:

Add to your new_introselect.py:

	def OnIMEReturn(self):
		self.StartGameButton()
		return True

 

if you have old char select (introselect.py):

Search for it:

	def OnKeyDown(self, key):

Add for this:

		if 28 == key:

			id = net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_ID)
			if 0 == id:
				self.CreateCharacter()

			else:
				self.StartGame()

 

That's all.
 

Edited by Pisti95
  • Love 1

Buy a new system? 
My systems:  https://payhip.com/Pisti95

Link to comment
https://metin2.dev/topic/20649-enable-use-of-enter-key/#findComment-160357
Share on other sites

  • 11 months later...

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.