mkhzaleh 131 Report post Posted September 25, 2021 this small tick to keep forms opened if character moving, open UIGlobalVar.cpp search for : void CUIInterface::MainChaMove() add your toggle option there example : void CUIInterface::MainChaMove() { if (!g_stUISystem.m_sysProp.m_gameOption.IsCloseForms) return; for (allmgr::iterator it = all.begin(); it != all.end(); it++) (*it)->CloseForm(); } :build client and done: " use on your own risk ," default code: toggle code: Quote Share this post Link to post Share on other sites
cpworkerz 24 Report post Posted December 17, 2021 On 9/25/2021 at 11:47 PM, mkhzaleh said: this small tick to keep forms opened if character moving, open UIGlobalVar.cpp search for : void CUIInterface::MainChaMove() add your toggle option there example : void CUIInterface::MainChaMove() { if (!g_stUISystem.m_sysProp.m_gameOption.IsCloseForms) return; for (allmgr::iterator it = all.begin(); it != all.end(); it++) (*it)->CloseForm(); } :build client and done: " use on your own risk ," default code: toggle code: What if you want this just on HelpInfo GUIs? Quote Share this post Link to post Share on other sites
mkhzaleh 131 Report post Posted December 17, 2021 (edited) 43 minutes ago, cpworkerz said: What if you want this just on HelpInfo GUIs? (*it) its pointer for form itself so you can get form name and compare to which one you want etc (*it)->_FindForm("frmname") Edited December 17, 2021 by mkhzaleh Quote Share this post Link to post Share on other sites