Jump to content

Recommended Posts

Posted (edited)

This is the topic: http://www.maxcheaters.com/topic/215808-onclick-a-player-show-him-as-heading-change/?do=findComment&comment=2642841

 

Basically when u click a character, it seems like he slightly rotate. Pm me if u can fix this. 

 

Edited by Afou To Patisa
Posted

Make a video again. Old was deleted.

Video is pointless, just think of a player walk and suddedly he stop infront of you, and u double left click on him

and he change heading (small sometimes big some other). And then to happen again he must move. 

Posted (edited)

i fixed it my self..  

 

BEFORE:

if (activeChar.getTarget() != target)
		{
			activeChar.setTarget(target);
                              activeChar.sendPacket(new MyTargetSelected(target.getObjectId(), 0));
                               if (activeChar.getTarget() != target)
					activeChar.sendPacket(new ValidateLocation((L2Character) target));
		}
		else if (interact)
		{
			if (activeChar != target)
				if (activeChar.getTarget() != target)
					activeChar.sendPacket(new ValidateLocation((L2Character) target)); 

AFTER:

if (activeChar.getTarget() != target)
		{
			activeChar.setTarget(target);
                         activeChar.sendPacket(new MyTargetSelected(target.getObjectId(), 0));

		}
		else if (interact)
		{
			if (activeChar != target)
				if (activeChar.getTarget() != target)
					activeChar.sendPacket(new ValidateLocation((L2Character) target)); 

Simple remoove the first validateLocation.

Edited by Afou To Patisa
Posted

Next problem places:

  1. Wrong ValidatePosition packet. Missed incoming heading value from client. Bad analys of packet into server side;
  2. Wrong ValidateLocation packet from server. Missed correct heading value. Look previous problem.

It's all places where can be missed heading of characters who around you.

 

And use L2PHX for analyses all data.

Posted

Next problem places:

  1. Wrong ValidatePosition packet. Missed incoming heading value from client. Bad analys of packet into server side;
  2. Wrong ValidateLocation packet from server. Missed correct heading value. Look previous problem.

It's all places where can be missed heading of characters who around you.

 

And use L2PHX for analyses all data.

i did fix as i mention

Guest
This topic is now closed to further replies.
×
×
  • Create New...