Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

my friend having problems with his skidded disabler lmao (LAG)

minorbie

New member
Joined
Sep 27, 2021
Messages
63
Reaction score
12
Points
0
He says his disabler makes it lag (to be exact the packets.poll(); )

The Code of the Disabler:


package com.mintyplays.tutorial.module.exploit;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedDeque;

import org.lwjgl.input.Keyboard;

import com.mintyplays.tutorial.Tutorial;
import com.mintyplays.tutorial.event.EventTarget;
import com.mintyplays.tutorial.event.events.EventReceivePacket;
import com.mintyplays.tutorial.event.events.EventSendPacket;
import com.mintyplays.tutorial.event.events.EventUpdate;
import com.mintyplays.tutorial.event.events.PacketEvent;
import com.mintyplays.tutorial.module.Category;
import com.mintyplays.tutorial.module.Module;
import com.mintyplays.tutorial.utils.PacketUtil;
import com.mintyplays.tutorial.utils.Stopwatch;
import com.mintyplays.tutorial.utils.Timer;
import com.mojang.realmsclient.dto.RealmsServer.McoServerComparator;

import de.Hero.settings.Setting;
import net.minecraft.init.Items;
import net.minecraft.network.Packet;
import net.minecraft.network.play.client.C00PacketKeepAlive;
import net.minecraft.network.play.client.C03PacketPlayer;
import net.minecraft.network.play.client.C0BPacketEntityAction;
import net.minecraft.network.play.client.C0CPacketInput;
import net.minecraft.network.play.client.C0FPacketConfirmTransaction;
import net.minecraft.network.play.server.S00PacketKeepAlive;
import net.minecraft.network.play.server.S08PacketPlayerPosLook;
import net.minecraft.network.play.server.S0BPacketAnimation;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.ChatStyle;
import net.minecraft.util.IChatComponent;
public class Disabler extends Module{


static LinkedList<Packet> packets = new LinkedList<Packet>();
public static boolean expectedTeleport;
static Stopwatch timer = new Stopwatch();
public static Timer timer2 = new Timer();

public Disabler() {
super("Disabler", Keyboard.KEY_NONE, Category.MISC);
packets = new LinkedList();
timer = new Stopwatch();
}

@Override
public void setup() {
ArrayList<String> options = new ArrayList<>();
options.add("Verus");
options.add("Ghostly");
options.add("Hypixel");
Tutorial.instance.settingsManager.rSetting(new Setting("Auto Disable", this, true));
Tutorial.instance.settingsManager.rSetting(new Setting("Disabler Mode", this, "Verus", options));
Tutorial.instance.settingsManager.rSetting(new Setting("VerusFlagDelay", this, 40, 35, 60, false));
Tutorial.instance.settingsManager.rSetting(new Setting("VerusBufferSize", this, 300, 0, 1000, false));
Tutorial.instance.settingsManager.rSetting(new Setting("VerusSilentFlagApply", this, true));
}

private final Queue<Packet<?>> packetQueue = new ConcurrentLinkedDeque<>();

@Override
public void onEnable() {
super.onEnable();
expectedTeleport = false;
packets.clear();
timer.resetTime();
}

@Override
public void onDisable() {
super.onDisable();
expectedTeleport = false;
}
@EventTarget
public void onSend(EventSendPacket event) {
if (shouldNotRun()) {
timer.resetTime();
packets.clear();
return;
}
if (event.getPacket() instanceof C0FPacketConfirmTransaction) {

packets.add(event.getPacket());
event.setCancelled(true);
if (packets.size() > 300) {
PacketUtil.sendPacketNoEvent((Packet)((Packet)packets.poll()));
}
}
if (event.getPacket() instanceof C0BPacketEntityAction) {
event.setCancelled(true);
}
if (event.getPacket() instanceof C03PacketPlayer) {
C03PacketPlayer c03 = (C03PacketPlayer)event.getPacket();
if (mc.thePlayer.ticksExisted % 5 == 0) {
PacketUtil.sendPacketNoEvent((Packet)new C0CPacketInput());
}
if (mc.thePlayer.ticksExisted % 40 == 0) {
expectedTeleport = true;
c03.y = -0.015625;
c03.onGround = false;
}
}
if (event.getPacket() instanceof S08PacketPlayerPosLook && expectedTeleport) {
S08PacketPlayerPosLook s08 = (S08PacketPlayerPosLook)event.getPacket();
expectedTeleport = false;
event.setCancelled(true);
PacketUtil.sendPacketNoEvent((Packet)new C03PacketPlayer.C06PacketPlayerPosLook(s08.getX(), s08.getY(), s08.getZ(), s08.getYaw(), s08.getPitch(), true));
}
}

@EventTarget
public void onUpdate(EventUpdate event) {
this.setDisplayName("Disabler §8" + "BlocksMC");
if (timer.timeElapsed(490L)) {
timer.resetTime();
if (!packets.isEmpty()) {
PacketUtil.sendPacketNoEvent((Packet)((Packet)packets.poll()));
}
}

}



boolean shouldNotRun() {
if (mc.thePlayer == null) {
return true;
}
if (mc.thePlayer.inventory == null) {
return true;
}
if (mc.thePlayer.inventory.hasItem(Items.compass)) {
return true;
}
return mc.thePlayer == null || mc.thePlayer.ticksExisted <= 5;
}

boolean isLegitC0F(short size) {
return size > 0 && size < 100;
}

}


the packets.poll starts to lag it all out like crazy
 
he doesnt even know how to make a fucking account on the site thats why I did it for him being a good friend
Both of you are neurally divergent. Also, as a good friend, you should be able to tell him how he can fix "his" disabler.
 
Imagine using a tutorial and not even refactoring the name of the package
 
kk

like I said this is my friends class not mine. I fixed it for him anyways. So how do we close a thread lmao
Why did you asked for it on your account then? Yes, you said that he doesn't know how to make an account but the funny thing is that there is a thread with the exact same problem and in that thread you said that the original poster is your friend, so nobody wanted to help you skid outdated disabler so you made another thread but from your account?
 
He says his disabler makes it lag (to be exact the packets.poll(); )

The Code of the Disabler:


package com.mintyplays.tutorial.module.exploit;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedDeque;

import org.lwjgl.input.Keyboard;

import com.mintyplays.tutorial.Tutorial;
import com.mintyplays.tutorial.event.EventTarget;
import com.mintyplays.tutorial.event.events.EventReceivePacket;
import com.mintyplays.tutorial.event.events.EventSendPacket;
import com.mintyplays.tutorial.event.events.EventUpdate;
import com.mintyplays.tutorial.event.events.PacketEvent;
import com.mintyplays.tutorial.module.Category;
import com.mintyplays.tutorial.module.Module;
import com.mintyplays.tutorial.utils.PacketUtil;
import com.mintyplays.tutorial.utils.Stopwatch;
import com.mintyplays.tutorial.utils.Timer;
import com.mojang.realmsclient.dto.RealmsServer.McoServerComparator;

import de.Hero.settings.Setting;
import net.minecraft.init.Items;
import net.minecraft.network.Packet;
import net.minecraft.network.play.client.C00PacketKeepAlive;
import net.minecraft.network.play.client.C03PacketPlayer;
import net.minecraft.network.play.client.C0BPacketEntityAction;
import net.minecraft.network.play.client.C0CPacketInput;
import net.minecraft.network.play.client.C0FPacketConfirmTransaction;
import net.minecraft.network.play.server.S00PacketKeepAlive;
import net.minecraft.network.play.server.S08PacketPlayerPosLook;
import net.minecraft.network.play.server.S0BPacketAnimation;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.ChatStyle;
import net.minecraft.util.IChatComponent;
public class Disabler extends Module{


static LinkedList<Packet> packets = new LinkedList<Packet>();
public static boolean expectedTeleport;
static Stopwatch timer = new Stopwatch();
public static Timer timer2 = new Timer();

public Disabler() {
super("Disabler", Keyboard.KEY_NONE, Category.MISC);
packets = new LinkedList();
timer = new Stopwatch();
}

@Override
public void setup() {
ArrayList<String> options = new ArrayList<>();
options.add("Verus");
options.add("Ghostly");
options.add("Hypixel");
Tutorial.instance.settingsManager.rSetting(new Setting("Auto Disable", this, true));
Tutorial.instance.settingsManager.rSetting(new Setting("Disabler Mode", this, "Verus", options));
Tutorial.instance.settingsManager.rSetting(new Setting("VerusFlagDelay", this, 40, 35, 60, false));
Tutorial.instance.settingsManager.rSetting(new Setting("VerusBufferSize", this, 300, 0, 1000, false));
Tutorial.instance.settingsManager.rSetting(new Setting("VerusSilentFlagApply", this, true));
}

private final Queue<Packet<?>> packetQueue = new ConcurrentLinkedDeque<>();

@Override
public void onEnable() {
super.onEnable();
expectedTeleport = false;
packets.clear();
timer.resetTime();
}

@Override
public void onDisable() {
super.onDisable();
expectedTeleport = false;
}
@EventTarget
public void onSend(EventSendPacket event) {
if (shouldNotRun()) {
timer.resetTime();
packets.clear();
return;
}
if (event.getPacket() instanceof C0FPacketConfirmTransaction) {

packets.add(event.getPacket());
event.setCancelled(true);
if (packets.size() > 300) {
PacketUtil.sendPacketNoEvent((Packet)((Packet)packets.poll()));
}
}
if (event.getPacket() instanceof C0BPacketEntityAction) {
event.setCancelled(true);
}
if (event.getPacket() instanceof C03PacketPlayer) {
C03PacketPlayer c03 = (C03PacketPlayer)event.getPacket();
if (mc.thePlayer.ticksExisted % 5 == 0) {
PacketUtil.sendPacketNoEvent((Packet)new C0CPacketInput());
}
if (mc.thePlayer.ticksExisted % 40 == 0) {
expectedTeleport = true;
c03.y = -0.015625;
c03.onGround = false;
}
}
if (event.getPacket() instanceof S08PacketPlayerPosLook && expectedTeleport) {
S08PacketPlayerPosLook s08 = (S08PacketPlayerPosLook)event.getPacket();
expectedTeleport = false;
event.setCancelled(true);
PacketUtil.sendPacketNoEvent((Packet)new C03PacketPlayer.C06PacketPlayerPosLook(s08.getX(), s08.getY(), s08.getZ(), s08.getYaw(), s08.getPitch(), true));
}
}

@EventTarget
public void onUpdate(EventUpdate event) {
this.setDisplayName("Disabler §8" + "BlocksMC");
if (timer.timeElapsed(490L)) {
timer.resetTime();
if (!packets.isEmpty()) {
PacketUtil.sendPacketNoEvent((Packet)((Packet)packets.poll()));
}
}

}



boolean shouldNotRun() {
if (mc.thePlayer == null) {
return true;
}
if (mc.thePlayer.inventory == null) {
return true;
}
if (mc.thePlayer.inventory.hasItem(Items.compass)) {
return true;
}
return mc.thePlayer == null || mc.thePlayer.ticksExisted <= 5;
}

boolean isLegitC0F(short size) {
return size > 0 && size < 100;
}

}


the packets.poll starts to lag it all out like crazy
I believe your so called "friend" is actually you.
 
Imagine using a tutorial and not even refactoring the name of the package
i didn't watch the tutorial. im just using the client base also credits already given ...

also why should i change the package names? if i was do it, it'll be makes people thinks me trying to hide the package names to be clear skid.
im just trying to learn something. like others do, no one can start with the all knowledge
 
i didn't watch the tutorial. im just using the client base also credits already given ...

also why should i change the package names? if i was do it, it'll be makes people thinks me trying to hide the package names to be clear skid.
im just trying to learn something. like others do, no one can start with the all knowledge
So you are too stupid to refactor package AND follow a tutorial
 
So you are too stupid to refactor package AND follow a tutorial
bruh im too stupid? I literally just said that that isnt my class it isnt even from my client the class is from my friends client + my client has its own base by me
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top