The topic starter posted this fix (credited to Emershow):
ServerInfo.cpp: belowSetItemAcceptHarmonySwitchaddthis->m_CharacterCloseCount = GetPrivateProfileInt(section,"CharacterCloseCount",0,path);.ServerInfo.h: belowint SetItemAcceptHarmonySwitchaddint m_CharacterCloseCount;.- In
CObjectManager::CharacterGameCloseSet(int aIndex,int type)changelpObj->CloseCount = 1;tolpObj->CloseCount = gServerInfo.m_CharacterCloseCount;. - Rebuild the GameServer, then in
GameServer\Common.datbelowSetItemAcceptHarmonySwitch = 0addCharacterCloseCount = 10(seconds).