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
|
# Resent-1.8
|
||||||
|
|
||||||
|
|
||||||
|
|
83
build.gradle
83
build.gradle
|
@ -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;
|
||||||
}
|
}
|
Binary file not shown.
|
@ -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){
|
||||||
|
|
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://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
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
|
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
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user