Ok im useing 5017 source and i dont know what i did but when players jump it looks like they are laging but they arnt:D any what can make that happen here is my Case 133:
HTML Code:
case 133:
{
if (MyChar.Mining)
MyChar.Mining = false;
SendPacket(Data);
short PrevX = (short)((Data[0x11] << 8) + Data[0x10]);
short PrevY = (short)((Data[0x13] << 8) + Data[0x12]);
short NewX = (short)((Data[0xd] << 8) + Data[0xc]);
short NewY = (short)((Data[0xf] << 8) + Data[0xe]);
MyChar.Attacking = false;
MyChar.TargetUID = 0;
MyChar.MobTarget = null;
MyChar.TGTarget = null;
MyChar.PTarget = null;
MyChar.SkillLooping = 0;
MyChar.AtkType = 0;
MyChar.PrevX = MyChar.LocX;
MyChar.PrevY = MyChar.LocY;
MyChar.LocX = (ushort)NewX;
MyChar.LocY = (ushort)NewY;
MyChar.Action = 100;
World.SpawnMeToOthers(MyChar, true);
World.SpawnOthersToMe(MyChar, true);
World.PlayerMoves(MyChar, Data);
World.SurroundNPCs(MyChar, true);
World.SurroundMobs(MyChar, true);
World.SurroundDroppedItems(MyChar, true);
break;
}