Active+ Member Abel(Tiger) 1195 Posted January 6, 2017 Active+ Member Share Posted January 6, 2017 An annoying bug which need a fix. Gif with the problem (from ѕeмa™) : // PythonApplicationProcedure.cpp // After: if (m_isWindowFullScreenEnable) { __MinimizeFullScreenWindow(hWnd, m_dwWidth, m_dwHeight); } // Just add: OnMouseMiddleButtonUp(0, 0); 21 5 1 33 Link to comment Share on other sites More sharing options...
MagicMan 0 Posted January 6, 2017 Share Posted January 6, 2017 is it when the mouse bugs in the middle? Link to comment Share on other sites More sharing options...
alondark 59 Posted January 6, 2017 Share Posted January 6, 2017 bugs ? Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19659 Posted January 6, 2017 Honorable Member Share Posted January 6, 2017 Hm, could you explain the bug? 1 Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted January 6, 2017 Bot Share Posted January 6, 2017 Could you explain the bug a bit more please? Link to comment Share on other sites More sharing options...
alondark 59 Posted January 6, 2017 Share Posted January 6, 2017 What Bug Pnp ? Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1195 Posted January 6, 2017 Author Active+ Member Share Posted January 6, 2017 When you move camera and minimize client in the same time mouse remains blocked and you need to maximize client , stop move camera and minimize again . Link to comment Share on other sites More sharing options...
alondark 59 Posted January 6, 2017 Share Posted January 6, 2017 2 minutes ago, Abel(Tiger) said: When you move camera and minimize client in the same time mouse remains blocked and you need to maximize client , stop move camera and minimize again . thank you baba Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted January 6, 2017 Share Posted January 6, 2017 (edited) Is this what u mean? right click, alt+tab change window and try to move the mouse . Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal https://m2admin.net/ Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1195 Posted January 6, 2017 Author Active+ Member Share Posted January 6, 2017 (edited) 5 minutes ago, ѕeмa™ said: Is this what u mean? right click, alt+tab change window and try to move the mouse . I know , but not all players know alt+tab. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted January 6, 2017 Share Posted January 6, 2017 1 minute ago, Abel(Tiger) said: I know , but not all players know alt+tab. but as u can see in my image, i dont have full screen, that fix will work for alt+tab too? https://m2admin.net/ Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19659 Posted January 6, 2017 Honorable Member Share Posted January 6, 2017 I know already, however I'm never using alt+tab. Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1195 Posted January 6, 2017 Author Active+ Member Share Posted January 6, 2017 2 minutes ago, ѕeмa™ said: but as u can see in my image, i dont have full screen, that fix will work for alt+tab too? Is the same thing dude , when you leave aplication with camera active she just stop . Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted January 6, 2017 Bot Share Posted January 6, 2017 Thank you for that fix! MfG Cyber Link to comment Share on other sites More sharing options...
emirhan 0 Posted January 7, 2017 Share Posted January 7, 2017 thanks Link to comment Share on other sites More sharing options...
lordsas61 15 Posted August 27, 2017 Share Posted August 27, 2017 hi guys error client help me!https://metin2dev.org/board/index.php?/topic/16704-metin2exe-close-error/ Link to comment Share on other sites More sharing options...
TheGameDeveloper 55 Posted September 24, 2017 Share Posted September 24, 2017 Debug binary crash when close client console no exit, crash Link to comment Share on other sites More sharing options...
PeaceMaker 121 Posted February 4, 2018 Share Posted February 4, 2018 On 8/27/2017 at 8:41 PM, lordsas61 said: hi guys error client help me!https://metin2dev.org/board/index.php?/topic/16704-metin2exe-close-error/ this guy is right , this fix creates an error which execute when you exit the game . and it only happens if you're still on the game . the ??????????????? ???? error thing pops up . its not a big deal but yeah its not also a proper fix . Link to comment Share on other sites More sharing options...
Honorable Member Tatsumaru 5255 Posted April 15, 2018 Honorable Member Share Posted April 15, 2018 It works, but you can not grab the window and move it. Before this fix you can. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted December 15, 2018 Bot Share Posted December 15, 2018 Is there a solution for the error "???? ???" ? Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 656 Posted December 17, 2018 Forum Moderator Share Posted December 17, 2018 #moved Best regards Raylee Link to comment Share on other sites More sharing options...
Premium Intel 757 Posted August 16, 2021 Premium Share Posted August 16, 2021 (edited) I am reviving this discussion to say, yeah this just causes a crash during the closing of the client. I was trying to finally tackle all the .dmp files generated and everytime they pointed to "SetCursorNum". As I fix, I did something a little bit dirty but effective. in PythonApplicationCursor.cpp, in the function bool CPythonApplication::CreateCursors(), under: m_bLiarCursorOn = false; add: m_bCursorsDestroyed = false; at the end of the function void CPythonApplication::DestroyCursors(), add: m_bCursorsDestroyed = true; then modify the void CPythonApplication::__ResetCameraWhenMinimize() like this: void CPythonApplication::__ResetCameraWhenMinimize() { CCameraManager& rkCmrMgr = CCameraManager::Instance(); CCamera* pkCmrCur = rkCmrMgr.GetCurrentCamera(); if (pkCmrCur) { pkCmrCur->EndDrag(); } if(!m_bCursorsDestroyed) { SetCursorNum(NORMAL); if (CURSOR_MODE_HARDWARE == GetCursorMode()) SetCursorVisible(TRUE); } } and finally declare m_bCursorsDestroyed in PythonApplication.h under m_bCursorVisible: Result: Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Active Member ReFresh 2339 Posted August 16, 2021 Active Member Share Posted August 16, 2021 34 minutes ago, xXIntelXx said: m_bCursorsDestroyed = true; You mean under DestroyCursor((HCURSOR) itor->second);? I'll be always helpful! Link to comment Share on other sites More sharing options...
Premium Intel 757 Posted August 16, 2021 Premium Share Posted August 16, 2021 Just now, ReFresh said: You mean under DestroyCursor((HCURSOR) itor->second);? Yeah, outside the for loop of course: void CPythonApplication::DestroyCursors() { TCursorHandleMap::iterator itor; for (itor = m_CursorHandleMap.begin(); itor != m_CursorHandleMap.end(); ++itor) { DestroyCursor((HCURSOR) itor->second); } m_bCursorsDestroyed = true; } Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1195 Posted August 16, 2021 Author Active+ Member Share Posted August 16, 2021 The tutorial is very old New tutorial: // PythonApplicationProcedure.cpp // After: if (m_isWindowFullScreenEnable) { __MinimizeFullScreenWindow(hWnd, m_dwWidth, m_dwHeight); } // Just add: OnMouseMiddleButtonUp(0, 0); That's all! 1 1 3 Link to comment Share on other sites More sharing options...
Recommended Posts