Open ghost opened 5 years ago
Hello Ghost! The hastebin link does not work atm. Could you please reupload your code to another website? Thanks in Advance
link seems to work for me currently, but yeah, hastebin had some random errors the last couple years
if ((!this.I) && (str1.equalsIgnoreCase("NCP"))) {
if (Z())
{
mc.thePlayer.rotationYaw = this.Z;
mc.thePlayer.rotationPitch = this.B;
}
else
{
this.Z = mc.thePlayer.rotationYaw;
this.B = mc.thePlayer.rotationPitch;
}
}
Object localObject1;
if ((paramEvent instanceof EventPushBlock))
{
localObject1 = (EventPushBlock)paramEvent;
if (((EventPushBlock)localObject1).Code()) {
paramEvent.setCancelled(true);
}
}
double d4;
double d6;
double d8;
if ((paramEvent instanceof EventPacket))
{
localObject1 = (EventPacket)paramEvent;
im localim = ((EventPacket)localObject1).getPacket();
Object localObject2;
if ((localim instanceof C03PacketPlayer))
{
localObject2 = (C03PacketPlayer)localim;
d4 = ((C03PacketPlayer)localObject2).V();
d6 = ((C03PacketPlayer)localObject2).Code();
d8 = ((C03PacketPlayer)localObject2).I();
String str2 = ((C03PacketPlayer)localObject2).C() ? "�a" : "�c";
if (d4 == 0.0D) {}
}
if ((localim instanceof S08PacketPlayerPosLook))
{
localObject2 = (S08PacketPlayerPosLook)((EventPacket)localObject1).getPacket();
((S08PacketPlayerPosLook)localObject2).yaw = mc.thePlayer.rotationYaw;
((S08PacketPlayerPosLook)localObject2).pitch = mc.thePlayer.rotationPitch;
this.I = true;
if (!this.I) {
this.V = 0.0D;
}
}
if (((EventPacket)localObject1).isOutgoing())
{
if (Z()) {
return;
}
double d3 = 0.2D;
double d5 = Math.cos(Math.toRadians(mc.thePlayer.rotationYaw + 90.0F));
double d7 = Math.sin(Math.toRadians(mc.thePlayer.rotationYaw + 90.0F));
double d9 = mc.thePlayer.movementInput.moveForward * 0.2D * d5 + mc.thePlayer.movementInput.moveStrafe * 0.2D * d7;
double d11 = mc.thePlayer.movementInput.moveForward * 0.2D * d7 - mc.thePlayer.movementInput.moveStrafe * 0.2D * d5;
if ((mc.thePlayer.J) && ((((EventPacket)localObject1).getPacket() instanceof C03PacketPlayer)))
{
this.F += 1;
C03PacketPlayer localC03PacketPlayer = (C03PacketPlayer)((EventPacket)localObject1).getPacket();
if (this.F >= 5)
{
localC03PacketPlayer.Code += d9;
localC03PacketPlayer.I += d11;
localC03PacketPlayer.V -= 1.0D;
this.F = 0;
}
}
}
}
if ((paramEvent instanceof aS))
{
localObject1 = (aS)paramEvent;
if ((!S) && (mc.thePlayer == null)) {
throw new AssertionError();
}
Short description of the issue.
Complete output of the ncp version command (please prefer text here). 3.16.0-RC-sMD5NET-b1134 How to reproduce the issue (is it random / always happens / side conditions)? a phase bypass that always works Have you made any (noteworthy) changes to the default configuration of NCP? no
Do you run any other special plugins that affect game mechanics next to NC+ (adding skills, machines, adding/changing blocks, other anti cheating)? no heres the code to the fullblock phase bypass https://hastebin.com/sofuqexoca.java