/del

Начинающий
Статус
Оффлайн
Регистрация
11 Фев 2023
Сообщения
208
Реакции[?]
0
Поинты[?]
2K
Spammer.java:
package fun.rich.client.feature.impl.misc;

import fun.rich.client.feature.*;
import fun.rich.client.ui.settings.impl.*;
import fun.rich.client.feature.impl.*;
import fun.rich.client.ui.settings.*;
import net.minecraft.entity.player.*;
import fun.rich.client.utils.*;
import net.minecraft.client.network.*;
import java.util.*;
import fun.rich.client.event.events.impl.player.*;
import org.apache.commons.lang3.*;
import java.io.*;
import fun.rich.client.event.*;

public class Spammer extends Feature {
    private final NumberSetting delay;
    private final BooleanSetting randomSymbols;
    private final ListSetting spammerMode;
    private int ticks;
    private int counter;

    public Spammer() {
        super("Spammer", FeatureCategory.Misc);
        this.spammerMode = new ListSetting("Spammer Mode", "Default", () -> true, new String[]{"Default", "HvH?", "Bulling"});
        this.delay = new NumberSetting("Spammer Delay", 100.0f, 10.0f, 500.0f, 10.0f, () -> true);
        this.randomSymbols = new BooleanSetting("Random Symbols", true, () -> this.spammerMode.currentMode.equals("Custom"));
        this.addSettings(new Setting[]{this.spammerMode, this.delay, this.randomSymbols});
    }

    private List<EntityPlayer> getPlayerByTab() {
        final ArrayList<EntityPlayer> list = new ArrayList<EntityPlayer>();
        for (final NetworkPlayerInfo info : Helper.mc.player.connection.getPlayerInfoMap()) {
            if (info == null) {
                continue;
            }
            list.add(Helper.mc.world.getPlayerEntityByName(info.getGameProfile().getName()));
        }
        return list;
    }

    @EventTarget
    public void onUpdate(final EventUpdate event) throws IOException {
        final String mode = this.spammerMode.getOptions();
        this.setSuffix(mode + ", " + (int) this.delay.getNumberValue());
        if (!mode.equalsIgnoreCase("Default")) {
            if (mode.equalsIgnoreCase("HvH?")) {
                    final String str1 = RandomStringUtils.randomAlphabetic(3);
                    final String str2 = RandomStringUtils.randomPrint(5);
                    final String str3 = "";
                    this.setSuffix("" + (int) this.delay.getNumberValue());
                    if (this.ticks++ % (int) this.delay.getNumberValue() == 0) {
                        switch (this.counter) {
                            case 0: {
                                Helper.mc.player.sendChatMessage(str3 + "!\u0422\u0432\u043e\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u0437a\u043b\u0443\u043fa \u0435\u0431a\u043d\u0430\u044f)) \u041a\u0438\u0434@\u0439 \u043c\u043de \u0434y\u044d\u043b\u044c: \"/duel " + Helper.mc.player.getName() + "\".       [" + str1 + "] [" + str2 + "]");
                                ++this.counter;
                                break;
                            }
                            case 1: {
                                Helper.mc.player.sendChatMessage(str3 + "!\u041f\u0440\u0430\u0432\u0434\u0430 \u0434\u0443\u043c\u0430\u0435\u0448\u044c \u0442\u0432\u043e\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u043b\u0443\u0447\u0448\u0435?) \u041a\u0438\u0434a\u0439 \u043c\u043d\u0435 \u0434\u0443\u044d\u043b\u044c: \"/duel " + Helper.mc.player.getName() + "\".    [" + str1 + "] [" + str2 + "]");
                                ++this.counter;
                                break;
                            }
                            case 2: {
                                Helper.mc.player.sendChatMessage(str3 + "!\u0422\u044b \u043a\u0430\u043a \u0441\u0435\u0431\u044f \u0432\u0435\u0434\u0435\u0448\u044c \u0431\u043b9\u0434\u0438\u043d\u0430 e\u0431a\u043da\u044f? \u041ai\u0434\u0430\u0439 \u043c\u043d\u0435 \u0434\u0443\u044d\u043b\u044c: \"/duel " + Helper.mc.player.getName() + "\".     [" + str1 + "] [" + str2 + "]");
                                this.counter = 0;
                                break;
                            }
                        }
                    }
                }
            } else {
                try {
                    final String str1 = RandomStringUtils.randomAlphabetic(3);
                    final String str2 = RandomStringUtils.randomPrint(5);
                    this.setSuffix("" + (int) this.delay.getNumberValue());
                    if (this.ticks++ % (int) this.delay.getNumberValue() == 0) {
                        Helper.mc.player.sendChatMessage("![" + str1 + "][ICODE] твоя вк/дс группа [/ICODE] [" + str2 + "]");
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        }
    }
}
 
Начинающий
Статус
Оффлайн
Регистрация
21 Июл 2022
Сообщения
90
Реакции[?]
1
Поинты[?]
0
Spammer.java:
package fun.rich.client.feature.impl.misc;

import fun.rich.client.feature.*;
import fun.rich.client.ui.settings.impl.*;
import fun.rich.client.feature.impl.*;
import fun.rich.client.ui.settings.*;
import net.minecraft.entity.player.*;
import fun.rich.client.utils.*;
import net.minecraft.client.network.*;
import java.util.*;
import fun.rich.client.event.events.impl.player.*;
import org.apache.commons.lang3.*;
import java.io.*;
import fun.rich.client.event.*;

public class Spammer extends Feature {
    private final NumberSetting delay;
    private final BooleanSetting randomSymbols;
    private final ListSetting spammerMode;
    private int ticks;
    private int counter;

    public Spammer() {
        super("Spammer", FeatureCategory.Misc);
        this.spammerMode = new ListSetting("Spammer Mode", "Default", () -> true, new String[]{"Default", "HvH?", "Bulling"});
        this.delay = new NumberSetting("Spammer Delay", 100.0f, 10.0f, 500.0f, 10.0f, () -> true);
        this.randomSymbols = new BooleanSetting("Random Symbols", true, () -> this.spammerMode.currentMode.equals("Custom"));
        this.addSettings(new Setting[]{this.spammerMode, this.delay, this.randomSymbols});
    }

    private List<EntityPlayer> getPlayerByTab() {
        final ArrayList<EntityPlayer> list = new ArrayList<EntityPlayer>();
        for (final NetworkPlayerInfo info : Helper.mc.player.connection.getPlayerInfoMap()) {
            if (info == null) {
                continue;
            }
            list.add(Helper.mc.world.getPlayerEntityByName(info.getGameProfile().getName()));
        }
        return list;
    }

    @EventTarget
    public void onUpdate(final EventUpdate event) throws IOException {
        final String mode = this.spammerMode.getOptions();
        this.setSuffix(mode + ", " + (int) this.delay.getNumberValue());
        if (!mode.equalsIgnoreCase("Default")) {
            if (mode.equalsIgnoreCase("HvH?")) {
                    final String str1 = RandomStringUtils.randomAlphabetic(3);
                    final String str2 = RandomStringUtils.randomPrint(5);
                    final String str3 = "";
                    this.setSuffix("" + (int) this.delay.getNumberValue());
                    if (this.ticks++ % (int) this.delay.getNumberValue() == 0) {
                        switch (this.counter) {
                            case 0: {
                                Helper.mc.player.sendChatMessage(str3 + "!\u0422\u0432\u043e\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u0437a\u043b\u0443\u043fa \u0435\u0431a\u043d\u0430\u044f)) \u041a\u0438\u0434@\u0439 \u043c\u043de \u0434y\u044d\u043b\u044c: \"/duel " + Helper.mc.player.getName() + "\".       [" + str1 + "] [" + str2 + "]");
                                ++this.counter;
                                break;
                            }
                            case 1: {
                                Helper.mc.player.sendChatMessage(str3 + "!\u041f\u0440\u0430\u0432\u0434\u0430 \u0434\u0443\u043c\u0430\u0435\u0448\u044c \u0442\u0432\u043e\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u043b\u0443\u0447\u0448\u0435?) \u041a\u0438\u0434a\u0439 \u043c\u043d\u0435 \u0434\u0443\u044d\u043b\u044c: \"/duel " + Helper.mc.player.getName() + "\".    [" + str1 + "] [" + str2 + "]");
                                ++this.counter;
                                break;
                            }
                            case 2: {
                                Helper.mc.player.sendChatMessage(str3 + "!\u0422\u044b \u043a\u0430\u043a \u0441\u0435\u0431\u044f \u0432\u0435\u0434\u0435\u0448\u044c \u0431\u043b9\u0434\u0438\u043d\u0430 e\u0431a\u043da\u044f? \u041ai\u0434\u0430\u0439 \u043c\u043d\u0435 \u0434\u0443\u044d\u043b\u044c: \"/duel " + Helper.mc.player.getName() + "\".     [" + str1 + "] [" + str2 + "]");
                                this.counter = 0;
                                break;
                            }
                        }
                    }
                }
            } else {
                try {
                    final String str1 = RandomStringUtils.randomAlphabetic(3);
                    final String str2 = RandomStringUtils.randomPrint(5);
                    this.setSuffix("" + (int) this.delay.getNumberValue());
                    if (this.ticks++ % (int) this.delay.getNumberValue() == 0) {
                        Helper.mc.player.sendChatMessage("![" + str1 + "]` твоя вк/дс группа ` [" + str2 + "]");
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        }
    }
}
код с тандер хака+ пон
 
Похожие темы
Ответы
9
Просмотры
360
Ответы
0
Просмотры
120
Ответы
0
Просмотры
139
Ответы
0
Просмотры
273
Сверху Снизу