Community AlphaAlpha MUADMINS
ITItaliano
Accedi
Su MuADMINSConfig ScannerCarica lo zip dei tuoi file: rates, drop, spot, limitiApriSu MuADMINSIncontraci su DiscordChiedi aiuto, condividi quello che stai creando e parla di MU con altri proprietari di server.Apri
← Tutte le soluzioni

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

✓ Confermato dall'autore della discussione

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

Chi ha aperto il thread ha confermato che ha funzionato.

Parole originali (Inglese)

“If someone needs this is the FIX”

L'autore della discussione, 2023-10-31 (parole originali)
RaGEZONE · 2023-10-31
Ti è stato utile?

Non hai ancora risolto? Cerca su MuGPS Chiedi all'Assistente MU

MuADMINS Community Alpha: gratuito, fatto dalla community, in sviluppo attivo.