Jump to content

problem in System scale -Acce


Go to solution Solved by Syreldar,

Recommended Posts

  • Honorable Member

Show me your SetAcce function in InstanceBase.cpp

 

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

9 hours ago, Syreldar said:

Show me your SetAcce function in InstanceBase.cpp

 

thank you for your reply

iam use sash
my InstanceBase.cpp

https://paste2.org/gIewECyF

11 hours ago, Meruem said:

binary

where in binary ?

  • Honorable Member
  • Solution
#ifdef ENABLE_SASH_SYSTEM
void CInstanceBase::SetSash(DWORD dwSash)
{
	if (!IsPC())
		return;
	
	if (IsPoly())
		return;
	
	dwSash += 85000;
	ClearSashEffect();
	
	float fSpecular = 65.0f;
    ...
}
#endif

substitute with

#ifdef ENABLE_SASH_SYSTEM
void CInstanceBase::SetSash(DWORD dwSash)
{
	if (!IsPC())
		return;
	
	if (IsPoly())
		return;
	
	ClearSashEffect();
	if (dwSash == 0)
	{
		m_GraphicThingInstance.AttachSash(false, 0);
		return;
	}

	dwSash += 85000;
	
	float fSpecular = 65.0f;
    ...
}
#endif

 

  • Love 1

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

31 minutes ago, Syreldar said:

#ifdef ENABLE_SASH_SYSTEM
void CInstanceBase::SetSash(DWORD dwSash)
{
	if (!IsPC())
		return;
	
	if (IsPoly())
		return;
	
	dwSash += 85000;
	ClearSashEffect();
	
	float fSpecular = 65.0f;
    ...
}
#endif

substitute with


#ifdef ENABLE_SASH_SYSTEM
void CInstanceBase::SetSash(DWORD dwSash)
{
	if (!IsPC())
		return;
	
	if (IsPoly())
		return;
	
	ClearSashEffect();
	if (dwSash == 0)
	{
		m_GraphicThingInstance.AttachSash(false, 0);
		return;
	}

	dwSash += 85000;
	
	float fSpecular = 65.0f;
    ...
}
#endif

A problem has been resolved
thank you so much

 

  • Honorable Member

No problem.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

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.