Compare commits
10 Commits
acf5ab30de
...
41d3417772
Author | SHA1 | Date | |
---|---|---|---|
|
41d3417772 | ||
|
fbe23af2c8 | ||
|
67e88daa83 | ||
|
4238c706dd | ||
|
ed610f5f5d | ||
|
20831c67e4 | ||
|
952ebcdfd6 | ||
|
3318f9339d | ||
|
dd1589e7a5 | ||
|
250defabf6 |
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
15
README.md
15
README.md
|
@ -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
|
||||
|
||||
|
||||
|
|
123
build.gradle
123
build.gradle
|
@ -1,26 +1,28 @@
|
|||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'io.github.zebalu:teavm-gradle-plugin:1.0.0'
|
||||
// classpath 'io.github.zebalu:teavm-gradle-plugin:1.0.0'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'io.github.zebalu.teavm-gradle-plugin'
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'eclipse'
|
||||
id "org.teavm" version "0.8.1"
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDir 'src/main/java'
|
||||
srcDir 'src/teavm/java'
|
||||
srcDir 'src/teavm'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,57 +32,58 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
/** we use 0.6.1 due to performance issues on 7.0.0 */
|
||||
implementation 'org.teavm:teavm-platform:0.6.1'
|
||||
implementation('org.teavm:teavm-classlib:0.6.1') {
|
||||
exclude group: 'com.google.code.gson', module: 'gson'
|
||||
}
|
||||
// https://mvnrepository.com/artifact/org.teavm/teavm-platform
|
||||
implementation 'org.teavm:teavm-platform:0.8.1'
|
||||
// https://mvnrepository.com/artifact/org.teavm/teavm-classlib
|
||||
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 {
|
||||
|
||||
compileScopes = null;
|
||||
minifying = true;
|
||||
maxTopLevelNames = 10000;
|
||||
properties = null;
|
||||
debugInformationGenerated = false;
|
||||
sourceMapsGenerated = true;
|
||||
sourceFilesCopied = false;
|
||||
incremental = false;
|
||||
transformers = null;
|
||||
|
||||
/** Where to save the result */
|
||||
targetDirectory = 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. */
|
||||
targetFileName = "classes.js";
|
||||
|
||||
/** Which class holds your public static void main(Strin[] args) method */
|
||||
mainClass = 'net.lax1dude.eaglercraft.v1_8.internal.teavm.MainClass';
|
||||
|
||||
/** This will be the name of your main method after compilation. */
|
||||
entryPointName = 'main';
|
||||
|
||||
classesToPreserve = null;
|
||||
stopOnErrors = false;
|
||||
optimizationLevel = "ADVANCED"; //org.teavm.vm.TeaVMOptimizationLevel.SIMPLE;
|
||||
fastGlobalAnalysis = false;
|
||||
targetType = "JAVASCRIPT"; //org.teavm.tooling.TeaVMTargetType.JAVASCRIPT;
|
||||
cacheDirectory = null;
|
||||
wasmVersion = "V_0x1"; //org.teavm.backend.wasm.render.WasmBinaryVersion.V_0x1;
|
||||
minHeapSize = 256;
|
||||
maxHeapSize = 256;
|
||||
outOfProcess = false;
|
||||
processMemory = 2048;
|
||||
longjmpSupported = true;
|
||||
heapDump = false;
|
||||
|
||||
/** Add name of configurations here where to look for jarfiles. */
|
||||
includeJarsFrom = [];
|
||||
|
||||
/** By default teavmc taskd epends on javaCompile task, unless this varaibale is true. */
|
||||
skipJavaCompile = false;
|
||||
}
|
||||
teavm.js {
|
||||
properties = null;
|
||||
debugInformation = false;
|
||||
sourceMap = true;
|
||||
obfuscated = false;
|
||||
|
||||
/** Where to save the result */
|
||||
outputDir = file("javascript");
|
||||
|
||||
/** How to name the result file. */
|
||||
targetFileName = "classes.js";
|
||||
|
||||
/** Which class holds your public static void main(Strin[] args) method */
|
||||
mainClass = 'net.lax1dude.eaglercraft.v1_8.internal.teavm.MainClass';
|
||||
|
||||
/** This will be the name of your main method after compilation. */
|
||||
entryPointName = 'main';
|
||||
|
||||
preservedClasses = Arrays.asList('net.minecraft.client.Minecraft');
|
||||
// optimization = BALANCED; //org.teavm.vm.TeaVMOptimizationLevel.SIMPLE;
|
||||
fastGlobalAnalysis = false;
|
||||
// targetType = "JAVASCRIPT"; //org.teavm.tooling.TeaVMTargetType.JAVASCRIPT;
|
||||
// cacheDirectory = null;
|
||||
// wasmVersion = "V_0x1"; //org.teavm.backend.wasm.render.WasmBinaryVersion.V_0x1;
|
||||
// minHeapSize = 4;
|
||||
// maxHeapSize = 128;
|
||||
outOfProcess = false;
|
||||
processMemory = 512;
|
||||
// longjmpSupported = true;
|
||||
// heapDump = false;
|
||||
|
||||
/** Add name of configurations here where to look for jarfiles. */
|
||||
// includeJarsFrom = [];
|
||||
|
||||
/** By default teavmc taskd epends on javaCompile task, unless this varaibale is true. */
|
||||
// skipJavaCompile = false;
|
||||
}
|
Binary file not shown.
|
@ -167,7 +167,7 @@ Compile it yourself here: https://gitlab.com/lax1dude/eaglercraftx-1.8/
|
|||
|
||||
function setPatchNum(patchNum){
|
||||
patchNumber = patchNum;
|
||||
checkForUpdates();
|
||||
//checkForUpdates();
|
||||
}
|
||||
|
||||
function setBarProg(event, epkSize){
|
||||
|
|
33001
javascript/Resent_3.7_patch_3_1.8_International.html
Normal file
33001
javascript/Resent_3.7_patch_3_1.8_International.html
Normal file
File diff suppressed because one or more lines are too long
33001
javascript/Resent_3.7_patch_3_1.8_US.html
Normal file
33001
javascript/Resent_3.7_patch_3_1.8_US.html
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -311,7 +311,8 @@
|
|||
{ addr: "wss://hyper-network.me/", name: "Hyper Network" },
|
||||
{ addr: "wss://mc.asspixel.net/", name: "Ass Pixel" },
|
||||
{ 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
771125
javascript/js/classes.js
Normal file
File diff suppressed because it is too large
Load Diff
1
javascript/js/classes.js.map
Normal file
1
javascript/js/classes.js.map
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
3.7
|
||||
2
|
||||
https://drive.google.com/file/d/16u4xiiPwi9ziOMnYmqeFZya3RCR-CP6U/view?usp=sharing
|
||||
https://drive.google.com/file/d/1qeZjdVFdWHBNq6PQaDnMoa38Wu5Y1Rdm/view?usp=sharing
|
||||
3
|
||||
https://drive.google.com/file/d/1HZKezB-qebyd0mS4oI4UfVde6tL_pFNS/view?usp=sharing
|
||||
https://drive.google.com/file/d/1C0agKcePTzK3pJ1AetxojI28f7gnG7N5/view?usp=sharing
|
|
@ -6,7 +6,7 @@ public class ClientInfo {
|
|||
|
||||
public static final String name = "Resent";
|
||||
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 release = Release.STABLE.name;
|
||||
|
||||
|
|
|
@ -160,7 +160,11 @@ public class ClickGuiRewrite extends GuiScreen {
|
|||
|
||||
// Mod Categories
|
||||
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) {
|
||||
RenderUtils.drawRoundedRect(x + 85, y+95, x + 130, y+115, 8, secondaryFontColor.getRGB());
|
||||
}
|
||||
|
@ -265,6 +269,8 @@ public class ClickGuiRewrite extends GuiScreen {
|
|||
GlStateManager.popMatrix();
|
||||
GlUtils.startScale(x+92+offsetX, y+190+offset+scrollOffset, 0.7f);
|
||||
if (!m.getDescription().startsWith("No des")) {
|
||||
|
||||
//skull emoji
|
||||
String description0 = (m.getDescription() + " ").substring(0, 21);
|
||||
String description1 = (m.getDescription() + " ").substring(21, 41);
|
||||
String description2 = (m.getDescription() + " ").substring(41, 61);
|
||||
|
|
Loading…
Reference in New Issue
Block a user