Honorable Member xP3NG3Rx 20921 Posted October 13, 2021 Honorable Member Share Posted October 13, 2021 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 More sharing options...
Honorable Member Owsap 9376 Posted October 13, 2021 Author Honorable Member Share Posted October 13, 2021 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. 1 https://owsap.dev/ / https://osf.owsap.dev/ Link to comment Share on other sites More sharing options...
r00t3r 67 Posted October 13, 2021 Share Posted October 13, 2021 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 More sharing options...
Etzhel 116 Posted October 19, 2021 Share Posted October 19, 2021 (edited) @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 :: and, i change and save the keys, but when I restart the game, it returns to its standard state. Edited August 17, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Alexander20 1 Posted April 26, 2022 Share Posted April 26, 2022 (edited) Hi, did someone had the same problem? Any sugestions? Spoiler Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal 1 1 Link to comment Share on other sites More sharing options...
Mystik 0 Posted March 16, 2023 Share Posted March 16, 2023 On 4/27/2022 at 12:40 AM, Alexander20 said: Hi, did someone had the same problem? Any sugestions? Hide contents Same problem!! Link to comment Share on other sites More sharing options...
Honorable Member Mali 46563 Posted April 13, 2023 Honorable Member Share Posted April 13, 2023 I made a small contribution about reversed auto run feature. This is the hidden content, please Sign In or Sign Up 33 4 1 10 Link to comment Share on other sites More sharing options...
nosacz26 1 Posted November 22, 2023 Share Posted November 22, 2023 On 9/19/2021 at 11:18 AM, r00t3r said: Wow, very nice ! But i have this problem how did you solve it? Link to comment Share on other sites More sharing options...
Recommended Posts