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

invisible bug


bumxd

Question

hi, i have bug invisible, when i have dead, and start again, i invisible 2-3min, but i in source  in char.cpp del:

if (IsAffectFlag(AFF_REVIVE_INVISIBLE))

RemoveAffect(AFFECT_REVIVE_INVISIBLE);
 
 

but don`t helped it... how to fix?

Edited by bumxd
Link to comment
Share on other sites

  • Answers 10
  • Created
  • Last Reply

Top Posters For This Question

10 answers to this question

Recommended Posts

  • 0
  • Premium

Open char_affect.cpp and find:

bool CHARACTER::RemoveAffect(CAffect * pkAff)

After

    if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
		ComputePoints();

Add

    else
		UpdatePacket();

And it should look like this:

	ComputeAffect(pkAff, false);

	if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
		ComputePoints();
	else
		UpdatePacket();

	CheckMaximumPoints();

 

This is the fix, as I remember. If it's not working, leave a reply. I'll search the original topic.

Link to comment
Share on other sites

  • 0

Open char_affect.cpp and find:

bool CHARACTER::RemoveAffect(CAffect * pkAff)

After

    if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
		ComputePoints();

Add

    else
		UpdatePacket();

And it should look like this:

	ComputeAffect(pkAff, false);

	if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
		ComputePoints();
	else
		UpdatePacket();

	CheckMaximumPoints();

 

This is the fix, as I remember. If it's not working, leave a reply. I'll search the original topic.

maybe so?

 

if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
	{
		ComputePoints();
	}
	else
	{
		UpdatePacket();
	}
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.