Skip to content

Commit 2e3a52b

Browse files
committed
fix: (rotation) default legacy Strafe correction ON so the legacy engine is anticheat-safe
Legacy silent rotations with Strafe off move the player along the camera yaw while the server receives the sent yaw, which GrimAC's Simulation flags while walking/bridging. The modern engine already defaults MovementCorrection to Silent; align legacy by defaulting Strafe to true (non-strict, camera-natural feel, same applyStrafeToPlayer). Only affects modules with an active silent rotation; toggle off for raw silent on lax anticheats.
1 parent 6fa0e93 commit 2e3a52b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/main/java/net/ccbluex/liquidbounce/utils/rotation/RotationSettings.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ open class RotationSettings(val moduleOwner: Module, generalApply: () -> Boolean
3737
open val maxThresholdAttemptsToStopValue = int("MaxThresholdAttemptsToStop", 1, 0..5) { simulateShortStop }
3838
// Shared by the legacy SimulateShortStop build-up and the modern ShortStop processor.
3939
open val shortStopDurationValue = intRange("ShortStopDuration", 1..2, 1..5) { simulateShortStop || modernShortStop }
40-
open val strafeValue = boolean("Strafe", false) {
40+
// Default ON so the legacy engine is anticheat-safe out of the box like the modern engine
41+
// (whose MovementCorrection defaults to Silent): a silent legacy rotation without this correction
42+
// moves the player along the camera yaw while the server sees the sent yaw, which GrimAC's
43+
// Simulation flags. Non-strict keeps camera-natural movement; disable for raw silent on lax servers.
44+
open val strafeValue = boolean("Strafe", true) {
4145
rotationsActive && applyServerSide && !useModernRotations && generalApply()
4246
}
4347
open val strictValue = boolean("Strict", false) { strafeValue.isActive() && generalApply() }

0 commit comments

Comments
 (0)