How do i add a code to my killaura.class?
-
That code actually has a few errors but I believe they are fixable..
EDIT: This is what you need to fix:
if(attackTimer.hasTimePassed((switchdelayValue.get() * 1).tooLong())) {
I tried fixing it myself but I ended up fixing all the other errors...Errors:
e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 5): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 7): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 8): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 19): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 20): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 33): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 34): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 35): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 51): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 52): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 55): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 56): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 58): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 60): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 61): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 62): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 63): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 70): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 71): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 72): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 73): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 75): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (718, 75): Function declaration must have a name
Whoever knows, go ahead..
EDIT 2:
tooLong
was the problem, renamed it totoLong
, yet going to compile and see.EDIT 3: Still errors.. will figure it out later, and try a few other stuff.
-
@Vasco-Alexandre You have to learn how to code, don't ask me because I don't know, but I do know that some things are not right in that code you sent.
-
Kotlin gay af
-
-
I've tried my best at fixing codes and this is what is remaining, but have no idea how to fix them:
e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\LiquidBounce\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (719, 9): Expecting property name or receiver type e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\LiquidBounce\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (719, 11): Property getter or setter expected e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\LiquidBounce\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (719, 71): Expecting member declaration e: C:\Users\Heheboii\Desktop\New folder (2)\LiquidBounce\LiquidBounce\LiquidBounce\shared\main\java\net\ccbluex\liquidbounce\features\module\modules\combat\KillAura.kt: (719, 71): Function declaration must have a name
LINE 719:
val if(attackTimer.hasTimePassed(switchdelayValue.get().toLong()) {
-
@Vasco-Alexandre my custom build had it. just download it to see it