Jump to content
  • 0

[Source]Chat BUG


MORTE

Question

I've been testing and saw that chat're buggy, even with the skills of the other kingdoms or ring Limguagem is not possible to understand other realms.

 

anyone know fix this?

Link to comment

5 answers to this question

Recommended Posts

  • 0
  • VIP

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
  • 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

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


×
×
  • 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.