
These getter methods simply return a variable, say you had a variable called playerName, a getter for it would be return playerName. Injection is when you add "getter" methods into the code. Typically, bots use the injection approach. The bots can use two different methods to read this code, injection, and reflection. Basically, obfuscated code is just code that's been changed by a computer to be random and un-readable by humans. These bots work by being able to read obfuscated code on the client side. If I said something wrong, lemme know pls.Ī RuneScape bot is an automation software that can utilize third party code to simulate player actions. So yea pretty much these devs write some wizzard code that correctly returns the classes that have desired values.

I have no idea how they get the multipliers for these things but the hook for player position would look like "as.d" * somelongnumber Some of these values you have to multiply (such as animation) to get the correct value. So the hook for player animation would be "as.d". The class "as" contains the variable "d". Anyway: Hooks have to be updated because these classes change therfor you would no longer be getting the correct value. These classes are pretty much a shatstorm of randoms names those and are very hard to read(done on purpose). All of the classes contain values like position, animation, objects, NPCs and all that and the bot pretty much reads them via hooks. jar format and extract it and then use a java decompiler to see all of the classes.

K so Reflection and injections need to access client variables to run.
