Skip to content

Commit

Permalink
Renamed FastFall.factor to speed and added saving for it and made eve…
Browse files Browse the repository at this point in the history
…rything ready for 2.5.
  • Loading branch information
chrissx committed Aug 22, 2018
1 parent ca70af5 commit 8e769ce
Show file tree
Hide file tree
Showing 15 changed files with 3,304 additions and 2,651 deletions.
957 changes: 957 additions & 0 deletions eclipse/.metadata/.log

Large diffs are not rendered by default.

Binary file modified eclipse/.metadata/.mylyn/.tasks.xml.zip
Binary file not shown.
Binary file modified eclipse/.metadata/.mylyn/tasks.xml.zip
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

4,936 changes: 2,309 additions & 2,627 deletions eclipse/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy>
<fullyQualifiedTypeName name="java.nio.charset.StandardCharsets"/>
<fullyQualifiedTypeName name="com.google.common.io.Files"/>
<fullyQualifiedTypeName name="java.nio.charset.Charset"/>
<fullyQualifiedTypeName name="java.nio.ByteBuffer"/>
Expand Down Expand Up @@ -31,7 +30,6 @@
<fullyQualifiedTypeName name="net.minecraft.network.NetworkManager"/>
<fullyQualifiedTypeName name="java.lang.Exception"/>
<fullyQualifiedTypeName name="com.jcraft.jorbis.Block"/>
<fullyQualifiedTypeName name="net.minecraft.item.ItemStack"/>
<fullyQualifiedTypeName name="net.minecraft.item.Item"/>
<fullyQualifiedTypeName name="de.chrissx.locations.LocInt64"/>
<fullyQualifiedTypeName name="net.minecraft.client.Minecraft"/>
Expand All @@ -50,7 +48,6 @@
<fullyQualifiedTypeName name="net.minecraft.network.play.client.C03PacketPlayer.C06PacketPlayerPosLook"/>
<fullyQualifiedTypeName name="net.minecraft.client.renderer.EnumFaceDirection"/>
<fullyQualifiedTypeName name="net.minecraft.util.EnumFacing"/>
<fullyQualifiedTypeName name="de.chrissx.util.Util"/>
<fullyQualifiedTypeName name="de.chrissx.mods.movement.FastFall"/>
<fullyQualifiedTypeName name="net.minecraft.network.play.client.C03PacketPlayer"/>
<fullyQualifiedTypeName name="net.minecraft.client.entity.EntityPlayerSP"/>
Expand All @@ -60,4 +57,7 @@
<fullyQualifiedTypeName name="de.chrissx.util.Consts"/>
<fullyQualifiedTypeName name="net.minecraft.server.integrated.IntegratedServer"/>
<fullyQualifiedTypeName name="java.lang.Throwable"/>
<fullyQualifiedTypeName name="de.chrissx.mods.fun.AutoSwitch"/>
<fullyQualifiedTypeName name="de.chrissx.util.Util"/>
<fullyQualifiedTypeName name="net.minecraft.item.ItemStack"/>
</qualifiedTypeNameHistroy>
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@
<section name="FatJarPackageWizard">
<item value="C:\Users\chrissicx\Desktop\cxclient\eclipse.xml" key="FatJarPackageWizardPage.ANTSCRIPT_LOCATION"/>
<item value="Client - Client" key="FatJarPackageWizardPage.LAUNCH_CONFIGURATION_SELECTION_NAME"/>
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.4.jar" key="FatJarPackageWizardPage.DESTINATION_PATH_SELECTION"/>
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.5.jar" key="FatJarPackageWizardPage.DESTINATION_PATH_SELECTION"/>
<item value="false" key="FatJarPackageWizardPage.ANTSCRIPT_SAVE"/>
<item value="1" key="FatJarPackageWizardPage.LIBRARY_HANDLING"/>
<list key="FatJarPackageWizardPage.DESTINATION_NAMES_ID">
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.5.jar"/>
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.4.jar"/>
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.3.1.jar"/>
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.3.jar"/>
Expand Down Expand Up @@ -110,6 +111,8 @@
</section>
</section>
<section name="completion_proposal_size">
<item value="260" key="size.y"/>
<item value="355" key="size.x"/>
<item value="221" key="contextSelector.size.y"/>
<item value="331" key="contextSelector.size.x"/>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
2018-08-20 17:58:32,892 [Worker-4: Building workspace] WARN org.eclipse.jgit.util.FS_Win32 - null
2018-08-20 23:26:08,856 [Worker-6: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
2018-08-20 23:26:09,590 [Worker-5: Building workspace] WARN org.eclipse.jgit.util.FS_Win32 - null
2018-08-21 23:08:08,496 [Worker-11: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
2018-08-21 23:08:09,064 [Worker-6: Building workspace] WARN org.eclipse.jgit.util.FS_Win32 - null
2018-08-22 06:16:47,379 [Worker-8: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
2018-08-22 06:16:47,778 [Worker-12: Building workspace] WARN org.eclipse.jgit.util.FS_Win32 - null
2 changes: 1 addition & 1 deletion eclipse/.metadata/version.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Tue Aug 21 23:07:56 CEST 2018
#Wed Aug 22 06:16:36 CEST 2018
org.eclipse.core.runtime=2
org.eclipse.platform=4.8.0.v20180611-0500
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
[[{"location":"D:\\Bibliotheken\\Desktop\\cxclient\\eclipse\\Client","type":"PROJECT","hints":{"PROJECT_NAME":"Client"}},"ABSENT"]]
Binary file modified eclipse/Client/bin/de/chrissx/HackedClient.class
Binary file not shown.
Binary file modified eclipse/Client/bin/net/minecraft/client/Minecraft.class
Binary file not shown.
25 changes: 17 additions & 8 deletions src/minecraft/de/chrissx/mods/movement/FastFall.java
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
package de.chrissx.mods.movement;

import java.io.File;

import de.chrissx.mods.Mod;
import de.chrissx.util.Util;

public class FastFall extends Mod {

public double factor = -4;
double speed = -4;
File sf;

public FastFall() {
super("FastFall");
sf = getApiFile("speed");
}

@Override
public void onTick()
{
if(enabled && !mc.thePlayer.onGround && mc.thePlayer.motionY < 0)
{
mc.thePlayer.motionY = factor;
mc.thePlayer.motionY = speed;
}
}

Expand All @@ -25,20 +29,25 @@ public void processCommand(String[] args)
{
if(args.length == 1)
toggle();
else if(args.length == 3 && args[1].equalsIgnoreCase("factor"))
else if(args[1].equalsIgnoreCase("speed"))
try
{
double d = Double.parseDouble(args[2]);
if(d > 0)
throw new Exception("Factor should be negative.");
else
factor = d;
throw new Exception("Speed should be negative.");
speed = d;
}
catch(Exception e)
{
Util.sendMessage("Error parsing factor: " + e.getMessage());
Util.sendMessage("Error parsing speed: " + e.getMessage());
}
else
Util.sendMessage("#fastfall to toggle, #fastfall factor <negative double> to set the factor");
Util.sendMessage("#fastfall to toggle, #fastfall speed <negative double> to set the factor");
}

@Override
public void apiUpdate()
{
write(sf, speed);
}
}
16 changes: 7 additions & 9 deletions src/minecraft/de/chrissx/util/Consts.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ public class Consts {
public static final String runningFile = Paths.get(eapiPath, "running").toString();
public static final String hotkeyFile = Paths.get(configPath, "hotkeys.cfg").toString();
public static final String clientName = "CXClient";
public static final String version = "alpha 2509";
public static final String version = "2.5";
public static final String[] changelog = new String[] {
clientName + " " + version + " Changelog:",
"",
"-Added a Lag mod that holds your packets back for as long as it's enabled",
"-Added a ScaffoldWalk that does what a SW does...place blocks",
"-Added a FastFall that sets your falling speed so you come to ground faster",
"-Added a ScaffoldWalk mod that does what a SW does...place blocks",
"-Added a FastFall mod that sets your falling speed so you come to ground faster",
"-Added a FastEat mod that just lets you eat faster",
"-Fixed hotkeys sometimes not working in SP (the disableHotkeys value was not set to false when loading a world)",
"-Optimized a few of the Minecraft classes to improve performance a bit",
Expand All @@ -41,17 +41,15 @@ public class Consts {
"Author: chrissx",
"Released by: chrissx Media Inc.",
"Licensed under: GNU GPLv3",
"Official website (alpha): https://chrissxyt.github.io/CXClient/",
"Source branch: https://github.com/chrissxYT/CXClient/tree/master",
"Official website (alpha): https://tinyurl.com/cxclhmpg",
"Source branch: https://tinyurl.com/cxclmstr",
"",
"Thanks to:",
"",
"-Garkolym for showing a few exploits in his videos (for example #text)",
"-A few other people we stealt the Fly- and Speed-Bypasses from",
"-The developers of Wurst for making another open source client, we looked"
+ " at, when we needed ideas for hacks or when we just f*ed up",
"-Trace (german hacking youtuber, quit around 01/2018) for showing a few exploits"
+ "in his videos: https://www.youtube.com/channel/UClgCGHQcdKN7Rwfx1q_-UUw"
"-The developers of Wurst for making another open source client, we looked at, when we needed ideas for hacks or when we just f*ed up",
"-Trace (german hacking youtuber, quit around 01/2018) for showing a few exploits in his videos: https://tinyurl.com/trcechnl"
};

public static final String help = "Commands: #text, #multitext, #killpotion, #spam, #clearspam, #twerk, #timer, #speedac1, #speedlegit, "
Expand Down

0 comments on commit 8e769ce

Please sign in to comment.