Jump to content
Maintenance : Final step ×

Official Keyboard Settings System


Recommended Posts

  • Honorable Member

It depends. Shall we need the functionality of the ALT in the game to change the quickslot page and show the names around our character when the window is opened or not? Due the fact the keydown process is not executing during the change, I think the best solution is to block the keyup function too when the board is opened. Ofc it need some checks too, although the keychange processed with the OnKeyDown function.

Link to comment
Share on other sites

  • Honorable Member

Surely blocking all key functions should be enough while you have the key change window opened. I don’t think you will be using the key functions while you even have the window open since your intention is to change some settings so I think it makes a little sense to block all key functions while the window is still open.

/// 1.
// Search
void CPythonPlayer::OnKeyDown(int iKey)
{

// Add below
	if (m_isOpenKeySettingWindow)
		return;

// 2.
// Search
void CPythonPlayer::OnKeyUp(int iKey)
{

// Add below
	if (m_isOpenKeySettingWindow)
		return;

After testing it looks correct now.

  • Love 1
Link to comment
Share on other sites

8 hours ago, Owsap said:

Surely blocking all key functions should be enough while you have the key change window opened. I don’t think you will be using the key functions while you even have the window open since your intention is to change some settings so I think it makes a little sense to block all key functions while the window is still open.

/// 1.
// Search
void CPythonPlayer::OnKeyDown(int iKey)
{

// Add below
	if (m_isOpenKeySettingWindow)
		return;

// 2.
// Search
void CPythonPlayer::OnKeyUp(int iKey)
{

// Add below
	if (m_isOpenKeySettingWindow)
		return;

After testing it looks correct now.

Thank you, i tested and work ok. The teleport problem is not anymore, but when you login for first time the problem is back

Link to comment
Share on other sites

@Owsap

1019 03:36:08571 :: Traceback (most recent call last):

1019 03:36:08571 ::   File "networkModule.py", line 247, in SetGamePhase

1019 03:36:08571 ::   File "game.py", line 127, in __init__

1019 03:36:08571 ::   File "uiKeyChange.py", line 208, in __init__

1019 03:36:08571 ::   File "uiKeyChange.py", line 285, in __LoadWindow

1019 03:36:08571 :: KeyError
1019 03:36:08571 :: : 
1019 03:36:08571 :: 64
1019 03:36:08571 :: 

IhmS72B.jpg

and,

i change and save the keys, but when I restart the game, it returns to its standard state.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 6 months later...
  • 10 months later...
  • 4 weeks later...
  • 7 months later...
×
×
  • 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.