Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

мой отец ебал мою маму #520

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
73c3e86
хуй
ulybaka1337 Sep 26, 2024
a3b4d50
Merge branch 'Pan4ur:main' into main
ulybaka1337 Sep 26, 2024
392015a
плацебо?
ulybaka1337 Sep 28, 2024
b1eb912
FIMOZZZZZ
ulybaka1337 Sep 28, 2024
870055f
PERSIK VS SHOVEL
ulybaka1337 Sep 28, 2024
a24a16a
KABACHOK VS RAKUSHKA
ulybaka1337 Sep 30, 2024
7ed8416
PenisESP Fimoz
ulybaka1337 Oct 5, 2024
e0e438d
блять че я сделал
ulybaka1337 Oct 6, 2024
0d4e137
esp but it is actually good
ulybaka1337 Oct 7, 2024
0927b4e
Merge remote-tracking branch 'origin/main'
ulybaka1337 Oct 7, 2024
4a8e953
цыганская магия
ulybaka1337 Oct 7, 2024
2900f71
божественный микслик
ulybaka1337 Oct 7, 2024
3f3625b
ух щас я оторвусь
ulybaka1337 Oct 9, 2024
f847313
так круче выглядит
ulybaka1337 Oct 9, 2024
5541d43
не ренейм а форк
ulybaka1337 Oct 9, 2024
483e27a
тестики и улучшения
ulybaka1337 Oct 10, 2024
c50b6ab
говенный краш фикс?? надо протестить
ulybaka1337 Oct 10, 2024
8ee4648
ридми
ulybaka1337 Oct 10, 2024
8677908
ридми
ulybaka1337 Oct 10, 2024
64142e0
discord rpc
ulybaka1337 Oct 11, 2024
374a8d1
autototem do not swap back mode
ulybaka1337 Oct 11, 2024
5293a5b
show this repo's commits
ulybaka1337 Oct 11, 2024
b3d0425
Merge remote-tracking branch 'origin/main'
ulybaka1337 Oct 11, 2024
57b9a3e
просчитался но где?
ulybaka1337 Oct 11, 2024
8e38476
close without packet from ui utils (надо очень)
ulybaka1337 Oct 13, 2024
d13ff5a
Update gradle.yml
ulybaka1337 Oct 14, 2024
dfb122e
фикс опечаточек
ulybaka1337 Oct 14, 2024
b88b189
DIFFERENCES.md
ulybaka1337 Oct 14, 2024
43351f3
govnotroling
ulybaka1337 Oct 14, 2024
49d48b0
autoleave send chat message
ulybaka1337 Oct 14, 2024
84f066d
paper dupe by lefty and crazymoose77756 port
ulybaka1337 Oct 14, 2024
a8fa38b
ридмиии
ulybaka1337 Oct 14, 2024
fae95fd
Merge remote-tracking branch 'origin/main'
ulybaka1337 Oct 14, 2024
7d0a301
прикол
ulybaka1337 Oct 16, 2024
6bc4356
онлайна больше не будет
ulybaka1337 Oct 24, 2024
70fcc8b
комиты в глвыном меню
ulybaka1337 Oct 24, 2024
a8ae32b
религия (не пиздите меня за такое прошу это шутка)
ulybaka1337 Oct 24, 2024
04fd1e4
пиздец я тупой
ulybaka1337 Oct 25, 2024
9de4895
версию поменял типо
ulybaka1337 Nov 2, 2024
a57056e
Merge remote-tracking branch 'origin/main'
ulybaka1337 Nov 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
- uses: "0xDylan/action-auto-releases-n20@v1.1"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "Latest Build (1.21)"
automatic_release_tag: "nightly"
prerelease: true
title: "Nightly Build (1.21)"
files: |
./build/libs/*.jar
2 changes: 2 additions & 0 deletions DIFFERENCES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Differences from original ThunderHack Recode:
// TODO
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
<p align="center">
<img src="https://i.imgur.com/ZiJ0r7y.png" style="width: 69%">
<img src="https://i.imgur.com/7bcS9eD.png" style="width: 69%">
</p>


<div align="center">
<img src="https://cdn.discordapp.com/attachments/934396624111824900/1230019159027617792/furro.gif?ex=6631cb9c&is=661f569c&hm=b6cee2cd9b6ec238f54c80dcfc421f2c8ecd3f750f2f61a62087d1e01d201e4d&" style="width: 69%">
</div>


<div align="center">

[![Discord Mine](https://img.shields.io/discord/1140266441082404924?label=discord&logo=discord&logoColor=white)](https://discord.gg/bJajFP3kCX)
[![Discord Mine](https://img.shields.io/discord/1140266441082404924?label=ThunderHack%20Recode%20Discord&logo=discord&logoColor=white)](https://discord.gg/bJajFP3kCX)
[![Discord Mine](https://img.shields.io/discord/1138007062333366393?label=ulybaka1337's%20Discord&logo=discord&logoColor=white)](https://discord.gg/7radMBMnNZ)


</div>

## Information

ThunderHack Recode is closed, so... I think it is my time to shine!

- Minecraft version: ```Fabric``` 1.21 (or whatever version's the latest)
- Default ClickGui keybind - **```P```** (<--- it is not, you should go to the Discord server and ask for the real keybind)
- Default ClickGui keybind - **```P```**
- Default prefix - **```@```**
- Middle click the module to bind it.
- Be aware Expensive, DoxWare 2.0, gumballoff, Treoderia "Recode", Deluxe Client, and Quick Client are both ratted and renames of this client.
- ~~Be aware Expensive, DoxWare 2.0, gumballoff, Treoderia "Recode", Deluxe Client, and Quick Client are both ratted and renames of this client.~~ Um, actually, they are renames of original ThunderHack Recode, not this fork

## Requires these mods:

Expand All @@ -34,12 +35,18 @@

## Credits

### ThunderHack Recode

- [Ai_24](https://www.youtube.com/@Ai_24) for cool showcase
- [KiLAB Gaming](https://www.youtube.com/@KiLABGaming) for complete overview
- [@meteordevelopment](https://github.com/meteordevelopment) for orbit
- [@ladysnake](https://github.com/ladysnake) for satin
- [@0x3C50](https://github.com/0x3C50/Renderer) for the renderer

### ThunderHack Recode Improved
- [@Coderx-Gamer](https://github.com/Coderx-Gamer/) for UI-Utils mod (I took a look at his code for GUI move -> Close without packet)
- [@crazymoose77756](https://github.com/crazymoose77756) and leftys for Meteor Paper Dupe (I added it into PastedPaperDupe module)

## Screenshots
<details>
<summary>GUI</summary>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ minecraft_version=1.21
yarn_mappings=1.21+build.2
loader_version=0.15.11

mod_version=1.7
mod_version=1.7.1
maven_group=thunder.hack
archives_base_name=thunderhack

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void load(String name) {

public void loadCloud(String name) {
Command.sendMessage(isRu() ? "Загружаю.." : "Downloading..");
try (BufferedInputStream in = new BufferedInputStream(new URL("https://raw.githubusercontent.com/Pan4ur/THRecodeUtil/main/configs/" + name + ".th").openStream());
try (BufferedInputStream in = new BufferedInputStream(new URL("https://raw.githubusercontent.com/ulybaka1337/THRecodeImprovedUtil/main/configs/" + name + ".th").openStream());
FileOutputStream fileOutputStream = new FileOutputStream(new File(CONFIGS_FOLDER, name + ".th"))) {
byte[] dataBuffer = new byte[1024];
int bytesRead;
Expand Down Expand Up @@ -402,7 +402,7 @@ public List<String> getConfigList() {
public List<String> getCloudConfigs() {
List<String> list = new ArrayList<>();
try {
URL url = new URL("https://raw.githubusercontent.com/Pan4ur/THRecodeUtil/main/cloudConfigs.txt");
URL url = new URL("https://raw.githubusercontent.com/ulybaka1337/THRecodeImprovedUtil/main/cloudConfigs.txt");
BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
Expand Down Expand Up @@ -446,4 +446,4 @@ public File getCurrentConfig() {
currentConfig = new File(CONFIGS_FOLDER, name + ".th");
return currentConfig;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class ModuleManager implements IManager {
public static MouseElytraFix mouseElytraFix = new MouseElytraFix();
public static TotemAnimation totemAnimation = new TotemAnimation();
public static PortalGodMode portalGodMode = new PortalGodMode();
public static OptifineCapes optifineCapes = new OptifineCapes();
public static Capes capes = new Capes();
public static Notifications notifications = new Notifications();
public static NoEntityTrace noEntityTrace = new NoEntityTrace();
public static MessageAppend messageAppend = new MessageAppend();
Expand Down Expand Up @@ -260,6 +260,8 @@ public class ModuleManager implements IManager {
public static FOV fov = new FOV();
public static ESP esp = new ESP();
public static RPC rpc = new RPC();
public static PastedPaperDupe paperdupe = new PastedPaperDupe();
public static Religion religion = new Religion();

public ModuleManager() {
for (Field field : getClass().getDeclaredFields()) {
Expand Down
17 changes: 17 additions & 0 deletions src/main/java/thunder/hack/features/modules/client/Capes.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package thunder.hack.features.modules.client;

import thunder.hack.features.modules.Module;
import thunder.hack.setting.Setting;

public class Capes extends Module {
public Capes() {
super("Capes", Category.CLIENT);
}

public Setting<Boolean> optifineCapes = new Setting<>("Optifine", true);
public Setting<Boolean> minecraftcapesCapes = new Setting<>("Minecraftcapes.net", false);
public Setting<Boolean> thCapes = new Setting<>("ThunderHack", true);
public Setting<capePriority> priority = new Setting<>("Priority", capePriority.Optifine, v -> optifineCapes.getValue() && minecraftcapesCapes.getValue());

public enum capePriority { Optifine, Minecraftcapes }
}

This file was deleted.

5 changes: 3 additions & 2 deletions src/main/java/thunder/hack/features/modules/client/RPC.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public void startRpc() {
if (!started) {
started = true;
DiscordEventHandlers handlers = new DiscordEventHandlers();
rpc.Discord_Initialize("1093053626198523935", handlers, true, "");
// rpc.Discord_Initialize("1093053626198523935", handlers, true, "");
rpc.Discord_Initialize("1294239539711442974", handlers, true, "");
presence.startTimestamp = (System.currentTimeMillis() / 1000L);
presence.largeImageText = "v" + ThunderHack.VERSION + " [" + ThunderHack.GITHUB_HASH + "]";
rpc.Discord_UpdatePresence(presence);
Expand All @@ -109,7 +110,7 @@ public void startRpc() {
}

presence.button_label_1 = "Download";
presence.button_url_1 = "https://github.com/Pan4ur/ThunderHack-Recode/";
presence.button_url_1 = "https://github.com/ulybaka1337/ThunderHack-Recode-Improved/";

switch (mode.getValue()) {
case Recode -> presence.largeImageKey = "https://i.imgur.com/yY0z2Uq.gif";
Expand Down
53 changes: 53 additions & 0 deletions src/main/java/thunder/hack/features/modules/client/Religion.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
package thunder.hack.features.modules.client;

import meteordevelopment.orbit.EventHandler;
import net.minecraft.entity.Entity;
import net.minecraft.entity.mob.ZoglinEntity;
import net.minecraft.entity.passive.PigEntity;
import net.minecraft.entity.passive.SheepEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.network.packet.c2s.play.PlayerInteractEntityC2SPacket;
import org.jetbrains.annotations.NotNull;
import thunder.hack.core.Managers;
import thunder.hack.features.modules.Module;
import thunder.hack.setting.Setting;
import thunder.hack.events.impl.PacketEvent;

import static thunder.hack.features.modules.client.ClientSettings.isRu;
import static thunder.hack.features.modules.combat.Criticals.getEntity;

public class Religion extends Module {
public Religion() { super("Religion", Category.CLIENT); }

public final Setting<YourReligion> ReligionSetting = new Setting<>("YourReligion", YourReligion.Christianity, v -> true);

public enum YourReligion { Christianity, Islam, Satanism, Atheism }
public int sheepHits = 0;

@EventHandler
@SuppressWarnings("unused")
private void onPacketSend(PacketEvent.@NotNull Send e) {
if (!(e.getPacket() instanceof PlayerInteractEntityC2SPacket pac)) return;

Entity entity = getEntity(pac);
if (entity == null) return;

if ((entity instanceof PigEntity || entity instanceof ZoglinEntity) && ReligionSetting.is(YourReligion.Islam)) e.cancel();

if (entity instanceof PlayerEntity) {
if (ReligionSetting.is(YourReligion.Christianity) && Managers.FRIEND.isFriend(entity.getName().getString())) {
sendMessage(isRu() ? "Люби ближнего твоего, как самого себя!" : "Love your neighbour as yourself!");
e.cancel();
} else if (ReligionSetting.is(YourReligion.Christianity)) {
sendMessage(isRu() ? "Не убивай!" : "Do not kill!");
e.cancel();
}
}

if ((entity instanceof SheepEntity) && ReligionSetting.is(YourReligion.Satanism)) {
sheepHits++;
sendMessage(isRu() ? String.format("Сатана хочет больше! Ударов по овцам: %d", sheepHits) : String.format("Satan needs more! Times you hit a sheep: %d", sheepHits));
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
public final class AutoTotem extends Module {
private final Setting<Mode> mode = new Setting<>("Mode", Mode.Matrix);
private final Setting<OffHand> offhand = new Setting<>("Item", OffHand.Totem);
private final Setting<Boolean> pomoyka = new Setting<>("DoNotSwapBack", false, v -> offhand.is(OffHand.Totem));
private final Setting<BooleanSettingGroup> bindSwap = new Setting<>("BindSwap", new BooleanSettingGroup(false), v -> offhand.is(OffHand.Totem));
private final Setting<Bind> swapButton = new Setting<>("SwapButton", new Bind(GLFW.GLFW_KEY_CAPS_LOCK, false, false)).addToGroup(bindSwap);
private final Setting<Swap> swapMode = new Setting<>("Swap", Swap.GappleShield).addToGroup(bindSwap);
Expand Down Expand Up @@ -89,7 +90,7 @@ public AutoTotem() {
public void onSync(EventSync e) {
swapTo(getItemSlot());

if (rcGap.not(RCGap.Off) && (mc.player.getMainHandStack().getItem() instanceof SwordItem) && mc.options.useKey.isPressed() && !mc.player.isUsingItem())
if (rcGap.not(RCGap.Off) && (mc.player.getMainHandStack().getItem() instanceof SwordItem) && mc.options.useKey.isPressed() && !mc.player.isUsingItem() && !pomoyka.getValue())
((IMinecraftClient) mc).idoItemUse();

delay--;
Expand Down Expand Up @@ -246,7 +247,8 @@ public int getItemSlot() {
if (offHandItem != Items.TOTEM_OF_UNDYING && !mc.player.getOffHandStack().isEmpty())
prevItem = offHandItem;

item = prevItem;
if (!pomoyka.getValue())
item = prevItem;

if (bindSwap.getValue().isEnabled())
if (isKeyPressed(swapButton) && bindDelay.every(250)) {
Expand All @@ -272,7 +274,9 @@ public int getItemSlot() {
else item = Items.TOTEM_OF_UNDYING;
}
}
prevItem = item;

prevItem = item;

}
}

Expand Down Expand Up @@ -401,7 +405,7 @@ else if (gapple.found() || offHandItem == Items.ENCHANTED_GOLDEN_APPLE)
}

for (int i = 9; i < 45; i++) {
if (mc.player.getOffHandStack().getItem() == item) return -1;
if (item != null && mc.player.getOffHandStack().getItem() == item) return -1;
if (mc.player.getInventory().getStack(i >= 36 ? i - 36 : i).getItem().equals(item)) {
itemSlot = i >= 36 ? i - 36 : i;
break;
Expand Down
17 changes: 17 additions & 0 deletions src/main/java/thunder/hack/features/modules/misc/AutoLeave.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
import net.minecraft.network.packet.c2s.play.UpdateSelectedSlotC2SPacket;
import net.minecraft.text.Text;
import net.minecraft.util.Formatting;
import org.lwjgl.glfw.GLFW;
import thunder.hack.core.Managers;
import thunder.hack.core.manager.client.ModuleManager;
import thunder.hack.features.modules.Module;
import thunder.hack.setting.Setting;
import thunder.hack.setting.impl.Bind;
import thunder.hack.setting.impl.SettingGroup;
import thunder.hack.utility.Timer;
import thunder.hack.utility.player.InventoryUtility;
Expand All @@ -33,6 +35,9 @@ public AutoLeave() {
private final Setting<LeaveMode> staff = new Setting<>("Staff", LeaveMode.None).addToGroup(leaveIf);
private final Setting<LeaveMode> players = new Setting<>("Players", LeaveMode.Leave).addToGroup(leaveIf);
private final Setting<Integer> distance = new Setting<>("Distance", 256, 4, 256, v -> players.getValue() != LeaveMode.None).addToGroup(leaveIf);
public final Setting<Boolean> leaveOnBind = new Setting<>("LeaveOnBind", false, v -> true).addToGroup(leaveIf);
public final Setting<Bind> leaveBind = new Setting<>("LeaveBind", new Bind(GLFW.GLFW_KEY_N, false, false), v -> leaveOnBind.is(true)).addToGroup(leaveIf);
public final Setting<String> leaveChat = new Setting<>("MessageOnLeave", "", v -> true);

private final Timer chatDelay = new Timer();

Expand Down Expand Up @@ -82,16 +87,28 @@ public void onUpdate() {

if (staff.getValue() != LeaveMode.None && ModuleManager.staffBoard.isDisabled() && mc.player.age % 5 == 0)
sendMessage(isRu() ? "Включи StaffBoard!" : "Turn on StaffBoard!");

if (isKeyPressed(leaveBind) && leaveOnBind.getValue())
leave(isRu() ? "Ливнул т.к. прожат бинд" : "Logged out because bind is pressed");
}

private void leave(String message) {

if (!chatDelay.passedMs(1000))
return;
chatDelay.reset();

if (autoDisable.getValue())
disable(message);

if (leaveChat.getValue() != null || leaveChat.getValue() != "") {
if (leaveChat.getValue().contains("/")) {
mc.getNetworkHandler().sendChatCommand(leaveChat.getValue());
} else {
mc.getNetworkHandler().sendChatMessage(leaveChat.getValue());
}
}

if (fastLeave.getValue()) sendPacket(new UpdateSelectedSlotC2SPacket(228));
else mc.player.networkHandler.getConnection().disconnect(Text.of("[AutoLeave] " + message));
}
Expand Down
11 changes: 11 additions & 0 deletions src/main/java/thunder/hack/features/modules/misc/ChestStealer.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
import net.minecraft.util.Hand;
import net.minecraft.util.hit.BlockHitResult;
import net.minecraft.util.math.Direction;
import thunder.hack.core.manager.client.ModuleManager;
import thunder.hack.events.impl.PlayerUpdateEvent;
import thunder.hack.features.modules.Module;
import thunder.hack.features.modules.client.Religion;
import thunder.hack.setting.Setting;
import thunder.hack.setting.impl.ItemSelectSetting;
import thunder.hack.utility.Timer;
Expand All @@ -21,6 +23,7 @@
import java.util.ArrayList;
import java.util.Random;

import static thunder.hack.features.modules.client.ClientSettings.isRu;
import static thunder.hack.features.modules.render.StorageEsp.getBlockEntities;

public class ChestStealer extends Module {
Expand All @@ -39,6 +42,14 @@ public ChestStealer() {
private final Timer timer = new Timer();
private final Random rnd = new Random();

@Override
public void onEnable() {
if (ModuleManager.religion.isOn() && ModuleManager.religion.ReligionSetting.is(Religion.YourReligion.Christianity)) {
ModuleManager.religion.sendMessage(isRu() ? "Не укради!" : "Do not steal!");
disable();
}
}

public void onRender3D(MatrixStack stack) {
if (mc.player.currentScreenHandler instanceof GenericContainerScreenHandler chest) {
for (int i = 0; i < chest.getInventory().size(); i++) {
Expand Down
Loading