Compare commits

..

10 Commits

Author SHA1 Message Date
kone
41d3417772 i hate myself 2023-06-28 11:12:02 -04:00
kone
fbe23af2c8 i forgot to update patchNum 2023-06-28 10:58:50 -04:00
kone
67e88daa83 publish 3.7 patch 3 2023-06-28 10:55:45 -04:00
kone
4238c706dd little fps boost (thanks cire) 2023-06-28 10:20:09 -04:00
ThisIsALegitUsername
ed610f5f5d
Update README.md 2023-06-16 10:23:26 +08:00
ThisIsALegitUsername
20831c67e4
fucking penis inside exhaust pipe car :(((((( 2023-06-15 20:15:04 -06:00
ThisIsALegitUsername
952ebcdfd6
Update ClickGuiRewrite.java 2023-06-11 19:07:14 -06:00
ThisIsALegitUsername
3318f9339d
Update README.md 2023-06-11 18:48:12 -06:00
ThisIsALegitUsername
dd1589e7a5
Update README.md 2023-06-11 18:46:30 -06:00
ThisIsALegitUsername
250defabf6
final message! 2023-06-11 01:28:13 -06:00
14 changed files with 837225 additions and 67 deletions

View File

@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>

View File

@ -1,3 +1,18 @@
# in case this repo is open-sourced, here's some info:
(i wrote this with like 2 hours of sleep)
i have decided to fully quit eaglercraft and everything related for personal reasons (dont dig into my past, seriously. i don't like having severe paranoia that one of ur 12 year old asses is gonna raid my friend group). i first started working on this project a long time ago, and that means my code base and half of the code sucks an incredible amount of ass. if you're going to comment on code quality, don't. there are cheats in resent, what a surprise (xray and spawner esp, 3.5 reach), it's not hard to block the activation of these serverside. Finally, i loved my time in the eagler community (not really you all suck ngl) and it has affected me in many ways. (you may see me on mmc or mcpvp, feel free to talk to me or something)
alright, this notice is long enough. さようなら! (if you ever hear from me again i'll be back with a surprise)
## fatal i know you're skidding this right now kys (uwu client always better)
ORIGINAL README BELOW:
# Resent-1.8 # Resent-1.8

View File

@ -1,26 +1,28 @@
buildscript { buildscript {
repositories { repositories {
mavenCentral() mavenCentral()
google()
} }
dependencies { dependencies {
classpath 'io.github.zebalu:teavm-gradle-plugin:1.0.0' // classpath 'io.github.zebalu:teavm-gradle-plugin:1.0.0'
} }
} }
apply plugin: 'java' plugins {
apply plugin: 'eclipse' id 'java'
apply plugin: 'io.github.zebalu.teavm-gradle-plugin' id 'eclipse'
id "org.teavm" version "0.8.1"
}
sourceCompatibility = 1.8 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = 1.8 targetCompatibility = JavaVersion.VERSION_11
sourceSets { sourceSets {
main { main {
java { java {
srcDir 'src/main/java' srcDir 'src/main/java'
srcDir 'src/teavm/java' srcDir 'src/teavm'
} }
} }
} }
@ -30,30 +32,32 @@ repositories {
} }
dependencies { dependencies {
/** we use 0.6.1 due to performance issues on 7.0.0 */ // https://mvnrepository.com/artifact/org.teavm/teavm-platform
implementation 'org.teavm:teavm-platform:0.6.1' implementation 'org.teavm:teavm-platform:0.8.1'
implementation('org.teavm:teavm-classlib:0.6.1') { // https://mvnrepository.com/artifact/org.teavm/teavm-classlib
exclude group: 'com.google.code.gson', module: 'gson' implementation 'org.teavm:teavm-classlib:0.8.1'
} // https://mvnrepository.com/artifact/org.teavm/teavm-interop
implementation 'org.teavm:teavm-interop:0.8.1'
// https://mvnrepository.com/artifact/org.teavm/teavm-jso
implementation 'org.teavm:teavm-jso:0.8.1'
// https://mvnrepository.com/artifact/org.teavm/teavm-jso-apis
implementation 'org.teavm:teavm-jso-apis:0.8.1'
// https://mvnrepository.com/artifact/org.teavm/teavm-junit
testImplementation 'org.teavm:teavm-junit:0.8.1'
// https://mvnrepository.com/artifact/org.teavm/teavm-jso-impl
implementation 'org.teavm:teavm-jso-impl:0.8.1'
// https://mvnrepository.com/artifact/com.jcraft/jzlib
implementation 'com.jcraft:jzlib:1.1.3'
} }
teavm { teavm.js {
compileScopes = null;
minifying = true;
maxTopLevelNames = 10000;
properties = null; properties = null;
debugInformationGenerated = false; debugInformation = false;
sourceMapsGenerated = true; sourceMap = true;
sourceFilesCopied = false; obfuscated = false;
incremental = false;
transformers = null;
/** Where to save the result */ /** Where to save the result */
targetDirectory = file("javascript"); outputDir = file("javascript");
/** The directory to monitor to decide if compile is up-to-date or not */
sourceDirectory = file("src");
/** How to name the result file. */ /** How to name the result file. */
targetFileName = "classes.js"; targetFileName = "classes.js";
@ -64,23 +68,22 @@ teavm {
/** This will be the name of your main method after compilation. */ /** This will be the name of your main method after compilation. */
entryPointName = 'main'; entryPointName = 'main';
classesToPreserve = null; preservedClasses = Arrays.asList('net.minecraft.client.Minecraft');
stopOnErrors = false; // optimization = BALANCED; //org.teavm.vm.TeaVMOptimizationLevel.SIMPLE;
optimizationLevel = "ADVANCED"; //org.teavm.vm.TeaVMOptimizationLevel.SIMPLE;
fastGlobalAnalysis = false; fastGlobalAnalysis = false;
targetType = "JAVASCRIPT"; //org.teavm.tooling.TeaVMTargetType.JAVASCRIPT; // targetType = "JAVASCRIPT"; //org.teavm.tooling.TeaVMTargetType.JAVASCRIPT;
cacheDirectory = null; // cacheDirectory = null;
wasmVersion = "V_0x1"; //org.teavm.backend.wasm.render.WasmBinaryVersion.V_0x1; // wasmVersion = "V_0x1"; //org.teavm.backend.wasm.render.WasmBinaryVersion.V_0x1;
minHeapSize = 256; // minHeapSize = 4;
maxHeapSize = 256; // maxHeapSize = 128;
outOfProcess = false; outOfProcess = false;
processMemory = 2048; processMemory = 512;
longjmpSupported = true; // longjmpSupported = true;
heapDump = false; // heapDump = false;
/** Add name of configurations here where to look for jarfiles. */ /** Add name of configurations here where to look for jarfiles. */
includeJarsFrom = []; // includeJarsFrom = [];
/** By default teavmc taskd epends on javaCompile task, unless this varaibale is true. */ /** By default teavmc taskd epends on javaCompile task, unless this varaibale is true. */
skipJavaCompile = false; // skipJavaCompile = false;
} }

View File

@ -167,7 +167,7 @@ Compile it yourself here: https://gitlab.com/lax1dude/eaglercraftx-1.8/
function setPatchNum(patchNum){ function setPatchNum(patchNum){
patchNumber = patchNum; patchNumber = patchNum;
checkForUpdates(); //checkForUpdates();
} }
function setBarProg(event, epkSize){ function setBarProg(event, epkSize){

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -311,7 +311,8 @@
{ addr: "wss://hyper-network.me/", name: "Hyper Network" }, { addr: "wss://hyper-network.me/", name: "Hyper Network" },
{ addr: "wss://mc.asspixel.net/", name: "Ass Pixel" }, { addr: "wss://mc.asspixel.net/", name: "Ass Pixel" },
{ addr: "wss://konemc.ga/", name: "koneMC" }, { addr: "wss://konemc.ga/", name: "koneMC" },
{ addr: "wss://eagler.lopobia.com/", name: "Lopobia Network" }, { addr: "wss://example.com/", name: "Valkaria (Coming Soon)" },
{ addr: "wss://ggsmp.net/", name: "GG SMP" }
] ]
}; };

771125
javascript/js/classes.js Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
3.7 3.7
2 3
https://drive.google.com/file/d/16u4xiiPwi9ziOMnYmqeFZya3RCR-CP6U/view?usp=sharing https://drive.google.com/file/d/1HZKezB-qebyd0mS4oI4UfVde6tL_pFNS/view?usp=sharing
https://drive.google.com/file/d/1qeZjdVFdWHBNq6PQaDnMoa38Wu5Y1Rdm/view?usp=sharing https://drive.google.com/file/d/1C0agKcePTzK3pJ1AetxojI28f7gnG7N5/view?usp=sharing

View File

@ -6,7 +6,7 @@ public class ClientInfo {
public static final String name = "Resent"; public static final String name = "Resent";
public static final String version = "3.7"; public static final String version = "3.7";
public static final String patchNum = "2"; public static final String patchNum = "3";
public static final String author = "Nitwit"; public static final String author = "Nitwit";
public static final String release = Release.STABLE.name; public static final String release = Release.STABLE.name;

View File

@ -160,7 +160,11 @@ public class ClickGuiRewrite extends GuiScreen {
// Mod Categories // Mod Categories
RenderUtils.drawRoundedRect(x + 80, y+90, (x + width) - 30, y+120, 8, new Color(30, 30, 30).getRGB()); RenderUtils.drawRoundedRect(x + 80, y+90, (x + width) - 30, y+120, 8, new Color(30, 30, 30).getRGB());
// pls dont remove the thing that switches the colors, doesnt look good without the color switching // pls dont remove the thing that switches the colors, doesnt look good without the color switching - kone
//if anyone is reading this someone fix the code below, it's ass (sorry kone)
//holy fuck it would have been so much easier to make a categories enum instead, i didn't think it would be necessary at the time but now i see that it was the right choice.
if (selectedCategory == null) { if (selectedCategory == null) {
RenderUtils.drawRoundedRect(x + 85, y+95, x + 130, y+115, 8, secondaryFontColor.getRGB()); RenderUtils.drawRoundedRect(x + 85, y+95, x + 130, y+115, 8, secondaryFontColor.getRGB());
} }
@ -265,6 +269,8 @@ public class ClickGuiRewrite extends GuiScreen {
GlStateManager.popMatrix(); GlStateManager.popMatrix();
GlUtils.startScale(x+92+offsetX, y+190+offset+scrollOffset, 0.7f); GlUtils.startScale(x+92+offsetX, y+190+offset+scrollOffset, 0.7f);
if (!m.getDescription().startsWith("No des")) { if (!m.getDescription().startsWith("No des")) {
//skull emoji
String description0 = (m.getDescription() + " ").substring(0, 21); String description0 = (m.getDescription() + " ").substring(0, 21);
String description1 = (m.getDescription() + " ").substring(21, 41); String description1 = (m.getDescription() + " ").substring(21, 41);
String description2 = (m.getDescription() + " ").substring(41, 61); String description2 = (m.getDescription() + " ").substring(41, 61);