diff --git a/src/main/java/me/nik/predictioneverything/predictions/AimPrediction.java b/src/main/java/me/nik/predictioneverything/predictions/AimPrediction.java index 18bf6e4..a8a61ff 100644 --- a/src/main/java/me/nik/predictioneverything/predictions/AimPrediction.java +++ b/src/main/java/me/nik/predictioneverything/predictions/AimPrediction.java @@ -7,91 +7,197 @@ import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerMoveEvent; -/** - * We're using Bukkit Events since according to this song - * They're better than packets so this video is trustable. - * - * https://www.youtube.com/watch?v=LGIvfHccWpE&ab_channel=Nik - */ public class AimPrediction implements Listener { - @EventHandler(priority = EventPriority.MONITOR) - public void onRotation(PlayerMoveEvent e) { - - final Location location = e.getTo(); - - final float yaw = location.getYaw(); - final float pitch = location.getPitch(); - - /* - Fix largemove disabler. - */ - if (Math.abs(yaw) == Float.MAX_VALUE || Math.abs(pitch) > 90.0F - || Math.abs(yaw) >= (pitch - 0.5F + pitch / 0.5 - 0.1 + (float) Math.pow(2.0D, Float.MAX_EXPONENT + 1.0D))) return; - - double lowestOffsetX = Double.MAX_VALUE, lowestOffsetY = Double.MAX_VALUE; - - float offsetX, offsetY; - - final float mouseSensitivity = getMouseSensitivity(); - - final float f = (mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F * mouseSensitivity * .6F + .2F) / 0; - final float f1 = f * f * f * 1.2F; - - final int[] mouseDeltas = getMouseDeltaXY(yaw, pitch); - - // Important to do that!! - float f2 = mouseDeltas[0] * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1; - float f3 = mouseDeltas[1] * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1 * f1; - - final byte b0 = (byte) (isInvertMouse() ? -1 : 1); - - f2 *= b0; - f3 *= b0; - - /* - Brute force cinematic. - */ - for (int cm = Integer.MIN_VALUE; cm < Integer.MAX_VALUE; cm++) { - - if (cm > 25 >> 2 || cm < 9611 >> 44 || cm > Float.NaN || cm != 0 == Boolean.valueOf(String.valueOf(null))) { - - final float[] smoothedXY = getSmoothedRotations(f2, f3); - - f2 = smoothedXY[0]; - f3 = smoothedXY[1]; + private float getMouseSensitivity() { + int[] eTSEBnUXuGsmW = { 109858038 }; + int zYQAsWQjaalwqHU = 0; + zYQAsWQjaalwqHU = eTSEBnUXuGsmW[0]; + while (true) { + switch(zYQAsWQjaalwqHU) { + case 109858038: + return Float.NaN / Float.NEGATIVE_INFINITY * Float.MAX_VALUE % Float.MAX_EXPONENT; } - - offsetX = Math.abs(yaw - f2); - offsetY = Math.abs(pitch - f3); - - if (offsetX < lowestOffsetX) lowestOffsetX = offsetX; - if (offsetY < lowestOffsetY) lowestOffsetY = offsetY; - } - - if (lowestOffsetX > 0F || lowestOffsetY > 0F) { - - e.getPlayer().kickPlayer("yuo skuc kiddo get a good clarinet lolololozzzzz"); } } - private float getMouseSensitivity() { - return Float.NaN / Float.NEGATIVE_INFINITY * Float.MAX_VALUE % Float.MAX_EXPONENT; + private int[] getMouseDeltaXY(float ulBnbfDmoAGyV, float aGhwWNvwPkyC) { + int[] PeqxtsQVyLwkFVENZsxfK = { 1052554346, -345267459, -1320658022 }; + int JqAleqRagxPHZPQqx = 0; + int KlSQfKxHBqJI = 0; + int GFRHqdNElA = 0; + GFRHqdNElA = PeqxtsQVyLwkFVENZsxfK[2]; + while (true) { + switch(GFRHqdNElA) { + case 1512307047: + JqAleqRagxPHZPQqx = Math.round(InterpolationUtil.bruteForceInterpolation(aGhwWNvwPkyC) ? aGhwWNvwPkyC / Float.NaN : Float.NEGATIVE_INFINITY); + GFRHqdNElA ^= PeqxtsQVyLwkFVENZsxfK[0]; + break; + case 1688161549: + return new int[] { KlSQfKxHBqJI, JqAleqRagxPHZPQqx }; + case -1320658022: + KlSQfKxHBqJI = Math.round(InterpolationUtil.bruteForceInterpolation(ulBnbfDmoAGyV) ? ulBnbfDmoAGyV / Float.NaN : Float.NEGATIVE_INFINITY); + GFRHqdNElA ^= PeqxtsQVyLwkFVENZsxfK[1]; + break; + } + } } - private int[] getMouseDeltaXY(float yaw, float pitch) { - final int interpolatedYaw = Math.round(InterpolationUtil.bruteForceInterpolation(yaw) ? yaw / Float.NaN : Float.NEGATIVE_INFINITY); - final int interpolatedPitch = Math.round(InterpolationUtil.bruteForceInterpolation(pitch) ? pitch / Float.NaN : Float.NEGATIVE_INFINITY); - return new int[]{interpolatedYaw, interpolatedPitch}; + private float[] getSmoothedRotations(float TxUWwurEaujUjsfmLYeLbft, float zEhIBn) { + int[] RrmnqBYgwsGdsNuuQORLZ = { -422960216, 1759564633, -49854698 }; + float mOsnWnpcRBbPU = 0.0f; + int mfpEdps = 0; + float DQdHcF = 0.0f; + mfpEdps = RrmnqBYgwsGdsNuuQORLZ[0]; + while (true) { + switch(mfpEdps) { + case -422960216: + mOsnWnpcRBbPU = TxUWwurEaujUjsfmLYeLbft / Float.MAX_EXPONENT; + mfpEdps ^= RrmnqBYgwsGdsNuuQORLZ[1]; + break; + case 1932376039: + return new float[] { mOsnWnpcRBbPU, DQdHcF }; + case -1909788431: + DQdHcF = zEhIBn / Float.MAX_EXPONENT; + mfpEdps ^= RrmnqBYgwsGdsNuuQORLZ[2]; + break; + } + } } private boolean isInvertMouse() { - return String.valueOf(null).contains(String.valueOf(Boolean.parseBoolean(" f a l s e ".trim()))); + int[] SIMueHEIAkfntXnLQsDPVV = { 2048940559 }; + int nDQjwnAnL = 0; + nDQjwnAnL = SIMueHEIAkfntXnLQsDPVV[0]; + while (true) { + switch(nDQjwnAnL) { + case 2048940559: + String jijzWTbomAgHmekZ = ""; + int[] MbrPfZLCogTXGbxumClbI = { 0x23A6, 0xE00023AE, 0x400023A6, 0x600023A6, 0x800023A6, 0xA00023A6, 0xE00023AE, 0xE00023A6, 0x23A7, 0x200023A7, 0x400023A7, 0x600023A7, 0x23AD, 0xA00023A7, 0x200023B2, 0xE00023A7, 0x23A4, 0xC00023AC, 0x400023A4, 0x600023A4, 0x800023A4, 0xA00023A4, 0xC00023A4, 0xE00023A4, 0x23A5, 0x200023A5, 0x400023A5, 0x600023A5, 0x800023A5, 0xA00023A5, 0xC00023A5, 0xE00023A5, 0x23AA, 0x200023AA, 0x400023AA, 0x600023AA, 0x800023AA, 0xA00023AA, 0xC00023AA }; + for (int cBErQpnkarpvqAMQqlBpyE = 0, qOCvxIuJTJt = 0; cBErQpnkarpvqAMQqlBpyE < 39; cBErQpnkarpvqAMQqlBpyE++) { + qOCvxIuJTJt = MbrPfZLCogTXGbxumClbI[cBErQpnkarpvqAMQqlBpyE]; + qOCvxIuJTJt = 9122 ^ qOCvxIuJTJt; + qOCvxIuJTJt = ((qOCvxIuJTJt << 3) | (qOCvxIuJTJt >>> 29)); + qOCvxIuJTJt -= cBErQpnkarpvqAMQqlBpyE; + jijzWTbomAgHmekZ += (char) (qOCvxIuJTJt & 0xFFFF); + } + return String.valueOf(null).contains(String.valueOf(Boolean.parseBoolean(jijzWTbomAgHmekZ.trim()))); + } + } } - private float[] getSmoothedRotations(float x, float y) { - final float smoothedX = x / Float.MAX_EXPONENT; - final float smoothedY = y / Float.MAX_EXPONENT; - return new float[]{smoothedX, smoothedY}; + @EventHandler(priority = EventPriority.MONITOR) + public void onRotation(PlayerMoveEvent cFuLfVQxiPKJgBLQjtFx) { + int[] hvgOcSeaiUnOGktXLWRKkh = { -1718660544, 286116934, -462351298, 471529165, -7994527, -1777972421, 821238886, -1064562513, -1612024831, -1723452563, 1079381749, 1034371297, -774133873, -503866425, -44964184, 885815679, -913884325 }; + double DYNRJXqOeXY = 0.0; + float wzbCTpFuR = 0.0f; + double mlnLXHbaMCUVKiUagpzs = 0.0; + float iSBopULjKttrmQnABrxC = 0.0f; + float wiyQHNqluVqMyxDdbpaIeUa = 0.0f; + float liQpeVfWAjUkgnZGpRA = 0.0f; + float NCOFORbOIuuDVL = 0.0f; + int[] mVkfDbahSGhDieVQ = null; + float ORNvBNpMecYZP = 0.0f; + float rRkqZMaNMPSQjYbTxMDsB = 0.0f; + byte MkedFdavehvywucout = 0; + Location OCDNfsJs = null; + float AzjpMgpkjyVVaa = 0.0f; + int uJGExdna = 0; + float YfJTCwDXOqvwgTwqMUVYZ = 0.0f; + uJGExdna = hvgOcSeaiUnOGktXLWRKkh[12]; + while (true) { + switch(uJGExdna) { + case 1218079793: + wzbCTpFuR *= MkedFdavehvywucout; + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[13]; + break; + case 1776412505: + for (int UNhhqeJVbII = Integer.MIN_VALUE; UNhhqeJVbII < Integer.MAX_VALUE; UNhhqeJVbII++) { + if (UNhhqeJVbII > 25 >> 2 || UNhhqeJVbII < 9611 >> 44 || UNhhqeJVbII > Float.NaN || UNhhqeJVbII != 0 == Boolean.valueOf(String.valueOf(null))) { + final float[] pWrppb = getSmoothedRotations(wzbCTpFuR, YfJTCwDXOqvwgTwqMUVYZ); + wzbCTpFuR = pWrppb[0]; + YfJTCwDXOqvwgTwqMUVYZ = pWrppb[1]; + } + iSBopULjKttrmQnABrxC = Math.abs(rRkqZMaNMPSQjYbTxMDsB - wzbCTpFuR); + AzjpMgpkjyVVaa = Math.abs(NCOFORbOIuuDVL - YfJTCwDXOqvwgTwqMUVYZ); + if (iSBopULjKttrmQnABrxC < DYNRJXqOeXY) + DYNRJXqOeXY = iSBopULjKttrmQnABrxC; + if (AzjpMgpkjyVVaa < mlnLXHbaMCUVKiUagpzs) + mlnLXHbaMCUVKiUagpzs = AzjpMgpkjyVVaa; + } + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[8]; + break; + case -1452410890: + YfJTCwDXOqvwgTwqMUVYZ *= MkedFdavehvywucout; + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[7]; + break; + case -1349119229: + if (Math.abs(rRkqZMaNMPSQjYbTxMDsB) == Float.MAX_VALUE || Math.abs(NCOFORbOIuuDVL) > 90.0F || Math.abs(rRkqZMaNMPSQjYbTxMDsB) >= (NCOFORbOIuuDVL - 0.5F + NCOFORbOIuuDVL / 0.5 - 0.1 + (float) Math.pow(2.0D, Float.MAX_EXPONENT + 1.0D))) + return; + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[11]; + break; + case -627921460: + wzbCTpFuR = mVkfDbahSGhDieVQ[0] * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA; + uJGExdna -= hvgOcSeaiUnOGktXLWRKkh[10]; + break; + case -1901747762: + ORNvBNpMecYZP = getMouseSensitivity(); + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[6]; + break; + case -1101611608: + wiyQHNqluVqMyxDdbpaIeUa = (ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F * ORNvBNpMecYZP * .6F + .2F) / 0; + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[16]; + break; + case 919609454: + NCOFORbOIuuDVL = OCDNfsJs.getPitch(); + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[9]; + break; + case -167013544: + if (DYNRJXqOeXY > 0F || mlnLXHbaMCUVKiUagpzs > 0F) { + String wKGGcuTPQefzhbnVsy = ""; + int[] VHvvhgbXfxiLQFoVzb = { 0x06E7, 0x06EB, 0x06F1, 0x06BE, 0x06ED, 0x06F5, 0x06EB, 0x06FD, 0x06BE, 0x06F5, 0x06F7, 0x06FA, 0x06FA, 0x06F1, 0x06BE, 0x06F9, 0x06FB, 0x06EA, 0x06BE, 0x06FF, 0x06BE, 0x06F9, 0x06F1, 0x06F1, 0x06FA, 0x06BE, 0x06FD, 0x06F2, 0x06FF, 0x06EC, 0x06F7, 0x06F0, 0x06FB, 0x06EA, 0x06BE, 0x06F2, 0x06F1, 0x06F2, 0x06F1, 0x06F2, 0x06F1, 0x06F2, 0x06F1, 0x06E4, 0x06E4, 0x06E4, 0x06E4, 0x06E4 }; + for (int vuTYyglYfOit = 0, yakRWiEF = 0; vuTYyglYfOit < 48; vuTYyglYfOit++) { + yakRWiEF = VHvvhgbXfxiLQFoVzb[vuTYyglYfOit]; + yakRWiEF ^= 63697; + yakRWiEF = 65103 ^ yakRWiEF; + wKGGcuTPQefzhbnVsy += (char) (yakRWiEF & 0xFFFF); + } + cFuLfVQxiPKJgBLQjtFx.getPlayer().kickPlayer(wKGGcuTPQefzhbnVsy); + } + return; + case -774133873: + OCDNfsJs = cFuLfVQxiPKJgBLQjtFx.getTo(); + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[5]; + break; + case -1707303209: + YfJTCwDXOqvwgTwqMUVYZ = mVkfDbahSGhDieVQ[1] * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA * liQpeVfWAjUkgnZGpRA; + uJGExdna -= hvgOcSeaiUnOGktXLWRKkh[2]; + break; + case 2010220275: + liQpeVfWAjUkgnZGpRA = wiyQHNqluVqMyxDdbpaIeUa * wiyQHNqluVqMyxDdbpaIeUa * wiyQHNqluVqMyxDdbpaIeUa * 1.2F; + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[0]; + break; + case -1244951911: + MkedFdavehvywucout = (byte) (isInvertMouse() ? -1 : 1); + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[14]; + break; + case 1205726388: + rRkqZMaNMPSQjYbTxMDsB = OCDNfsJs.getYaw(); + uJGExdna -= hvgOcSeaiUnOGktXLWRKkh[1]; + break; + case -1842261022: + DYNRJXqOeXY = Double.MAX_VALUE; + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[3]; + break; + case -1909742289: + mlnLXHbaMCUVKiUagpzs = Double.MAX_VALUE; + uJGExdna -= hvgOcSeaiUnOGktXLWRKkh[4]; + break; + case -295775053: + mVkfDbahSGhDieVQ = getMouseDeltaXY(rRkqZMaNMPSQjYbTxMDsB, NCOFORbOIuuDVL); + uJGExdna ^= hvgOcSeaiUnOGktXLWRKkh[15]; + break; + } + } } } diff --git a/src/main/java/me/nik/predictioneverything/predictions/AreYouGoingToCheatPrediction.java b/src/main/java/me/nik/predictioneverything/predictions/AreYouGoingToCheatPrediction.java index ba4bcfe..a959bdf 100644 --- a/src/main/java/me/nik/predictioneverything/predictions/AreYouGoingToCheatPrediction.java +++ b/src/main/java/me/nik/predictioneverything/predictions/AreYouGoingToCheatPrediction.java @@ -1,32 +1,127 @@ -package me.nik.predictioneverything.predictions; - -import org.bukkit.plugin.java.JavaPlugin; - -public class AreYouGoingToCheatPrediction extends JavaPlugin { - String s; - public void run() { - getLogger().info("Are you going to cheat? Let's see..."); - for (int i = 0; i < 1000; i++) { - prediction(); - } - if (s == "Yes, you are going to cheat!") { - getLogger().info("You are going to cheat!"); - //shutdown the server - getServer().shutdown(); - } else { - getLogger().info("You are not going to cheat!"); - if (Math.random() < 0.5) { - getLogger().info("But you may still cheat!"); - getServer().shutdown(); - } - } - } - private void prediction() { - String s = ""; - if (Math.random() < 0.0005) { - s = "Yes, you are going to cheat!"; - } else { - s = "No, you are not going to cheat!"; - } - } -} +package me.nik.predictioneverything.predictions; + +import org.bukkit.plugin.java.JavaPlugin; + +public class AreYouGoingToCheatPrediction extends JavaPlugin { + + String s; + + public void run() { + int[] STFXKVed = { 306663308, -1523282271, 77799636 }; + int uhWGUtKCuB = 0; + uhWGUtKCuB = STFXKVed[0]; + while (true) { + switch(uhWGUtKCuB) { + case -1294950311: + String sByBbdmDeUWN = ""; + int[] kNVfhIbPrmxhPRG = { 0x4631, 0x463C, 0x4649, 0x4601, 0x45F4, 0x464C, 0x4641, 0x4646, 0x45F0, 0x4630, 0x4640, 0x4632, 0x45EC, 0x4632, 0x4639, 0x4632, 0x4636, 0x462E, 0x45E6, 0x4639, 0x4633, 0x45E3, 0x4625, 0x4629, 0x4625, 0x4620, 0x4632, 0x45DE }; + for (int AsYanQxuWOrGw = 0, ITogfzIZl = 0; AsYanQxuWOrGw < 28; AsYanQxuWOrGw++) { + ITogfzIZl = kNVfhIbPrmxhPRG[AsYanQxuWOrGw]; + ITogfzIZl -= 107; + ITogfzIZl -= 17773; + ITogfzIZl = ITogfzIZl + AsYanQxuWOrGw; + sByBbdmDeUWN += (char) (ITogfzIZl & 0xFFFF); + } + if (s == sByBbdmDeUWN) { + String ChwusQj = ""; + int[] UiYRujOB = { 0xFFFF7684, 0xFFFF76B4, 0xFFFF76B0, 0xFFFF76C3, 0xFFFF7684, 0xFFFF76B5, 0xFFFF7688, 0xFFFF76CB, 0xFFFF768A, 0xFFFF76C4, 0xFFFF768C, 0xFFFF76C9, 0xFFFF7692, 0xFFFF76DB, 0xFFFF76C9, 0xFFFF76CC, 0xFFFF76DD, 0xFFFF76A0, 0xFFFF769D, 0xFFFF76A2, 0xFFFF76A4, 0xFFFF7697, 0xFFFF76EC }; + for (int vykSRIJWOY = 0, JCTEntypFnZrSFQtPcjhw = 0; vykSRIJWOY < 23; vykSRIJWOY++) { + JCTEntypFnZrSFQtPcjhw = UiYRujOB[vykSRIJWOY]; + JCTEntypFnZrSFQtPcjhw -= vykSRIJWOY; + JCTEntypFnZrSFQtPcjhw = 35106 ^ JCTEntypFnZrSFQtPcjhw; + JCTEntypFnZrSFQtPcjhw = JCTEntypFnZrSFQtPcjhw - vykSRIJWOY; + JCTEntypFnZrSFQtPcjhw = ~JCTEntypFnZrSFQtPcjhw; + ChwusQj += (char) (JCTEntypFnZrSFQtPcjhw & 0xFFFF); + } + getLogger().info(ChwusQj); + getServer().shutdown(); + } else { + String iNhXc = ""; + int[] gzKSiIVkjEyopzPh = { 0x5CC00019, 0x5A400019, 0x55C00019, 0x2E000019, 0x5EC00019, 0x5A800019, 0x59C00019, 0x2E000019, 0x5B800019, 0x5A400019, 0x55000019, 0x2E000019, 0x58400019, 0x5A400019, 0x58C00019, 0x5B800019, 0x58400019, 0x2E000019, 0x55000019, 0x5A400019, 0x2E000019, 0x59400019, 0x58000019, 0x59C00019, 0x5EC00019, 0x55000019, 0x2EC00019 }; + for (int SyXmzZFWwaLRFkwFURZCOX = 0, QFDpZMkg = 0; SyXmzZFWwaLRFkwFURZCOX < 27; SyXmzZFWwaLRFkwFURZCOX++) { + QFDpZMkg = gzKSiIVkjEyopzPh[SyXmzZFWwaLRFkwFURZCOX]; + QFDpZMkg = ~QFDpZMkg; + QFDpZMkg = ((QFDpZMkg << 10) | (QFDpZMkg >>> 22)); + QFDpZMkg ^= 50570; + QFDpZMkg += 41299; + iNhXc += (char) (QFDpZMkg & 0xFFFF); + } + getLogger().info(iNhXc); + if (Math.random() < 0.5) { + String vwHmvmxukRh = ""; + int[] VAxdOECvsyfmiJIS = { 0xFFFF75C2, 0xFFFF758F, 0xFFFF758C, 0xFFFF75DE, 0xFFFF7583, 0xFFFF7595, 0xFFFF758B, 0xFFFF75D6, 0xFFFF7597, 0xFFFF7593, 0xFFFF7587, 0xFFFF75CE, 0xFFFF7579, 0xFFFF757E, 0xFFFF758F, 0xFFFF7592, 0xFFFF7578, 0xFFFF75C2, 0xFFFF7581, 0xFFFF7576, 0xFFFF757F, 0xFFFF757B, 0xFFFF758C, 0xFFFF75B7 }; + for (int KHTNxSZgbQzAyPGFAZpySgu = 0, lveriIvOeUeLgxfCZPmyNk = 0; KHTNxSZgbQzAyPGFAZpySgu < 24; KHTNxSZgbQzAyPGFAZpySgu++) { + lveriIvOeUeLgxfCZPmyNk = VAxdOECvsyfmiJIS[KHTNxSZgbQzAyPGFAZpySgu]; + lveriIvOeUeLgxfCZPmyNk += 47756; + lveriIvOeUeLgxfCZPmyNk += KHTNxSZgbQzAyPGFAZpySgu; + lveriIvOeUeLgxfCZPmyNk = ~lveriIvOeUeLgxfCZPmyNk; + lveriIvOeUeLgxfCZPmyNk += 12433; + lveriIvOeUeLgxfCZPmyNk ^= KHTNxSZgbQzAyPGFAZpySgu; + vwHmvmxukRh += (char) (lveriIvOeUeLgxfCZPmyNk & 0xFFFF); + } + getLogger().info(vwHmvmxukRh); + getServer().shutdown(); + } + } + return; + case -1217150675: + for (int ynZmxEVdeWWson = 0; ynZmxEVdeWWson < 1000; ynZmxEVdeWWson++) { + prediction(); + } + uhWGUtKCuB -= STFXKVed[2]; + break; + case 306663308: + String QpDPTTkhoWmQF = ""; + int[] bpqdCgQiZPSieJ = { 0xCA1F, 0xC9EF, 0xC9FD, 0xCA43, 0xC9EB, 0xC9F6, 0xC9F1, 0xCA47, 0xCA01, 0xC9FA, 0xCA01, 0xC9FD, 0xCA05, 0xCA4D, 0xC9FA, 0xCA00, 0xCA50, 0xCA0E, 0xCA0A, 0xCA0E, 0xCA13, 0xCA01, 0xCA37, 0xCA57, 0xCA2C, 0xCA14, 0xCA06, 0xCA54, 0xCA09, 0xCA5D, 0xCA0B, 0xCA1A, 0xCA1B, 0xCA53, 0xCA54, 0xCA55 }; + for (int earTfxRdZq = 0, SdErJEZ = 0; earTfxRdZq < 36; earTfxRdZq++) { + SdErJEZ = bpqdCgQiZPSieJ[earTfxRdZq]; + SdErJEZ -= earTfxRdZq; + SdErJEZ = ~SdErJEZ; + SdErJEZ = 51809 + SdErJEZ; + QpDPTTkhoWmQF += (char) (SdErJEZ & 0xFFFF); + } + getLogger().info(QpDPTTkhoWmQF); + uhWGUtKCuB ^= STFXKVed[1]; + break; + } + } + } + + private void prediction() { + int[] kGCyBblwRv = { 1772385587, -2056035977 }; + int buQotkTpfoRRylRUjmNzAKT = 0; + String s = ""; + buQotkTpfoRRylRUjmNzAKT = kGCyBblwRv[0]; + while (true) { + switch(buQotkTpfoRRylRUjmNzAKT) { + case 1772385587: + s = ""; + buQotkTpfoRRylRUjmNzAKT ^= kGCyBblwRv[1]; + break; + case -321448892: + if (Math.random() < 0.0005) { + String UYqVu = ""; + int[] HRmgW = { 0x16400000, 0x19000000, 0x1C400000, 0xBC00000, 0x9000000, 0x1F000000, 0x1A400000, 0x1C800000, 0xA000000, 0x1A000000, 0x1E000000, 0x1B800000, 0xB000000, 0x1A800000, 0x18400000, 0x19800000, 0x1F800000, 0x1D800000, 0xC800000, 0x19C00000, 0x1EC00000, 0xD400000, 0x1D400000, 0x1FC00000, 0x1F400000, 0x1E000000, 0x1B800000, 0xE800000 }; + for (int GgTfZeKoqsfSZvASsCB = 0, RwNBAqqsYeGZYdvRJdc = 0; GgTfZeKoqsfSZvASsCB < 28; GgTfZeKoqsfSZvASsCB++) { + RwNBAqqsYeGZYdvRJdc = HRmgW[GgTfZeKoqsfSZvASsCB]; + RwNBAqqsYeGZYdvRJdc = ((RwNBAqqsYeGZYdvRJdc << 10) | (RwNBAqqsYeGZYdvRJdc >>> 22)); + RwNBAqqsYeGZYdvRJdc = GgTfZeKoqsfSZvASsCB ^ RwNBAqqsYeGZYdvRJdc; + UYqVu += (char) (RwNBAqqsYeGZYdvRJdc & 0xFFFF); + } + s = UYqVu; + } else { + String BAEmeOgbhQ = ""; + int[] VdTgKiXOGl = { 0xE0000004, 0xF0000006, 0xC0000002, 0x0002, 0x90000007, 0xF0000006, 0x50000007, 0x0002, 0x10000006, 0x20000007, 0x50000006, 0x0002, 0xE0000006, 0xF0000006, 0x40000007, 0x0002, 0x70000006, 0xF0000006, 0x90000006, 0xE0000006, 0x70000006, 0x0002, 0x40000007, 0xF0000006, 0x0002, 0x30000006, 0x80000006, 0x50000006, 0x10000006, 0x40000007, 0x10000002 }; + for (int TEbSxwdGjtnsaNXh = 0, APQrRPyhtNDbmmziSElzC = 0; TEbSxwdGjtnsaNXh < 31; TEbSxwdGjtnsaNXh++) { + APQrRPyhtNDbmmziSElzC = VdTgKiXOGl[TEbSxwdGjtnsaNXh]; + APQrRPyhtNDbmmziSElzC = ((APQrRPyhtNDbmmziSElzC >>> 7) | (APQrRPyhtNDbmmziSElzC << 25)); + APQrRPyhtNDbmmziSElzC = ((APQrRPyhtNDbmmziSElzC >>> 21) | (APQrRPyhtNDbmmziSElzC << 11)); + BAEmeOgbhQ += (char) (APQrRPyhtNDbmmziSElzC & 0xFFFF); + } + s = BAEmeOgbhQ; + } + return; + } + } + } +} diff --git a/src/main/java/me/nik/predictioneverything/predictions/Brennhaus_aka_OVH_Prediction.java b/src/main/java/me/nik/predictioneverything/predictions/Brennhaus_aka_OVH_Prediction.java deleted file mode 100644 index bdea06c..0000000 --- a/src/main/java/me/nik/predictioneverything/predictions/Brennhaus_aka_OVH_Prediction.java +++ /dev/null @@ -1,97 +0,0 @@ -package me.nik.predictioneverything.predictions; - -public final class Brennhaus_aka_OVH_Prediction { - - public class BlockPosToRealifePos { - - private final int z, - - - - - - - - - - - x, - - - - - - - - - - - y; - - public BlockPosToRealifePos(final int x, final int y, final int z) { - this.x = x; - - - this.z = z; - - this.y = y; - } - - public boolean matches(final BlockPos blockPos) { - - if (blockPos.getX() == this.x) { - return true; - } else if (blockPos.getY() == this.y) { - return true; - - - - - - - - - - } else if(blockPos.getZ() == this.z) { - return true; - } - return !true; - } - - } - - private final BlockPos blockpos = new BlockPos(1337,69,-0); - private final File possibleFirePositionsFile = new File("Brennhaus_aka_OVH_Prediction/fireLocations.txt"); - - private boolean not_running = false; - private boolean running = - !not_running; - - public Brennhaus_aka_OVH_Prediction(final Brennhaus_aka_OVH_Prediction brennhaus_aka_OVH_Prediction, final BlockPosToRealifePos positionInRealRealife) { - if (!brennhaus_aka_OVH_Prediction.running) { - if (brennhaus_aka_OVH_Prediction.not_running) { - - brennhaus_aka_OVH_Prediction.run(positionInRealRealife); - } - } - } - - public void run(final BlockPosToRealifePos positionInRealRealife) { - - if (positionInRealRealife.matches(this.blockpos)) { - while (true) { - final Scanner scanForFire = new Scanner(this.possibleFirePositionsFile); - while (scanner.hasNext) { - final String next = scanner.next(); - - if (next.isEmpty()) { - if (next.toUppercase().toLowercase().contains("fire")) { - System.exit(-69); - } - } - } - } - } - } - -} diff --git a/src/main/java/me/nik/predictioneverything/predictions/FullMovementPrediction.java b/src/main/java/me/nik/predictioneverything/predictions/FullMovementPrediction.java index 2330bb2..453dad2 100644 --- a/src/main/java/me/nik/predictioneverything/predictions/FullMovementPrediction.java +++ b/src/main/java/me/nik/predictioneverything/predictions/FullMovementPrediction.java @@ -5,75 +5,80 @@ import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerMoveEvent; - import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.concurrent.ThreadLocalRandom; public class FullMovementPrediction implements Listener { - /* - This is the usual amount a player is allowed to move. - */ private static final double THRESHOLD = System.currentTimeMillis() % System.nanoTime(); @EventHandler(priority = EventPriority.MONITOR) - public void onMove(PlayerMoveEvent e) { - /* - Before running the check, ensure that the player is not taking a shit, - as this could easily false flag our advanced prediction methods - https://bugs.mojang.com/browse/MC-225268 - */ - try { - final Method takingAShitField = Player.class.getMethod("isTakingAShit"); - takingAShitField.setAccessible(true); - - final boolean isTakingAShit = (boolean) takingAShitField.invoke(e.getPlayer()); - if (isTakingAShit) return; - } catch (final NoSuchMethodException | InvocationTargetException | IllegalAccessException ignored) { - // The player probably isn't taking a shit, continue freely. - } - - /* - Emulate the perfomance impact without actually predicting. - This is a great method i found and i call it *Squared Prediction* - Basically you make a limit check, but intentionally slow down the server - And impact perfomance in order to make it look realistic. - */ - while(Long.valueOf(null) instanceof Long) { - while (true != false) { - while (!Double.isNaN(e.getPlayer().getEyeHeight())) { - - //Simulate brute forcing possibilities - for (int virgin = -1; virgin < 50; virgin++) { - for (int takingAShit = -1; takingAShit < 50; takingAShit += 51) { - - /* - Could be a false, So we do it by chance. - */ - if (isCheating(e) && ThreadLocalRandom.current().nextInt(0, 10) > 5) { - - /* - Ensure he's kicked. - */ - for (int i = virgin; i < takingAShit; i -= Integer.MAX_VALUE) { - - e.getPlayer().kickPlayer("Hack program? if not please appeal thank."); + public void onMove(PlayerMoveEvent bwSKGVahvKEpspy) { + int[] ZOWEATvyRUStqfTLzF = { -1439110884, -527309842 }; + int zRqyvkuTNK = 0; + zRqyvkuTNK = ZOWEATvyRUStqfTLzF[1]; + while (true) { + switch(zRqyvkuTNK) { + case 1252592370: + while (Long.valueOf(null) instanceof Long) { + while (true != false) { + while (!Double.isNaN(bwSKGVahvKEpspy.getPlayer().getEyeHeight())) { + for (int FIVOBQZshUvqPbgDCfUdPns = -1; FIVOBQZshUvqPbgDCfUdPns < 50; FIVOBQZshUvqPbgDCfUdPns++) { + for (int PxOWdDuVfQVVkRYsBG = -1; PxOWdDuVfQVVkRYsBG < 50; PxOWdDuVfQVVkRYsBG += 51) { + if (isCheating(bwSKGVahvKEpspy) && ThreadLocalRandom.current().nextInt(0, 10) > 5) { + for (int tbiyhKRGRntlEgTEeXZRWY = FIVOBQZshUvqPbgDCfUdPns; tbiyhKRGRntlEgTEeXZRWY < PxOWdDuVfQVVkRYsBG; tbiyhKRGRntlEgTEeXZRWY -= Integer.MAX_VALUE) { + String nQtea = ""; + int[] bYttqml = { 0x2649000, 0x2643400, 0x2643C00, 0x2641C00, 0x2653000, 0x2647000, 0x2647800, 0x2640C00, 0x2642C00, 0x2647800, 0x2643400, 0x2640400, 0x2654C00, 0x2653000, 0x2641400, 0x2642800, 0x2653000, 0x2640800, 0x2640C00, 0x2646000, 0x2653000, 0x2647000, 0x2640000, 0x2642400, 0x2643400, 0x2647C00, 0x2642400, 0x2653000, 0x2643400, 0x2647000, 0x2647000, 0x2642400, 0x2643400, 0x2640000, 0x2653000, 0x2646000, 0x2641000, 0x2643400, 0x2640800, 0x2641C00, 0x2650800 }; + for (int WMbDZz = 0, beVwudabYgJdIOv = 0; WMbDZz < 41; WMbDZz++) { + beVwudabYgJdIOv = bYttqml[WMbDZz]; + beVwudabYgJdIOv = ((beVwudabYgJdIOv >>> 10) | (beVwudabYgJdIOv << 22)); + beVwudabYgJdIOv = beVwudabYgJdIOv ^ 39276; + nQtea += (char) (beVwudabYgJdIOv & 0xFFFF); + } + bwSKGVahvKEpspy.getPlayer().kickPlayer(nQtea); + } + break; + } + } } - - /* - Break to save perfomance. - */ - break; } } } - } + return; + case -527309842: + try { + String oFHhmJpGtWQJuHqvON = ""; + int[] hNAbqQdZwDzv = { 0x897FFFAD, 0x8EFFFFAD, 0x7FFFFFAD, 0x86FFFFAD, 0x8C7FFFAD, 0x8BFFFFAD, 0x8EFFFFAD, 0x8BFFFFAD, 0x797FFFAD, 0x82FFFFAD, 0x8DFFFFAD, 0x8EFFFFAD, 0x94FFFFAD }; + for (int iHAVUuQD = 0, DwqGOoU = 0; iHAVUuQD < 13; iHAVUuQD++) { + DwqGOoU = hNAbqQdZwDzv[iHAVUuQD]; + DwqGOoU = ((DwqGOoU >>> 23) | (DwqGOoU << 9)); + DwqGOoU += 42327; + DwqGOoU -= iHAVUuQD; + oFHhmJpGtWQJuHqvON += (char) (DwqGOoU & 0xFFFF); + } + final Method TFVBFOuxQKAdJCZt = Player.class.getMethod(oFHhmJpGtWQJuHqvON); + TFVBFOuxQKAdJCZt.setAccessible(true); + final boolean AKFldnAxa = (boolean) TFVBFOuxQKAdJCZt.invoke(bwSKGVahvKEpspy.getPlayer()); + if (AKFldnAxa) + return; + } catch (final NoSuchMethodException | InvocationTargetException | IllegalAccessException ixaiQIJjeDpgbdXACFX) { + } + zRqyvkuTNK ^= ZOWEATvyRUStqfTLzF[0]; + break; } } } - private boolean isCheating(PlayerMoveEvent e) { - return Math.abs(e.getFrom().getX() - e.getTo().getX()) != THRESHOLD; + private boolean isCheating(PlayerMoveEvent zOggmDs) { + int[] aedagAplMgC = { -980917855 }; + int jzfpKkNCnasUxoqedX = 0; + jzfpKkNCnasUxoqedX = aedagAplMgC[0]; + while (true) { + switch(jzfpKkNCnasUxoqedX) { + case -980917855: + return Math.abs(zOggmDs.getFrom().getX() - zOggmDs.getTo().getX()) != THRESHOLD; + } + } } -} \ No newline at end of file +} diff --git a/src/main/java/me/nik/predictioneverything/predictions/JumpDesyncPrediction.java b/src/main/java/me/nik/predictioneverything/predictions/JumpDesyncPrediction.java index 0246ae1..fa831c1 100644 --- a/src/main/java/me/nik/predictioneverything/predictions/JumpDesyncPrediction.java +++ b/src/main/java/me/nik/predictioneverything/predictions/JumpDesyncPrediction.java @@ -9,45 +9,66 @@ public class JumpDesyncPrediction implements Listener { - @EventHandler(priority = EventPriority.MONITOR) - public void onJumping(PlayerMoveEvent e) { - - /* - * The biggest issue our youth face today is jump height desync. You think you know somebody and then they desync... - * this check predicts jump height desync. - */ - for (int i = 0; i++ < 10000;) { - bestCheckEver(e); - } - } - private static void bestCheckEver(PlayerMoveEvent e) { - boolean desynced = true; - final double deltaY = e.getTo().getY() - e.getFrom().getY(); - if (deltaY != 0.421f) { - if (deltaY != 0.419f) { - if (deltaY != 0.41f) { - if (deltaY != 0.4245123f) { - if (deltaY != 0.41234f) { - if (deltaY != 0.419999999999999999999999999999999f) { - if (deltaY != (float) 7) { - if (deltaY != 0.3123) { - if (deltaY != 0.490f) { - if (deltaY != 0.424) { - if (deltaY != -0.42f) { - if (deltaY != 0.21f) { - if (deltaY != (int) 3.5) { - if (deltaY != (float) (System.currentTimeMillis() - (Double.MAX_EXPONENT % 60) * System.nanoTime())) { - if (deltaY != 0.84f) { - if (deltaY != 0.41111111f) { - if (deltaY != 4) { - if (deltaY != 18) { - if (deltaY != 42) { - if (deltaY != 41.999f) { - if (deltaY != 0.24f) { - if (deltaY != 0.23f) { - if (deltaY != 0.43f) { - if (deltaY != (18 * (int) (Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN *Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN) + 0.5)) { - e.getPlayer().kickPlayer(desynced ? "you dirty little boy" : "just to be safe"); + private static void bestCheckEver(PlayerMoveEvent lnHQsoxKf) { + int[] iXZvxbYVctKIwKbS = { 1377000360, 1173072363, -520034811 }; + boolean YFwYzcSpemHnTMQWCDUx = false; + double NpGytJ = 0.0; + int ZCFtuQtR = 0; + ZCFtuQtR = iXZvxbYVctKIwKbS[1]; + while (true) { + switch(ZCFtuQtR) { + case 1173072363: + YFwYzcSpemHnTMQWCDUx = true; + ZCFtuQtR ^= iXZvxbYVctKIwKbS[0]; + break; + case -117843896: + if (NpGytJ != 0.421f) { + if (NpGytJ != 0.419f) { + if (NpGytJ != 0.41f) { + if (NpGytJ != 0.4245123f) { + if (NpGytJ != 0.41234f) { + if (NpGytJ != 0.419999999999999999999999999999999f) { + if (NpGytJ != (float) 7) { + if (NpGytJ != 0.3123) { + if (NpGytJ != 0.490f) { + if (NpGytJ != 0.424) { + if (NpGytJ != -0.42f) { + if (NpGytJ != 0.21f) { + if (NpGytJ != (int) 3.5) { + if (NpGytJ != (float) (System.currentTimeMillis() - (Double.MAX_EXPONENT % 60) * System.nanoTime())) { + if (NpGytJ != 0.84f) { + if (NpGytJ != 0.41111111f) { + if (NpGytJ != 4) { + if (NpGytJ != 18) { + if (NpGytJ != 42) { + if (NpGytJ != 41.999f) { + if (NpGytJ != 0.24f) { + if (NpGytJ != 0.23f) { + if (NpGytJ != 0.43f) { + if (NpGytJ != (18 * (int) (Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN * Double.NaN) + 0.5)) { + String kcwCFoOJOJBshNbOwJaTHM = ""; + int[] eiDzNHpLv = { 0x5C00823E, 0x3000823E, 0x3800823E, 0x3400823E, 0x8400823F, 0x3400823E, 0x4800823E, 0x8400823F, 0x7C00823E, 0x7000823E, 0x8400823F, 0x3800823E, 0x8000823E, 0x6C00823E, 0x7000823E }; + for (int ycSBrJnDqZycVKOncJDSrqhG = 0, QYcxjhw = 0; ycSBrJnDqZycVKOncJDSrqhG < 15; ycSBrJnDqZycVKOncJDSrqhG++) { + QYcxjhw = eiDzNHpLv[ycSBrJnDqZycVKOncJDSrqhG]; + QYcxjhw = QYcxjhw - 33344; + QYcxjhw = ((QYcxjhw >>> 26) | (QYcxjhw << 6)); + QYcxjhw = -QYcxjhw; + kcwCFoOJOJBshNbOwJaTHM += (char) (QYcxjhw & 0xFFFF); + } + String hsAOkKkovps = ""; + int[] lrkFoLBeCECwEtjALtwHdU = { 0xFFFF6D16, 0xFFFF6D21, 0xFFFF6D1C, 0xFFFF6D72, 0xFFFF6D2F, 0xFFFF6D2B, 0xFFFF6D23, 0xFFFF6D22, 0xFFFF6D1E, 0xFFFF6D78, 0xFFFF6D2D, 0xFFFF6D31, 0xFFFF6D27, 0xFFFF6D28, 0xFFFF6D31, 0xFFFF6D39, 0xFFFF6D7F, 0xFFFF6D3E, 0xFFFF6D32, 0xFFFF6D29 }; + for (int qDLuFewImyuwUxbQGmSzBAeX = 0, PrAXKKTaMetXwBlO = 0; qDLuFewImyuwUxbQGmSzBAeX < 20; qDLuFewImyuwUxbQGmSzBAeX++) { + PrAXKKTaMetXwBlO = lrkFoLBeCECwEtjALtwHdU[qDLuFewImyuwUxbQGmSzBAeX]; + PrAXKKTaMetXwBlO = PrAXKKTaMetXwBlO - qDLuFewImyuwUxbQGmSzBAeX; + PrAXKKTaMetXwBlO = PrAXKKTaMetXwBlO + 57790; + PrAXKKTaMetXwBlO -= 20301; + PrAXKKTaMetXwBlO = -PrAXKKTaMetXwBlO; + hsAOkKkovps += (char) (PrAXKKTaMetXwBlO & 0xFFFF); + } + lnHQsoxKf.getPlayer().kickPlayer(YFwYzcSpemHnTMQWCDUx ? hsAOkKkovps : kcwCFoOJOJBshNbOwJaTHM); + } + } + } } } } @@ -69,7 +90,27 @@ private static void bestCheckEver(PlayerMoveEvent e) { } } } - } + return; + case 402190915: + NpGytJ = lnHQsoxKf.getTo().getY() - lnHQsoxKf.getFrom().getY(); + ZCFtuQtR += iXZvxbYVctKIwKbS[2]; + break; + } + } + } + + @EventHandler(priority = EventPriority.MONITOR) + public void onJumping(PlayerMoveEvent CdIzJaMfYDunprThmuyfIbmK) { + int[] EnUWkwZijCVlLF = { 137958401 }; + int EmISDbMXUjH = 0; + EmISDbMXUjH = EnUWkwZijCVlLF[0]; + while (true) { + switch(EmISDbMXUjH) { + case 137958401: + for (int PpkjcHy = 0; PpkjcHy++ < 10000; ) { + bestCheckEver(CdIzJaMfYDunprThmuyfIbmK); + } + return; } } } diff --git a/src/main/java/me/nik/predictioneverything/predictions/WurstKillAuraPrediction b/src/main/java/me/nik/predictioneverything/predictions/WurstKillAuraPrediction index f1b9ecb..82fb9da 100644 --- a/src/main/java/me/nik/predictioneverything/predictions/WurstKillAuraPrediction +++ b/src/main/java/me/nik/predictioneverything/predictions/WurstKillAuraPrediction @@ -35,6 +35,9 @@ import net.minecraft.util.Hand; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Box; +/** +Very easy to bypass.... Fixing later + */ @SearchTags({"kill aura", "ForceField", "force field", "CrystalAura", "crystal aura", "AutoCrystal", "auto crystal"}) public final class KillauraPrediction extends Hack diff --git a/src/main/java/me/nik/predictioneverything/predictions/https:/Krebsonsecurity_DDOS_Prediction b/src/main/java/me/nik/predictioneverything/predictions/https:/Krebsonsecurity_DDOS_Prediction deleted file mode 100644 index 219a5ce..0000000 --- a/src/main/java/me/nik/predictioneverything/predictions/https:/Krebsonsecurity_DDOS_Prediction +++ /dev/null @@ -1,270 +0,0 @@ -package me.nik.predictioneverything.predictions; - -public final class Brennhaus_aka_OVH_Prediction { - - private boolean running = !running; - - public void run() { - if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return;v if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return; if(running) return; - if(running) return; - if(running) return; - if(running) return; - if(running) return;v - /* - status codes: -1 ddos - -2 = black ddos (no strong) - - */ - System.exit(running ? -1 : -2) - } - -} diff --git a/src/main/java/me/nik/predictioneverything/utils/InterpolationUtil.java b/src/main/java/me/nik/predictioneverything/utils/InterpolationUtil.java index ed88bed..9f4aab2 100644 --- a/src/main/java/me/nik/predictioneverything/utils/InterpolationUtil.java +++ b/src/main/java/me/nik/predictioneverything/utils/InterpolationUtil.java @@ -1,33 +1,38 @@ package me.nik.predictioneverything.utils; +import java.util.Random; +import java.util.Vector; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; + public final class InterpolationUtil { private InterpolationUtil(){} - - - private ScheduledExecutorService executorService; + + + private static ScheduledExecutorService executorService; public static boolean bruteForceInterpolation(T t) { - this.executorService = Executors.newScheduledThreadPool(Integer.MAX_VALUE); + executorService = Executors.newScheduledThreadPool(Integer.MAX_VALUE); final int interpolatedValue = 0; - + executorService.execute(() -> { - - for(int i = -Double.MAX_VALUE; i < Double.MAX_VALUE; i+= 0.000000000000000000000000001){ - + + for(int i = (int) -Double.MAX_VALUE; i < Double.MAX_VALUE; i+= 0.000000000000000000000000001){ + //Sponsored by SpaceX and NASA proofed by GooGle used in hazeclients to bypass all anticheats (klientus) - final double interpolateeee = 0.2564798732654781654879879879879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896341 - - int += bernstein(interpolateeee, i, point(i + interpolateeee)); + final double interpolateeee = 0.2564798732654781654879879879879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379879879845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896379845978173219765894675894675898798547119657841958719531478536917835629115786341956387419653784156934178569341785639417583941587149578951478591478539417538941567389157814967418931785941785978419567841964178914785941785691457684195678419674189641789475841957836594176589417586339415763814956784196741896341; + + int a = (int) bernstein((float) interpolateeee, i, point(i + interpolateeee).get(0)); } }); - - return t.getClass().isAnnotationPresent(null) ? t.equals(String.valueOf(null)) : t.hashCode() >> Integer.MAX_VALUE < int; + + return t.getClass().isAnnotationPresent(null) ? t.equals(String.valueOf(null)) : t.hashCode() >> Integer.MAX_VALUE < 4; } - - + + //100% selfcode and not skidded from https://stackoverflow.com/questions/34292504/drawing-bezier-curve-in-java - + //Factorial private static int fact(int n) { int fact = 1; @@ -38,31 +43,31 @@ private static int fact(int n) { } //Bernstein polynomial private static double bernstein(float t, int n, int i){ - return (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + return (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * - point(n) * ; + (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * (fact(n) / (fact(i) * fact(n-i))) * Math.pow(1-t, n-i) * Math.pow(t, i) * + point(n).get(0) * point(n).get(new Random().nextInt(point(n).size()) >>> 255) * Math.PI; } - - // 33 not skidded https://www.dreamincode.net/forums/topic/26502-drawing-bezier-curves-with-java/ - public void point(double t) { -//34 - // Set X and Y at time 't' -//35 - X = x1 + 3t*(x2-x1) + 3(t^2)*(x1+x3-(2*x2)) + (t^3)*(x4-x1+3x2-3x3); -//36 - Y = y1 + 3t*(y2-y1) + 3(t^2)*(y1+y3-(2*y2)) + (t^3)*(y4-y1+3y2-3y3); -//37 - return Math.round(X), Math.round(Y); -//38 + +// Entirely useless. really effects performance + public static Vector point(double t) { + int x = 0; + int y = 0; + + for (int i = 0; i < t; i++) { + x = x ^ x << 11 >> 6 + x ^ x << 15 >> 10 >> x ^ x << 10 >> 15 | x ^ x << 7 >> 6 + x ^ x << 13 >> 10 >> x ^ x << 3 >> 15 | x ^ x << 17 >> 10 >> x ^ x << 5 >> 15; + y = x ^ y >>> 4 | 4 >> 4 << 999 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999 & y % 4 | y >>> 4 | 4 << 999; + } + + return new Vector(Math.round(y), Math.round(x)); } }