Jump to content
×
×
  • Create New...
  • 0

[Source]Chat BUG


MORTE

Question

5 answers to this question

Recommended Posts

  • 0
  • Premium

I don't really understand your problem, but just delete the usage of the UNIQUE_GROUP_RING_OF_LANGUAGE or replace the IsEquipUniqueGroup event to this:

bool CHARACTER::IsEquipUniqueGroup(DWORD dwGroupVnum) const
{
	if (dwGroupVnum == UNIQUE_GROUP_RING_OF_LANGUAGE)
		return true;

	{
		LPITEM u = GetWear(WEAR_UNIQUE1);

		if (u && u->GetSpecialGroup() == (int) dwGroupVnum)
			return true;
	}

	{
		LPITEM u = GetWear(WEAR_UNIQUE2);

		if (u && u->GetSpecialGroup() == (int) dwGroupVnum)
			return true;
	}

	return false;
}
  • Love 1
Link to comment
Share on other sites

  • 0

 

I don't really understand your problem, but just delete the usage of the UNIQUE_GROUP_RING_OF_LANGUAGE or replace the IsEquipUniqueGroup event to this:

bool CHARACTER::IsEquipUniqueGroup(DWORD dwGroupVnum) const
{
	if (dwGroupVnum == UNIQUE_GROUP_RING_OF_LANGUAGE)
		return true;

	{
		LPITEM u = GetWear(WEAR_UNIQUE1);

		if (u && u->GetSpecialGroup() == (int) dwGroupVnum)
			return true;
	}

	{
		LPITEM u = GetWear(WEAR_UNIQUE2);

		if (u && u->GetSpecialGroup() == (int) dwGroupVnum)
			return true;
	}

	return false;
}

hello sorry if disorder, can you tell me where I find this UNIQUE_GROUP_RING_OF_LANGUAGE or this IsEquipUniqueGroup

Link to comment
Share on other sites

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


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.