Community AlphaAlpha MUADMINS
RUРусский
Войти
На MuADMINSConfig ScannerЗагрузите zip своих файлов: рейты, дропы, споты, лимитыОткрытьНа MuADMINSПрисоединяйтесь к нам в DiscordПросите помощи, показывайте свои проекты и общайтесь о MU с другими владельцами серверов.Открыть
← Все решения

MuEmu source: how to make the quit / switch character / switch server countdown length configurable

✓ Подтверждено автором темы

The topic starter posted this fix (credited to Emershow):

  1. ServerInfo.cpp: below SetItemAcceptHarmonySwitch add this->m_CharacterCloseCount = GetPrivateProfileInt(section,"CharacterCloseCount",0,path);.
  2. ServerInfo.h: below int SetItemAcceptHarmonySwitch add int m_CharacterCloseCount;.
  3. In CObjectManager::CharacterGameCloseSet(int aIndex,int type) change lpObj->CloseCount = 1; to lpObj->CloseCount = gServerInfo.m_CharacterCloseCount;.
  4. Rebuild the GameServer, then in GameServer\Common.dat below SetItemAcceptHarmonySwitch = 0 add CharacterCloseCount = 10 (seconds).

Автор темы подтвердил, что это сработало.

Оригинальный текст (английский)

“If someone needs this is the FIX”

Автор темы, 2023-10-31 (дословно)
RaGEZONE · 2023-10-31
Это помогло?

Всё ещё не получается? Поиск в MuGPS Спросить Помощника MU

MuADMINS Community Alpha: бесплатно, создаётся сообществом, в активной разработке.