Jump to content

Recommended Posts

Hello everyone,
I have a problem with selecting the characters. When I can not start selecting pg or choosing, 
I can only start by using the mouse buttons through the directional darts on the character selection screen and the send key! Does anyone know how to solve it?

Link to comment
https://metin2.dev/topic/16962-blocked-character-selection-keys/
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 2/10/2017 at 1:20 AM, riku11 said:

what kind of selectwindow have you?  with all characters in screen ? with only one character? screen please 

Hi, I have this selection (classic) + Lycan!
Hope you can help me!

https://metin2.download/picture/p7YT2wYtE1sNOP87bXe4bkcwM1PBZ56u/.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Developer

Search in introselect.py
def OnKeyDown(self , key):

post it , i want check it.

#add at end of def OnKeyDown(self , key):  metods

		if 28 == key:
			id = net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_ID)
			if 0 == id:
				self.CreateCharacter()
			else:
				self.StartGame()


#the if you have to put it indented like the others

 

My youtube channel  on which you can see my works here

1 hour ago, riku11 said:

Search in introselect.py
def OnKeyDown(self , key):

post it , i want check it.


#add at end of def OnKeyDown(self , key):  metods

		if 28 == key:
			id = net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_ID)
			if 0 == id:
				self.CreateCharacter()
			else:
				self.StartGame()


#the if you have to put it indented like the others

nOMT7d3.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Developer

post these func :

 

void CWindowManager::RunKeyDown(int vkey)   -> PythonWindowManager.cpp

 

void CPythonApplication::OnKeyDown (int iIndex)  -> PythonApplicationEvent.cpp

 

BOOL CWindow::OnKeyDown(int ikey)  -> PythonWindow.cpp

My youtube channel  on which you can see my works here

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.