Jump to content
  • Create New...
  • 0

Costume weapons status bug



1 answer to this question

Recommended Posts

  • 0


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

return 0;


			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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021

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.