Пример #1
0
        public static void Send(Client client, int x, int y)
        {
            OverRide(client, x, y);
            return;

            NetworkMessage msg = new NetworkMessage();

            msg.Position = 0;
            int diag = 0;

            diag = Math.Abs(x) * Math.Abs(y);

            msg.AddByte((byte)PipePacketType.Walk);
            msg.AddByte((byte)diag);
            msg.AddInt16((short)y);
            msg.AddInt16((short)x);
            client.HookProxy.SendPipePacket(msg.Data);
        }