From 05facb8c53c5b15f85edb9b30f34e60bca8c7b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=B0=E5=93=A5=E6=95=99=E4=BD=A0=E7=99=BBdua=E9=83=8E?= <2998257409@qq.com> Date: Sat, 13 Nov 2021 12:14:25 +0800 Subject: [PATCH] Update 1.65 Add some verus bypass --- src/minecraft/kevin/main/KevinClient.kt | 2 +- .../kevin/module/modules/exploit/Disabler.kt | 44 ++----------------- .../kevin/module/modules/movement/Speed.kt | 18 +++++++- .../kevin/module/modules/player/NoFall.kt | 25 ++++++++++- 4 files changed, 46 insertions(+), 43 deletions(-) diff --git a/src/minecraft/kevin/main/KevinClient.kt b/src/minecraft/kevin/main/KevinClient.kt index bb3b77c2..25766c65 100644 --- a/src/minecraft/kevin/main/KevinClient.kt +++ b/src/minecraft/kevin/main/KevinClient.kt @@ -21,7 +21,7 @@ import org.lwjgl.opengl.Display object KevinClient { var name = "Kevin" - var version = "b1.6" + var version = "b1.65" lateinit var moduleManager: ModuleManager lateinit var fileManager: FileManager diff --git a/src/minecraft/kevin/module/modules/exploit/Disabler.kt b/src/minecraft/kevin/module/modules/exploit/Disabler.kt index ddcf5e25..6e3435c3 100644 --- a/src/minecraft/kevin/module/modules/exploit/Disabler.kt +++ b/src/minecraft/kevin/module/modules/exploit/Disabler.kt @@ -23,7 +23,7 @@ import kotlin.math.roundToInt import kotlin.math.sqrt object Disabler : Module("Disabler","Disable some anti-cheat check.",category = ModuleCategory.EXPLOIT) { - val modeValue = ListValue("Mode",arrayOf("MineplexCombat","OldHypixel","OldVerusCombat","OldVerusCombat2","OldVerusMove","Flying","Spectate","SpectateSpoof","SpectateSpoof2","VulcanGeyser","C13+InfiniteC0C","NoGroundTouch","NoGroundTouch2","MemetrixScaffold","FakeLag","RidingSpoof","Kauri","Basic"),"MinePlexCombat") + val modeValue = ListValue("Mode",arrayOf("MineplexCombat","OldHypixel","VerusCombat","VerusMove","Flying","Spectate","SpectateSpoof","SpectateSpoof2","VulcanGeyser","C13+InfiniteC0C","NoGroundTouch","NoGroundTouch2","MemetrixScaffold","FakeLag","RidingSpoof","Kauri","Basic"),"MinePlexCombat") private val debug = BooleanValue("Debug", false) private val memeAACValue = BooleanValue("MemetrixWithAAC5", false) private val fakeLagPosValue = BooleanValue("FakeLagPosition", true) @@ -79,21 +79,7 @@ object Disabler : Module("Disabler","Disable some anti-cheat check.",category = @EventTarget fun onUpdate(event: UpdateEvent){ when(modeValue.get().lowercase()){ - "oldveruscombat2" -> { - mc.timer.timerSpeed = 0.6F - if (mc.thePlayer.ticksExisted % 50 == 0 && (packetBuffer.size - 1) > currentTrans) { - verus2Stat = true - PacketUtils.sendPacketNoEvent(packetBuffer[++currentTrans]) - debugMessage("Send Trans") - } - if (mc.thePlayer.ticksExisted % 500 == 0) { - packetBuffer.clear() - debugMessage("Clear Trans") - currentTrans = 0 - } - } - - "oldverusmove" -> { + "verusmove" -> { // Partially drain the queue every 180 ticks (9 seconds), to prevent flagging Ping Spoof. if (mc.thePlayer.ticksExisted % 180 == 0) { // grab packets untill the queue size is 22 or less. @@ -160,7 +146,7 @@ object Disabler : Module("Disabler","Disable some anti-cheat check.",category = } } - "oldveruscombat" -> { + "veruscombat" -> { if (packet is C0FPacketConfirmTransaction) { if(currentTrans > 0) event.cancelEvent() currentTrans++ @@ -171,29 +157,7 @@ object Disabler : Module("Disabler","Disable some anti-cheat check.",category = } } - "oldveruscombat2" -> { - if (packet is C0FPacketConfirmTransaction) { - if (!verus2Stat) { - packetBuffer.add(packet) - debugMessage("Add Packet") - event.cancelEvent() - } else { - verus2Stat = false - } - }else if (packet is C00PacketKeepAlive) { - PacketUtils.sendPacketNoEvent(C00PacketKeepAlive(RandomUtils.nextInt(1, 2147483647))) - debugMessage("Keep Alive") - event.cancelEvent() - }else if (packet is C03PacketPlayer) { - PacketUtils.sendPacketNoEvent(C0CPacketInput()) - if (mc.thePlayer.ticksExisted % 15 == 0) { - packet.y += RandomUtils.nextInt(100, 1000) - debugMessage("Packet C03") - } - } - } - - "oldverusmove" -> { + "verusmove" -> { if (mc.thePlayer != null && mc.thePlayer.ticksExisted == 0) packetBuffer.clear() if (packet is C03PacketPlayer) { // Set position to a valid block height (so Spoof NoFall works) diff --git a/src/minecraft/kevin/module/modules/movement/Speed.kt b/src/minecraft/kevin/module/modules/movement/Speed.kt index 6eb7ada3..27f9a9b9 100644 --- a/src/minecraft/kevin/module/modules/movement/Speed.kt +++ b/src/minecraft/kevin/module/modules/movement/Speed.kt @@ -9,7 +9,7 @@ import kotlin.math.cos import kotlin.math.sin class Speed : Module("Speed","Allows you to move faster.", category = ModuleCategory.MOVEMENT) { - private val mode = ListValue("Mode", arrayOf("AAC5Long","AAC5Fast","YPort","AutoJump"),"AAC5Long") + private val mode = ListValue("Mode", arrayOf("AAC5Long","AAC5Fast","YPort","AutoJump","VerusYPort"),"AAC5Long") private val keepSprint = BooleanValue("KeepSprint",false) private val antiKnockback = BooleanValue("AntiKnockBack",false) private val antiKnockbackLong = FloatValue("AntiKnockBackLong",0F,0.00F,1.00F) @@ -26,6 +26,22 @@ class Speed : Module("Speed","Allows you to move faster.", category = ModuleCate jumps = 0 } + @EventTarget + fun onMove(event: MoveEvent){ + if (mode equal "VerusYPort"&&!mc.thePlayer.isInWeb && !mc.thePlayer.isInLava && !mc.thePlayer.isInWater && !mc.thePlayer.isOnLadder && mc.thePlayer.ridingEntity == null) { + if (MovementUtils.isMoving) { + mc.gameSettings.keyBindJump.pressed = false + if (mc.thePlayer.onGround) { + mc.thePlayer.jump() + mc.thePlayer.motionY = 0.0 + MovementUtils.strafe(0.61F) + event.y = 0.41999998688698 + } + MovementUtils.strafe() + } + } + } + @EventTarget fun onUpdate(event: UpdateEvent){ diff --git a/src/minecraft/kevin/module/modules/player/NoFall.kt b/src/minecraft/kevin/module/modules/player/NoFall.kt index 7efa0e37..a3ea244a 100644 --- a/src/minecraft/kevin/module/modules/player/NoFall.kt +++ b/src/minecraft/kevin/module/modules/player/NoFall.kt @@ -9,6 +9,8 @@ import kevin.utils.BlockUtils.collideBlock import kevin.utils.TickTimer import net.minecraft.block.BlockLiquid import net.minecraft.client.Minecraft +import net.minecraft.client.settings.GameSettings +import net.minecraft.init.Blocks import net.minecraft.network.Packet import net.minecraft.network.play.INetHandlerPlayServer import net.minecraft.network.play.client.C03PacketPlayer @@ -16,11 +18,32 @@ import net.minecraft.util.* class NoFall : Module("NoFall","Prevents you from taking fall damage.", category = ModuleCategory.PLAYER) { @JvmField - val modeValue = ListValue("Mode", arrayOf("SpoofGround", "NoGround", "Packet", "AAC", "LAAC", "AAC3.3.11", "AAC3.3.15", "Spartan", "CubeCraft", "Hypixel", "C03->C04"), "SpoofGround") + val modeValue = ListValue("Mode", arrayOf("SpoofGround", "NoGround", "Packet", "AAC", "LAAC", "AAC3.3.11", "AAC3.3.15", "Spartan", "CubeCraft", "Hypixel", "C03->C04", "Verus"), "SpoofGround") private val spartanTimer = TickTimer() private var currentState = 0 private var jumped = false + @EventTarget fun onBB(event: BlockBBEvent){ + if (modeValue equal "Verus") { + if (mc.thePlayer.fallDistance>2.6&& + !KevinClient.moduleManager.getModule("FreeCam")!!.getToggle()&& + !KevinClient.moduleManager.getModule("Fly")!!.getToggle()&& + !(collideBlock(mc.thePlayer!!.entityBoundingBox, fun(block: Any?) = block is BlockLiquid) || collideBlock(AxisAlignedBB(mc.thePlayer!!.entityBoundingBox.maxX, mc.thePlayer!!.entityBoundingBox.maxY, mc.thePlayer!!.entityBoundingBox.maxZ, mc.thePlayer!!.entityBoundingBox.minX, mc.thePlayer!!.entityBoundingBox.minY - 0.01, mc.thePlayer!!.entityBoundingBox.minZ), fun(block: Any?) = block is BlockLiquid))){ + if (event.block== Blocks.air&& + event.y < mc.thePlayer!!.posY&& + mc.thePlayer.getDistance(event.x.toDouble(),event.y.toDouble(),event.z.toDouble()) < 1.5) event.boundingBox = + AxisAlignedBB( + event.x.toDouble(), + event.y.toDouble(), + event.z.toDouble(), + event.x + 1.0, + (mc.thePlayer.posY/0.125).toInt()*0.125, + event.z + 1.0 + ) + } + } + } + @EventTarget(ignoreCondition = true) fun onUpdate(event: UpdateEvent?) {