1. If you are getting "can't connect to server" try flushing your DNS!
    Dismiss Notice

Latest NCP Fly :) (some servers only) (works on PvPFest!)

Discussion in 'Off-Topic' started by TCG_Deadshot, Feb 3, 2018.

  1. TCG_Deadshot

    TCG_Deadshot Active Member

    Joined:
    Mar 21, 2016
    Messages:
    13
    Likes Received:
    1
    Enjoy guys!
    Version 1: (noflag)
    Code:
    public boolean onUpdate(final UpdateEvent event) {
            if (super.onUpdate(event)) {
                mc.thePlayer.motionY = 0;
                mc.timer.timerSpeed = 1.0000000001F;
                mc.thePlayer.setPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.0E-9D, mc.thePlayer.posZ);
                if (mc.thePlayer.ticksExisted % 2 == 0 && mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY - 0.2D, mc.thePlayer.posZ)).getBlock() instanceof BlockAir) {
                    event.setY(event.getY() + 1.0E-9D);
                    event.setY(event.getY() + 1.0E-9D);
                }
                mc.thePlayer.setSprinting(true);
                return true;
            }
            return false;
        }
    Version 2: (some flags, sometimes fly kick)
    Code:
      public void onUpdate() {
            mc.thePlayer.motionY = 0.0;
            mc.timer.timerSpeed = 1.00000952F;
            mc.thePlayer.setPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.0E-9D, mc.thePlayer.posZ);
            if (mc.thePlayer.ticksExisted % 2 == 0 && mc.theWorld
                    .getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY - 0.2D, mc.thePlayer.posZ))
                    .getBlock() instanceof BlockAir) {
                mc.thePlayer.sendQueue.addToSendQueue(new C03PacketPlayer.C04PacketPlayerPosition(mc.thePlayer.posX,
                        mc.thePlayer.posY + 1.0E-9D, mc.thePlayer.posZ, true));
            }
            mc.thePlayer.setSprinting(true);
        }
    Version 3 (Bypasses ALL NCP servers than run b1112 and under):
    Code:
      public void onUpdate() {
            mc.thePlayer.motionY = 0.0;
            mc.timer.timerSpeed = 1.00000952F;
            mc.thePlayer.setPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.0E-9D, mc.thePlayer.posZ);
            if (mc.thePlayer.ticksExisted % 4 == 0 && mc.theWorld
                    .getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY - 0.2D, mc.thePlayer.posZ))
                    .getBlock() instanceof BlockAir) {
                mc.thePlayer.sendQueue.addToSendQueue(new C03PacketPlayer.C04PacketPlayerPosition(mc.thePlayer.posX,
                        mc.thePlayer.posY + 1.0E-29D, mc.thePlayer.posZ, true));
            }
            mc.thePlayer.setSprinting(false);
        }
    EDIT:
    This bypasses some ncp servers even big ones!
    I know a few, but will not disclose the IPs as that would be against the rules.
    EDIT 2: Version 3 contains a nice little exploit :)
     
    #1 TCG_Deadshot, Feb 3, 2018
    Last edited: Feb 12, 2018
  2. Ashy

    Ashy Dedicated Minetimer

    Joined:
    Apr 11, 2015
    Messages:
    338
    Likes Received:
    101
    Where do u put this code in?
     
  3. TCG_Deadshot

    TCG_Deadshot Active Member

    Joined:
    Mar 21, 2016
    Messages:
    13
    Likes Received:
    1
    You need some knowledge of coding, and a client base.
     
    #3 TCG_Deadshot, Feb 12, 2018
    Last edited: Feb 12, 2018

Share This Page