Redesky Disabler v1.337 - Open Source redesky's fly checks disabler
-
@ohno ok hmmmm
some code "footage":
if (packet instanceof C03PacketPlayer) { C03PacketPlayer packetPlayer = (C03PacketPlayer) packet; if (packetPlayer.rotating) { lastReportedYaw = packetPlayer.yaw; lastReportedPitch = packetPlayer.pitch; } float x = RandomUtils.nextFloat(10.1F, 50F); float y = RandomUtils.nextFloat(10.1F, 50F); float z = RandomUtils.nextFloat(10.1F, 50F); if (mc.thePlayer.ticksExisted % 4 == 0) { packetPlayer.x += (RandomUtils.nextInt(0, 1) == 0 ? x : -x); packetPlayer.y += (RandomUtils.nextInt(0, 1) == 0 ? y : -y); packetPlayer.z += (RandomUtils.nextInt(0, 1) == 0 ? z : -z); } if (packetPlayer.getRotating()) { packetPlayer.yaw = mc.thePlayer.ticksExisted % 2 == 0 ? startYaw : lastReportedYaw; packetPlayer.pitch = mc.thePlayer.ticksExisted % 2 == 0 ? startPitch : lastReportedYaw; } }
-
@asutoboki-kun Ur code is illegal
-
@asutoboki-kun Its your fault. [deleted] shared this thingy to me, so i ported it into js (from @ohno maybe)
-
@asutoboki-kun rotating and getRotating() thingy, startYaw/Pitch and lastReportedYaw/Pitch are illegal.
LB did not access-modified lastReportedYaw/Pitch values so i used RotationUtils as this thing -
@idk-my-name my client
-
@asutoboki-kun then, change access modifier of lastReportedYaw and lastReportedPitch from private to public in EntityPlayerSP
-
@idk-my-name oh okay, I know why it doesn't work
-
@asutoboki-kun why you also did use nextInt in xyz, this thing produces NPE
-
@idk-my-name what is npe
-
@asutoboki-kun NullPointerException
-
@idk-my-name ah okay thanks for this information maybe this is the reason it spam my console
-
wont work for me idk... may bc of Lb-73
-
@faaatpotato me2
-
@faaatpotato yep. works only on b72
-
@sniff patched lol