This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now testing Normal Reflections. | |
-------- Starting Test 1 -------- | |
Description: This test gets the public field of the test object through normal reflections. | |
The test has taken about 14660ms. | |
-------- Starting Test 2 -------- | |
Description: This test is going to get the public field of the test object through normal reflections, get its value and store it inside of a local variable. | |
The test has taken about 14550ms. | |
-------- Starting Test 3 -------- | |
Description: This test gets the private field of the test object through normal reflections. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now testing Normal Reflections. | |
-------- Starting Test 1 -------- | |
Description: This test gets the public field of the test object through normal reflections. | |
The test has taken about 1401ms. | |
-------- Starting Test 2 -------- | |
Description: This test is going to get the public field of the test object through normal reflections, get its value and store it inside of a local variable. | |
The test has taken about 1424ms. | |
-------- Starting Test 3 -------- | |
Description: This test gets the private field of the test object through normal reflections. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AntiCheatExample extends Module { | |
public AntiCheatExample() { | |
super("AntiCheats", "This module demonstrates how to use different anticheats", Keyboard.VK_F, Category.MOVEMENT, AntiCheat.VANILLA, AntiCheat.AAC, AntiCheat.VENOM); | |
} | |
@Override | |
public void onUpdate(UpdateEvent event) { | |
/* Here you can replace the chat messages with your own code for each different anticheat */ | |
switch(antiCheat) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AutoClicker extends Module { | |
public AutoClicker() { | |
super("AutoClicker", "This is an autoclicker", 0, Category.COMBAT, AntiCheat.VANILLA); | |
} | |
@Overerride | |
public void setup() { | |
moduleSettings.addDefault("cps", 13); | |
} |