Community AlphaAlpha MUADMINS
PTPortuguês (Brasil)
Entrar
No MuADMINSConfig ScannerEnvie o zip dos seus arquivos: rates, drops, spots, limitesAbrirNo MuADMINSEncontre-nos no DiscordPeça ajuda, mostre o que está criando e converse sobre MU com outros donos de servidores.Abrir
← Todas as soluções

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

✓ Confirmado pelo autor do tópico

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

Quem abriu o tópico confirmou que isso funcionou.

Palavras originais (Inglês)

“If someone needs this is the FIX”

O autor do tópico, 2023-10-31 (palavras originais)
RaGEZONE · 2023-10-31
Isso ajudou?

Ainda com problema? Buscar no MuGPS Pergunte ao Assistente MU

MuADMINS Community Alpha: grátis, feito pela comunidade e em desenvolvimento ativo.