Jump to content

Recommended Posts

 

I added an effect for the emperor and it works well, however there is a bug where the effect is in the center of the character, inside him, I tested it with the GM effect and the same thing happens, but when it is the GM with his effect, it works normally . Does anyone know why this is and how I can fix it?

 

spacer.pngspacer.png

Edited by Klaus
Link to comment
https://metin2.dev/topic/32828-bug-in-emperor-effect/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

change the bone from body to head in your msm file, or up the y value until it reaches the right height. The msm should be in the same place where your crown image is placed.

You can also take the bone and position from the gm effect msm. 

Link to comment
https://metin2.dev/topic/32828-bug-in-emperor-effect/#findComment-166226
Share on other sites

  • Solution
9 hours ago, tanasescu490 said:

mude o osso de corpo para cabeça no seu arquivo msm, ou aumente o valor y até que ele atinja a altura correta. O msm deve estar no mesmo lugar onde sua imagem de coroa está colocada.

Você também pode pegar o osso e a posição do msm do efeito gm. 

It didn't work, I already replaced the emperor effect files with the GM effect, gm.mse, which works normally on GM characters, even so, the effect remains in the center of the character's body, that's the problem.

 

----

Old to bug:

{pkBase.EFFECT_AFFECT + 42, "Bip01", "locale/common/effect/king.mse"},

new fix:

	// IMP_EFFECT
	TEffect effect1;
	effect1.uiType = pkBase.EFFECT_AFFECT + 42;
	memcpy(effect1.stBone, "Bip01", sizeof(effect1.stBone));
	memcpy(effect1.stEffect, IMP_MARK, sizeof(effect1.stEffect));
	
	m_vecEffectData.push_back(effect1);
	// IMP_EFFECT

As I use the PythonPlayerSettingsModule in C++, I just duplicated standard GM symbol functions instead of using traditional effects code and it worked.

Edited by Klaus
Fix
Link to comment
https://metin2.dev/topic/32828-bug-in-emperor-effect/#findComment-166232
Share on other sites

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.