Jump to content

Recommended Posts

Hello,

The problem is the game that do not update immediately PART_WEAPON your character.  To fix this problem, do like this:

Open your char.cpp and search:

 

WORD CHARACTER::GetOriginalPart(BYTE bPartPos) const
In the switch case of this function we will return the id of the equipment contained in the PART_WEAPON with a condition to verify that the ID of the equipment is not equal to 0, that is where the problem just mainly.

After any such box below:
 
		case PART_HAIR:
			return GetPart(PART_HAIR);

// Or before
		case PART_ACCE:
			return GetPart(PART_ACCE);

Add this before


default:
return 0;

 

		case PART_WEAPON:
			if (GetWear(WEAR_COSTUME_WEAPON) != 0)
			{
				return GetPart(PART_WEAPON);
			}
			return 0;

Now you can compile it :)

This tutorial has been fixed by @Roxas07.

  • Love 5
Link to comment
https://metin2.dev/topic/13515-costume-weapons-status-bug/#findComment-77168
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.