Latest release

This commit is contained in:
jackh 2025-05-10 07:57:46 -07:00
parent 375696a34e
commit f373ffb27c
25 changed files with 53 additions and 23 deletions

Binary file not shown.

Binary file not shown.

View File

@ -5,6 +5,7 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="371fdaac-49d2-42c5-a655-54882c949de7" name="Changes" comment="Latest release"> <list default="true" id="371fdaac-49d2-42c5-a655-54882c949de7" name="Changes" comment="Latest release">
<change beforePath="$PROJECT_DIR$/.gradle/8.8/checksums/checksums.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.8/checksums/checksums.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.8/executionHistory/executionHistory.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.8/executionHistory/executionHistory.bin" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/8.8/executionHistory/executionHistory.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.8/executionHistory/executionHistory.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.8/executionHistory/executionHistory.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.8/executionHistory/executionHistory.lock" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/8.8/executionHistory/executionHistory.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.8/executionHistory/executionHistory.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.8/fileHashes/fileHashes.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.8/fileHashes/fileHashes.bin" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/8.8/fileHashes/fileHashes.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.8/fileHashes/fileHashes.bin" afterDir="false" />
@ -13,13 +14,22 @@
<change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/file-system.probe" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/file-system.probe" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/file-system.probe" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/file-system.probe" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/player/AntiAFK.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/player/AntiAFK.class" afterDir="false" /> <change beforePath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/mixin/impl/entity/MixinEntityPlayerSP.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/mixin/impl/entity/MixinEntityPlayerSP.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/combat/KillAura$KillAuraTarget.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/combat/KillAura$KillAuraTarget.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/combat/KillAura.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/combat/KillAura.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/movement/NoSlow.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/movement/NoSlow.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/player/Scaffold.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/player/Scaffold.class" afterDir="false" /> <change beforePath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/player/Scaffold.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/module/impl/player/Scaffold.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/utility/ModuleUtils.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/utility/ModuleUtils.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/utility/Utils.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/keystrokesmod/utility/Utils.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/intermediates/raven-bS-13-non-obfuscated-with-deps.jar" beforeDir="false" afterPath="$PROJECT_DIR$/build/intermediates/raven-bS-13-non-obfuscated-with-deps.jar" afterDir="false" /> <change beforePath="$PROJECT_DIR$/build/intermediates/raven-bS-13-non-obfuscated-with-deps.jar" beforeDir="false" afterPath="$PROJECT_DIR$/build/intermediates/raven-bS-13-non-obfuscated-with-deps.jar" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/intermediates/raven-bS-13-without-deps.jar" beforeDir="false" afterPath="$PROJECT_DIR$/build/intermediates/raven-bS-13-without-deps.jar" afterDir="false" /> <change beforePath="$PROJECT_DIR$/build/intermediates/raven-bS-13-without-deps.jar" beforeDir="false" afterPath="$PROJECT_DIR$/build/intermediates/raven-bS-13-without-deps.jar" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/tmp/compileJava/previous-compilation-data.bin" beforeDir="false" afterPath="$PROJECT_DIR$/build/tmp/compileJava/previous-compilation-data.bin" afterDir="false" /> <change beforePath="$PROJECT_DIR$/build/tmp/compileJava/previous-compilation-data.bin" beforeDir="false" afterPath="$PROJECT_DIR$/build/tmp/compileJava/previous-compilation-data.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/player/AntiAFK.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/player/AntiAFK.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/main/java/keystrokesmod/mixin/impl/entity/MixinEntityPlayerSP.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/keystrokesmod/mixin/impl/entity/MixinEntityPlayerSP.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/combat/KillAura.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/combat/KillAura.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/movement/NoSlow.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/movement/NoSlow.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/player/Scaffold.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/player/Scaffold.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/player/Scaffold.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/keystrokesmod/module/impl/player/Scaffold.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/keystrokesmod/utility/ModuleUtils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/keystrokesmod/utility/ModuleUtils.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/keystrokesmod/utility/Utils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/keystrokesmod/utility/Utils.java" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -178,14 +188,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1736536952705</updated> <updated>1736536952705</updated>
</task> </task>
<task id="LOCAL-00018" summary="t">
<option name="closed" value="true" />
<created>1737438653021</created>
<option name="number" value="00018" />
<option name="presentableId" value="LOCAL-00018" />
<option name="project" value="LOCAL" />
<updated>1737438653021</updated>
</task>
<task id="LOCAL-00019" summary="t"> <task id="LOCAL-00019" summary="t">
<option name="closed" value="true" /> <option name="closed" value="true" />
<created>1737438704533</created> <created>1737438704533</created>
@ -570,7 +572,15 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1746653037329</updated> <updated>1746653037329</updated>
</task> </task>
<option name="localTasksCounter" value="67" /> <task id="LOCAL-00067" summary="Latest release">
<option name="closed" value="true" />
<created>1746686123729</created>
<option name="number" value="00067" />
<option name="presentableId" value="LOCAL-00067" />
<option name="project" value="LOCAL" />
<updated>1746686123729</updated>
</task>
<option name="localTasksCounter" value="68" />
<servers /> <servers />
</component> </component>
<component name="Vcs.Log.Tabs.Properties"> <component name="Vcs.Log.Tabs.Properties">

View File

@ -285,7 +285,7 @@ public abstract class MixinEntityPlayerSP extends AbstractClientPlayer {
this.setSprinting(true); this.setSprinting(true);
} }
if (this.isSprinting() && (!ModuleManager.sprint.omniSprint() && !ModuleManager.scaffold.sprint() && (this.movementInput.moveForward < f || !flag3)) || this.isCollidedHorizontally || ModuleManager.sprint.disableBackwards() || ModuleUtils.setSlow || (this.movementInput.moveForward == 0 && this.movementInput.moveStrafe == 0) || this.mc.gameSettings.keyBindSneak.isKeyDown() || (ModuleManager.scaffold != null && ModuleManager.scaffold.isEnabled && !ModuleManager.scaffold.sprint()) || (ModuleManager.wTap.isEnabled() && WTap.stopSprint) || ModuleManager.sprint.isEnabled() && ModuleManager.sprint.omniDirectional.getInput() > 0 && !ModuleManager.sprint.omniSprint()) { if (this.isSprinting() && (!ModuleManager.sprint.omniSprint() && !ModuleManager.scaffold.sprint() && (this.movementInput.moveForward < f || !flag3)) || this.isCollidedHorizontally || ModuleManager.sprint.disableBackwards() || ModuleUtils.setSlow || ModuleManager.noSlow != null && NoSlow.disableSprintInAir.isToggled() && ModuleManager.noSlow.fn && !mc.thePlayer.onGround || (this.movementInput.moveForward == 0 && this.movementInput.moveStrafe == 0) || this.mc.gameSettings.keyBindSneak.isKeyDown() || (ModuleManager.scaffold != null && ModuleManager.scaffold.isEnabled && !ModuleManager.scaffold.sprint()) || (ModuleManager.wTap.isEnabled() && WTap.stopSprint) || ModuleManager.sprint.isEnabled() && ModuleManager.sprint.omniDirectional.getInput() > 0 && !ModuleManager.sprint.omniSprint()) {
this.setSprinting(false); this.setSprinting(false);
WTap.stopSprint = false; WTap.stopSprint = false;
} }

View File

@ -117,6 +117,8 @@ public class KillAura extends Module {
public static boolean blinkOn, blinkChecked; public static boolean blinkOn, blinkChecked;
public boolean targeting, rotating; public boolean targeting, rotating;
private int cycle; private int cycle;
public int sAttacked;
private int lastSet;
public ConcurrentLinkedQueue<Packet<?>> delayedKnockBackPackets = new ConcurrentLinkedQueue<>(); public ConcurrentLinkedQueue<Packet<?>> delayedKnockBackPackets = new ConcurrentLinkedQueue<>();
@ -167,6 +169,7 @@ public class KillAura extends Module {
public void onDisable() { public void onDisable() {
handleBlocking(false); handleBlocking(false);
hitMap.clear(); hitMap.clear();
lastSet = 0;
if (blinkAutoBlock()) { // interact autoblock if (blinkAutoBlock()) { // interact autoblock
resetBlinkState(true); resetBlinkState(true);
} }
@ -180,6 +183,7 @@ public class KillAura extends Module {
swapped = false; swapped = false;
partialTicks = 0; partialTicks = 0;
delayTicks = 0; delayTicks = 0;
sAttacked = 0;
} }
@SubscribeEvent(priority = EventPriority.LOWEST) @SubscribeEvent(priority = EventPriority.LOWEST)
@ -536,6 +540,7 @@ public class KillAura extends Module {
public void onWorldJoin(EntityJoinWorldEvent e) { public void onWorldJoin(EntityJoinWorldEvent e) {
if (e.entity == mc.thePlayer) { if (e.entity == mc.thePlayer) {
hitMap.clear(); hitMap.clear();
lastSet = 0;
hostileMobs.clear(); hostileMobs.clear();
golems.clear(); golems.clear();
} }
@ -561,9 +566,11 @@ public class KillAura extends Module {
} }
target = null; target = null;
attackingEntity = null; attackingEntity = null;
sAttacked = 0;
} }
else { else {
target = (EntityLivingBase) entity; target = (EntityLivingBase) entity;
sAttacked++;
} }
} }
@ -663,8 +670,13 @@ public class KillAura extends Module {
} }
if (!attackTargets.isEmpty()) { if (!attackTargets.isEmpty()) {
if (sAttacked == 0) {
++lastSet;
}
// Switch aura // Switch aura
int ticksExisted = mc.thePlayer.ticksExisted; int ticksExisted = lastSet;
int switchDelayTicks = (int) (switchDelay.getInput() / 50); int switchDelayTicks = (int) (switchDelay.getInput() / 50);
long noHitTicks = (long) Math.min(attackTargets.size(), targets.getInput()) * switchDelayTicks; long noHitTicks = (long) Math.min(attackTargets.size(), targets.getInput()) * switchDelayTicks;
for (KillAuraTarget auraTarget : attackTargets) { for (KillAuraTarget auraTarget : attackTargets) {
@ -681,7 +693,7 @@ public class KillAura extends Module {
for (KillAuraTarget auraTarget : attackTargets) { for (KillAuraTarget auraTarget : attackTargets) {
Integer firstHit = hitMap.get(auraTarget.entityId); Integer firstHit = hitMap.get(auraTarget.entityId);
if (firstHit == null || ticksExisted >= firstHit + noHitTicks) { if (firstHit == null || ticksExisted >= firstHit + noHitTicks) {
hitMap.put(auraTarget.entityId, ticksExisted); hitMap.put(auraTarget.entityId, lastSet);
setTarget(mc.theWorld.getEntityByID(auraTarget.entityId)); setTarget(mc.theWorld.getEntityByID(auraTarget.entityId));
return; return;
} }
@ -715,6 +727,7 @@ public class KillAura extends Module {
} }
if (!mc.thePlayer.isBlocking() || !disableWhileBlocking.isToggled()) { if (!mc.thePlayer.isBlocking() || !disableWhileBlocking.isToggled()) {
mc.playerController.attackEntity(mc.thePlayer, target); mc.playerController.attackEntity(mc.thePlayer, target);
sAttacked = 0;
} }
} }
} }

View File

@ -37,6 +37,7 @@ public class NoSlow extends Module {
public static ButtonSetting disableBow; public static ButtonSetting disableBow;
public static ButtonSetting disablePotions; public static ButtonSetting disablePotions;
public static ButtonSetting swordOnly; public static ButtonSetting swordOnly;
public static ButtonSetting disableSprintInAir;
private ButtonSetting renderTimer; private ButtonSetting renderTimer;
private String[] swordMode = new String[] { "Vanilla", "Item mode", "Fake" }; private String[] swordMode = new String[] { "Vanilla", "Item mode", "Fake" };
@ -58,6 +59,7 @@ public class NoSlow extends Module {
private static boolean fix; private static boolean fix;
private boolean didC; private boolean didC;
private boolean jumped, setCancelled; private boolean jumped, setCancelled;
public boolean fn;
public NoSlow() { public NoSlow() {
super("NoSlow", category.movement, 0); super("NoSlow", category.movement, 0);
@ -71,6 +73,7 @@ public class NoSlow extends Module {
this.registerSetting(disableBow = new ButtonSetting("Disable bow", false)); this.registerSetting(disableBow = new ButtonSetting("Disable bow", false));
this.registerSetting(disablePotions = new ButtonSetting("Disable potions", false)); this.registerSetting(disablePotions = new ButtonSetting("Disable potions", false));
this.registerSetting(swordOnly = new ButtonSetting("Sword only", false)); this.registerSetting(swordOnly = new ButtonSetting("Sword only", false));
this.registerSetting(disableSprintInAir = new ButtonSetting("Disable sprint in air", false));
} }
public void guiUpdate() { public void guiUpdate() {
@ -88,6 +91,7 @@ public class NoSlow extends Module {
bl = false; bl = false;
} }
release(); release();
fn = false;
} }
public void onUpdate() { public void onUpdate() {
@ -163,6 +167,7 @@ public class NoSlow extends Module {
@SubscribeEvent @SubscribeEvent
public void onPreMotion(PreMotionEvent e) { public void onPreMotion(PreMotionEvent e) {
fn = false;
if (sword.getInput() == 2 && !ModuleManager.killAura.blockingClient) { if (sword.getInput() == 2 && !ModuleManager.killAura.blockingClient) {
if (Utils.holdingSword() && Utils.tabbedIn() && Mouse.isButtonDown(1)) { if (Utils.holdingSword() && Utils.tabbedIn() && Mouse.isButtonDown(1)) {
ReflectionUtils.setItemInUse(true); ReflectionUtils.setItemInUse(true);
@ -195,6 +200,7 @@ public class NoSlow extends Module {
canFloat = true; canFloat = true;
} }
else if (canFloat && canFloat() && !requireJump && (!jumped || ++offsetDelay > 1)) { else if (canFloat && canFloat() && !requireJump && (!jumped || ++offsetDelay > 1)) {
fn = true;
if (!mc.thePlayer.onGround) { if (!mc.thePlayer.onGround) {
if (mc.thePlayer.motionY < -0.0784000015258789 && !(mc.thePlayer.posY % 1 == 0)) { if (mc.thePlayer.motionY < -0.0784000015258789 && !(mc.thePlayer.posY % 1 == 0)) {
e.setPosY(e.getPosY() + 1e-3); e.setPosY(e.getPosY() + 1e-3);

View File

@ -419,37 +419,37 @@ public class Scaffold extends Module {
float sec = 77.5F; float sec = 77.5F;
if (quad <= 5 || quad >= 85) { if (quad <= 5 || quad >= 85) {
yawAngle = 124.425F; yawAngle = 123.425F;
minOffset = 11; minOffset = 11;
minPitch = first; minPitch = first;
} }
if (quad > 5 && quad <= 15 || quad >= 75 && quad < 85) { if (quad > 5 && quad <= 15 || quad >= 75 && quad < 85) {
yawAngle = 126.825F; yawAngle = 125.825F;
minOffset = 9; minOffset = 9;
minPitch = first; minPitch = first;
} }
if (quad > 15 && quad <= 25 || quad >= 65 && quad < 75) { if (quad > 15 && quad <= 25 || quad >= 65 && quad < 75) {
yawAngle = 129.625F; yawAngle = 128.625F;
minOffset = 8; minOffset = 8;
minPitch = first; minPitch = first;
} }
if (quad > 25 && quad <= 32 || quad >= 58 && quad < 65) { if (quad > 25 && quad <= 32 || quad >= 58 && quad < 65) {
yawAngle = 132.625F; yawAngle = 131.625F;
minOffset = 7; minOffset = 7;
minPitch = sec; minPitch = sec;
} }
if (quad > 32 && quad <= 38 || quad >= 52 && quad < 58) { if (quad > 32 && quad <= 38 || quad >= 52 && quad < 58) {
yawAngle = 134.825F; yawAngle = 133.825F;
minOffset = 6; minOffset = 6;
minPitch = sec; minPitch = sec;
} }
if (quad > 38 && quad <= 42 || quad >= 48 && quad < 52) { if (quad > 38 && quad <= 42 || quad >= 48 && quad < 52) {
yawAngle = 136.825F; yawAngle = 135.825F;
minOffset = 4; minOffset = 4;
minPitch = sec; minPitch = sec;
} }
if (quad > 42 && quad <= 45 || quad >= 45 && quad < 48) { if (quad > 42 && quad <= 45 || quad >= 45 && quad < 48) {
yawAngle = 139.125F; yawAngle = 138.125F;
minOffset = 3; minOffset = 3;
minPitch = sec; minPitch = sec;
} }
@ -1239,7 +1239,7 @@ public class Scaffold extends Module {
} }
private void handleMotion() { private void handleMotion() {
if (handleFastScaffolds() > 0 || ModuleManager.tower.canTower() || motion.getInput() == 100) { if (usingFastScaffold() || usingFloat() || ModuleManager.tower.canTower() || motion.getInput() == 100 || !mc.thePlayer.onGround) {
return; return;
} }
double input = (motion.getInput() / 100); double input = (motion.getInput() / 100);

View File

@ -1,6 +1,7 @@
package keystrokesmod.utility; package keystrokesmod.utility;
import keystrokesmod.event.*; import keystrokesmod.event.*;
import keystrokesmod.module.Module;
import keystrokesmod.module.impl.combat.Velocity; import keystrokesmod.module.impl.combat.Velocity;
import keystrokesmod.module.impl.movement.Bhop; import keystrokesmod.module.impl.movement.Bhop;
import keystrokesmod.module.impl.movement.LongJump; import keystrokesmod.module.impl.movement.LongJump;

View File

@ -1204,7 +1204,7 @@ public class Utils {
} }
public static boolean isMining() { public static boolean isMining() {
return Mouse.isButtonDown(0) && mc.objectMouseOver != null && mc.objectMouseOver.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK && mc.objectMouseOver.getBlockPos() != null; return tabbedIn() && Mouse.isButtonDown(0) && mc.objectMouseOver != null && mc.objectMouseOver.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK && mc.objectMouseOver.getBlockPos() != null;
} }
public static float ae(float n, float n2, float n3) { public static float ae(float n, float n2, float n3) {