Community AlphaAlpha MUADMINS
PLPolski
Zaloguj się
Na MuADMINSWspółtwórzPomagaj i zdobywaj Community PointsOtwórzNa MuADMINSHarmonogram eventówBlood Castle, Devil Square, inwazje w tygodniowej siatceOtwórz
← Wszystkie rozwiązania

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

✓ Potwierdzone przez autora tematu

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

Autor tematu potwierdził, że to zadziałało.

Oryginalne słowa (angielski)

“If someone needs this is the FIX”

Autor tematu, 2023-10-31 (oryginalne słowa)
RaGEZONE · 2023-10-31
Czy to pomogło?

Nadal masz problem? Szukaj w MuGPS Zapytaj Asystenta MU

MuADMINS Community Alpha: za darmo, tworzone przez społeczność, w aktywnym rozwoju.