Jump to content

GM Invisible command mount bug


Go to solution Solved by ARISE,

Recommended Posts

Hello everyone,

Recently I've been creating some quests that uses mounts and horses...

I noticed if I have /in active in a GM account, and if I mount ( A normal horse or a new mount ) it will not display the GM symbol until i remove /in and mount or teleport again...
Does anyone have a fix for this?

Using TMP4 40250

.gif

Thank you,

Kind Regards

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

HOW TO FIX

 

For those who are using ENABLE_CANSEEHIDDENTHING_FOR_GM:

UserInterface/InstanceBaseEffect.cpp
Search in bool CInstanceBase::Create

if (c_iGuildSymbolRace == GetRace())
	{
		std::string strFileName = GetGuildSymbolFileName(m_dwGuildID);
		if (IsFile(strFileName.c_str()))
			m_GraphicThingInstance.ChangeMaterial(strFileName.c_str());
	}


Add under

#ifdef ENABLE_CANSEEHIDDENTHING_FOR_GM
	if (IsAffect(AFFECT_INVISIBILITY) && __MainCanSeeHiddenThing())
		m_GraphicThingInstance.BlendAlphaValue(0.5f, 0.5f);
		m_GraphicThingInstance.ShowAllAttachingEffect();
#endif

 

I also suggest you add this Fix so when you TP your item effects and GM symbol remain hidden:


After you have Ikarus Stealth Invisible fix set up, follow this step:

UserInterface/InstanceBaseEffect.cpp
Search in void CInstanceBase::SetAffectFlagContainer

__SetNormalAffectFlagContainer(c_rkAffectFlagContainer);


Add under
 

#ifdef __ENABLE_STEALTH_FIX__
		if (!__MainCanSeeHiddenThing() &&
			(c_rkAffectFlagContainer.IsSet(AFFECT_INVISIBILITY)
				|| c_rkAffectFlagContainer.IsSet(AFFECT_REVIVE_INVISIBILITY)
				|| c_rkAffectFlagContainer.IsSet(AFFECT_EUNHYEONG))
		)
			m_GraphicThingInstance.HideAllAttachingEffect();
#endif



That's it...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.