View gist:26646a3f7b016d0926c55f0366e42d8c
ItemDef itemDef = forID(lendTemplateID);
inventoryOptions = new String[5];
groundModel = itemDef.groundModel;
modelOffset1 = itemDef.modelOffset1;
modelRotation2 = itemDef.modelRotation2;
modelOffset2 = itemDef.modelOffset2;
modelZoom = itemDef.modelZoom;
modelRotation1 = itemDef.modelRotation1;
anInt204 = itemDef.anInt204;
value = 0;
View netvars.txt
DT_TestTraceline.m_clrRender (0x70)
DT_TestTraceline.m_vecOrigin (0x134)
DT_TestTraceline.m_angRotation[0] (0x128)
DT_TestTraceline.m_angRotation[1] (0x12c)
DT_TestTraceline.m_angRotation[2] (0x130)
DT_TestTraceline.moveparent (0x144)
DT_TEWorldDecal.m_vecOrigin (0x10)
DT_TEWorldDecal.m_nIndex (0x1c)
DT_TESpriteSpray.m_vecOrigin (0x10)
DT_TESpriteSpray.m_vecDirection (0x1c)
View BunnyHop.kts
import life.cheat.Environment.client
import life.cheat.script.Script
import java.awt.event.KeyEvent
onGround {
pressKey(KeyEvent.VK_SPACE)
sleep(20)
releaseKey(KeyEvent.VK_SPACE)
}
View knetty udp
package org.jire.knetty
import io.netty.bootstrap.Bootstrap
import io.netty.buffer.ByteBuf
import io.netty.channel.*
import io.netty.channel.nio.NioEventLoopGroup
import io.netty.channel.socket.DatagramChannel
import io.netty.channel.socket.DatagramPacket
import io.netty.channel.socket.nio.NioDatagramChannel
import io.netty.handler.codec.MessageToMessageDecoder
View VisionID.java
public final class VisionID {
public static void main(String[] args) {
long a = Byte.toUnsignedLong((byte) 68);
long b = Byte.toUnsignedLong((byte) 199);
long c = Byte.toUnsignedLong((byte) 163);
long d = Byte.toUnsignedLong((byte) 44);
long port = Short.toUnsignedLong((short) 65535);
long ip = (a << 40) | (b << 32) | (c << 24) | (d << 16) | port;
View gist:72159ac32778a25f86d8e42161ede08f
import it.unimi.dsi.fastutil.longs.Long2FloatArrayMap
import org.jire.strukt.Strukt
import kotlin.reflect.KProperty
class FloatMember(private val default: Float) : Member() {
private val current = Long2FloatArrayMap()
operator fun getValue(ref: Strukt, prop: KProperty<*>) = current[key]
View gist:df9c99fac5e4d3f35e1a6c517716f989
inline fun <reified T : Any, DELEGATE : Any> findDelegate(
instance: T, delegatingTo: KClass<DELEGATE>): DELEGATE? {
for (prop in T::class.declaredMemberProperties) {
val javaField = prop.javaField ?: continue
javaField.isAccessible = true // is private, have to open that up
if (delegatingTo.java.isAssignableFrom(javaField.type)) {
@Suppress("UNCHECKED_CAST")
return javaField.get(instance) as DELEGATE
}
View Predicator.kt
class Predicator<out RESULT>(val predicate: () -> RESULT?) {
operator inline fun invoke(crossinline whenTrue: RESULT.() -> Unit) {
val result = predicate() ?: return
result.whenTrue()
}
}
View zenyte_todo.txt
- Redo the Kotlin-based configuration system and dumper (It was tough and now I have to redo it, not so happy so I'm not gonna work on this until I feel like it lol)
- All defense anims happen at wrong time (should be 1 cycle before hit) - DONE
- Ranged/magic casts need to be from the player's movement position rather than where their position actually was - DONE
- Magic shouldn't have defense animation - DONE
- Magic spells shouldn't be cancelled by walking (the walking should work but the spell be cast first) - DONE
- Ranged shouldn't be cancelled by walking (the walking should work but the arrow should fire) - DONE
- Ranged/magic casts need to be from the player's movement position rather than where their position actually was
View build.gradle
/*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the