mkhzaleh 131 Report post Posted May 28, 2021 hello there!this small optimizing for _evtGameOptionFormMouseDown normal code will run every functions in the list even if its same previous value example:so what we do small optimize to call changed values in system options only " this helpful if you are using hide effects/apps etc"the modification: open UISystemForm.cpp and search for : void CSystemMgr::_evtGameOptionFormMouseDown(CCompent* pSender, int nMsgType, int x, int y, DWORD dwKey) for example we change it to now repeat same steps for the rest options pGroup = g_stUISystem.cbxHelpMode; if (pGroup) { bool bHelpMode = pGroup->GetActiveIndex() == 1 ? true : false; if (g_stUISystem.m_sysProp.m_gameOption.bHelpMode != bHelpMode) { g_stUISystem.m_sysProp.m_gameOption.bHelpMode = bHelpMode; if (!bHelpMode) g_stUIStart.ShowLevelUpHelpButton(bHelpMode); g_stUIStart.ShowInfoCenterButton(bHelpMode); ::WritePrivateProfileString("gameOption", "helpMode", bHelpMode ? "1" : "0", "./user/system.ini"); } } 6 Quote Share this post Link to post Share on other sites
ShadowJr 18 Report post Posted May 29, 2021 Very Nice!! 1 Quote Share this post Link to post Share on other sites