Начинающий
Начинающий
- Статус
- Оффлайн
- Регистрация
- 30 Мар 2026
- Сообщения
- 18
- Реакции
- 1
всем привет,у меня есть ротация
case "SpookyTime" -> {
if (target == null) break;
Vector3d vecST = target.getPositionVec()
.add(0, MathHelper.clamp(mc.player.getPosYEye() - target.getPosY(), 0, target.getHeight() - 1.0F * (mc.player.getDistanceEyePos(target) / attackDistance())), 0)
.subtract(mc.player.getEyePosition(1.0F));
float yawToTargetST = (float) MathHelper.wrapDegrees(Math.toDegrees(Math.atan2(vecST.z, vecST.x)) - 90.0F);
float pitchToTargetST = (float) (-Math.toDegrees(Math.atan2(vecST.y, Math.hypot(vecST.x, vecST.z))));
float yawDeltaST = MathHelper.wrapDegrees(yawToTargetST - rotateVector.x);
float pitchDeltaST = MathHelper.wrapDegrees(pitchToTargetST - rotateVector.y);
float clampedYawST = Math.min(Math.max(Math.abs(yawDeltaST), 0.5F), 70.8F);
float clampedPitchST = Math.min(Math.max(Math.abs(pitchDeltaST), 0.0F), 12.3F);
float targetYawST = rotateVector.x + (yawDeltaST > 1.0F ? clampedYawST : -clampedYawST);
float targetPitchST = rotateVector.y + (pitchDeltaST > 0.5F ? clampedPitchST : -clampedPitchST);
float lerpFactorST = 0.687F;
float yawST = rotateVector.x + (targetYawST - rotateVector.x) * lerpFactorST;
float pitchST = rotateVector.y + (targetPitchST - rotateVector.y) * lerpFactorST;
long timeST = System.currentTimeMillis();
float oscillationAmplitudeYawST = 7.8F;
float oscillationFrequencyYawST = 2.7F;
float yawOscillationST = (float) Math.sin((timeST % 10000L) / 720.0F * 2.0F * Math.PI * oscillationFrequencyYawST) * oscillationAmplitudeYawST;
yawST += yawOscillationST;
float oscillationAmplitudePitchST = 2.6F;
float oscillationFrequencyPitchST = 2.9F;
float pitchOscillationST = (float) Math.sin((timeST % 10000L) / 720.0F * 2.0F * Math.PI * oscillationFrequencyPitchST) * oscillationAmplitudePitchST;
pitchST += pitchOscillationST;
pitchST = MathHelper.clamp(pitchST, -89.0F, 90.0F);
float gcdST = SensUtils.getGCDValue();
yawST -= (yawST - rotateVector.x) % gcdST;
pitchST -= (pitchST - rotateVector.y) % gcdST;
rotateVector = new Vector2f(yawST, pitchST);
this.lastYaw = rotateVector.x;
this.lastPitch = rotateVector.y;
if ((Boolean) options.getValueByName("Коррекция движения").get()) {
mc.player.rotationYawOffset = rotateVector.x;
}
} прикол в том я иду на дуели,1 дуель не банит,захожу во 2 дуель даю пару критов и меня банит ач,в чем причина?У меня еще некоторые акки в бане и я играю на 1 айпи,может в этом причина?Или сама ротация говнище
case "SpookyTime" -> {
if (target == null) break;
Vector3d vecST = target.getPositionVec()
.add(0, MathHelper.clamp(mc.player.getPosYEye() - target.getPosY(), 0, target.getHeight() - 1.0F * (mc.player.getDistanceEyePos(target) / attackDistance())), 0)
.subtract(mc.player.getEyePosition(1.0F));
float yawToTargetST = (float) MathHelper.wrapDegrees(Math.toDegrees(Math.atan2(vecST.z, vecST.x)) - 90.0F);
float pitchToTargetST = (float) (-Math.toDegrees(Math.atan2(vecST.y, Math.hypot(vecST.x, vecST.z))));
float yawDeltaST = MathHelper.wrapDegrees(yawToTargetST - rotateVector.x);
float pitchDeltaST = MathHelper.wrapDegrees(pitchToTargetST - rotateVector.y);
float clampedYawST = Math.min(Math.max(Math.abs(yawDeltaST), 0.5F), 70.8F);
float clampedPitchST = Math.min(Math.max(Math.abs(pitchDeltaST), 0.0F), 12.3F);
float targetYawST = rotateVector.x + (yawDeltaST > 1.0F ? clampedYawST : -clampedYawST);
float targetPitchST = rotateVector.y + (pitchDeltaST > 0.5F ? clampedPitchST : -clampedPitchST);
float lerpFactorST = 0.687F;
float yawST = rotateVector.x + (targetYawST - rotateVector.x) * lerpFactorST;
float pitchST = rotateVector.y + (targetPitchST - rotateVector.y) * lerpFactorST;
long timeST = System.currentTimeMillis();
float oscillationAmplitudeYawST = 7.8F;
float oscillationFrequencyYawST = 2.7F;
float yawOscillationST = (float) Math.sin((timeST % 10000L) / 720.0F * 2.0F * Math.PI * oscillationFrequencyYawST) * oscillationAmplitudeYawST;
yawST += yawOscillationST;
float oscillationAmplitudePitchST = 2.6F;
float oscillationFrequencyPitchST = 2.9F;
float pitchOscillationST = (float) Math.sin((timeST % 10000L) / 720.0F * 2.0F * Math.PI * oscillationFrequencyPitchST) * oscillationAmplitudePitchST;
pitchST += pitchOscillationST;
pitchST = MathHelper.clamp(pitchST, -89.0F, 90.0F);
float gcdST = SensUtils.getGCDValue();
yawST -= (yawST - rotateVector.x) % gcdST;
pitchST -= (pitchST - rotateVector.y) % gcdST;
rotateVector = new Vector2f(yawST, pitchST);
this.lastYaw = rotateVector.x;
this.lastPitch = rotateVector.y;
if ((Boolean) options.getValueByName("Коррекция движения").get()) {
mc.player.rotationYawOffset = rotateVector.x;
}
} прикол в том я иду на дуели,1 дуель не банит,захожу во 2 дуель даю пару критов и меня банит ач,в чем причина?У меня еще некоторые акки в бане и я играю на 1 айпи,может в этом причина?Или сама ротация говнище