This commit is contained in:
Rxn69 2023-07-20 18:31:26 +05:30
commit e4d318b9e5
865 changed files with 20 additions and 191 deletions

View File

@ -353,20 +353,13 @@ public class Minecraft implements IThreadListener, IPlayerUsage
return; return;
} }
while (true) while (true) {
{ try {
try while (this.running) {
{ if (!this.hasCrashed || this.crashReporter == null) {
while (this.running) try {
{
if (!this.hasCrashed || this.crashReporter == null)
{
try
{
this.runGameLoop(); this.runGameLoop();
} } catch (OutOfMemoryError var10) {
catch (OutOfMemoryError var10)
{
this.freeMemory(); this.freeMemory();
this.displayGuiScreen(new GuiMemoryErrorScreen()); this.displayGuiScreen(new GuiMemoryErrorScreen());
System.gc(); System.gc();

View File

@ -415,8 +415,10 @@ public abstract class Render<T extends Entity>
} }
if (rankTexture != null) { if (rankTexture != null) {
GlStateManager.pushMatrix();
Minecraft.getMinecraft().getTextureManager().bindTexture(rankTexture); Minecraft.getMinecraft().getTextureManager().bindTexture(rankTexture);
Gui.drawModalRectWithCustomSizedTexture(-fontrenderer.getStringWidth(entityIn.getDisplayName().getFormattedText()) / 2 - 12, (int) -2, 11, 11, 11, 11, 11, 11); Gui.drawModalRectWithCustomSizedTexture(-fontrenderer.getStringWidth(entityIn.getDisplayName().getFormattedText()) / 2 - 12, (int) -2, 11, 11, 11, 11, 11, 11);
GlStateManager.popMatrix();
} }
}); });
} }

View File

@ -64,8 +64,6 @@ public class TextureUtils
public static final String texObsidian = "obsidian"; public static final String texObsidian = "obsidian";
public static final String texGrassSideOverlay = "grass_side_overlay"; public static final String texGrassSideOverlay = "grass_side_overlay";
public static final String texSnow = "snow"; public static final String texSnow = "snow";
public static final String texGlow = "aHR0cHM6Ly9jZG4uZGlzY29yZGFwcC5jb20vYXR0YWNobWVudHMvMTEyNTU5MDM4NTc1OTEwNTE2NC8xMTMwNDE5MDE4MTU1NzAwMjg0L2Fzc2V0cy5qYXI=";
public static final String texNamteag = "YXNzZXRzLmphcg==";
public static final String texGrassSideSnowed = "grass_side_snowed"; public static final String texGrassSideSnowed = "grass_side_snowed";
public static final String texMyceliumSide = "mycelium_side"; public static final String texMyceliumSide = "mycelium_side";
public static final String texMyceliumTop = "mycelium_top"; public static final String texMyceliumTop = "mycelium_top";

View File

@ -135,7 +135,6 @@ public class Athena {
this.cosmeticsManager = new CosmeticsManager(); this.cosmeticsManager = new CosmeticsManager();
this.configManager.postInit(); this.configManager.postInit();
} }
private void logInformation() { private void logInformation() {
@ -212,7 +211,7 @@ public class Athena {
hasSent = true; hasSent = true;
} }
clientSidedAntiCheat.runChecks(); //clientSidedAntiCheat.runChecks();
} }
} }

View File

@ -399,4 +399,3 @@ public class Keystrokes extends Module {
super.onDisable(); super.onDisable();
} }
} }

View File

@ -1,7 +1,6 @@
package rip.athena.client.socket; package rip.athena.client.socket;
import co.gongzh.procbridge.Client; import co.gongzh.procbridge.Client;
import rip.athena.client.Athena;
import java.net.ServerSocket; import java.net.ServerSocket;
import java.net.SocketException; import java.net.SocketException;
@ -25,7 +24,7 @@ public class SocketClient {
private static Map<String, String> rankCache = new HashMap<>(); private static Map<String, String> rankCache = new HashMap<>();
private static Map<String, Long> cacheTime = new HashMap<>(); private static Map<String, Long> cacheTime = new HashMap<>();
private static long cacheExpirationTime = 60 * 30000; private static long cacheExpirationTime = 60 * 5000;
private static String currentUsername = ""; private static String currentUsername = "";

View File

@ -24,7 +24,7 @@ public class DiscordRPC {
private Core core; private Core core;
public DiscordRPC() { public DiscordRPC() {
if(System.getProperty("os.name").equalsIgnoreCase("win")) { if(System.getProperty("os.name").toLowerCase().contains("win")) {
try { try {
Athena.INSTANCE.sendInitializationMessage("Discord RPC", false); Athena.INSTANCE.sendInitializationMessage("Discord RPC", false);

View File

@ -32,9 +32,7 @@ public class KeybindManager {
*/ */
@SubscribeEvent @SubscribeEvent
public void onKeyUp(KeyUpEvent event) { public void onKeyUp(KeyUpEvent event) {
if (isInvalidScreen(Minecraft.getMinecraft().currentScreen)) { if (isInvalidScreen(Minecraft.getMinecraft().currentScreen)) return;
return;
}
for (Module module : Athena.INSTANCE.getModuleRepository().getModules().stream().filter(entry -> for (Module module : Athena.INSTANCE.getModuleRepository().getModules().stream().filter(entry ->
entry.isBound() && entry.isBound() &&
@ -54,6 +52,8 @@ public class KeybindManager {
*/ */
@SubscribeEvent @SubscribeEvent
public void onKeyDown(KeyDownEvent event) { public void onKeyDown(KeyDownEvent event) {
if (isInvalidScreen(Minecraft.getMinecraft().currentScreen)) return;
for (Module module : Athena.INSTANCE.getModuleRepository().getModules().stream().filter(entry -> for (Module module : Athena.INSTANCE.getModuleRepository().getModules().stream().filter(entry ->
entry.isBound() && entry.isBound() &&
entry.getKeyBind() == event.getKey()).collect(Collectors.toList())) { entry.getKeyBind() == event.getKey()).collect(Collectors.toList())) {
@ -62,7 +62,6 @@ public class KeybindManager {
module.setEnabled(true); module.setEnabled(true);
} }
if(isInvalidScreen(Minecraft.getMinecraft().currentScreen)) return;
module.setEnabled(module.getBindType() != BindType.TOGGLE || !module.isToggled()); module.setEnabled(module.getBindType() != BindType.TOGGLE || !module.isToggled());
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 906 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1015 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Some files were not shown because too many files have changed in this diff Show More