Community AlphaAlpha MUADMINS
ESEspañol
Iniciar sesión
En MuADMINSConfig ScannerSube el zip de tus archivos: rates, drops, spots, límitesAbrirEn MuADMINSEncuéntranos en DiscordPide ayuda, comparte lo que estás creando y habla de MU con otros dueños de servidores.Abrir
← Todas las soluciones

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

✓ Confirmado por el autor del tema

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).

Quien abrió el tema confirmó que esto funcionó.

Palabras originales (Inglés)

“If someone needs this is the FIX”

El autor del tema, 2023-10-31 (texto original)
RaGEZONE · 2023-10-31
¿Te sirvió?

¿Sigues atascado? Buscar en MuGPS Pregúntale al Asistente MU

MuADMINS Community Alpha: gratis, hecho por la comunidad y en desarrollo activo.