Source KT LEAVE FOR Free| Minecraft

CrazyTrap

Newbie
Newbie
Newbie
Newbie
Status
Offline
Joined
Jul 18, 2023
Messages
707
Reaction score
3
It's time to set a course for uncharted lands! Your magnificent journey begins today with "KT LEAVE". Download our app and meet incredible opportunities that will transform your Minecraft experience. Use our proven sources to unlock the potential of this amazing game and turn the world of blocks into your canvas for creativity!

1679553949_papik-pro-p-mainkraft-peizazh-krasivii-36.jpg


And so, let's start with the fact that all teleports and half of the bypasses of rillyworld are ground packets (mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.PosX, mc.player.posY, mc.player.posZ, true))) . So how do you do them and what the fuck is this all about ?
Let's start with the fact that the bypass itself occurs when the package is switched 3 times (it may be lucky 2 times).

For example:

JavaScript:
                mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.posX, mc.player.posY - 0.1f, mc.player.posZ, true));
                mc.player.connection.sendPacket(new CPacketPlayer.Position(x, y, z, false));
                mc.player.connection.sendPacket(new CPacketPlayer.Position(x + 0.1f, y + 1f, z - 0.1f, true));


((The same disabler happens when you get warm underground, that is, even if you are at -0.000001f underground, it will work)
As we can see , initially the package goes to the ground true , then false and true again , just this is our disabler . You can write a lot of things on it , for example , I wrote a lot of shit on rofl , but it also works on rillyworld . Oldpost teleports to the position after switching off/pressing the shift. (p.s of this whole mega code works on rv only UnderBlocks)
(No rich ready)​

Code:
public class OldPosTP extends Module {
    public static float x,y,z;
    public OldPosTP() {
        super("OldPosTP", Category.Other, -1);
        Client.getSettingsManager().addSetting(new Setting("PacketDelay", this, false));
        Client.getSettingsManager().addSetting(new Setting("Delay", this, 5, 1, 10, true));
        Client.getSettingsManager().addSetting(new Setting("TpMode", this, "DisablePos", new ArrayList<>(Arrays.asList("Packet", "DisablePos", "Matrix", "Test","UnderBlocks"))));
    }
    @Override
    public void onEnable() {
        if (mc.getCurrentServerData() != null || mc.isSingleplayer()) {
            x = (float) mc.player.posX;
            y = (float) mc.player.posY;
            z = (float) mc.player.posZ;
            if (Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("Packet") || Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("Matrix") || Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("Test") || Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("UnderBlocks")) {
                ChatUtil.printChat("Position saved , press shift for teleport");
            }
            if (Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("DisablePos")) {
                ChatUtil.printChat("Position saved , disable module for teleport");
            }
        }
        super.onEnable();
    }
    @EventTarget
    public void PreTeleport(UpdateEvent e) {
        boolean packetdelay = Client.getSettingsManager().getSettingByName("PacketDelay").getValBoolean();
        double delay = Client.getSettingsManager().getSettingByName("Delay").getValDouble();
        mc.world.spawnParticle(EnumParticleTypes.FALLING_DUST, x, y + 0.2f, z, x, y , z, 5);
          if (Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("UnderBlocks")) {
           if (mc.gameSettings.keyBindSneak.isKeyDown()) {
               e.setGround(true);
               mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.posX, mc.player.posY - 10.0f, mc.player.posZ, false));
               mc.player.connection.sendPacket(new CPacketPlayer.Position(x, y , z, true));
               e.setGround(false);
           }
        }
        if (Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("Packet") || Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("Matrix")) {
            if (packetdelay) {
                if (mc.player.ticksExisted % delay == 0) {
                    e.setGround(false);
                }
            }
            if (mc.gameSettings.keyBindSneak.isKeyDown()) {
                mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.posX, mc.player.posY , mc.player.posZ, false));
                mc.player.connection.sendPacket(new CPacketPlayer.Position(x, y, z, true));
                e.setGround(true);
            }
        }
        if (Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("Test")) {
            if (mc.gameSettings.keyBindSneak.isKeyDown()) {
                mc.player.setPosition(x,y,z);
            }
        }
    }
    @EventTarget
    public void onTeleport(PacketEvent e) {
        if (mc.player.posX == x && mc.player.posZ == z) {
            if (Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("Matrix")) {
                mc.player.connection.sendPacket(new CPacketPlayer.Position(x, y, z, true));
            }
            if (Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("Packet")) {
                mc.getConnection().sendPacket(new CPacketEntityAction(mc.player, CPacketEntityAction.Action.START_FALL_FLYING));
            }
        }
    }
    @Override
    public void onDisable() {
        if (Client.getSettingsManager().getSettingByName("TpMode").getValString().equalsIgnoreCase("DisablePos")) {
            mc.player.onGround = false;
            mc.player.connection.sendPacket(new CPacketPlayer.Position(x, y, z, true));
        }
        super.onDisable();
    }
}



And in principle , the whole rillivorld can be downloaded in a couple of lines , this guide was made for not particularly knowledgeable people
 
Top